[Mn]([O-])(=O)(=O)=[O:2].[K+].[Cl:7][C:8]1[C:9]([CH3:18])=[N:10][C:11]2[N:12]([N:15]=[CH:16][CH:17]=2)[C:13]=1[F:14].[OH2:19]>>[Cl:7][C:8]1[C:9]([C:18]([OH:2])=[O:19])=[N:10][C:11]2[N:12]([N:15]=[CH:16][CH:17]=2)[C:13]=1[F:14]Potassium permanganate (2.00 equivalents) is added to 6-chloro-7-fluoro-5-methylpyrazolo[1,5-a]pyrimidine (1.00 equivalent) in water, and the mixture is heated at 100° C. After 3 hours, the reaction mixture is cooled to room temperature, and the precipitated oxides of manganese are filtered and washed with hot water. The filtrate is concentrated under reduced pressure, diluted with EtOAc, washed with 10% aqueous HCl solution, dried (MgSO4), and concentrated. The product may be triturated with an appropriate solvent such as diethyl ether or dichloromethane if further purification is necessary.