Thermal noise effects on the magnetization switching of a ferromagnetic anomalous Josephson junction