ENH: Normalization of weights in WLS and loglike correction