Inhomogeneous magnetic field in AdS/CFT superconductor