Likelihoods used for testing the combination of measurements that are simultaneous fits of parameters of interest and systematic uncertainties