Use the principal complex logarithm in the upper half-plane. Deform the interval upward into a half-strip: the vertical side at zero is traversed upward, and the side at one downward. The top side vanishes exponentially; a small indentation at zero contributes and vanishes. Thus the contour deformation gives the exact representation, for ,
Since , scaling and using the integral defining Euler's constant gives
For the second endpoint, . Watson's lemma, or integration of these powers against with an exponentially small tail, yields
In particular the required first terms are
The two different endpoint scales come from the logarithmic singularity at zero and the simple zero of the amplitude at one.