Follow these steps closely:
1) Throw your borescope in the trash.
2) Clean the barrel very well.
3) Verify all fasteners are properly torqued (action bolts, scope rail/base, rings, muzzle device, cheek rest, bipod, etc.).
4) Go shoot it with quality match ammo.
If the rifle groups, quit...