Energetics, electronic structure and local magnetism of single 3d impurity in GaAs