according to the custom of the priest's office, his lot was to enter into the temple of the Lord and burn incense.
"all the services that they do every day, they do, בפייס, by lot; and how do they do it? All the priests of the houses of the fathers, of the day, go into the paved chamber, after the pillar of the morning has ascended, and clothe themselves with the priestly garments; and the president who is over the lots is with them, and they stand in a circle; and the president takes a mitre from off the head of one of them, and goes round with it, and the man from whom he begins to number, and they cast lots, as has been explained----how do they cast lots? they stand in a circle, and agree upon a number, eighty, a hundred, or a thousand, or whatsoever number they may agree upon; and the president says to them, put out your fingers, and they put out their fingers, one, or two; and if one puts out three, they number him three; and they do not put out the thumb in the sanctuary, because of deceivers; for the thumb is short, and easy to be put out, and to bend; and he that puts out the thumb, they do not number for him: and the president begins to number from the man that is known, whose mitre he took off first, and he numbers by their fingers, and returns in the round, until he has perfected the number they agreed upon; and the man that completes the number with his finger, he is he that goes out by the first lot to service: and why does he number the number they agree upon, by their fingers that they put out, and does not number them by the men themselves? Because it is forbidden to number Israel, but by means of another thing; as it is said, 1 Samuel 15:4 "And numbered them in Telaim". There were four lots they cast every day in the morning; the first lot; was, who should cleanse the altar: they cast lots, and he was worthy that was accounted worthy to cleanse it; and he sets the row in order, and brings up the two pieces of wood to the altar, and he brings in the censer full of fire, from the outer altar, to the golden altar, to burn incense upon it: and the second lot, thirteen were worthy of it, according to the order of their standing; how? the president says to them, put out your fingers, and he numbers in the way that has been explained; and he that goes out by the first lot, is he that slays the daily sacrifice of the morning; and the second that stands by his side, is he that receives the blood of the daily sacrifice, and sprinkles it; and the third that is next to the second, receives the ashes from the innermost altar, which is the altar of incense; and the fourth, that is by his side, cleanses the candlestick, and trims the lamps; and the fifth brings up the head of the daily sacrifice, and its leg to the ascent of the altar: and the sixth brings up the two shoulders; and the seventh brings up the extreme part of the backbone, and the other leg; and the eighth brings up the breast and the gullet; and the ninth brings up the two sides; and the tenth brings up the inwards; and the eleventh brings up the fine flour, and the drink offerings; and the twelfth brings up the things that were fried; and the thirteenth brings up the wine of the drink offerings: the third lot, the president says to them, "even" to all the men of the house of the father of that day, whoever has never burnt incense, let him come and "cast lots"; and they gather together to the president, and cast lots; and he that goes out by the lot first, he is he that is worthy to burn incense; the fourth lot, they all gather together, and cast lots to know who shall bring up the parts from the ascent of the altar, to the altar; they cast lots, and he is worthy who is accounted worthy: the daily evening sacrifice, they do not cast another lot for it; but every priest that is worthy of any service of the services of the morning, is worthy of the evening, except that of the incense; for they cast another lot for that in the evening; and every one may come, who has never burnt incense of the men of that house of the fathers, and cast lots for it; but if they have all of them burnt incense already, they all of them cast lots, in the morning, at the third lot; and he that is worthy of it in the morning, burns incense in the evening.''