[CH3:1][C:2]1[CH:13]=[C:5]2[N:6]=[CH:7][C:8]([C:10](N)=[O:11])=[CH:9][N:4]2[N:3]=1.[OH-:14].[Na+].O>C(O)C>[CH3:1][C:2]1[CH:13]=[C:5]2[N:6]=[CH:7][C:8]([C:10]([OH:14])=[O:11])=[CH:9][N:4]2[N:3]=12-Methylpyrazolo[1,5-a]pyrimidine-6-carboxylic acid amide (475 mg) was dissolved in ethanol (5 ml), and 5 N sodium hydroxide solution (2 ml) was added thereto and stirred for 1 hour at 70° C. The reaction mixture was cooled to room temperature, water was added thereto, and the reaction mixture was washed with ethyl acetate. 2 N Hydrochloric acid was added to the aqueous phase until it became acidic, and precipitated crystals were collected by filtration and washed with water and n-hexane. The crystals were dried under reduced pressure to give the title compound (300 mg, Y.:63%) as white crystals.