switching to PHIC and fixing bug in likelihood computation