MAINT: split a tolerance process log likelihood function into two parts and update one instance of this function in a test module