store MAP inference