Log MAP in distributed mode