Text this: Magnetic anisotropy of 4f atoms on a WSe2 monolayer: a DFT + U study