He will be sentenced at 1:30 p.m. in New Bern before District Court Judge Louise Wood Flanagan.
In November of last year, Frederick held Roanoke Rapids police officers at bay during a standoff which lasted a couple of hours.
The standoff was what led to the federal investigation, the police department has said.
Frederick was federally indicted in April for having been previously convicted of a crime punishable by a term of imprisonment for more than a year while possessing a firearm and ammunition.
Frederick remains in federal custody after Magistrate Judge Kimberly A. Swank found him not suitable for release following an April 29 detention hearing.
The standoff occurred on November 24 around 1:15 a.m. when police were called to the 500 block of Jefferson Street about Frederick not taking his prescribed medication and beating on a door.