Estimating Physics Models and Quantifying Their Uncertainty Using Optimization With a Bayesian Objective Function