Suppose I have a meromorphic function $f(s)$, and a sequence of functions $g_N(t)$ that diverge to infinity, but for which the analytic continuation exists. A good example would be $g_N(t)= \sum_{n=1}^N \frac{1}{n^{0.5+it}}$, which diverges as $N \to \infty$, but which can be analytically continued to $g_\infty(t)=\zeta(0.5+it)$.
Now consider the function $f(g_N(t))$. As we increase $N$, the argument to $f$ blows up. Naively, there are two ways to do the analytic continuation:
First analytically continue $g_N(t)$ to $g_\infty(t)$, and then take $f(g_\infty(t))$
Analytically continue $f(g_N(t))$ all at once
In other words, for the second approach, we define a new family of functions $(f \circ g)_N(t)$, which has a different limit than the analytic continuation of $f(g_\infty(t))$.
Am I correct that this shows that analytic continuation and function composition do not play nice with one another? Is there a general theory of when the two approaches will agree?
For example, look at $f(t) = \frac{1}{t}$. Then as $N$ blows up, $f(g_N(t)) \to 0$, so the composition is the zero function. On the other hand, the analytic continuation $g_\infty(t)$ need.not be strictly positive at all, or could even be zero at points, leading to poles.