There is a difference between estimating the livetime of a run using Gammapy:
-
observation.observation_live_time_duration
-
observation.events.observation_live_time_duration
where observation is a gammapy.data.Observation.
The former excludes the dead time from the sum of GTI through observation.observation_time_duration, while the second considers the effective time computed through MCP by employing the ontime * deadc.
I think the difference arises from the fact that the GTI interval in MCP is defined as the elapsed time, and the elapsed time is different from the on-time in MAGIC+LST. As a result, the livetime from the observation object (1) is wrong, and one should use the livetime from the events object (2).
There is a difference between estimating the livetime of a run using Gammapy:
observation.observation_live_time_durationobservation.events.observation_live_time_durationwhere
observationis a gammapy.data.Observation.The former excludes the dead time from the sum of GTI through
observation.observation_time_duration, while the second considers the effective time computed through MCP by employing the ontime * deadc.I think the difference arises from the fact that the GTI interval in MCP is defined as the elapsed time, and the elapsed time is different from the on-time in MAGIC+LST. As a result, the livetime from the observation object (1) is wrong, and one should use the livetime from the events object (2).