In situ study of temperature dependent magnetothermoelastic correlated behavior in ferromagnetic shape memory alloys