I need to calculate an integral like
B[a_, t_] := 1/(2 I) (t)^(9/2) NIntegrate[ x^(1/2) (HankelH1[a, x]^3 HankelH2[a, t]^3 - HankelH2[a, x]^3 HankelH1[a, t]^3), {x, t, 2}, WorkingPrecision -> 40, MinRecursion -> 10, MaxRecursion -> 20] // N
$t$ ranges from Exp[-60] to 1. $a$ ranges from 0 to 1.5. Notice that $t$ appears in the lower integration limit, in the argument of Hankel functions and as $t^{9/2}$. Moreover, the integrand is purely imaginary. The integrand diverges in the limit $t\rightarrow 0$. For $a\equiv1.5$, the analytical result predicts a logarithmic divergence for $t\rightarrow 0$. The problem is that
B[1.5,Exp[-20]]=5.5
B[1.5,Exp[-30]]=-5.89145*10^22
I have tried to increase the precision, but results do not change. I suspect that the Hankel functions are evaluated with too low precision and hence I get wrong results. You can see the (analytical) logarithmic divergence plotting
G[x_, a_, t_] := (t)^(9/2) Im[x^(1/2) (HankelH1[a, x]^3 HankelH2[a, t]^3-HankelH2[a, x]^3 HankelH1[a, t]^3)]
LogLinearPlot[{G[x, 1.5, Exp[-20]], 1/x}, {x, Exp[-10], 2}, PlotRange -> {{0, Exp[-10]}, {0, 100}}, PlotPoints -> 10000]
I am interested in the behavior of the function both for fixed $a$ and for fixed $t$ (but the former is more important).
How can I evaluate this integral? Thanks in advance to those who will try to help me.