Spectroscopic_SN_min_ChSq Cosmological parameter minimum chi-squared fitting for supernova light curve data