the magnetic quality of ancient rocks is called
It is Rock Magnetism I think
Lodestone or Rock magnetism.