Contributions to the systematic uncertainty of the isolated-photon cross section and their quadratic sum as a function of $p_{\rm T}$ for $R=$ 0.2 in pp collisions (bottom left frame) and two Pb$-$Pb collisions centrality classes: 0$-$10% (top left frame) and 30$-$50% (top right frame). Statistical uncertainty is also shown.