Flight data shows the aircraft making loops over the Scottish Borders before executing a U-turn back to the capital.