P(Cl)(Cl)([Cl:3])=O.[Cl:6][C:7]1[C:8]([CH3:17])=[N:9][C:10]2[N:11]([N:14]=[CH:15][CH:16]=2)[C:12]=1O>>[Cl:6][C:7]1[C:8]([CH3:17])=[N:9][C:10]2[N:11]([N:14]=[CH:15][CH:16]=2)[C:12]=1[Cl:3]Phosphorous oxychloride (excess) is added to 6-chloro-5-methylpyrazolo[1,5-a]pyrimidin-7-ol (1.00 equivalent) and heated to 80° C. After 2 hours, the reaction mixture is concentrated under reduced pressure. The resulting residue is poured onto ice and, carefully neutralized with saturated NaHCO3 (pH 8), and diluted with EtOAc. After stirring for 17 hours, the organic layer was separated and the aqueous layer was re-extracted with EtOAc, repeatedly. The combined organic extracts are dried (MgSO4) and concentrated. The product is purified by flash chromatography as necessary.