Nanofabrication and ion milling introduced effects on magnetic properties in magnetic recording