SemiParROY function

Internal fitting function