Under illumination of a femtosecond laser pulse on the Pt/CoFe/Ta trilayer heterostructure, an impulsive spin current can be generated in the ferromagnetic layer due to the ultrafast demagnetization. The spin current is super-diffusively transported and injected into the neighboring heavy metal layers, and is converted to the transversal charge current due to the spin-orbit coupling, which is named inverse spin Hall effect. The transient charge current with a time scale of sub-picosecond gives rise to the electromagnetic radiation in the far-infrared range into the free space. In this work, we demonstrated two kinds of experiments to investigate the modulation of far-infrared emission by photo-thermal effect, which is due to the thermal energy deposed by light pulses at short timescales. First, the amplitude of the emitted far-infrared pulse as a function of an applied magnetic field is measured, which shows a far-infrared hysteresis behavior. The coercive field of the sample obtained by far-infrared hysteresis is smaller than that obtained by the M-H hysteresis through vibrating sample magnetometer. In addition, the coercive field decreased when the pump laser fluence is increased. Second, the control of spin polarization at ultrafast timescale under the presence of a small magnetic field applied opposite to that of the magnetization of the ferromagnetic sample. The amplitude of far-infrared time-domain signal reaches the maximum at pump fluence of 1.43 mJ/cm<sup>2</sup>. For the pump fluence larger than 1.43 mJ/cm<sup>2</sup>, the far-infrared pulse experiences a phase reversal. After the reversal, a decrease in the laser pump fluence does not restore the original phase of the far-infrared pulse. The above two experimental results not only elucidate the photothermal effect of femtosecond laser pulses, but also provide a new method for controlling the far-infrared radiation pulses based on ultrafast spintronics. These results reveal that far-infrared emission spectroscopy as an ultrafast optical method for investigating the magnetic properties, including the coercive field and anisotropy field of the samples.