The significant role of covalency in determining the ground state of cobalt phthalocyanines molecule