The attached file explains in details magnetic properties of lanthanides and actinides

and its difference with transion metal elements.