[S:1]([O:6]C)([O:4][CH3:5])(=[O:3])=[O:2].[NH2:8][C:9]1[N:13]2[CH2:14][CH2:15][CH2:16][N:12]2[C:11](=[O:17])[C:10]=1/[N:18]=[N:19]/[C:20]1[CH:21]=[N:22][CH:23]=[CH:24][CH:25]=1>C1COCC1>[CH3:5][O:4][S:1]([O-:6])(=[O:3])=[O:2].[NH2:8][C:9]1[N:13]2[CH2:14][CH2:15][CH2:16][N:12]2[C:11](=[O:17])[C:10]=1/[N:18]=[N:19]/[C:20]1[CH:21]=[N+:22]([CH3:5])[CH:23]=[CH:24][CH:25]=11 mmol of dimethyl sulphate is added to a mixture of 5 mmol of 3-amino-2-[(E)-pyridin-3-yldiazenyl]-6,7-dihydro-1H,5H-pyrazolo[1,2-a]pyrazol-1-one and 20 ml of THF. The temperature of the medium is brought to 75° C. for 2 hours.