=correct set_uncvl_r2 logic and use on pb12 ring test and panel1 of LSST