On the Inclusion of Analytic Symplectic Maps in Analytic Hamiltonian Flows and Its Applications