Hi Patrick
I believe you could run the macro several times after another. Maybe that works.
However in my experience, if your refinement cannot converge in PDFgui it is usually because your initial model is not good enough. Make sure that you have a good fit over the whole r-range and you have no misbehaving parameters like very high u-values, delta2 or you are refining the atomic positions of light elements.
If it is because you have very sudden changes in your data it is worth splitting the refinement into several smaller refinements.
Cheers
Mikkel