Contribution of Eu 4f states to the magnetic anisotropy of EuO