add progress output for LMA::optimize()