output chi square in the final results