Comparing standard error values and intensities is irrelevant for the goodness of the fit. Its value is tightly correlated to the experimental data number of points and intensity.
With this being said, the fig you shared is not enough to diagnose the problem. But i have a clue of what's happening. Please share all your files with me (in private if you feel more secure that way) so i can get you a better explanation of what is going on.
Thanks
Yes exactly, you must set the limits.
PDF_CONSTRAINT.set_limits((None,25))
rmin, rmax = 1.0, 20.
PDF_CONSTRAINT = PairDistributionConstraint(experimentalData=grDataPath, # pass grDataPath weighting="atomicNumber", # X-ray data weighted by Z limits=(rmin, rmax), # set data range used )