The Third Integral in a Self-consistent Galactic Model