+1 Blue Loc Tite
First use flat tooth picks to shim it in place, adjust as needed, when hitting where you want it use a pencil to index/mark the top of the dovetails.
Clean any oil off.
Replace rear sight per index marks.
I've used it on 2 carbines I shoot hard. No problems, good tight bond, no problem seeing the Loc Tite.
The Dove tail area doesn't heat up enough to loose the bond.
If you ever need to remove it a hair dryer or heat gun will give off enough heat to break the bond.
Now this is Blue Loc Tite. I have no experience with their other brands.