In background rescaling mode, PSS's model is (2) and (3) becomes,
This is minimised to find both and
at each
using the simultaneous conditions
The minimum is found iteratively using the second order scheme,
where denotes differentiation with respect to X.