Synchrotron radiation induced magnetization in magnetically-doped and pristine topological insulators