Statistical Thermodynamic Model for the Distribution of Crustal Heat Sources