I am trying to work out a closed form for the integral
\begin{equation} \int_{0}^{1} \frac{1}{\sqrt{s(1-s)}} \exp\left(-\left(\frac{a}{s} + \frac{b}{1-s}\right) \right) \,ds \end{equation} where $a,b>0$. I tried the susbtitution $\sigma = 1/s$ but did not get very far. I also suspect that some complex variable method could be used. Mathematica cannot solve it, it says it diverges (but clearly it does not), and is even able to compute it numerically without any problem when values are given to $a$ and $b$.