The standalone python script make4FGLxml.py has been replaced with the new python package LATSourceModel. This new package represents a rework of the code to be cleaner, modular, better documented, and more efficient while also adding new functionality. Due to the refactoring of the code into several files/modules, it is now served via the python package index and installable via pip: pip install LATSourceModel [NOTE: the code now uses the pandas module, which will be installed at the same time if it is not already] The main documentation on usage and other aspects is: https://github.com/physicsranger/make4FGLxml/blob/main/README.md The change in usage is largely confined to the new module name, some changes in argument names, and no longer needing to add the .py extension when calling make4FGLxml from the command line. The GitHub readme outlines the changes, standard usage, and details new features. Here, we will make note of the most important details for those users already familiar with the previous script. - the main class has changed from srcList to SourceList, this means that instead of: from make4FGLxml import srcList the user should modify scripts to be: from LATSourceModel import SourceList - when creating the SourceList object, the names of the arguments have changed: old: source_list=srcList(sources='gll_psc_v31.fit',ft1='myevents.fits',out='mymodel.xml',DRversion=3) new: source_list=SourceList(catalog_file='gll_psc_v31.fit',ROI='myevents.fits',output_name='mymodel.xml',DR=3) [NOTE: the ROI argument can be the path to a LAT event file OR a list with the details of the region of interest, e.g., ROI=[123.45,-12.345,15], which would tell the code to center the ROI at (RA,DEC) = (123.45,-12.345) with a selection radius of 15 degrees] - when calling the make_model method, many of the argument names have changed to be more descriptive, but the order of the arguments has (almost) not changed, the changes are: GDfile -> galactic_file GDname -> galactic_name ISOfile -> isotropic_file ISOname -> isotropic_name normsOnly -> norms_free_only extDir -> extended_directory radLim -> free_radius maxRad -> max_free_radius ExtraRad -> extra_radius sigFree -> sigma_to_free varFree -> variable_free psForce -> force_point_sources E2CAT -> extended_catalog_names makeRegion -> make_region [a new argument has been inserted here, region_file, allowing the user to explicitly provide a name for the .reg file] GIndexFree -> galactic_index_free [the argument wd -> write_directory and has been moved to the SourceList initialization] oldNames -> use_old_names When you install the LATSourceModel package, pip automatically generates an executable in the path (you'll have to open a new terminal to use it) called make4FGLxml which has very similar behavior to the previous make4FGLxml.py script. The full argument names match the new names above. Use make4FGLxml --help for more information and/or see the readme. The LATSourceModel package now includes functionality to add sources to an existing LAT source model, with all spatial and spectral models listed on the FSSC implemented. The command line tool, make4FGLxml, has to option to add a single, non-4FGL point source to the model. See the GitHup repo readme for more details. Please report all issues on the GitHub repo issues page: https://github.com/physicsranger/make4FGLxml/issues