I wanted to find out what exactly goodness of fit meant in Dipole fitting model on MNE so I plotted a graph between the Goodness of fit values given by MNE for each dipole and the euclidean distance between the dipoles fitted against the actual position of dipoles (both in MNI coordinates) in the Phantom head.

I expected the relationship to be inverse ( i.e as predicted distance from actual dipole increases the goodness of fit decreases), however that was not always the case. The scattered plot I obtained was very random

Does this suggest that the Goodness of fit not only rely on the distance but also the orientation of the dipoles? What exactly is the definition of Goodness of fit?

Also how can I get the angle values of the dipole orientation from dipole fitting model?