I am trying to calculate the following: \begin{equation} \int_{M}R_{ij}\nabla^{i}\varphi\nabla^{j}\varphi\; e^{-\varphi}d\mu=\int_{M}\nabla^{i}R_{ij}\nabla^{j}\varphi\;e^{-\varphi}d\mu+\int_{M}R_{ij}\nabla^{i}\nabla^{j}\varphi\;e^{-\varphi}d\mu. \end{equation}
I have this calculated: \begin{equation} e^{-\varphi}R_{ij}\nabla^{i}\varphi=e^{-\varphi}\nabla^{i}R_{ij}-\nabla^{i}(R_{ij}e^{-\varphi}). \end{equation} So i got that \begin{equation} \begin{split} \int_{M}R_{ij}\nabla^{i}\varphi\nabla^{j}\varphi\; e^{-\varphi}d\mu&=\int_{M}(e^{-\varphi}\nabla^{i}R_{ij}-\nabla^{i}(R_{ij}e^{-\varphi}))\nabla^{j}\varphi\;d\mu\\&=\int_{M}\nabla^{i}R_{ij}\nabla^{j}\varphi\;e^{-\varphi}d\mu-\int_{M}\nabla^{i}(R_{ij}e^{-\varphi})\nabla^{j}\varphi d\mu. \end{split} \end{equation} Now, I have the following: \begin{equation} \nabla^{i}(R_{ij}e^{-\varphi})\nabla^{j}\varphi=\nabla^{i}(R_{ij}e^{-\varphi}\nabla^{j}\varphi)-R_{ij}\nabla^{i}\nabla^{j}\varphi\;e^{-\varphi}. \end{equation} Then I have \begin{equation} \int_{M}R_{ij}\nabla^{i}\varphi\nabla^{j}\varphi\; e^{-\varphi}d\mu=\int_{M}\nabla^{i}R_{ij}\nabla^{j}\varphi\;e^{-\varphi}d\mu+\int_{M}R_{ij}\nabla^{i}\nabla^{j}\varphi\;e^{-\varphi}d\mu-\int_{M}\nabla^{i}(R_{ij}e^{-\varphi}\nabla^{j}\varphi)d\mu. \end{equation} I cannot remove the last term from the above equation. The only idea I have is to use the divergence theorem, but it doesn't appear in the equation.