Center section titles of an article without centering its references title

biblatexcitingnatbibtitlesec

I aim to center section titles of an article while still aligning the reference title left. I've tried to define something like \titleformat*{\sectionc}{\centering\large\bfseries} and \titleformat*{\section}{\large\bfseries}. It doesn't work. Could anyone help? Many thanks!

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{titlesec}
\titleformat*{\section}{\centering\large\bfseries}
\usepackage[authordate,autocite=inline,backend=biber, natbib]{biblatex-chicago} 
\bibliography{ee.bib}
\begin{document}
\section{Mass}
\cite{goossens1994latex}
\printbibliography[heading=bibintoc]
\end{document}
@book{goossens1994latex,
  title={The LATEX companion},
  author={Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
  volume={1},
  year={1994},
  publisher={Addison-Wesley Reading}
}

Best Answer

You may achieve your formatting objective by inserting the instruction

\titleformat*{\section}{\raggedright\large\bfseries}

immediately before the \printbibliography statement.