Magnetization dynamics and thermal stability in patterned media