Characterization of magnetic thin films etch process in N2 plasmas