how do i know when i have reached the end of the game
As soon as you get 3rd level of X-Ray and finish Mercy route, you basically finished with current story.