change col name for polyfits
pull bg from SQL for some checkes even if not very useful
make plots generate SED o nthe fly for SED plot