********** ** 18 **HESSE ********** FCN= 38988.43 FROM HESSE STATUS=NOT POSDEF 35 CALLS 291 TOTAL EDM= .50E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22437 4.6490 .60869E-04 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 4.1331 3.2447 .68397E-02 -.17426 3 Normalizat 1.1184 .16607 .97225E-03 -.89164 4 Prefactor 1.0218 .21585E-01 .13222E-03 -.92008 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.97346e-06 Minuit parameter uncertainties: 1 2.04264 2 3.54242 3 0.166148 4 0.0215856 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313502 delta logL = 1.39455289128 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 2.244e-01 2.043e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 4.133e+00 3.542e+00 0.000e+00 1.000e+01 (-1.000e+00) 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.022e+00 2.159e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.118e+00 1.661e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.97 Ra Dec: 295.539 40.198 Photon Index (Free Index): 4.13 +/- 3.54 Photon Flux (Free Index): 1.14e-07 +/- 6.76e-08 Energy Flux (Free Index): 1.67e-05 +/- 1.27e-05 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/31754931/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', comment='SUCCESS', energy_flux2='1.67e-05', dlogl='1.39e+00', photon_flux2='1.14e-07', job_status='DONE', time_completed='2026-07-15 07:25:34.598175', photon_index_error2='3.54', photon_index2='4.13', ts='0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.27e-05', EG='1.21', time_epoch_completed='1784125534.6', return_code='0', job_id='31754931', GAL2='1.02', EG2='1.12', return_code2='102', photon_flux_error2='6.76e-08', ts2='2.97', photon_index='2.21' WHERE bin_id='2182' AND source_name='4FGL J1942.1+4011' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Jul 15 07:25:35 PDT 2026 /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). /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). ponse: time -p gtdiffrsp evfile=/lscratch/kocevski/31755201/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31755201/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31755201/Model_4FGL_J1942.1+4011_daily_bin2182.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 Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/31755201/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits.....................! real 286.52 user 283.61 sys 1.12 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31755201/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits', '/lscratch/kocevski/31755201/ft2_4FGL_J1942.1+4011_daily_bin2182.fits', expMap='/lscratch/kocevski/31755201/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', expCube='/lscratch/kocevski/31755201/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31755201/Model_4FGL_J1942.1+4011_daily_bin2182.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1942.1+4011' 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 1.315e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31755201/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits Spacecraft file(s): /lscratch/kocevski/31755201/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Exposure map: /lscratch/kocevski/31755201/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits Exposure cube: /lscratch/kocevski/31755201/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31755201/Model_4FGL_J1942.1+4011_daily_bin2182.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) = 38989.8581611 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8312951 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .40190E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .19492E-03 1.0000 .0000 .10000E+07 3 'norm ' 5.5831 1.0000 .0000 .10000E+07 4 'Prefactor ' 67.534 1.0000 .0000 .10000E+07 5 'norm ' 10.605 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.1199 1.0000 .0000 .10000E+07 7 'norm ' .16487E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' .84002E-03 1.0000 .0000 .10000E+07 9 'norm ' .15488E-07 1.0000 .0000 .10000E+07 10 'norm ' 3.0172 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.1618 1.0000 .10000E-03 10000. 12 'norm ' 7.0376 1.0000 .0000 .10000E+07 13 'norm ' 8.3156 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2054 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0197 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 38989.83 FROM MIGRAD STATUS=CONVERGED 112 CALLS 836 TOTAL EDM= .42E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 11.048 -.29080E-06** at limit ** 2 Prefactor .0000 14.794 -.13283E-06** at limit ** 3 norm 5.4526 1.5594 .52698E-08 -.18466E-02 4 Prefactor 64.462 30.423 -.16068E-07 .15292E-04 5 norm 10.609 6.0611 .21230E-07 .93767E-05 6 Prefactor 2.1085 26.791 -.21902E-06 -.58542E-04 7 norm .0000 4.3077 .15828E-07** at limit ** 8 Prefactor .0000 17.943 -.23315E-06** at limit ** 9 norm .0000 1.0430 .99816E-08** at limit ** 10 norm 3.0761 4.5283 .11287E-06 -.25806E-04 11 Prefactor 2.1619 .23016 .13586E-08 -.44632E-04 12 norm 7.0146 3.0471 -.43262E-08 -.89830E-04 13 norm 8.2735 5.0632 .94800E-08 -.11157E-03 14 Normalizat 1.2085 .20257 -.17375E-05 -.10271E-05 15 Prefactor 1.0196 .28520E-01 .14110E-06 .58056E-05 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 0 norm = 5.45261 Prefactor = 64.4618 norm = 10.6086 Prefactor = 2.10851 norm = 0 Prefactor = 0 norm = 0 norm = 3.07613 Prefactor = 2.16187 norm = 7.01459 norm = 8.27352 Normalizat = 1.20847 Prefactor = 1.01962 utfile=/lscratch/kocevski/31755896/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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/31755896/ft2_4FGL_J1942.1+4011_daily_bin2182.fits .....................! real 8.14 user 7.35 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31755896/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31755896/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31755896/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31755896/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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/31755896/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits .....................! real 64.88 user 60.05 sys 3.78 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 gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source HB 21 in ROI with RadialDisk spatial model. 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 218 point sources and 4 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 J1942.1+4011 @ 295.539 40.1984 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31755896/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits scfile=/lscratch/kocevski/31755896/ft2_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31755896/cmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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=295.539 yref=40.1984 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/31755896/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits scfile=/lscratch/kocevski/31755896/ft2_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31755896/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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=295.539 yref=40.1984 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.20 sys 0.14 Computing the diffuse res ********** ** 18 **HESSE ********** FCN= 38989.83 FROM HESSE STATUS=OK 216 CALLS 1052 TOTAL EDM= .60E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 11.033 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 14.668 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 5.4526 16.856 .42494E-03 -1.5661 4 Prefactor 64.462 30.459 .12169E-03 -1.5547 5 norm 10.609 6.0579 .30742E-03 -1.5643 6 Prefactor 2.1085 27.150 .70807E-03 -1.5679 7 norm .0000 4.3218 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 17.943 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 1.0322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.0761 4.5291 .58402E-03 -1.5673 11 Prefactor 2.1619 .23091 .65488E-02 -1.5414 12 norm 7.0146 3.0416 .37792E-03 -1.5655 13 norm 8.2735 5.0573 .34741E-03 -1.5650 14 Normalizat 1.2085 .20293 .21083 -.86341 15 Prefactor 1.0196 .28126E-01 .29960E-01 -.92078 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.02624e-07 Minuit parameter uncertainties: 1 2.76792e-06 2 9.29714e-06 3 16.8558 4 30.4595 5 6.0579 6 15.1322 7 9.37857e-07 8 1.46655e-06 9 1.14324e-07 10 4.52913 11 0.230908 12 3.04163 13 5.05732 14 0.203065 15 0.0281265 number of points = 7516 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1942.1+4011_daily_bin2182 RA = 295.539, Dec = 40.1984 tmin = 804902401, tmax = 805161601 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='31756373', job_status='RUN', time_executed='2026-07-15 07:23:38.783801', time_epoch_executed='1784125418.78' WHERE source_name='4FGL J1942.1+4011' and cadence='daily' and bin_id='2182' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31756373 Creating custom pfile directory: /lscratch/kocevski/31756373/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=804902401.0 && nMetStart<805161601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=804902401.0 && nMetStart<805161601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31756373/ft1_4FGL_J1942.1+4011_daily_bin2182.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=804902401.0 && nMetStart<805161601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31756373/ft1_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31756373/ft1_filteredMKT_4FGL_J1942.1+4011_daily_bin2182.fits ra=295.539 dec=40.1984 rad=12.0 tmin=804902401.0 tmax=805161601.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 3.94 user 2.71 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.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/31756373/ft1_filteredMKT_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31756373/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.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 1.56 user 0.26 sys 0.14 Number of photons that the gtmktime cut: 4515 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31756373/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" onumber of points = 7516 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1942.1+4011_daily_bin2182 RA = 295.539, Dec = 40.1984 tmin = 804902401, tmax = 805161601 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='31756648', job_status='RUN', time_executed='2026-07-15 07:25:10.750672', time_epoch_executed='1784125510.75' WHERE source_name='4FGL J1942.1+4011' and cadence='daily' and bin_id='2182' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31756648 Creating custom pfile directory: /lscratch/kocevski/31756648/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=804902401.0 && nMetStart<805161601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=804902401.0 && nMetStart<805161601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31756648/ft1_4FGL_J1942.1+4011_daily_bin2182.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=804902401.0 && nMetStart<805161601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31756648/ft1_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31756648/ft1_filteredMKT_4FGL_J1942.1+4011_daily_bin2182.fits ra=295.539 dec=40.1984 rad=12.0 tmin=804902401.0 tmax=805161601.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 2.87 user 1.96 sys 0.18 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.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/31756648/ft1_filteredMKT_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31756648/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.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.99 user 0.18 sys 0.13 Number of photons that the gtmktime cut: 4515 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31756648/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" oDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8259031 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 0.000e+00 9.297e-06 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.020e+00 2.813e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.208e+00 2.031e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 295.539 40.198 Photon Flux Upper Limit: 9.45052140751e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00720622175649 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31755201/likelihoodResults_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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): 102 logL (Free Index) = 38989.8635033 delta logL = -0.037600151416 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313514 delta logL = 1.39455172884 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22429 1.0000 .0000 .10000E+07 2 'Index ' 4.1330 1.0000 .0000 10.000 3 'Normalizat' 1.1186 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0217 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 38988.43 FROM MIGRAD STATUS=CONVERGED 59 CALLS 256 TOTAL EDM= .16E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22437 1.0101 .11359E-02** at limit ** 2 Index 4.1331 1.1028 .11895 .10003E-02 3 Normalizat 1.1184 .47102E-01 .21737 .15472E-03 4 Prefactor 1.0218 .61818E-02 .29920E-01 -.44876E-04 ERR DEF= .500 Final values: Prefactor = 0.224368 Index = 4.13313 Normalizat = 1.11836 Prefactor = 1.02176 ********** ** 18 **HESSE ********** FCN= 38988.43 FROM HESSE STATUS=NOT POSDEF 35 CALLS 291 TOTAL EDM= .50E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22437 4.6490 .60869E-04 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 4.1331 3.2447 .68397E-02 -.17426 3 Normalizat 1.1184 .16607 .97225E-03 -.89164 4 Prefactor 1.0218 .21585E-01 .13222E-03 -.92008 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.97346e-06 Minuit parameter uncertainties: 1 2.04264 2 3.54242 3 0.166148 4 0.0215856 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313502 delta logL = 1.39455289128 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 2.244e-01 2.043e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 4.133e+00 3.542e+00 0.000e+00 1.000e+01 (-1.000e+00) 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.022e+00 2.159e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.118e+00 1.661e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.97 Ra Dec: 295.539 40.198 Photon Index (Free Index): 4.13 +/- 3.54 Photon Flux (Free Index): 1.14e-07 +/- 6.76e-08 Energy Flux (Free Index): 1.67e-05 +/- 1.27e-05 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/31755201/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', comment='SUCCESS', energy_flux2='1.67e-05', dlogl='1.39e+00', photon_flux2='1.14e-07', job_status='DONE', time_completed='2026-07-15 07:30:18.415660', photon_index_error2='3.54', photon_index2='4.13', ts='0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.27e-05', EG='1.21', time_epoch_completed='1784125818.42', return_code='0', job_id='31755201', GAL2='1.02', EG2='1.12', return_code2='102', photon_flux_error2='6.76e-08', ts2='2.97', photon_index='2.21' WHERE bin_id='2182' AND source_name='4FGL J1942.1+4011' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Jul 15 07:30:19 PDT 2026 utfile=/lscratch/kocevski/31756373/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits .....................! real 9.73 user 8.52 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31756373/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31756373/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31756373/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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/31756373/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits .....................! real 81.22 user 74.62 sys 4.67 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 gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source HB 21 in ROI with RadialDisk spatial model. 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 218 point sources and 4 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 J1942.1+4011 @ 295.539 40.1984 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31756373/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits scfile=/lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31756373/cmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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=295.539 yref=40.1984 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.22 user 0.21 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31756373/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits scfile=/lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31756373/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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=295.539 yref=40.1984 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.34 user 0.30 sys 0.13 Computing the diffuse resutfile=/lscratch/kocevski/31756648/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits .....................! real 8.17 user 7.46 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31756648/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31756648/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31756648/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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/31756648/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits .....................! real 68.93 user 63.86 sys 3.89 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 gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source HB 21 in ROI with RadialDisk spatial model. 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 218 point sources and 4 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 J1942.1+4011 @ 295.539 40.1984 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31756648/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits scfile=/lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31756648/cmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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=295.539 yref=40.1984 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.24 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31756648/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits scfile=/lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31756648/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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=295.539 yref=40.1984 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.12 Computing the diffuse resnumber of points = 7516 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1942.1+4011_daily_bin2182 RA = 295.539, Dec = 40.1984 tmin = 804902401, tmax = 805161601 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='31757007', job_status='RUN', time_executed='2026-07-15 07:26:14.074999', time_epoch_executed='1784125574.08' WHERE source_name='4FGL J1942.1+4011' and cadence='daily' and bin_id='2182' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31757007 Creating custom pfile directory: /lscratch/kocevski/31757007/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=804902401.0 && nMetStart<805161601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=804902401.0 && nMetStart<805161601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31757007/ft1_4FGL_J1942.1+4011_daily_bin2182.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=804902401.0 && nMetStart<805161601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31757007/ft1_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31757007/ft1_filteredMKT_4FGL_J1942.1+4011_daily_bin2182.fits ra=295.539 dec=40.1984 rad=12.0 tmin=804902401.0 tmax=805161601.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 3.19 user 2.02 sys 0.18 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.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/31757007/ft1_filteredMKT_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31757007/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.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 1.63 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 4515 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31757007/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" oponse: time -p gtdiffrsp evfile=/lscratch/kocevski/31755613/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31755613/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31755613/Model_4FGL_J1942.1+4011_daily_bin2182.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 Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/31755613/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits.....................! real 296.46 user 292.98 sys 1.00 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31755613/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits', '/lscratch/kocevski/31755613/ft2_4FGL_J1942.1+4011_daily_bin2182.fits', expMap='/lscratch/kocevski/31755613/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', expCube='/lscratch/kocevski/31755613/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31755613/Model_4FGL_J1942.1+4011_daily_bin2182.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1942.1+4011' 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 1.315e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31755613/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits Spacecraft file(s): /lscratch/kocevski/31755613/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Exposure map: /lscratch/kocevski/31755613/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits Exposure cube: /lscratch/kocevski/31755613/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31755613/Model_4FGL_J1942.1+4011_daily_bin2182.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) = 38989.8581611 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8312951 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .40190E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .19492E-03 1.0000 .0000 .10000E+07 3 'norm ' 5.5831 1.0000 .0000 .10000E+07 4 'Prefactor ' 67.534 1.0000 .0000 .10000E+07 5 'norm ' 10.605 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.1199 1.0000 .0000 .10000E+07 7 'norm ' .16487E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' .84002E-03 1.0000 .0000 .10000E+07 9 'norm ' .15488E-07 1.0000 .0000 .10000E+07 10 'norm ' 3.0172 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.1618 1.0000 .10000E-03 10000. 12 'norm ' 7.0376 1.0000 .0000 .10000E+07 13 'norm ' 8.3156 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2054 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0197 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 38989.83 FROM MIGRAD STATUS=CONVERGED 112 CALLS 836 TOTAL EDM= .42E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 11.048 -.29080E-06** at limit ** 2 Prefactor .0000 14.794 -.13283E-06** at limit ** 3 norm 5.4526 1.5594 .52698E-08 -.18466E-02 4 Prefactor 64.462 30.423 -.16068E-07 .15292E-04 5 norm 10.609 6.0611 .21230E-07 .93767E-05 6 Prefactor 2.1085 26.791 -.21902E-06 -.58542E-04 7 norm .0000 4.3077 .15828E-07** at limit ** 8 Prefactor .0000 17.943 -.23315E-06** at limit ** 9 norm .0000 1.0430 .99816E-08** at limit ** 10 norm 3.0761 4.5283 .11287E-06 -.25806E-04 11 Prefactor 2.1619 .23016 .13586E-08 -.44632E-04 12 norm 7.0146 3.0471 -.43262E-08 -.89830E-04 13 norm 8.2735 5.0632 .94800E-08 -.11157E-03 14 Normalizat 1.2085 .20257 -.17375E-05 -.10271E-05 15 Prefactor 1.0196 .28520E-01 .14110E-06 .58056E-05 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 0 norm = 5.45261 Prefactor = 64.4618 norm = 10.6086 Prefactor = 2.10851 norm = 0 Prefactor = 0 norm = 0 norm = 3.07613 Prefactor = 2.16187 norm = 7.01459 norm = 8.27352 Normalizat = 1.20847 Prefactor = 1.01962 utfile=/lscratch/kocevski/31757007/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits .....................! real 10.49 user 9.33 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31757007/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31757007/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31757007/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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/31757007/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits .....................! real 77.07 user 71.06 sys 4.50 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 gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source HB 21 in ROI with RadialDisk spatial model. 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 218 point sources and 4 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 J1942.1+4011 @ 295.539 40.1984 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31757007/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits scfile=/lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31757007/cmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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=295.539 yref=40.1984 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.99 user 0.25 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31757007/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits scfile=/lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits outfile=/lscratch/kocevski/31757007/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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=295.539 yref=40.1984 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.07 user 0.23 sys 0.14 Computing the diffuse re ********** ** 18 **HESSE ********** FCN= 38989.83 FROM HESSE STATUS=OK 216 CALLS 1052 TOTAL EDM= .60E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 11.033 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 14.668 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 5.4526 16.856 .42494E-03 -1.5661 4 Prefactor 64.462 30.459 .12169E-03 -1.5547 5 norm 10.609 6.0579 .30742E-03 -1.5643 6 Prefactor 2.1085 27.150 .70807E-03 -1.5679 7 norm .0000 4.3218 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 17.943 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 1.0322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.0761 4.5291 .58402E-03 -1.5673 11 Prefactor 2.1619 .23091 .65488E-02 -1.5414 12 norm 7.0146 3.0416 .37792E-03 -1.5655 13 norm 8.2735 5.0573 .34741E-03 -1.5650 14 Normalizat 1.2085 .20293 .21083 -.86341 15 Prefactor 1.0196 .28126E-01 .29960E-01 -.92078 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.02624e-07 Minuit parameter uncertainties: 1 2.76792e-06 2 9.29714e-06 3 16.8558 4 30.4595 5 6.0579 6 15.1322 7 9.37857e-07 8 1.46655e-06 9 1.14324e-07 10 4.52913 11 0.230908 12 3.04163 13 5.05732 14 0.203065 15 0.0281265 ponse: time -p gtdiffrsp evfile=/lscratch/kocevski/31755896/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31755896/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31755896/Model_4FGL_J1942.1+4011_daily_bin2182.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 Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/31755896/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits.....................! real 292.22 user 288.79 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31755896/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits', '/lscratch/kocevski/31755896/ft2_4FGL_J1942.1+4011_daily_bin2182.fits', expMap='/lscratch/kocevski/31755896/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', expCube='/lscratch/kocevski/31755896/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31755896/Model_4FGL_J1942.1+4011_daily_bin2182.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1942.1+4011' 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 1.315e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31755896/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits Spacecraft file(s): /lscratch/kocevski/31755896/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Exposure map: /lscratch/kocevski/31755896/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits Exposure cube: /lscratch/kocevski/31755896/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31755896/Model_4FGL_J1942.1+4011_daily_bin2182.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) = 38989.8581611 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8312951 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .40190E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .19492E-03 1.0000 .0000 .10000E+07 3 'norm ' 5.5831 1.0000 .0000 .10000E+07 4 'Prefactor ' 67.534 1.0000 .0000 .10000E+07 5 'norm ' 10.605 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.1199 1.0000 .0000 .10000E+07 7 'norm ' .16487E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' .84002E-03 1.0000 .0000 .10000E+07 9 'norm ' .15488E-07 1.0000 .0000 .10000E+07 10 'norm ' 3.0172 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.1618 1.0000 .10000E-03 10000. 12 'norm ' 7.0376 1.0000 .0000 .10000E+07 13 'norm ' 8.3156 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2054 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0197 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 38989.83 FROM MIGRAD STATUS=CONVERGED 112 CALLS 836 TOTAL EDM= .42E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 11.048 -.29080E-06** at limit ** 2 Prefactor .0000 14.794 -.13283E-06** at limit ** 3 norm 5.4526 1.5594 .52698E-08 -.18466E-02 4 Prefactor 64.462 30.423 -.16068E-07 .15292E-04 5 norm 10.609 6.0611 .21230E-07 .93767E-05 6 Prefactor 2.1085 26.791 -.21902E-06 -.58542E-04 7 norm .0000 4.3077 .15828E-07** at limit ** 8 Prefactor .0000 17.943 -.23315E-06** at limit ** 9 norm .0000 1.0430 .99816E-08** at limit ** 10 norm 3.0761 4.5283 .11287E-06 -.25806E-04 11 Prefactor 2.1619 .23016 .13586E-08 -.44632E-04 12 norm 7.0146 3.0471 -.43262E-08 -.89830E-04 13 norm 8.2735 5.0632 .94800E-08 -.11157E-03 14 Normalizat 1.2085 .20257 -.17375E-05 -.10271E-05 15 Prefactor 1.0196 .28520E-01 .14110E-06 .58056E-05 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 0 norm = 5.45261 Prefactor = 64.4618 norm = 10.6086 Prefactor = 2.10851 norm = 0 Prefactor = 0 norm = 0 norm = 3.07613 Prefactor = 2.16187 norm = 7.01459 norm = 8.27352 Normalizat = 1.20847 Prefactor = 1.01962 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8259031 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 0.000e+00 9.297e-06 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.020e+00 2.813e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.208e+00 2.031e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 295.539 40.198 Photon Flux Upper Limit: 9.45052140751e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00720622175649 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31755613/likelihoodResults_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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): 102 logL (Free Index) = 38989.8635033 delta logL = -0.037600151416 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313514 delta logL = 1.39455172884 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22429 1.0000 .0000 .10000E+07 2 'Index ' 4.1330 1.0000 .0000 10.000 3 'Normalizat' 1.1186 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0217 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 38988.43 FROM MIGRAD STATUS=CONVERGED 59 CALLS 256 TOTAL EDM= .16E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22437 1.0101 .11359E-02** at limit ** 2 Index 4.1331 1.1028 .11895 .10003E-02 3 Normalizat 1.1184 .47102E-01 .21737 .15472E-03 4 Prefactor 1.0218 .61818E-02 .29920E-01 -.44876E-04 ERR DEF= .500 Final values: Prefactor = 0.224368 Index = 4.13313 Normalizat = 1.11836 Prefactor = 1.02176 ********** ** 18 **HESSE ********** FCN= 38988.43 FROM HESSE STATUS=NOT POSDEF 35 CALLS 291 TOTAL EDM= .50E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22437 4.6490 .60869E-04 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 4.1331 3.2447 .68397E-02 -.17426 3 Normalizat 1.1184 .16607 .97225E-03 -.89164 4 Prefactor 1.0218 .21585E-01 .13222E-03 -.92008 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.97346e-06 Minuit parameter uncertainties: 1 2.04264 2 3.54242 3 0.166148 4 0.0215856 ********** ** 18 **HESSE ********** FCN= 38989.83 FROM HESSE STATUS=OK 216 CALLS 1052 TOTAL EDM= .60E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 11.033 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 14.668 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 5.4526 16.856 .42494E-03 -1.5661 4 Prefactor 64.462 30.459 .12169E-03 -1.5547 5 norm 10.609 6.0579 .30742E-03 -1.5643 6 Prefactor 2.1085 27.150 .70807E-03 -1.5679 7 norm .0000 4.3218 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 17.943 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 1.0322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.0761 4.5291 .58402E-03 -1.5673 11 Prefactor 2.1619 .23091 .65488E-02 -1.5414 12 norm 7.0146 3.0416 .37792E-03 -1.5655 13 norm 8.2735 5.0573 .34741E-03 -1.5650 14 Normalizat 1.2085 .20293 .21083 -.86341 15 Prefactor 1.0196 .28126E-01 .29960E-01 -.92078 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.02624e-07 Minuit parameter uncertainties: 1 2.76792e-06 2 9.29714e-06 3 16.8558 4 30.4595 5 6.0579 6 15.1322 7 9.37857e-07 8 1.46655e-06 9 1.14324e-07 10 4.52913 11 0.230908 12 3.04163 13 5.05732 14 0.203065 15 0.0281265 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313502 delta logL = 1.39455289128 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 2.244e-01 2.043e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 4.133e+00 3.542e+00 0.000e+00 1.000e+01 (-1.000e+00) 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.022e+00 2.159e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.118e+00 1.661e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.97 Ra Dec: 295.539 40.198 Photon Index (Free Index): 4.13 +/- 3.54 Photon Flux (Free Index): 1.14e-07 +/- 6.76e-08 Energy Flux (Free Index): 1.67e-05 +/- 1.27e-05 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/31755613/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', comment='SUCCESS', energy_flux2='1.67e-05', dlogl='1.39e+00', photon_flux2='1.14e-07', job_status='DONE', time_completed='2026-07-15 07:37:28.231554', photon_index_error2='3.54', photon_index2='4.13', ts='0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.27e-05', EG='1.21', time_epoch_completed='1784126248.23', return_code='0', job_id='31755613', GAL2='1.02', EG2='1.12', return_code2='102', photon_flux_error2='6.76e-08', ts2='2.97', photon_index='2.21' WHERE bin_id='2182' AND source_name='4FGL J1942.1+4011' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Jul 15 07:37:28 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8259031 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 0.000e+00 9.297e-06 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.020e+00 2.813e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.208e+00 2.031e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 295.539 40.198 Photon Flux Upper Limit: 9.45052140751e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00720622175649 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31755896/likelihoodResults_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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): 102 logL (Free Index) = 38989.8635033 delta logL = -0.037600151416 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313514 delta logL = 1.39455172884 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22429 1.0000 .0000 .10000E+07 2 'Index ' 4.1330 1.0000 .0000 10.000 3 'Normalizat' 1.1186 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0217 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 38988.43 FROM MIGRAD STATUS=CONVERGED 59 CALLS 256 TOTAL EDM= .16E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22437 1.0101 .11359E-02** at limit ** 2 Index 4.1331 1.1028 .11895 .10003E-02 3 Normalizat 1.1184 .47102E-01 .21737 .15472E-03 4 Prefactor 1.0218 .61818E-02 .29920E-01 -.44876E-04 ERR DEF= .500 Final values: Prefactor = 0.224368 Index = 4.13313 Normalizat = 1.11836 Prefactor = 1.02176 ********** ** 18 **HESSE ********** FCN= 38988.43 FROM HESSE STATUS=NOT POSDEF 35 CALLS 291 TOTAL EDM= .50E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22437 4.6490 .60869E-04 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 4.1331 3.2447 .68397E-02 -.17426 3 Normalizat 1.1184 .16607 .97225E-03 -.89164 4 Prefactor 1.0218 .21585E-01 .13222E-03 -.92008 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.97346e-06 Minuit parameter uncertainties: 1 2.04264 2 3.54242 3 0.166148 4 0.0215856 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313502 delta logL = 1.39455289128 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 2.244e-01 2.043e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 4.133e+00 3.542e+00 0.000e+00 1.000e+01 (-1.000e+00) 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.022e+00 2.159e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.118e+00 1.661e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.97 Ra Dec: 295.539 40.198 Photon Index (Free Index): 4.13 +/- 3.54 Photon Flux (Free Index): 1.14e-07 +/- 6.76e-08 Energy Flux (Free Index): 1.67e-05 +/- 1.27e-05 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/31755896/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', comment='SUCCESS', energy_flux2='1.67e-05', dlogl='1.39e+00', photon_flux2='1.14e-07', job_status='DONE', time_completed='2026-07-15 07:40:29.850131', photon_index_error2='3.54', photon_index2='4.13', ts='0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.27e-05', EG='1.21', time_epoch_completed='1784126429.85', return_code='0', job_id='31755896', GAL2='1.02', EG2='1.12', return_code2='102', photon_flux_error2='6.76e-08', ts2='2.97', photon_index='2.21' WHERE bin_id='2182' AND source_name='4FGL J1942.1+4011' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Jul 15 07:40:30 PDT 2026 ponse: time -p gtdiffrsp evfile=/lscratch/kocevski/31756648/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31756648/Model_4FGL_J1942.1+4011_daily_bin2182.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 Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/31756648/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits.....................! real 323.96 user 320.30 sys 1.63 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31756648/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits', '/lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits', expMap='/lscratch/kocevski/31756648/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', expCube='/lscratch/kocevski/31756648/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31756648/Model_4FGL_J1942.1+4011_daily_bin2182.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1942.1+4011' 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 1.315e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31756648/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits Spacecraft file(s): /lscratch/kocevski/31756648/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Exposure map: /lscratch/kocevski/31756648/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits Exposure cube: /lscratch/kocevski/31756648/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31756648/Model_4FGL_J1942.1+4011_daily_bin2182.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) = 38989.8581611 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8312951 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .40190E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .19492E-03 1.0000 .0000 .10000E+07 3 'norm ' 5.5831 1.0000 .0000 .10000E+07 4 'Prefactor ' 67.534 1.0000 .0000 .10000E+07 5 'norm ' 10.605 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.1199 1.0000 .0000 .10000E+07 7 'norm ' .16487E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' .84002E-03 1.0000 .0000 .10000E+07 9 'norm ' .15488E-07 1.0000 .0000 .10000E+07 10 'norm ' 3.0172 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.1618 1.0000 .10000E-03 10000. 12 'norm ' 7.0376 1.0000 .0000 .10000E+07 13 'norm ' 8.3156 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2054 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0197 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 38989.83 FROM MIGRAD STATUS=CONVERGED 112 CALLS 836 TOTAL EDM= .42E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 11.048 -.29080E-06** at limit ** 2 Prefactor .0000 14.794 -.13283E-06** at limit ** 3 norm 5.4526 1.5594 .52698E-08 -.18466E-02 4 Prefactor 64.462 30.423 -.16068E-07 .15292E-04 5 norm 10.609 6.0611 .21230E-07 .93767E-05 6 Prefactor 2.1085 26.791 -.21902E-06 -.58542E-04 7 norm .0000 4.3077 .15828E-07** at limit ** 8 Prefactor .0000 17.943 -.23315E-06** at limit ** 9 norm .0000 1.0430 .99816E-08** at limit ** 10 norm 3.0761 4.5283 .11287E-06 -.25806E-04 11 Prefactor 2.1619 .23016 .13586E-08 -.44632E-04 12 norm 7.0146 3.0471 -.43262E-08 -.89830E-04 13 norm 8.2735 5.0632 .94800E-08 -.11157E-03 14 Normalizat 1.2085 .20257 -.17375E-05 -.10271E-05 15 Prefactor 1.0196 .28520E-01 .14110E-06 .58056E-05 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 0 norm = 5.45261 Prefactor = 64.4618 norm = 10.6086 Prefactor = 2.10851 norm = 0 Prefactor = 0 norm = 0 norm = 3.07613 Prefactor = 2.16187 norm = 7.01459 norm = 8.27352 Normalizat = 1.20847 Prefactor = 1.01962 ponse: time -p gtdiffrsp evfile=/lscratch/kocevski/31756373/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31756373/Model_4FGL_J1942.1+4011_daily_bin2182.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 Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/31756373/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits.....................! real 371.33 user 366.85 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31756373/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits', '/lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits', expMap='/lscratch/kocevski/31756373/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', expCube='/lscratch/kocevski/31756373/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31756373/Model_4FGL_J1942.1+4011_daily_bin2182.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1942.1+4011' 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 1.315e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31756373/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits Spacecraft file(s): /lscratch/kocevski/31756373/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Exposure map: /lscratch/kocevski/31756373/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits Exposure cube: /lscratch/kocevski/31756373/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31756373/Model_4FGL_J1942.1+4011_daily_bin2182.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) = 38989.8581611 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8312951 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .40190E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .19492E-03 1.0000 .0000 .10000E+07 3 'norm ' 5.5831 1.0000 .0000 .10000E+07 4 'Prefactor ' 67.534 1.0000 .0000 .10000E+07 5 'norm ' 10.605 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.1199 1.0000 .0000 .10000E+07 7 'norm ' .16487E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' .84002E-03 1.0000 .0000 .10000E+07 9 'norm ' .15488E-07 1.0000 .0000 .10000E+07 10 'norm ' 3.0172 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.1618 1.0000 .10000E-03 10000. 12 'norm ' 7.0376 1.0000 .0000 .10000E+07 13 'norm ' 8.3156 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2054 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0197 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 38989.83 FROM MIGRAD STATUS=CONVERGED 112 CALLS 836 TOTAL EDM= .42E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 11.048 -.29080E-06** at limit ** 2 Prefactor .0000 14.794 -.13283E-06** at limit ** 3 norm 5.4526 1.5594 .52698E-08 -.18466E-02 4 Prefactor 64.462 30.423 -.16068E-07 .15292E-04 5 norm 10.609 6.0611 .21230E-07 .93767E-05 6 Prefactor 2.1085 26.791 -.21902E-06 -.58542E-04 7 norm .0000 4.3077 .15828E-07** at limit ** 8 Prefactor .0000 17.943 -.23315E-06** at limit ** 9 norm .0000 1.0430 .99816E-08** at limit ** 10 norm 3.0761 4.5283 .11287E-06 -.25806E-04 11 Prefactor 2.1619 .23016 .13586E-08 -.44632E-04 12 norm 7.0146 3.0471 -.43262E-08 -.89830E-04 13 norm 8.2735 5.0632 .94800E-08 -.11157E-03 14 Normalizat 1.2085 .20257 -.17375E-05 -.10271E-05 15 Prefactor 1.0196 .28520E-01 .14110E-06 .58056E-05 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 0 norm = 5.45261 Prefactor = 64.4618 norm = 10.6086 Prefactor = 2.10851 norm = 0 Prefactor = 0 norm = 0 norm = 3.07613 Prefactor = 2.16187 norm = 7.01459 norm = 8.27352 Normalizat = 1.20847 Prefactor = 1.01962 ********** ** 18 **HESSE ********** FCN= 38989.83 FROM HESSE STATUS=OK 216 CALLS 1052 TOTAL EDM= .60E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 11.033 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 14.668 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 5.4526 16.856 .42494E-03 -1.5661 4 Prefactor 64.462 30.459 .12169E-03 -1.5547 5 norm 10.609 6.0579 .30742E-03 -1.5643 6 Prefactor 2.1085 27.150 .70807E-03 -1.5679 7 norm .0000 4.3218 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 17.943 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 1.0322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.0761 4.5291 .58402E-03 -1.5673 11 Prefactor 2.1619 .23091 .65488E-02 -1.5414 12 norm 7.0146 3.0416 .37792E-03 -1.5655 13 norm 8.2735 5.0573 .34741E-03 -1.5650 14 Normalizat 1.2085 .20293 .21083 -.86341 15 Prefactor 1.0196 .28126E-01 .29960E-01 -.92078 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.02624e-07 Minuit parameter uncertainties: 1 2.76792e-06 2 9.29714e-06 3 16.8558 4 30.4595 5 6.0579 6 15.1322 7 9.37857e-07 8 1.46655e-06 9 1.14324e-07 10 4.52913 11 0.230908 12 3.04163 13 5.05732 14 0.203065 15 0.0281265 ********** ** 18 **HESSE ********** FCN= 38989.83 FROM HESSE STATUS=OK 216 CALLS 1052 TOTAL EDM= .60E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 11.033 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 14.668 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 5.4526 16.856 .42494E-03 -1.5661 4 Prefactor 64.462 30.459 .12169E-03 -1.5547 5 norm 10.609 6.0579 .30742E-03 -1.5643 6 Prefactor 2.1085 27.150 .70807E-03 -1.5679 7 norm .0000 4.3218 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 17.943 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 1.0322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.0761 4.5291 .58402E-03 -1.5673 11 Prefactor 2.1619 .23091 .65488E-02 -1.5414 12 norm 7.0146 3.0416 .37792E-03 -1.5655 13 norm 8.2735 5.0573 .34741E-03 -1.5650 14 Normalizat 1.2085 .20293 .21083 -.86341 15 Prefactor 1.0196 .28126E-01 .29960E-01 -.92078 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.02624e-07 Minuit parameter uncertainties: 1 2.76792e-06 2 9.29714e-06 3 16.8558 4 30.4595 5 6.0579 6 15.1322 7 9.37857e-07 8 1.46655e-06 9 1.14324e-07 10 4.52913 11 0.230908 12 3.04163 13 5.05732 14 0.203065 15 0.0281265 sponse: time -p gtdiffrsp evfile=/lscratch/kocevski/31757007/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31757007/Model_4FGL_J1942.1+4011_daily_bin2182.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 Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/31757007/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits.....................! real 358.51 user 354.39 sys 1.06 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31757007/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits', '/lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits', expMap='/lscratch/kocevski/31757007/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', expCube='/lscratch/kocevski/31757007/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31757007/Model_4FGL_J1942.1+4011_daily_bin2182.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1942.1+4011' 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 1.315e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31757007/ft1_filtered_4FGL_J1942.1+4011_daily_bin2182.fits Spacecraft file(s): /lscratch/kocevski/31757007/ft2_4FGL_J1942.1+4011_daily_bin2182.fits Exposure map: /lscratch/kocevski/31757007/expmap_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits Exposure cube: /lscratch/kocevski/31757007/ltcube_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31757007/Model_4FGL_J1942.1+4011_daily_bin2182.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) = 38989.8581611 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8312951 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .40190E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .19492E-03 1.0000 .0000 .10000E+07 3 'norm ' 5.5831 1.0000 .0000 .10000E+07 4 'Prefactor ' 67.534 1.0000 .0000 .10000E+07 5 'norm ' 10.605 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.1199 1.0000 .0000 .10000E+07 7 'norm ' .16487E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' .84002E-03 1.0000 .0000 .10000E+07 9 'norm ' .15488E-07 1.0000 .0000 .10000E+07 10 'norm ' 3.0172 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.1618 1.0000 .10000E-03 10000. 12 'norm ' 7.0376 1.0000 .0000 .10000E+07 13 'norm ' 8.3156 1.0000 .0000 .10000E+07 14 'Normalizat' 1.2054 1.0000 .10000E-01 10.000 15 'Prefactor ' 1.0197 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 38989.83 FROM MIGRAD STATUS=CONVERGED 112 CALLS 836 TOTAL EDM= .42E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 11.048 -.29080E-06** at limit ** 2 Prefactor .0000 14.794 -.13283E-06** at limit ** 3 norm 5.4526 1.5594 .52698E-08 -.18466E-02 4 Prefactor 64.462 30.423 -.16068E-07 .15292E-04 5 norm 10.609 6.0611 .21230E-07 .93767E-05 6 Prefactor 2.1085 26.791 -.21902E-06 -.58542E-04 7 norm .0000 4.3077 .15828E-07** at limit ** 8 Prefactor .0000 17.943 -.23315E-06** at limit ** 9 norm .0000 1.0430 .99816E-08** at limit ** 10 norm 3.0761 4.5283 .11287E-06 -.25806E-04 11 Prefactor 2.1619 .23016 .13586E-08 -.44632E-04 12 norm 7.0146 3.0471 -.43262E-08 -.89830E-04 13 norm 8.2735 5.0632 .94800E-08 -.11157E-03 14 Normalizat 1.2085 .20257 -.17375E-05 -.10271E-05 15 Prefactor 1.0196 .28520E-01 .14110E-06 .58056E-05 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 0 norm = 5.45261 Prefactor = 64.4618 norm = 10.6086 Prefactor = 2.10851 norm = 0 Prefactor = 0 norm = 0 norm = 3.07613 Prefactor = 2.16187 norm = 7.01459 norm = 8.27352 Normalizat = 1.20847 Prefactor = 1.01962 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8259031 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 0.000e+00 9.297e-06 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.020e+00 2.813e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.208e+00 2.031e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 295.539 40.198 Photon Flux Upper Limit: 9.45052140751e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00720622175649 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31756648/likelihoodResults_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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): 102 logL (Free Index) = 38989.8635033 delta logL = -0.037600151416 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313514 delta logL = 1.39455172884 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22429 1.0000 .0000 .10000E+07 2 'Index ' 4.1330 1.0000 .0000 10.000 3 'Normalizat' 1.1186 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0217 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 38988.43 FROM MIGRAD STATUS=CONVERGED 59 CALLS 256 TOTAL EDM= .16E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22437 1.0101 .11359E-02** at limit ** 2 Index 4.1331 1.1028 .11895 .10003E-02 3 Normalizat 1.1184 .47102E-01 .21737 .15472E-03 4 Prefactor 1.0218 .61818E-02 .29920E-01 -.44876E-04 ERR DEF= .500 Final values: Prefactor = 0.224368 Index = 4.13313 Normalizat = 1.11836 Prefactor = 1.02176 ********** ** 18 **HESSE ********** FCN= 38988.43 FROM HESSE STATUS=NOT POSDEF 35 CALLS 291 TOTAL EDM= .50E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22437 4.6490 .60869E-04 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 4.1331 3.2447 .68397E-02 -.17426 3 Normalizat 1.1184 .16607 .97225E-03 -.89164 4 Prefactor 1.0218 .21585E-01 .13222E-03 -.92008 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.97346e-06 Minuit parameter uncertainties: 1 2.04264 2 3.54242 3 0.166148 4 0.0215856 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313502 delta logL = 1.39455289128 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 2.244e-01 2.043e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 4.133e+00 3.542e+00 0.000e+00 1.000e+01 (-1.000e+00) 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.022e+00 2.159e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.118e+00 1.661e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.97 Ra Dec: 295.539 40.198 Photon Index (Free Index): 4.13 +/- 3.54 Photon Flux (Free Index): 1.14e-07 +/- 6.76e-08 Energy Flux (Free Index): 1.67e-05 +/- 1.27e-05 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/31756648/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', comment='SUCCESS', energy_flux2='1.67e-05', dlogl='1.39e+00', photon_flux2='1.14e-07', job_status='DONE', time_completed='2026-07-15 07:46:05.221475', photon_index_error2='3.54', photon_index2='4.13', ts='0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.27e-05', EG='1.21', time_epoch_completed='1784126765.22', return_code='0', job_id='31756648', GAL2='1.02', EG2='1.12', return_code2='102', photon_flux_error2='6.76e-08', ts2='2.97', photon_index='2.21' WHERE bin_id='2182' AND source_name='4FGL J1942.1+4011' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Jul 15 07:46:05 PDT 2026 ********** ** 18 **HESSE ********** FCN= 38989.83 FROM HESSE STATUS=OK 216 CALLS 1052 TOTAL EDM= .60E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 11.033 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 14.668 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 5.4526 16.856 .42494E-03 -1.5661 4 Prefactor 64.462 30.459 .12169E-03 -1.5547 5 norm 10.609 6.0579 .30742E-03 -1.5643 6 Prefactor 2.1085 27.150 .70807E-03 -1.5679 7 norm .0000 4.3218 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 17.943 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 1.0322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.0761 4.5291 .58402E-03 -1.5673 11 Prefactor 2.1619 .23091 .65488E-02 -1.5414 12 norm 7.0146 3.0416 .37792E-03 -1.5655 13 norm 8.2735 5.0573 .34741E-03 -1.5650 14 Normalizat 1.2085 .20293 .21083 -.86341 15 Prefactor 1.0196 .28126E-01 .29960E-01 -.92078 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.02624e-07 Minuit parameter uncertainties: 1 2.76792e-06 2 9.29714e-06 3 16.8558 4 30.4595 5 6.0579 6 15.1322 7 9.37857e-07 8 1.46655e-06 9 1.14324e-07 10 4.52913 11 0.230908 12 3.04163 13 5.05732 14 0.203065 15 0.0281265 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8259031 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 0.000e+00 9.297e-06 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.020e+00 2.813e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.208e+00 2.031e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 295.539 40.198 Photon Flux Upper Limit: 9.45052140751e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00720622175649 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31756373/likelihoodResults_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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): 102 logL (Free Index) = 38989.8635033 delta logL = -0.037600151416 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313514 delta logL = 1.39455172884 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22429 1.0000 .0000 .10000E+07 2 'Index ' 4.1330 1.0000 .0000 10.000 3 'Normalizat' 1.1186 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0217 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 38988.43 FROM MIGRAD STATUS=CONVERGED 59 CALLS 256 TOTAL EDM= .16E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22437 1.0101 .11359E-02** at limit ** 2 Index 4.1331 1.1028 .11895 .10003E-02 3 Normalizat 1.1184 .47102E-01 .21737 .15472E-03 4 Prefactor 1.0218 .61818E-02 .29920E-01 -.44876E-04 ERR DEF= .500 Final values: Prefactor = 0.224368 Index = 4.13313 Normalizat = 1.11836 Prefactor = 1.02176 ********** ** 18 **HESSE ********** FCN= 38988.43 FROM HESSE STATUS=NOT POSDEF 35 CALLS 291 TOTAL EDM= .50E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22437 4.6490 .60869E-04 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 4.1331 3.2447 .68397E-02 -.17426 3 Normalizat 1.1184 .16607 .97225E-03 -.89164 4 Prefactor 1.0218 .21585E-01 .13222E-03 -.92008 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.97346e-06 Minuit parameter uncertainties: 1 2.04264 2 3.54242 3 0.166148 4 0.0215856 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313502 delta logL = 1.39455289128 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 2.244e-01 2.043e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 4.133e+00 3.542e+00 0.000e+00 1.000e+01 (-1.000e+00) 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.022e+00 2.159e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.118e+00 1.661e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.97 Ra Dec: 295.539 40.198 Photon Index (Free Index): 4.13 +/- 3.54 Photon Flux (Free Index): 1.14e-07 +/- 6.76e-08 Energy Flux (Free Index): 1.67e-05 +/- 1.27e-05 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/31756373/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', comment='SUCCESS', energy_flux2='1.67e-05', dlogl='1.39e+00', photon_flux2='1.14e-07', job_status='DONE', time_completed='2026-07-15 07:47:36.604301', photon_index_error2='3.54', photon_index2='4.13', ts='0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.27e-05', EG='1.21', time_epoch_completed='1784126856.6', return_code='0', job_id='31756373', GAL2='1.02', EG2='1.12', return_code2='102', photon_flux_error2='6.76e-08', ts2='2.97', photon_index='2.21' WHERE bin_id='2182' AND source_name='4FGL J1942.1+4011' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Jul 15 07:47:37 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38989.8259031 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 0.000e+00 9.297e-06 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 2.211e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.020e+00 2.813e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.208e+00 2.031e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 295.539 40.198 Photon Flux Upper Limit: 9.45052140751e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00720622175649 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31757007/likelihoodResults_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.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): 102 logL (Free Index) = 38989.8635033 delta logL = -0.037600151416 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313514 delta logL = 1.39455172884 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22429 1.0000 .0000 .10000E+07 2 'Index ' 4.1330 1.0000 .0000 10.000 3 'Normalizat' 1.1186 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0217 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 38988.43 FROM MIGRAD STATUS=CONVERGED 59 CALLS 256 TOTAL EDM= .16E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22437 1.0101 .11359E-02** at limit ** 2 Index 4.1331 1.1028 .11895 .10003E-02 3 Normalizat 1.1184 .47102E-01 .21737 .15472E-03 4 Prefactor 1.0218 .61818E-02 .29920E-01 -.44876E-04 ERR DEF= .500 Final values: Prefactor = 0.224368 Index = 4.13313 Normalizat = 1.11836 Prefactor = 1.02176 ********** ** 18 **HESSE ********** FCN= 38988.43 FROM HESSE STATUS=NOT POSDEF 35 CALLS 291 TOTAL EDM= .50E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22437 4.6490 .60869E-04 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 4.1331 3.2447 .68397E-02 -.17426 3 Normalizat 1.1184 .16607 .97225E-03 -.89164 4 Prefactor 1.0218 .21585E-01 .13222E-03 -.92008 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.97346e-06 Minuit parameter uncertainties: 1 2.04264 2 3.54242 3 0.166148 4 0.0215856 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 38988.4313502 delta logL = 1.39455289128 Extracting fit parameters... 4FGL J1942.1+4011 Spectrum: PowerLaw 337 Prefactor: 2.244e-01 2.043e+00 0.000e+00 1.000e+06 ( 1.000e-13) 338 Index: 4.133e+00 3.542e+00 0.000e+00 1.000e+01 (-1.000e+00) 339 Scale: 1.813e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 798 Prefactor: 1.022e+00 2.159e-02 0.000e+00 1.000e+01 ( 1.000e+00) 799 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 800 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 797 Normalization: 1.118e+00 1.661e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.97 Ra Dec: 295.539 40.198 Photon Index (Free Index): 4.13 +/- 3.54 Photon Flux (Free Index): 1.14e-07 +/- 6.76e-08 Energy Flux (Free Index): 1.67e-05 +/- 1.27e-05 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/31757007/cmap_HighResolution_804902401_805161601_4FGL_J1942.1+4011_daily_bin2182.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', comment='SUCCESS', energy_flux2='1.67e-05', dlogl='1.39e+00', photon_flux2='1.14e-07', job_status='DONE', time_completed='2026-07-15 07:49:56.826083', photon_index_error2='3.54', photon_index2='4.13', ts='0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.45e-08', energy_flux_error2='1.27e-05', EG='1.21', time_epoch_completed='1784126996.83', return_code='0', job_id='31757007', GAL2='1.02', EG2='1.12', return_code2='102', photon_flux_error2='6.76e-08', ts2='2.97', photon_index='2.21' WHERE bin_id='2182' AND source_name='4FGL J1942.1+4011' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Jul 15 07:49:57 PDT 2026