use log of objective function