In Cairo, he worked as an astronomer for the Fatimid dynasty for twenty-six years, first for the Caliph al-Aziz and then for al-Hakim.
Mees töötas Kairos Fatimiidide dünastia astronoomina 26 aastat; alguses kaliif al-Azizi ning hiljem al-Hakimi alluvuses.