[CH3:1][N:2]1[C:6]2[CH:7]=[C:8]([CH3:11])[CH:9]=[CH:10][C:5]=2[N:4]=[N:3]1.[Br:12]N1C(=O)CCC1=O>>[Br:12][CH2:11][C:8]1[CH:9]=[CH:10][C:5]2[N:4]=[N:3][N:2]([CH3:1])[C:6]=2[CH:7]=1The dimethyl compound (a) is reacted with N-bromosuccinimide, yielding the title compound.