Syntax:
-chi2 Example 1.$ ./vartools -header -l EXAMPLES/lc_list -chi2 #Name Chi2_0 Weighted_Mean_Mag_0 EXAMPLES/1 34711.71793 10.24430 EXAMPLES/2 1709.50065 10.11178 EXAMPLES/3 27.06322 10.16684 EXAMPLES/4 5.19874 10.35137 EXAMPLES/5 8.26418 10.43932 EXAMPLES/6 3.94650 10.52748 EXAMPLES/7 10.39941 10.56951 EXAMPLES/8 4.19887 10.61132 EXAMPLES/9 2.67020 10.73129 EXAMPLES/10 3.72218 10.87763
Calculate chi2 per degree of freedom and the weighted mean magnitude for all light curves in the list EXAMPLES/lc_list.