Magnetic Field Dependance of thermal Excitations in Josephson Junctions