Magnetism in iron as a function of pressure