Microscopic origin of large perpendicular magnetic anisotropy in an FeIr/MgO system