He worked at Lick Observatory beginning in 1888 but was appointed director of the University of Pittsburgh 's Allegheny Observatory in 1891 . Keeler worked at Lick Observatory beginning in 1888 , but left after being appointed director of the University of Pittsburgh 's Allegheny Observatory in 1891 .