I have been trying to solve the problem for $m=3$: $$f(x)=\frac{1}{2\pi j}\int_{c-j\infty}^{c+j\infty}x^{-s}\sigma ^{ms-m}\left [ \frac{\Gamma \left ( s \right )}{\Gamma \left ( s+2 \right )} \right ]^{m}ds$$
Starting off, I have then simplified the problem to: $$f(x)=\frac{1}{2\sigma ^{m}\pi j}\int_{c-j\infty}^{c+j\infty}\left ( \frac{\sigma ^{m}}{x} \right )^{s}\frac{1}{s^{m}\left ( s+1 \right )^{m}}ds$$
For $m=3$ and finding the residues: $$\text{Res}\left ( \Gamma(s),0\right )=\frac{1}{2!}\lim_{s\rightarrow0}\frac{d^{2}}{ds^{2}}\left ( \frac{\sigma ^{3}}{x} \right )^{s}\frac{1}{\left (s+1 \right )^{3}}$$
$$\text{Res}\left ( \Gamma(s),-1\right )=\frac{1}{2!}\lim_{s\rightarrow-1}\frac{d^{2}}{ds^{2}}\left ( \frac{\sigma ^{3}}{x} \right )^{s}\frac{1}{s^{3}}$$
Using Cauchy's residue theorem, the simplified answer I obtain is: $$f(x)=\frac{1}{2\sigma ^{3}}\left [ 12\left \{ 1-\frac{x}{\sigma^{3}} \right \}-6log\left ( \frac{\sigma^{3}}{x} \right )\left \{ 1+\frac{x}{\sigma^{3}} \right \}+log\left ( \frac{\sigma^{3}}{x} \right )^{2}\left \{ 1-\frac{x}{\sigma^{3}} \right \} \right ]$$
To check the answer I obtained, I plot it out in MATLAB against the emperical solution and this is what I get (negative side of $x$ is mirror of positive side of $x$):

Where am I doing it wrongly? Is my final answer correct? Thanks
Answer:
There was nothing wrong with the analytical equation. And the problem is for $c>0$ and $x<\sigma$. Otherwise, $f(x)=0$. With that specified, the analytical expression obtained is correct!
*Thanks to @RonGordon