Thermal effects on the magnetic-field dependence of spin-transfer-induced magnetization reversal