Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9639305 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 6.217e-09 6.813e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 6.227e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.503e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.0126234341e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00148226272901 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31691149/likelihoodResults_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19591.9895326 delta logL = -0.025602113903 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 19591.9639309 delta logL = -4.35720721725e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .79381E-07 1.0000 .0000 .10000E+07 2 'Index ' .37100 1.0000 .0000 10.000 3 'Normalizat' .82750 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0366 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 39 CALLS 206 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 25.383 .42118E-03** at limit ** 2 Index 1.1409 1.1743 -.48707E-04 .0000 3 Normalizat .82760 1.1656 .49277E-04 .83815E-04 4 Prefactor 1.0365 1.2085 -.36220E-05 .49418E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.14094 Normalizat = 0.827596 Prefactor = 1.03652 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM HESSE STATUS=FAILED 9 CALLS 215 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 25.383 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .79988E-01 1.3338 -.48707E-04 -.88169 3 Normalizat .82760 1.1656 .49277E-04 -.99053 4 Prefactor 1.0365 1.2085 -.36220E-05 -.91522 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.39745e-11 Minuit parameter uncertainties: 1 5.26824e-06 2 1.20279 3 1.20407 4 1.24265 /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 19591.9639305 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 0.000e+00 5.268e-06 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.141e+00 1.203e+00 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 1.243e+00 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.204e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31691149/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-03', job_status='DONE', photon_flux_upper_limit='2.01e-08', time_completed='2026-07-14 18:45:52.318725', job_id='31691149', GAL2='1.04', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1784079952.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='936' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 14 18:45:52 PDT 2026 /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 17392 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2142.8+1958_weekly_bin936 RA = 325.701, Dec = 19.982 tmin = 805075201, tmax = 805680001 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='31691793', job_status='RUN', time_executed='2026-07-14 18:41:28.183861', time_epoch_executed='1784079688.18' WHERE source_name='4FGL J2142.8+1958' and cadence='weekly' and bin_id='936' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31691793 Creating custom pfile directory: /lscratch/kocevski/31691793/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31691793/ft1_4FGL_J2142.8+1958_weekly_bin936.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31691793/ft1_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691793/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits ra=325.701 dec=19.982 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 5.08 user 4.08 sys 0.36 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/31691793/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31691793/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.93 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 1858 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31691793/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" onumber of points = 17392 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2142.8+1958_weekly_bin936 RA = 325.701, Dec = 19.982 tmin = 805075201, tmax = 805680001 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='31691799', job_status='RUN', time_executed='2026-07-14 18:41:48.695565', time_epoch_executed='1784079708.7' WHERE source_name='4FGL J2142.8+1958' and cadence='weekly' and bin_id='936' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31691799 Creating custom pfile directory: /lscratch/kocevski/31691799/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31691799/ft1_4FGL_J2142.8+1958_weekly_bin936.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31691799/ft1_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691799/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits ra=325.701 dec=19.982 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 5.25 user 4.46 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/31691799/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31691799/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.93 user 0.24 sys 0.13 Number of photons that the gtmktime cut: 1858 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31691799/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" ounumber of points = 17392 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2142.8+1958_weekly_bin936 RA = 325.701, Dec = 19.982 tmin = 805075201, tmax = 805680001 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='31691815', job_status='RUN', time_executed='2026-07-14 18:42:11.788464', time_epoch_executed='1784079731.79' WHERE source_name='4FGL J2142.8+1958' and cadence='weekly' and bin_id='936' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31691815 Creating custom pfile directory: /lscratch/kocevski/31691815/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31691815/ft1_4FGL_J2142.8+1958_weekly_bin936.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31691815/ft1_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691815/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits ra=325.701 dec=19.982 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 5.14 user 4.43 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/31691815/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31691815/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.87 user 0.22 sys 0.12 Number of photons that the gtmktime cut: 1858 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31691815/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31691793/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 16.75 user 15.80 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31691793/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31691793/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691793/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/31691793/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 62.72 user 57.98 sys 3.80 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 163 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2142.8+1958 @ 325.701 19.982 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31691793/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691793/cmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.03 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31691793/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691793/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.96 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31691793/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.ftfile=/lscratch/kocevski/31691799/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 18.65 user 17.71 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31691799/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31691799/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691799/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/31691799/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 69.55 user 64.53 sys 4.05 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 163 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2142.8+1958 @ 325.701 19.982 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31691799/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691799/cmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.92 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31691799/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691799/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.92 user 0.25 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31691799/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fiutfile=/lscratch/kocevski/31691815/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 18.49 user 17.64 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31691815/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31691815/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691815/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/31691815/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 69.41 user 64.41 sys 3.87 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 163 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2142.8+1958 @ 325.701 19.982 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31691815/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691815/cmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.95 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31691815/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31691815/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.93 user 0.26 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31691815/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fnumber of points = 17392 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2142.8+1958_weekly_bin936 RA = 325.701, Dec = 19.982 tmin = 805075201, tmax = 805680001 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='31692044', job_status='RUN', time_executed='2026-07-14 18:45:28.282792', time_epoch_executed='1784079928.28' WHERE source_name='4FGL J2142.8+1958' and cadence='weekly' and bin_id='936' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31692044 Creating custom pfile directory: /lscratch/kocevski/31692044/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31692044/ft1_4FGL_J2142.8+1958_weekly_bin936.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31692044/ft1_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31692044/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits ra=325.701 dec=19.982 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 5.06 user 4.32 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/31692044/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31692044/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.93 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 1858 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31692044/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" onumber of points = 17392 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2142.8+1958_weekly_bin936 RA = 325.701, Dec = 19.982 tmin = 805075201, tmax = 805680001 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='31692089', job_status='RUN', time_executed='2026-07-14 18:46:03.453160', time_epoch_executed='1784079963.45' WHERE source_name='4FGL J2142.8+1958' and cadence='weekly' and bin_id='936' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31692089 Creating custom pfile directory: /lscratch/kocevski/31692089/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31692089/ft1_4FGL_J2142.8+1958_weekly_bin936.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31692089/ft1_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31692089/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits ra=325.701 dec=19.982 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.85 user 4.11 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/31692089/ft1_filteredMKT_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31692089/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.93 user 0.21 sys 0.14 Number of photons that the gtmktime cut: 1858 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31692089/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31692044/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 17.99 user 16.94 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31692044/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31692044/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31692044/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/31692044/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 67.08 user 62.19 sys 3.98 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 163 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2142.8+1958 @ 325.701 19.982 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31692044/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31692044/cmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.94 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31692044/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31692044/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.88 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31692044/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.futfile=/lscratch/kocevski/31692089/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 17.83 user 16.95 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31692089/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31692089/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31692089/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/31692089/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits .....................! real 64.76 user 60.17 sys 3.77 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 163 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2142.8+1958 @ 325.701 19.982 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31692089/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31692089/cmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.86 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31692089/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits scfile=/lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits outfile=/lscratch/kocevski/31692089/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=325.701 yref=19.982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.85 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31692089/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31691793/Model_4FGL_J2142.8+1958_weekly_bin936.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31691793/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits.....................! real 90.50 user 88.51 sys 0.98 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31691793/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits', '/lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits', expMap='/lscratch/kocevski/31691793/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', expCube='/lscratch/kocevski/31691793/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31691793/Model_4FGL_J2142.8+1958_weekly_bin936.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2142.8+1958' 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 4.708e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31691793/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits Spacecraft file(s): /lscratch/kocevski/31691793/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Exposure map: /lscratch/kocevski/31691793/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits Exposure cube: /lscratch/kocevski/31691793/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31691793/Model_4FGL_J2142.8+1958_weekly_bin936.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9798017 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9640825 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.461 1.0000 .0000 .10000E+07 2 'Prefactor ' 51.783 1.0000 .0000 .10000E+07 3 'Prefactor ' 10.574 1.0000 .0000 .10000E+07 4 'Prefactor ' .10023E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .53094 1.0000 .0000 .10000E+07 6 'norm ' 1.1487 1.0000 .0000 .10000E+07 7 'norm ' 2.8083 1.0000 .0000 .10000E+07 8 'Prefactor ' .70804E-06 1.0000 .0000 .10000E+07 9 'Prefactor ' .27703E-02 1.0000 .0000 .10000E+07 10 'norm ' 2.0857 1.0000 .0000 .10000E+07 11 'Prefactor ' .11324E-07 1.0000 .0000 .10000E+07 12 'norm ' .28866E-08 1.0000 .0000 .10000E+07 13 'Prefactor ' .17068E-02 1.0000 .0000 .10000E+07 14 'norm ' .31069 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.166 1.0000 .0000 .10000E+07 16 'norm ' .98173E-01 1.0000 .0000 .10000E+07 17 'Prefactor ' 9.7007 1.0000 .0000 .10000E+07 18 'norm ' .0000 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.8628 1.0000 .0000 .10000E+07 20 'Normalizat' .82771 1.0000 .10000E-01 10.000 21 'Prefactor ' 1.0365 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 127 CALLS 2667 TOTAL EDM= .51E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.457 1.2207 .41162E-07 -.41988E-01 2 Prefactor 51.775 1.5091 -.24346E-07 .16420 3 Prefactor 10.566 2.7508 .13127E-06 .24067E-01 4 Prefactor .16653E-09 6.2592 .33309E-06** at limit ** 5 Prefactor .52695 2.8972 -.10278E-06 -.18070E-03 6 norm 1.1574 4.3569 -.20336E-06 -.12994E-02 7 norm 2.8082 2.4315 .33391E-07 .14492E-02 8 Prefactor .0000 1.4115 -.54938E-06** at limit ** 9 Prefactor .62172E-08 18.601 -.64517E-06** at limit ** 10 norm 2.0856 1.4185 .37089E-06 .31199E-02 11 Prefactor .16653E-09 3.2322 -.11512E-06** at limit ** 12 norm .0000 .69143 .11553E-06** at limit ** 13 Prefactor .44409E-09 14.192 -.96342E-08** at limit ** 14 norm .31069 .61265 .24670E-06 -.26057E-02 15 Prefactor 18.166 1.0102 .48688E-08 -.95860E-02 16 norm .98037E-01 .84204 -.31245E-06** at limit ** 17 Prefactor 9.6923 7.8730 .38702E-06 .24722E-02 18 norm .0000 .96860 -.38828E-06** at limit ** 19 Prefactor 2.8928 5.8652 -.25143E-06 .25222E-03 20 Normalizat .82760 .16800 -.45953E-05 .57608E-04 21 Prefactor 1.0365 .71902E-01 .11855E-05 .24815E-03 ERR DEF= .500 Final values: Prefactor = 10.457 Prefactor = 51.7752 Prefactor = 10.5658 Prefactor = 1.66533e-10 Prefactor = 0.52695 norm = 1.15742 norm = 2.80817 Prefactor = 0 Prefactor = 6.21725e-09 norm = 2.08556 Prefactor = 1.66533e-10 norm = 0 Prefactor = 4.44089e-10 norm = 0.310695 Prefactor = 18.1662 norm = 0.098037 Prefactor = 9.69232 norm = 0 Prefactor = 2.89282 Normalizat = 0.827595 Prefactor = 1.03652 ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/31691799/Model_4FGL_J2142.8+1958_weekly_bin936.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31691799/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits.....................! real 101.86 user 99.78 sys 0.94 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31691799/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits', '/lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits', expMap='/lscratch/kocevski/31691799/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', expCube='/lscratch/kocevski/31691799/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31691799/Model_4FGL_J2142.8+1958_weekly_bin936.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2142.8+1958' 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 4.708e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31691799/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits Spacecraft file(s): /lscratch/kocevski/31691799/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Exposure map: /lscratch/kocevski/31691799/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits Exposure cube: /lscratch/kocevski/31691799/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31691799/Model_4FGL_J2142.8+1958_weekly_bin936.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9798017 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9640825 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.461 1.0000 .0000 .10000E+07 2 'Prefactor ' 51.783 1.0000 .0000 .10000E+07 3 'Prefactor ' 10.574 1.0000 .0000 .10000E+07 4 'Prefactor ' .10023E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .53094 1.0000 .0000 .10000E+07 6 'norm ' 1.1487 1.0000 .0000 .10000E+07 7 'norm ' 2.8083 1.0000 .0000 .10000E+07 8 'Prefactor ' .70804E-06 1.0000 .0000 .10000E+07 9 'Prefactor ' .27703E-02 1.0000 .0000 .10000E+07 10 'norm ' 2.0857 1.0000 .0000 .10000E+07 11 'Prefactor ' .11324E-07 1.0000 .0000 .10000E+07 12 'norm ' .28866E-08 1.0000 .0000 .10000E+07 13 'Prefactor ' .17068E-02 1.0000 .0000 .10000E+07 14 'norm ' .31069 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.166 1.0000 .0000 .10000E+07 16 'norm ' .98173E-01 1.0000 .0000 .10000E+07 17 'Prefactor ' 9.7007 1.0000 .0000 .10000E+07 18 'norm ' .0000 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.8628 1.0000 .0000 .10000E+07 20 'Normalizat' .82771 1.0000 .10000E-01 10.000 21 'Prefactor ' 1.0365 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 18 **HESSE ********** FCN= 19591.96 FROM HESSE STATUS=OK 367 CALLS 3034 TOTAL EDM= .97E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.457 10.553 .30953E-03 -1.5643 2 Prefactor 51.775 47.581 .13898E-03 -1.5564 3 Prefactor 10.566 7.7355 .30788E-03 -1.5643 4 Prefactor .16653E-09 6.2473 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .52695 4.3177 .75656E-03 -1.5693 6 norm 1.1574 5.8764 .10802E-02 -1.5686 7 norm 2.8082 2.4475 .60675E-03 -1.5674 8 Prefactor .0000 1.4126 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .62172E-08 18.640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 2.0856 1.4300 .71464E-03 -1.5679 11 Prefactor .16653E-09 3.2219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 .68219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .44409E-09 14.186 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .31069 .62263 .10066E-02 -1.5697 15 Prefactor 18.166 34.432 .23472E-03 -1.5623 16 norm .98037E-01 .34706 .23486E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 9.6923 8.2768 .32150E-03 -1.5646 18 norm .0000 .96844 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.8928 5.9324 .60056E-03 -1.5674 20 Normalizat .82760 .15021 .89257E-01 -.99053 21 Prefactor 1.0365 .62268E-01 .40775E-01 -.91522 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.73813e-06 Minuit parameter uncertainties: 1 10.5535 2 47.5815 3 7.73549 4 6.66751e-05 5 3.01675 6 5.21592 7 2.44753 8 9.2804e-06 9 0.000681276 10 1.43002 11 4.83716e-05 12 5.95314e-06 13 0.000160215 14 0.622633 15 34.4322 16 0.347058 17 8.27678 18 3.29101e-07 19 5.93244 20 0.15029 21 0.0622725 ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 127 CALLS 2667 TOTAL EDM= .51E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.457 1.2207 .41162E-07 -.41988E-01 2 Prefactor 51.775 1.5091 -.24346E-07 .16420 3 Prefactor 10.566 2.7508 .13127E-06 .24067E-01 4 Prefactor .16653E-09 6.2592 .33309E-06** at limit ** 5 Prefactor .52695 2.8972 -.10278E-06 -.18070E-03 6 norm 1.1574 4.3569 -.20336E-06 -.12994E-02 7 norm 2.8082 2.4315 .33391E-07 .14492E-02 8 Prefactor .0000 1.4115 -.54938E-06** at limit ** 9 Prefactor .62172E-08 18.601 -.64517E-06** at limit ** 10 norm 2.0856 1.4185 .37089E-06 .31199E-02 11 Prefactor .16653E-09 3.2322 -.11512E-06** at limit ** 12 norm .0000 .69143 .11553E-06** at limit ** 13 Prefactor .44409E-09 14.192 -.96342E-08** at limit ** 14 norm .31069 .61265 .24670E-06 -.26057E-02 15 Prefactor 18.166 1.0102 .48688E-08 -.95860E-02 16 norm .98037E-01 .84204 -.31245E-06** at limit ** 17 Prefactor 9.6923 7.8730 .38702E-06 .24722E-02 18 norm .0000 .96860 -.38828E-06** at limit ** 19 Prefactor 2.8928 5.8652 -.25143E-06 .25222E-03 20 Normalizat .82760 .16800 -.45953E-05 .57608E-04 21 Prefactor 1.0365 .71902E-01 .11855E-05 .24815E-03 ERR DEF= .500 Final values: Prefactor = 10.457 Prefactor = 51.7752 Prefactor = 10.5658 Prefactor = 1.66533e-10 Prefactor = 0.52695 norm = 1.15742 norm = 2.80817 Prefactor = 0 Prefactor = 6.21725e-09 norm = 2.08556 Prefactor = 1.66533e-10 norm = 0 Prefactor = 4.44089e-10 norm = 0.310695 Prefactor = 18.1662 norm = 0.098037 Prefactor = 9.69232 norm = 0 Prefactor = 2.89282 Normalizat = 0.827595 Prefactor = 1.03652 its sctable="SC_DATA" srcmdl=/lscratch/kocevski/31691815/Model_4FGL_J2142.8+1958_weekly_bin936.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31691815/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits.....................! real 102.36 user 100.22 sys 1.02 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31691815/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits', '/lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits', expMap='/lscratch/kocevski/31691815/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', expCube='/lscratch/kocevski/31691815/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31691815/Model_4FGL_J2142.8+1958_weekly_bin936.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2142.8+1958' 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 4.708e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31691815/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits Spacecraft file(s): /lscratch/kocevski/31691815/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Exposure map: /lscratch/kocevski/31691815/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits Exposure cube: /lscratch/kocevski/31691815/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31691815/Model_4FGL_J2142.8+1958_weekly_bin936.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9798017 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9640825 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.461 1.0000 .0000 .10000E+07 2 'Prefactor ' 51.783 1.0000 .0000 .10000E+07 3 'Prefactor ' 10.574 1.0000 .0000 .10000E+07 4 'Prefactor ' .10023E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .53094 1.0000 .0000 .10000E+07 6 'norm ' 1.1487 1.0000 .0000 .10000E+07 7 'norm ' 2.8083 1.0000 .0000 .10000E+07 8 'Prefactor ' .70804E-06 1.0000 .0000 .10000E+07 9 'Prefactor ' .27703E-02 1.0000 .0000 .10000E+07 10 'norm ' 2.0857 1.0000 .0000 .10000E+07 11 'Prefactor ' .11324E-07 1.0000 .0000 .10000E+07 12 'norm ' .28866E-08 1.0000 .0000 .10000E+07 13 'Prefactor ' .17068E-02 1.0000 .0000 .10000E+07 14 'norm ' .31069 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.166 1.0000 .0000 .10000E+07 16 'norm ' .98173E-01 1.0000 .0000 .10000E+07 17 'Prefactor ' 9.7007 1.0000 .0000 .10000E+07 18 'norm ' .0000 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.8628 1.0000 .0000 .10000E+07 20 'Normalizat' .82771 1.0000 .10000E-01 10.000 21 'Prefactor ' 1.0365 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 127 CALLS 2667 TOTAL EDM= .51E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.457 1.2207 .41162E-07 -.41988E-01 2 Prefactor 51.775 1.5091 -.24346E-07 .16420 3 Prefactor 10.566 2.7508 .13127E-06 .24067E-01 4 Prefactor .16653E-09 6.2592 .33309E-06** at limit ** 5 Prefactor .52695 2.8972 -.10278E-06 -.18070E-03 6 norm 1.1574 4.3569 -.20336E-06 -.12994E-02 7 norm 2.8082 2.4315 .33391E-07 .14492E-02 8 Prefactor .0000 1.4115 -.54938E-06** at limit ** 9 Prefactor .62172E-08 18.601 -.64517E-06** at limit ** 10 norm 2.0856 1.4185 .37089E-06 .31199E-02 11 Prefactor .16653E-09 3.2322 -.11512E-06** at limit ** 12 norm .0000 .69143 .11553E-06** at limit ** 13 Prefactor .44409E-09 14.192 -.96342E-08** at limit ** 14 norm .31069 .61265 .24670E-06 -.26057E-02 15 Prefactor 18.166 1.0102 .48688E-08 -.95860E-02 16 norm .98037E-01 .84204 -.31245E-06** at limit ** 17 Prefactor 9.6923 7.8730 .38702E-06 .24722E-02 18 norm .0000 .96860 -.38828E-06** at limit ** 19 Prefactor 2.8928 5.8652 -.25143E-06 .25222E-03 20 Normalizat .82760 .16800 -.45953E-05 .57608E-04 21 Prefactor 1.0365 .71902E-01 .11855E-05 .24815E-03 ERR DEF= .500 Final values: Prefactor = 10.457 Prefactor = 51.7752 Prefactor = 10.5658 Prefactor = 1.66533e-10 Prefactor = 0.52695 norm = 1.15742 norm = 2.80817 Prefactor = 0 Prefactor = 6.21725e-09 norm = 2.08556 Prefactor = 1.66533e-10 norm = 0 Prefactor = 4.44089e-10 norm = 0.310695 Prefactor = 18.1662 norm = 0.098037 Prefactor = 9.69232 norm = 0 Prefactor = 2.89282 Normalizat = 0.827595 Prefactor = 1.03652 ********** ** 18 **HESSE ********** FCN= 19591.96 FROM HESSE STATUS=OK 367 CALLS 3034 TOTAL EDM= .97E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.457 10.553 .30953E-03 -1.5643 2 Prefactor 51.775 47.581 .13898E-03 -1.5564 3 Prefactor 10.566 7.7355 .30788E-03 -1.5643 4 Prefactor .16653E-09 6.2473 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .52695 4.3177 .75656E-03 -1.5693 6 norm 1.1574 5.8764 .10802E-02 -1.5686 7 norm 2.8082 2.4475 .60675E-03 -1.5674 8 Prefactor .0000 1.4126 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .62172E-08 18.640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 2.0856 1.4300 .71464E-03 -1.5679 11 Prefactor .16653E-09 3.2219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 .68219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .44409E-09 14.186 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .31069 .62263 .10066E-02 -1.5697 15 Prefactor 18.166 34.432 .23472E-03 -1.5623 16 norm .98037E-01 .34706 .23486E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 9.6923 8.2768 .32150E-03 -1.5646 18 norm .0000 .96844 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.8928 5.9324 .60056E-03 -1.5674 20 Normalizat .82760 .15021 .89257E-01 -.99053 21 Prefactor 1.0365 .62268E-01 .40775E-01 -.91522 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.73813e-06 Minuit parameter uncertainties: 1 10.5535 2 47.5815 3 7.73549 4 6.66751e-05 5 3.01675 6 5.21592 7 2.44753 8 9.2804e-06 9 0.000681276 10 1.43002 11 4.83716e-05 12 5.95314e-06 13 0.000160215 14 0.622633 15 34.4322 16 0.347058 17 8.27678 18 3.29101e-07 19 5.93244 20 0.15029 21 0.0622725 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9639305 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 6.217e-09 6.813e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 6.227e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.503e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.0126234341e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00148226272901 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31691793/likelihoodResults_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19591.9895326 delta logL = -0.025602113903 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 19591.9639309 delta logL = -4.35720721725e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .79381E-07 1.0000 .0000 .10000E+07 2 'Index ' .37100 1.0000 .0000 10.000 3 'Normalizat' .82750 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0366 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 39 CALLS 206 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 25.383 .42118E-03** at limit ** 2 Index 1.1409 1.1743 -.48707E-04 .0000 3 Normalizat .82760 1.1656 .49277E-04 .83815E-04 4 Prefactor 1.0365 1.2085 -.36220E-05 .49418E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.14094 Normalizat = 0.827596 Prefactor = 1.03652 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM HESSE STATUS=FAILED 9 CALLS 215 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 25.383 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .79988E-01 1.3338 -.48707E-04 -.88169 3 Normalizat .82760 1.1656 .49277E-04 -.99053 4 Prefactor 1.0365 1.2085 -.36220E-05 -.91522 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.39745e-11 Minuit parameter uncertainties: 1 5.26824e-06 2 1.20279 3 1.20407 4 1.24265 ********** ** 18 **HESSE ********** FCN= 19591.96 FROM HESSE STATUS=OK 367 CALLS 3034 TOTAL EDM= .97E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.457 10.553 .30953E-03 -1.5643 2 Prefactor 51.775 47.581 .13898E-03 -1.5564 3 Prefactor 10.566 7.7355 .30788E-03 -1.5643 4 Prefactor .16653E-09 6.2473 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .52695 4.3177 .75656E-03 -1.5693 6 norm 1.1574 5.8764 .10802E-02 -1.5686 7 norm 2.8082 2.4475 .60675E-03 -1.5674 8 Prefactor .0000 1.4126 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .62172E-08 18.640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 2.0856 1.4300 .71464E-03 -1.5679 11 Prefactor .16653E-09 3.2219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 .68219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .44409E-09 14.186 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .31069 .62263 .10066E-02 -1.5697 15 Prefactor 18.166 34.432 .23472E-03 -1.5623 16 norm .98037E-01 .34706 .23486E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 9.6923 8.2768 .32150E-03 -1.5646 18 norm .0000 .96844 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.8928 5.9324 .60056E-03 -1.5674 20 Normalizat .82760 .15021 .89257E-01 -.99053 21 Prefactor 1.0365 .62268E-01 .40775E-01 -.91522 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.73813e-06 Minuit parameter uncertainties: 1 10.5535 2 47.5815 3 7.73549 4 6.66751e-05 5 3.01675 6 5.21592 7 2.44753 8 9.2804e-06 9 0.000681276 10 1.43002 11 4.83716e-05 12 5.95314e-06 13 0.000160215 14 0.622633 15 34.4322 16 0.347058 17 8.27678 18 3.29101e-07 19 5.93244 20 0.15029 21 0.0622725 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 19591.9639305 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 0.000e+00 5.268e-06 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.141e+00 1.203e+00 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 1.243e+00 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.204e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31691793/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-03', job_status='DONE', photon_flux_upper_limit='2.01e-08', time_completed='2026-07-14 18:56:17.844197', job_id='31691793', GAL2='1.04', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1784080577.84', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='936' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 14 18:56:18 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9639305 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 6.217e-09 6.813e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 6.227e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.503e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.0126234341e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00148226272901 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31691799/likelihoodResults_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19591.9895326 delta logL = -0.025602113903 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 19591.9639309 delta logL = -4.35720721725e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .79381E-07 1.0000 .0000 .10000E+07 2 'Index ' .37100 1.0000 .0000 10.000 3 'Normalizat' .82750 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0366 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 39 CALLS 206 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 25.383 .42118E-03** at limit ** 2 Index 1.1409 1.1743 -.48707E-04 .0000 3 Normalizat .82760 1.1656 .49277E-04 .83815E-04 4 Prefactor 1.0365 1.2085 -.36220E-05 .49418E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.14094 Normalizat = 0.827596 Prefactor = 1.03652 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM HESSE STATUS=FAILED 9 CALLS 215 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 25.383 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .79988E-01 1.3338 -.48707E-04 -.88169 3 Normalizat .82760 1.1656 .49277E-04 -.99053 4 Prefactor 1.0365 1.2085 -.36220E-05 -.91522 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.39745e-11 Minuit parameter uncertainties: 1 5.26824e-06 2 1.20279 3 1.20407 4 1.24265 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 19591.9639305 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 0.000e+00 5.268e-06 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.141e+00 1.203e+00 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 1.243e+00 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.204e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31691799/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-03', job_status='DONE', photon_flux_upper_limit='2.01e-08', time_completed='2026-07-14 18:57:09.825766', job_id='31691799', GAL2='1.04', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1784080629.83', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='936' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 14 18:57:10 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9639305 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 6.217e-09 6.813e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 6.227e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.503e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.0126234341e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00148226272901 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31691815/likelihoodResults_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19591.9895326 delta logL = -0.025602113903 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 19591.9639309 delta logL = -4.35720721725e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .79381E-07 1.0000 .0000 .10000E+07 2 'Index ' .37100 1.0000 .0000 10.000 3 'Normalizat' .82750 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0366 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 39 CALLS 206 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 25.383 .42118E-03** at limit ** 2 Index 1.1409 1.1743 -.48707E-04 .0000 3 Normalizat .82760 1.1656 .49277E-04 .83815E-04 4 Prefactor 1.0365 1.2085 -.36220E-05 .49418E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.14094 Normalizat = 0.827596 Prefactor = 1.03652 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM HESSE STATUS=FAILED 9 CALLS 215 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 25.383 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .79988E-01 1.3338 -.48707E-04 -.88169 3 Normalizat .82760 1.1656 .49277E-04 -.99053 4 Prefactor 1.0365 1.2085 -.36220E-05 -.91522 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.39745e-11 Minuit parameter uncertainties: 1 5.26824e-06 2 1.20279 3 1.20407 4 1.24265 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 19591.9639305 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 0.000e+00 5.268e-06 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.141e+00 1.203e+00 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 1.243e+00 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.204e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31691815/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-03', job_status='DONE', photon_flux_upper_limit='2.01e-08', time_completed='2026-07-14 18:57:26.493522', job_id='31691815', GAL2='1.04', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1784080646.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='936' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 14 18:57:27 PDT 2026 its sctable="SC_DATA" srcmdl=/lscratch/kocevski/31692044/Model_4FGL_J2142.8+1958_weekly_bin936.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31692044/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits.....................! real 97.41 user 95.40 sys 0.97 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31692044/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits', '/lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits', expMap='/lscratch/kocevski/31692044/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', expCube='/lscratch/kocevski/31692044/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31692044/Model_4FGL_J2142.8+1958_weekly_bin936.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2142.8+1958' 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 4.708e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31692044/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits Spacecraft file(s): /lscratch/kocevski/31692044/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Exposure map: /lscratch/kocevski/31692044/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits Exposure cube: /lscratch/kocevski/31692044/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31692044/Model_4FGL_J2142.8+1958_weekly_bin936.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9798017 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9640825 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.461 1.0000 .0000 .10000E+07 2 'Prefactor ' 51.783 1.0000 .0000 .10000E+07 3 'Prefactor ' 10.574 1.0000 .0000 .10000E+07 4 'Prefactor ' .10023E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .53094 1.0000 .0000 .10000E+07 6 'norm ' 1.1487 1.0000 .0000 .10000E+07 7 'norm ' 2.8083 1.0000 .0000 .10000E+07 8 'Prefactor ' .70804E-06 1.0000 .0000 .10000E+07 9 'Prefactor ' .27703E-02 1.0000 .0000 .10000E+07 10 'norm ' 2.0857 1.0000 .0000 .10000E+07 11 'Prefactor ' .11324E-07 1.0000 .0000 .10000E+07 12 'norm ' .28866E-08 1.0000 .0000 .10000E+07 13 'Prefactor ' .17068E-02 1.0000 .0000 .10000E+07 14 'norm ' .31069 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.166 1.0000 .0000 .10000E+07 16 'norm ' .98173E-01 1.0000 .0000 .10000E+07 17 'Prefactor ' 9.7007 1.0000 .0000 .10000E+07 18 'norm ' .0000 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.8628 1.0000 .0000 .10000E+07 20 'Normalizat' .82771 1.0000 .10000E-01 10.000 21 'Prefactor ' 1.0365 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 127 CALLS 2667 TOTAL EDM= .51E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.457 1.2207 .41162E-07 -.41988E-01 2 Prefactor 51.775 1.5091 -.24346E-07 .16420 3 Prefactor 10.566 2.7508 .13127E-06 .24067E-01 4 Prefactor .16653E-09 6.2592 .33309E-06** at limit ** 5 Prefactor .52695 2.8972 -.10278E-06 -.18070E-03 6 norm 1.1574 4.3569 -.20336E-06 -.12994E-02 7 norm 2.8082 2.4315 .33391E-07 .14492E-02 8 Prefactor .0000 1.4115 -.54938E-06** at limit ** 9 Prefactor .62172E-08 18.601 -.64517E-06** at limit ** 10 norm 2.0856 1.4185 .37089E-06 .31199E-02 11 Prefactor .16653E-09 3.2322 -.11512E-06** at limit ** 12 norm .0000 .69143 .11553E-06** at limit ** 13 Prefactor .44409E-09 14.192 -.96342E-08** at limit ** 14 norm .31069 .61265 .24670E-06 -.26057E-02 15 Prefactor 18.166 1.0102 .48688E-08 -.95860E-02 16 norm .98037E-01 .84204 -.31245E-06** at limit ** 17 Prefactor 9.6923 7.8730 .38702E-06 .24722E-02 18 norm .0000 .96860 -.38828E-06** at limit ** 19 Prefactor 2.8928 5.8652 -.25143E-06 .25222E-03 20 Normalizat .82760 .16800 -.45953E-05 .57608E-04 21 Prefactor 1.0365 .71902E-01 .11855E-05 .24815E-03 ERR DEF= .500 Final values: Prefactor = 10.457 Prefactor = 51.7752 Prefactor = 10.5658 Prefactor = 1.66533e-10 Prefactor = 0.52695 norm = 1.15742 norm = 2.80817 Prefactor = 0 Prefactor = 6.21725e-09 norm = 2.08556 Prefactor = 1.66533e-10 norm = 0 Prefactor = 4.44089e-10 norm = 0.310695 Prefactor = 18.1662 norm = 0.098037 Prefactor = 9.69232 norm = 0 Prefactor = 2.89282 Normalizat = 0.827595 Prefactor = 1.03652 its sctable="SC_DATA" srcmdl=/lscratch/kocevski/31692089/Model_4FGL_J2142.8+1958_weekly_bin936.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31692089/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits.....................! real 95.05 user 92.79 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31692089/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits', '/lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits', expMap='/lscratch/kocevski/31692089/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', expCube='/lscratch/kocevski/31692089/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31692089/Model_4FGL_J2142.8+1958_weekly_bin936.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2142.8+1958' 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 4.708e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31692089/ft1_filtered_4FGL_J2142.8+1958_weekly_bin936.fits Spacecraft file(s): /lscratch/kocevski/31692089/ft2_4FGL_J2142.8+1958_weekly_bin936.fits Exposure map: /lscratch/kocevski/31692089/expmap_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits Exposure cube: /lscratch/kocevski/31692089/ltcube_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31692089/Model_4FGL_J2142.8+1958_weekly_bin936.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9798017 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9640825 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.461 1.0000 .0000 .10000E+07 2 'Prefactor ' 51.783 1.0000 .0000 .10000E+07 3 'Prefactor ' 10.574 1.0000 .0000 .10000E+07 4 'Prefactor ' .10023E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .53094 1.0000 .0000 .10000E+07 6 'norm ' 1.1487 1.0000 .0000 .10000E+07 7 'norm ' 2.8083 1.0000 .0000 .10000E+07 8 'Prefactor ' .70804E-06 1.0000 .0000 .10000E+07 9 'Prefactor ' .27703E-02 1.0000 .0000 .10000E+07 10 'norm ' 2.0857 1.0000 .0000 .10000E+07 11 'Prefactor ' .11324E-07 1.0000 .0000 .10000E+07 12 'norm ' .28866E-08 1.0000 .0000 .10000E+07 13 'Prefactor ' .17068E-02 1.0000 .0000 .10000E+07 14 'norm ' .31069 1.0000 .0000 .10000E+07 15 'Prefactor ' 18.166 1.0000 .0000 .10000E+07 16 'norm ' .98173E-01 1.0000 .0000 .10000E+07 17 'Prefactor ' 9.7007 1.0000 .0000 .10000E+07 18 'norm ' .0000 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.8628 1.0000 .0000 .10000E+07 20 'Normalizat' .82771 1.0000 .10000E-01 10.000 21 'Prefactor ' 1.0365 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 127 CALLS 2667 TOTAL EDM= .51E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.457 1.2207 .41162E-07 -.41988E-01 2 Prefactor 51.775 1.5091 -.24346E-07 .16420 3 Prefactor 10.566 2.7508 .13127E-06 .24067E-01 4 Prefactor .16653E-09 6.2592 .33309E-06** at limit ** 5 Prefactor .52695 2.8972 -.10278E-06 -.18070E-03 6 norm 1.1574 4.3569 -.20336E-06 -.12994E-02 7 norm 2.8082 2.4315 .33391E-07 .14492E-02 8 Prefactor .0000 1.4115 -.54938E-06** at limit ** 9 Prefactor .62172E-08 18.601 -.64517E-06** at limit ** 10 norm 2.0856 1.4185 .37089E-06 .31199E-02 11 Prefactor .16653E-09 3.2322 -.11512E-06** at limit ** 12 norm .0000 .69143 .11553E-06** at limit ** 13 Prefactor .44409E-09 14.192 -.96342E-08** at limit ** 14 norm .31069 .61265 .24670E-06 -.26057E-02 15 Prefactor 18.166 1.0102 .48688E-08 -.95860E-02 16 norm .98037E-01 .84204 -.31245E-06** at limit ** 17 Prefactor 9.6923 7.8730 .38702E-06 .24722E-02 18 norm .0000 .96860 -.38828E-06** at limit ** 19 Prefactor 2.8928 5.8652 -.25143E-06 .25222E-03 20 Normalizat .82760 .16800 -.45953E-05 .57608E-04 21 Prefactor 1.0365 .71902E-01 .11855E-05 .24815E-03 ERR DEF= .500 Final values: Prefactor = 10.457 Prefactor = 51.7752 Prefactor = 10.5658 Prefactor = 1.66533e-10 Prefactor = 0.52695 norm = 1.15742 norm = 2.80817 Prefactor = 0 Prefactor = 6.21725e-09 norm = 2.08556 Prefactor = 1.66533e-10 norm = 0 Prefactor = 4.44089e-10 norm = 0.310695 Prefactor = 18.1662 norm = 0.098037 Prefactor = 9.69232 norm = 0 Prefactor = 2.89282 Normalizat = 0.827595 Prefactor = 1.03652 ********** ** 18 **HESSE ********** FCN= 19591.96 FROM HESSE STATUS=OK 367 CALLS 3034 TOTAL EDM= .97E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.457 10.553 .30953E-03 -1.5643 2 Prefactor 51.775 47.581 .13898E-03 -1.5564 3 Prefactor 10.566 7.7355 .30788E-03 -1.5643 4 Prefactor .16653E-09 6.2473 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .52695 4.3177 .75656E-03 -1.5693 6 norm 1.1574 5.8764 .10802E-02 -1.5686 7 norm 2.8082 2.4475 .60675E-03 -1.5674 8 Prefactor .0000 1.4126 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .62172E-08 18.640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 2.0856 1.4300 .71464E-03 -1.5679 11 Prefactor .16653E-09 3.2219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 .68219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .44409E-09 14.186 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .31069 .62263 .10066E-02 -1.5697 15 Prefactor 18.166 34.432 .23472E-03 -1.5623 16 norm .98037E-01 .34706 .23486E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 9.6923 8.2768 .32150E-03 -1.5646 18 norm .0000 .96844 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.8928 5.9324 .60056E-03 -1.5674 20 Normalizat .82760 .15021 .89257E-01 -.99053 21 Prefactor 1.0365 .62268E-01 .40775E-01 -.91522 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.73813e-06 Minuit parameter uncertainties: 1 10.5535 2 47.5815 3 7.73549 4 6.66751e-05 5 3.01675 6 5.21592 7 2.44753 8 9.2804e-06 9 0.000681276 10 1.43002 11 4.83716e-05 12 5.95314e-06 13 0.000160215 14 0.622633 15 34.4322 16 0.347058 17 8.27678 18 3.29101e-07 19 5.93244 20 0.15029 21 0.0622725 ********** ** 18 **HESSE ********** FCN= 19591.96 FROM HESSE STATUS=OK 367 CALLS 3034 TOTAL EDM= .97E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.457 10.553 .30953E-03 -1.5643 2 Prefactor 51.775 47.581 .13898E-03 -1.5564 3 Prefactor 10.566 7.7355 .30788E-03 -1.5643 4 Prefactor .16653E-09 6.2473 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .52695 4.3177 .75656E-03 -1.5693 6 norm 1.1574 5.8764 .10802E-02 -1.5686 7 norm 2.8082 2.4475 .60675E-03 -1.5674 8 Prefactor .0000 1.4126 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .62172E-08 18.640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 2.0856 1.4300 .71464E-03 -1.5679 11 Prefactor .16653E-09 3.2219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .0000 .68219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .44409E-09 14.186 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .31069 .62263 .10066E-02 -1.5697 15 Prefactor 18.166 34.432 .23472E-03 -1.5623 16 norm .98037E-01 .34706 .23486E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 9.6923 8.2768 .32150E-03 -1.5646 18 norm .0000 .96844 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.8928 5.9324 .60056E-03 -1.5674 20 Normalizat .82760 .15021 .89257E-01 -.99053 21 Prefactor 1.0365 .62268E-01 .40775E-01 -.91522 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.73813e-06 Minuit parameter uncertainties: 1 10.5535 2 47.5815 3 7.73549 4 6.66751e-05 5 3.01675 6 5.21592 7 2.44753 8 9.2804e-06 9 0.000681276 10 1.43002 11 4.83716e-05 12 5.95314e-06 13 0.000160215 14 0.622633 15 34.4322 16 0.347058 17 8.27678 18 3.29101e-07 19 5.93244 20 0.15029 21 0.0622725 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9639305 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 6.217e-09 6.813e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 6.227e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.503e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.0126234341e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00148226272901 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31692044/likelihoodResults_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19591.9895326 delta logL = -0.025602113903 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 19591.9639309 delta logL = -4.35720721725e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .79381E-07 1.0000 .0000 .10000E+07 2 'Index ' .37100 1.0000 .0000 10.000 3 'Normalizat' .82750 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0366 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 39 CALLS 206 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 25.383 .42118E-03** at limit ** 2 Index 1.1409 1.1743 -.48707E-04 .0000 3 Normalizat .82760 1.1656 .49277E-04 .83815E-04 4 Prefactor 1.0365 1.2085 -.36220E-05 .49418E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.14094 Normalizat = 0.827596 Prefactor = 1.03652 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM HESSE STATUS=FAILED 9 CALLS 215 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 25.383 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .79988E-01 1.3338 -.48707E-04 -.88169 3 Normalizat .82760 1.1656 .49277E-04 -.99053 4 Prefactor 1.0365 1.2085 -.36220E-05 -.91522 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.39745e-11 Minuit parameter uncertainties: 1 5.26824e-06 2 1.20279 3 1.20407 4 1.24265 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 19591.9639305 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 0.000e+00 5.268e-06 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.141e+00 1.203e+00 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 1.243e+00 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.204e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31692044/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-03', job_status='DONE', photon_flux_upper_limit='2.01e-08', time_completed='2026-07-14 19:01:07.668041', job_id='31692044', GAL2='1.04', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1784080867.67', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='936' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 14 19:01:08 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19591.9639305 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 6.217e-09 6.813e-04 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.795e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 6.227e-02 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.503e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 325.701 19.982 Photon Flux Upper Limit: 2.0126234341e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00148226272901 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31692089/likelihoodResults_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19591.9895326 delta logL = -0.025602113903 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 19591.9639309 delta logL = -4.35720721725e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .79381E-07 1.0000 .0000 .10000E+07 2 'Index ' .37100 1.0000 .0000 10.000 3 'Normalizat' .82750 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0366 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5500E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM MIGRAD STATUS=CONVERGED 39 CALLS 206 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 25.383 .42118E-03** at limit ** 2 Index 1.1409 1.1743 -.48707E-04 .0000 3 Normalizat .82760 1.1656 .49277E-04 .83815E-04 4 Prefactor 1.0365 1.2085 -.36220E-05 .49418E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.14094 Normalizat = 0.827596 Prefactor = 1.03652 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19591.96 FROM HESSE STATUS=FAILED 9 CALLS 215 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 25.383 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .79988E-01 1.3338 -.48707E-04 -.88169 3 Normalizat .82760 1.1656 .49277E-04 -.99053 4 Prefactor 1.0365 1.2085 -.36220E-05 -.91522 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.39745e-11 Minuit parameter uncertainties: 1 5.26824e-06 2 1.20279 3 1.20407 4 1.24265 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 19591.9639305 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J2142.8+1958 Spectrum: PowerLaw 276 Prefactor: 0.000e+00 5.268e-06 0.000e+00 1.000e+06 ( 1.000e-15) 277 Index: 1.141e+00 1.203e+00 0.000e+00 1.000e+01 (-1.000e+00) 278 Scale: 6.137e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 547 Prefactor: 1.037e+00 1.243e+00 0.000e+00 1.000e+01 ( 1.000e+00) 548 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 549 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 546 Normalization: 8.276e-01 1.204e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 325.701 19.982 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31692089/cmap_HighResolution_805075201_805680001_4FGL_J2142.8+1958_weekly_bin936.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-03', job_status='DONE', photon_flux_upper_limit='2.01e-08', time_completed='2026-07-14 19:01:28.507023', job_id='31692089', GAL2='1.04', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1784080888.51', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='936' AND source_name='4FGL J2142.8+1958' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 14 19:01:29 PDT 2026