Programs and documentation for CCD data analysis using BayesDB