glob var in get_likelihood