remove getrate_test, use GetLikelihood to get last rate, fix the case when the evidence is sampled var