[CH2:1]([C:5]1[CH:10]=[C:9](Cl)[N:8]2[N:12]=[CH:13][CH:14]=[C:7]2[N:6]=1)[CH2:2][CH2:3][CH3:4].C(=O)([O-])O.[Na+].[CH3:20][NH2:21]>C(O)C>[CH2:1]([C:5]1[CH:10]=[C:9]([NH:21][CH3:20])[N:8]2[N:12]=[CH:13][CH:14]=[C:7]2[N:6]=1)[CH2:2][CH2:3][CH3:4]5-n-Butyl-7-chloropyrazolo[1,5-a]pyrimidine (the compound prepared in step (2) of Reference Example 1; 8.60 g), sodium hydrogen carbonate (3.44 g) and 40% methylamine (3.18 g) were added to 50 ml of ethanol and heated at 120° C. for 2 hours. After completion of the reaction, ethanol was distilled off under reduced pressure. After addition of some water, the residue was extracted with ethyl acetate. The organic layer was collected, dried over anhydrous sodium sulfate and concentrated under reduced pressure. The residue was purified by silica gel column chromatography (eluent: ethyl acetate:n-hexane=1:2) to provide 2.33 g of 5-n-butyl-7-methylaminopyrazolo[1,5-a]pyrimidine as crystals.