The council or its duly appointed representatives may subpoena witnesses, administer oaths, and compel the production of books, papers, and other evidence to conduct formal investigation into the conduct of any department, office, or officer of the city and make investigations as to malfeasance, misfeasance, nonfeasance or irregularities in municipal affairs. Failure to obey such subpoena or to produce books, papers, or other evidence as ordered under the provisions of this section shall constitute misconduct in office. The council shall give a reasonable time for such action.