A master or owner of a vessel in operation that is in violation of this chapter, or a regulation adopted under it, is guilty of a misdemeanor and upon conviction is punishable by a fine of not more than $1,000. Each day the violation continues constitutes a separate offense under this section.