Consider the complex integral (it's a probability density)

for

I need to find the residue at the pole (of order ).

According to the theory, that residue is:

I found the residue. Now, the integral should equal to

Please could you say where I did a mistake? Because the result I got is not a probability density...

Thank you!