Where is mespirit when he runs away?

Anywhere and everywhere you have to chase her up and down the map and a helpful tip is dont fly or ride your bike. Walking may sound like it will take a long time but it actually helps her show up faster. It is super helpful if you have a pokeradar.