Demonstration how to fully automatic measure the magnitude of point sources and extended source with the ASTAP program. So how to measure the magnitude of stars, minor planets and deep sky objects using the Gaia star database as reference. Website http://www.hnsky.org/