It was after he killed him. Why would he yell it before or during the murder? "Hey, let's just go ahead and give away my position!! YOLO"
Well, he
did shoot the president in the head and them jump from a two story height before saying it, so...
EDIT: I mean, he was going to give away his postition anyway.