Whoever, being duly summoned to appear to testify, or to appear and produce books, accounts, records, memoranda, or other papers, as required under sections 1862, 1863 and 1864(b) of this title neglects to appear or to produce such books, accounts, records, memoranda, or other papers, shall be fined not more than $1,000 or imprisoned not more than 1 year, or both, together with costs of prosecution.