Stellar Photometry with a Perfect CCD