catch nan erors
Merge branch 'refactor1' of github.com:esheldon/gmix_image into refactor1
set gmax in flat prior
robustify plotting for negative T