xpost,f,d = lbfgsb.fmin_l_bfgs_b(gcv,xpost,fprime=None,factr=10.,\ approx_grad=True,bounds=[(log10(sMinBnd),log10(sMaxBnd))],\ args=(Lambda,aow,DCTy,IsFinite,Wtot,y,nof,noe,smoothOrder))
def gcv(p,Lambda,aow,DCTy,IsFinite,Wtot,y,nof,noe,smoothOrder):