Predictive maintenance of lithography machine