The Automated Photometry Of Transients (AutoPhOT) pipeline — arXiv2