[Cl:1][C:2]1[N:9]=[C:8]([NH:10][C:11]2[CH:15]=[C:14]([CH3:16])[NH:13][N:12]=2)[CH:7]=[C:6]([CH3:17])[C:3]=1[C:4]#[N:5].[N:18]1[CH:23]=[CH:22][CH:21]=[C:20]([O:24][CH2:25][CH2:26][NH2:27])[CH:19]=1.C(=O)([O-])O.[Na+].CS(C)=O>O>[ClH:1].[ClH:1].[N:18]1[CH:23]=[CH:22][CH:21]=[C:20]([O:24][CH2:25][CH2:26][NH:27][C:2]2[N:9]=[C:8]([NH:10][C:11]3[CH:15]=[C:14]([CH3:16])[NH:13][N:12]=3)[CH:7]=[C:6]([CH3:17])[C:3]=2[C:4]#[N:5])[CH:19]=1Compound A (13 g, 53 mmol), 2-(pyridin-3-yloxy)ethylamine (11 g, 80 mmol) and sodium hydrogencarbonate (45 g) were added to DMSO (130 ml), and the mixture was stirred at 130° C. for 20 hr. After stirring, the reaction mixture was added to cold water, and insoluble substance was filtrated (20 g). This was converted to hydrochloride to give the object compound of 2-(2-(pyridin-3-yloxy)ethylamino)-6-(5-methyl-1H-pyrazol-3-ylamino)-4-methylnicotinonitrile dihydrochloride (15.5 g).