[N:1]1[CH:2]=[C:3]([C:10](=[O:12])[CH3:11])[N:4]2[CH:9]=[CH:8][CH:7]=[CH:6][C:5]=12>COC(OC)N(C)C>[CH3:3][N:4]([CH3:9])/[CH:5]=[CH:11]/[C:10]([C:3]1[N:4]2[CH:9]=[CH:8][CH:7]=[CH:6][C:5]2=[N:1][CH:2]=1)=[O:12]Unpurified imidazo[1,2-a]pyridin-3-ylethanone [1-1] was dissolved in 400 mL of N,N-dimethylformamide dimethylacetal, and overheated overnight under reflux. The dimethylformamide dimethylacetal was distilled off under reduced pressure, and then diethyl ether was added to the residue. Thus obtained solid was separated by filtration and dried under reduced pressure, to obtain 5.06 g of (E)-3-(dimethylamino)-1-imidazo[1,2-a]pyridin-3-yl-2-propen-1-one [1-2] as a light brown solid.