PMcore now supports selectively optimizing gamma/lambda for each error model. Need to suppor this in the template.