The on-site analysis of the cherenkov telescope array