Titlesec defines several shapes for section titles. Among which:
[hang] is LaTeX default shape for section: label and section title aligned, staring from the left margin;
[block] puts label and section title in a paragraph. Useful for centred section titles or with picture inclusion, for instance;
[display] outs the label in a paragraph of its own, like the default \chapter;
[framed]: like display, but framed.
For the alignment of titles, titlesec defines commands such as \filcenter, \filleftor \filright, to be used preferably to \centering, \raggedright or \raggedleft (there are small differences as to spacing).
So here, you can write
\titleformat{\section}[block]{\normalfont\bfseries\filcenter}{\thesection}{1em}{}
As nice classical variant,(for my taste…) is this:
\titleformat{\section}[block]{\normalfont\scshape\filcenter}{\§\,\thesection}{1em}{}
blockstyle, nothang. – Bernard Jun 24 '16 at 14:57hang,blockanddisplaystyles. – Bernard Jul 05 '16 at 19:25