Hysteresis loops observation of FePt and FePd square ferromagnets using micromagnetic simulation