For example, the target compound can be obtained by suitably neutralizing the reaction mixture, or removing insoluble matter by filtration in the case insoluble matter is present, followed by adding water and an immiscible organic solvent such as ethyl acetate, washing with water and so forth, separating the organic layer containing the target compound, drying with anhydrous magnesium sulfate and