what was the first time that patient 1249 had the maximum arterial bp [systolic] until 07/05/2105?
select chartevents.charttime from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1249 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) <= '2105-07-05' order by chartevents.valuenum desc, chartevents.charttime asc limit 1