Put catch around call to MAP estimation.