Q_vs_T_2 heatup code