Syntax:

-rescalesig

Example 1.
$ ./vartools -i EXAMPLES/4 -oneline \
    -chi2 -rescalesig -chi2

Name                 = EXAMPLES/4
Chi2_0               =      5.19874
Weighted_Mean_Mag_0  =  10.35137
SigmaRescaleFactor_1 =   0.43858
Chi2_2               =      1.00000
Weighted_Mean_Mag_2  =  10.35137

Rescale the formal errors in the light curve EXAMPLES/4 such that chi2 per degree of freedom equals 1. We call -chi2 before and after -rescalesig to demonstrate that this rescaling has been done. Note the subtle difference from the -changeerror command which replaces the formal errors with the RMS of the light curve.