Temperature-dependent magnetic properties of FePt: Effective spin Hamiltonian model