def METHOD_NAME():
    ds = MyDataset()
    pars = ds.models.parameters
    factors, info, minuit = optimize_iminuit(function=ds.fcn, parameters=pars)
    assert_allclose(ds.fcn(), 0, atol=1e-5)
    par = pars["x"]
    par.min, par.max = 0, 10
    result = confidence_iminuit(
        function=ds.fcn, parameters=pars, parameter=par, sigma=1, reoptimize=True
    )
    assert result["success"]
    assert_allclose(result["errp"], 0.2)
    assert_allclose(result["errn"], 0.2)