 we developed a powerful theory for studying the dynamics of thermal relaxation after an instantaneous temperature quench. This theory allowed us to identify a singularity in the probability distribution of heat exchange between a mean field spin model and its environment. This singularity was caused by a finite time dynamical phase transition which differed significantly from the one observed in the magnetization. This article was authored by Jan Maybohm and Massimiliano Esposito.