James Traub , a contributing writer for The New York Times Magazine , landed a kind of serial scoop in 2004 when he persuaded Kofi Annan , the secretary general of the United Nations , who retires on Dec. 31 , to make a journalist 's dream come true : giving him unparalleled access to the man , his minions and his institution .