( informal , especially NAmE ) used to tell sb that their attempt or guess was almost but not quite successful
CLOSE, BUT NO CIGAR
Meaning of CLOSE, BUT NO CIGAR in English
Oxford Advanced Learner's English Dictionary. Оксфордский английский словарь для изучающик язык на продвинутом уровне. 2005