def score(intknots, index, value):
			modifknots = intknots.copy()
			modifknots[index] = value
			return si.splrep(self.datapoints.jds, self.datapoints.mags, w=weights, xb=None, xe=None, k=self.k, task=-1, s=None, t=modifknots, full_output=1, per=0, quiet=1)[1]