Magnetic properties and Fermi surface of YMn2