Measurements of anisotropic magnetization of nickel