(Apologies for any awkwardness. This is my very first post.) This is a question about how to get the sign right for the classic integral dealt with here Keyhole Contour with Square Root Branch Cut on Imaginary Axis
I get the same answer as Ron Gordon https://math.stackexchange.com/users/53268/ron-gordon offers in that reference except for the signs. I find -i instead of +i and vice versa in the denominators, leading to:
$$I_2 = i \int_{\infty}^m dy \, \frac{i y \, e^{-r y}}{-i \sqrt{y^2-m^2}} $$
$$I_3 = i \int_m^{\infty} dy \, \frac{i y \, e^{-r y}}{+i \sqrt{y^2-m^2}} $$
This is where my (likely wrong) signs are coming from. With the same contour setup as in the reference above, I have $-\pi/2<arg\left( z+i\right )<3\pi/2$ and $\pi/2<arg\left( z-i\right )<5\pi/2$.
So, on the $I_2$ side of the cut, the arg of the denominator is made up of $\pi/2$ from $\left( z+i\right )$ plus $5\pi/2$ from $\left( z-i\right )$, the whole thing times $1/2$ because of square roots. That produces a total arg of $3\pi/2$ in the denominator, which is the factor $e^{i3\pi/2}=-i$ in my (most likely wrong) $I_2$ above.
Similarly, on the $I_3$ side of the cut, the arg of the denominator is made up of $\pi/2$ again from $\left( z+i\right )$ plus $\pi/2$ from $\left( z-i\right )$, the sum times $1/2$ again. That produces a total arg of $\pi/2$ in the denominator, which is the factor $e^{i\pi/2}=+i$ in my (most likely wrong) $I_3$ above.
Where did I go wrong? Much obliged.