def METHOD_NAME(self):
    lensModel = LensModel(lens_model_list=[])
    flux_ratios_init = np.array([1.0, 1.0, 1.0])
    flux_ratio_errors = np.array([1.0, 1.0, 1.0])
    flux_likelihood = FluxRatioLikelihood(
        lens_model_class=lensModel,
        flux_ratios=flux_ratios_init,
        flux_ratio_errors=flux_ratio_errors,
    )
    flux_ratios = np.array([0, 1, np.nan])
    logL = flux_likelihood._logL(flux_ratios)
    assert logL == -(10**15)
    flux_likelihood = FluxRatioLikelihood(
        lens_model_class=lensModel,
        flux_ratios=flux_ratios_init,
        flux_ratio_errors=np.array([0.0, 1.0, 1.0]),
    )
    flux_ratios = np.array([1.0, 1.0, 1.0])
    logL = flux_likelihood._logL(flux_ratios)
    assert logL == -(10**15)