To me it sounds you were shot from left of you, probably from the other roof next to the building you were on. It also seems that your target had indeed logged off before you could fire the killing shot at him. If you had lived a bit longer, you would have seen how his corpse despawns as a sign of him logging off just before you could finish him.