Prove that $\int_0^\infty\frac1{x^x}\, dx<2$ 
Prove that $$\int_0^\infty\frac1{x^x}\, dx<2.$$
 Note: This inequality is rather tight. The integral approximates to $1.9955$. 

Integration by parts is out of the question. If we let $f(x)=\dfrac1{x^x}$ and $g'(x)=1$ then $f'(x)=-x^{-x}(\ln x + 1)$ by implicit differentiation and $g(x)=x$. The integral $\int f'(x)g(x)\, dx$ looks even harder to evaluate.
Expressing the left-hand side as a Frullani integral $$\int_0^\infty\frac{f(ax)-f(bx)}x\, dx=(f(0)-f(\infty))\ln\frac ba$$ means that $f(ax)-f(bx)=x^{1-x}$. However, I can't seem to find a continuous function $f$ that satisfies the functional equation. Is there such a function?
 (For context, user371838's post below proves sophomore's dream which I also asked about originally.) 

$$\int_{0}^{+\infty}e^{-x\log x}\,dx = \underbrace{\int_{0}^{1}e^{-x\log x}\,dx}_{I_1}+\underbrace{\int_{1}^{+\infty}e^{-x\log x}\,dx}_{I_2} $$
$$ I_1=\sum_{n\geq 0}\frac{(-1)^n}{n!}\int_{0}^{1}x^n\left(\log x\right)^n\,dx = \sum_{n\geq 0}\frac{1}{(n+1)^{n+1}}=\sum_{n\geq 1}\frac{1}{n^n}\tag{A}$$
$$ I_2 = \int_{0}^{+\infty}e^{-(x+1)\log(x+1)}\,dx=\int_{0}^{+\infty}\frac{e^{-x}}{W(x)+1}\,dx\tag{B} $$
where $(A)$ gives $I_1\leq 1.292$ and high-order Padé approximants give  $I_2\leq 0.705$.
It is a very tight inequality: I wonder if it can be proved in a more elementary way, maybe by writing the whole integral as $\int_{1}^{+\infty}e^{-x}g(W(x))\,dx$.
