extending parameter constraint work: add diagnostics, use them while
fitting.  Logging/debug output throughout