time integrate and likelihood calls