number of points = 7626 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2149.7+1917_daily_bin2175 RA = 327.444, Dec = 19.2859 tmin = 803088001, tmax = 803347201 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='31903558', job_status='RUN', time_executed='2026-07-16 08:36:12.808781', time_epoch_executed='1784216172.81' WHERE source_name='4FGL J2149.7+1917' and cadence='daily' and bin_id='2175' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31903558 Creating custom pfile directory: /lscratch/kocevski/31903558/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=803088001.0 && nMetStart<803347201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803088001.0 && nMetStart<803347201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31903558/ft1_4FGL_J2149.7+1917_daily_bin2175.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=803088001.0 && nMetStart<803347201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31903558/ft1_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903558/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin2175.fits ra=327.444 dec=19.2859 rad=12.0 tmin=803088001.0 tmax=803347201.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.01 user 1.37 sys 0.16 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.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/31903558/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" outfile="/lscratch/kocevski/31903558/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.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.76 user 0.16 sys 0.14 Number of photons that the gtmktime cut: 929 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31903558/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.fits sctable="SC_DATA" ou ********** ** 18 **HESSE ********** FCN= 10250.72 FROM HESSE STATUS=OK 280 CALLS 1579 TOTAL EDM= .56E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .71776E-07 19.580 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 123.37 84.028 .90041E-04 -1.5486 3 Prefactor .33307E-08 6.7592 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .14988E-08 7.4210 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.0638 3.6533 .44648E-03 -1.5663 6 Prefactor .48883E-06 17.507 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 62.778 68.926 .12624E-03 -1.5549 8 norm .55511E-10 1.1493 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.1764 2.4306 .69745E-03 -1.5678 10 Prefactor .34306E-06 14.719 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .18691E-05 46.966 .11879E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .52631 .60225 .76094E-03 -1.5693 13 Prefactor 17.298 16.309 .24062E-03 -1.5625 14 norm 5.9010 3.7732 .41304E-03 -1.5659 15 Prefactor .88818E-09 2.7224 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 8.3652 11.113 .34770E-03 -1.5650 17 Normalizat .71456 .20309 .93956E-01 -1.0332 18 Prefactor .97058 .85491E-01 .45897E-01 -.93717 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.61534e-06 Minuit parameter uncertainties: 1 0.00237134 2 84.0283 3 0.000299797 4 0.000211196 5 3.65335 6 0.00585073 7 68.9268 8 1.49696e-05 9 2.43059 10 0.00449419 11 0.0187385 12 0.602255 13 16.309 14 3.77316 15 9.87366e-05 16 11.1133 17 0.203307 18 0.085503 /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). Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10250.7185666 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 3.431e-07 4.494e-03 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.706e-01 8.550e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 7.146e-01 2.033e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 7.34339148516e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00571904562733 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31903146/likelihoodResults_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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) = 10250.7514872 delta logL = -0.0329206051847 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10250.0980537 delta logL = 0.620512985201 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .85985E-01 1.0000 .0000 .10000E+07 2 'Index ' 5.7316 1.0000 .0000 10.000 3 'Normalizat' .64259 1.0000 .10000E-01 10.000 4 'Prefactor ' .98986 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 10250.10 FROM MIGRAD STATUS=CONVERGED 58 CALLS 266 TOTAL EDM= .31E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .85717E-01 1.1725 .64081E-03** at limit ** 2 Index 5.7340 2.5452 .13844 .18579E-03 3 Normalizat .64259 .36455E-01 .98801E-01 .51233E-04 4 Prefactor .98991 .16187E-01 .46140E-01 -.13384E-04 ERR DEF= .500 Final values: Prefactor = 0.085717 Index = 5.73395 Normalizat = 0.642592 Prefactor = 0.989912 ********** ** 18 **HESSE ********** FCN= 10250.10 FROM HESSE STATUS=NOT POSDEF 35 CALLS 301 TOTAL EDM= .16E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .85717E-01 4.1472 .30050E-04 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.7340 7.7161 .75015E-02 .14732 3 Normalizat .64259 .15098 .43784E-03 -1.0620 4 Prefactor .98991 .65938E-01 .15847E-03 -.93067 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.55609e-07 Minuit parameter uncertainties: 1 1.19246 2 6.77039 3 0.151074 4 0.0659438 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) = 10250.0980511 delta logL = 0.620515544781 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 8.572e-02 1.192e+00 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 5.734e+00 6.770e+00 0.000e+00 1.000e+01 (-1.000e+00) 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.899e-01 6.594e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 6.426e-01 1.511e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.38 Ra Dec: 327.444 19.286 Photon Index (Free Index): 5.73 +/- 6.77 Photon Flux (Free Index): 5.37e-08 +/- 5.46e-08 Energy Flux (Free Index): 6.79e-06 +/- 8.37e-06 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/31903146/cmap_HighResolution_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', comment='SUCCESS', energy_flux2='6.79e-06', dlogl='6.21e-01', photon_flux2='5.37e-08', job_status='DONE', time_completed='2026-07-16 08:39:37.411996', photon_index_error2='6.77', photon_index2='5.73', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='7.34e-08', energy_flux_error2='8.37e-06', EG='0.71', time_epoch_completed='1784216377.41', return_code='0', job_id='31903146', GAL2='0.99', EG2='0.64', return_code2='102', photon_flux_error2='5.46e-08', ts2='1.38', photon_index='2.52' WHERE bin_id='2175' AND source_name='4FGL J2149.7+1917' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jul 16 08:39:37 PDT 2026 tfile=/lscratch/kocevski/31903540/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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/31903540/ft2_4FGL_J2149.7+1917_daily_bin2175.fits .....................! real 7.63 user 7.04 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31903540/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31903540/ft2_4FGL_J2149.7+1917_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31903540/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903540/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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/31903540/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits .....................! real 60.95 user 56.77 sys 3.45 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 161 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2149.7+1917 @ 327.444 19.2859 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31903540/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits scfile=/lscratch/kocevski/31903540/ft2_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903540/cmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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=327.444 yref=19.2859 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.79 user 0.20 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31903540/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits scfile=/lscratch/kocevski/31903540/ft2_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903540/cmap_HighResolution_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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=327.444 yref=19.2859 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.79 user 0.19 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31903540/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31903540/ft2_4FGL_J2149.7+1917_daily_bin2175.fnumber of points = 7626 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2149.7+1917_daily_bin2175 RA = 327.444, Dec = 19.2859 tmin = 803088001, tmax = 803347201 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='31903734', job_status='RUN', time_executed='2026-07-16 08:37:37.454505', time_epoch_executed='1784216257.45' WHERE source_name='4FGL J2149.7+1917' and cadence='daily' and bin_id='2175' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31903734 Creating custom pfile directory: /lscratch/kocevski/31903734/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=803088001.0 && nMetStart<803347201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803088001.0 && nMetStart<803347201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31903734/ft1_4FGL_J2149.7+1917_daily_bin2175.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=803088001.0 && nMetStart<803347201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31903734/ft1_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903734/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin2175.fits ra=327.444 dec=19.2859 rad=12.0 tmin=803088001.0 tmax=803347201.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.01 user 1.48 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.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/31903734/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" outfile="/lscratch/kocevski/31903734/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.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.73 user 0.17 sys 0.14 Number of photons that the gtmktime cut: 929 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31903734/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31903558/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.fits .....................! real 7.83 user 7.15 sys 0.20 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31903558/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31903558/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903558/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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/31903558/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits .....................! real 59.81 user 55.63 sys 3.42 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 161 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2149.7+1917 @ 327.444 19.2859 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31903558/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits scfile=/lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903558/cmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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=327.444 yref=19.2859 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.83 user 0.19 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31903558/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits scfile=/lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903558/cmap_HighResolution_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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=327.444 yref=19.2859 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.79 user 0.19 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31903558/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.ftfile=/lscratch/kocevski/31903734/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fits .....................! real 8.12 user 7.48 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31903734/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31903734/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903734/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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/31903734/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits .....................! real 64.02 user 59.56 sys 3.88 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 161 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2149.7+1917 @ 327.444 19.2859 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31903734/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits scfile=/lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903734/cmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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=327.444 yref=19.2859 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.71 user 0.21 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31903734/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits scfile=/lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903734/cmap_HighResolution_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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=327.444 yref=19.2859 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.62 user 0.21 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31903734/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fnumber of points = 7626 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2149.7+1917_daily_bin2175 RA = 327.444, Dec = 19.2859 tmin = 803088001, tmax = 803347201 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='31903896', job_status='RUN', time_executed='2026-07-16 08:39:09.548132', time_epoch_executed='1784216349.55' WHERE source_name='4FGL J2149.7+1917' and cadence='daily' and bin_id='2175' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31903896 Creating custom pfile directory: /lscratch/kocevski/31903896/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=803088001.0 && nMetStart<803347201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803088001.0 && nMetStart<803347201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31903896/ft1_4FGL_J2149.7+1917_daily_bin2175.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=803088001.0 && nMetStart<803347201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31903896/ft1_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903896/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin2175.fits ra=327.444 dec=19.2859 rad=12.0 tmin=803088001.0 tmax=803347201.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.13 user 1.56 sys 0.16 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.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/31903896/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" outfile="/lscratch/kocevski/31903896/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.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.79 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 929 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31903896/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fits sctable="SC_DATA" ouits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31903540/Model_4FGL_J2149.7+1917_daily_bin2175.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31903540/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits.....................! real 50.07 user 48.51 sys 0.95 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31903540/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits', '/lscratch/kocevski/31903540/ft2_4FGL_J2149.7+1917_daily_bin2175.fits', expMap='/lscratch/kocevski/31903540/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits', expCube='/lscratch/kocevski/31903540/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31903540/Model_4FGL_J2149.7+1917_daily_bin2175.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2149.7+1917' 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 7.294e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31903540/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits Spacecraft file(s): /lscratch/kocevski/31903540/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Exposure map: /lscratch/kocevski/31903540/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits Exposure cube: /lscratch/kocevski/31903540/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31903540/Model_4FGL_J2149.7+1917_daily_bin2175.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) = 10250.7192868 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10250.7210815 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .89195E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 123.36 1.0000 .0000 .10000E+07 3 'Prefactor ' .15193E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .46687E-03 1.0000 .0000 .10000E+07 5 'norm ' 5.0662 1.0000 .0000 .10000E+07 6 'Prefactor ' .32412E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 62.753 1.0000 .0000 .10000E+07 8 'norm ' .10630E-06 1.0000 .0000 .10000E+07 9 'norm ' 2.1774 1.0000 .0000 .10000E+07 10 'Prefactor ' .54491E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' .19425 1.0000 .0000 .10000E+07 12 'norm ' .52643 1.0000 .0000 .10000E+07 13 'Prefactor ' 17.287 1.0000 .0000 .10000E+07 14 'norm ' 5.9044 1.0000 .0000 .10000E+07 15 'Prefactor ' .20578E-06 1.0000 .0000 .10000E+07 16 'Prefactor ' 8.3017 1.0000 .0000 .10000E+07 17 'Normalizat' .71483 1.0000 .10000E-01 10.000 18 'Prefactor ' .97047 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10250.72 FROM MIGRAD STATUS=CONVERGED 103 CALLS 1299 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .71776E-07 19.310 .28158E-06** at limit ** 2 Prefactor 123.37 1.0096 -.17022E-09 .15356E-01 3 Prefactor .33307E-08 6.1214 -.40437E-07** at limit ** 4 Prefactor .14988E-08 7.2010 -.10515E-07** at limit ** 5 norm 5.0638 3.6489 -.77807E-07 -.71710E-02 6 Prefactor .48883E-06 5.6571 .14973E-06** at limit ** 7 Prefactor 62.778 2.6371 .58606E-08 -.26965 8 norm .55511E-10 1.1625 .40991E-07** at limit ** 9 norm 2.1764 2.4152 -.14387E-07 .28376E-03 10 Prefactor .34306E-06 10.618 .25720E-06** at limit ** 11 Prefactor .18691E-05 11.021 -.56680E-07** at limit ** 12 norm .52631 .58515 -.20448E-08 .18702E-02 13 Prefactor 17.298 2.0787 .71054E-08 .55769E-02 14 norm 5.9010 3.7662 .18628E-07 .27463E-02 15 Prefactor .88818E-09 2.7177 .94430E-07** at limit ** 16 Prefactor 8.3652 10.170 -.15375E-08 .30081E-01 17 Normalizat .71456 .23037 .29348E-05 .28651E-03 18 Prefactor .97058 .99122E-01 -.39230E-06 .51717E-03 ERR DEF= .500 Final values: Prefactor = 7.17759e-08 Prefactor = 123.368 Prefactor = 3.33067e-09 Prefactor = 1.4988e-09 norm = 5.06382 Prefactor = 4.88831e-07 Prefactor = 62.7783 norm = 5.55112e-11 norm = 2.1764 Prefactor = 3.43059e-07 Prefactor = 1.86906e-06 norm = 0.526312 Prefactor = 17.2984 norm = 5.90103 Prefactor = 8.88178e-10 Prefactor = 8.36519 Normalizat = 0.714559 Prefactor = 0.970585 ********** ** 18 **HESSE ********** FCN= 10250.72 FROM HESSE STATUS=OK 280 CALLS 1579 TOTAL EDM= .56E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .71776E-07 19.580 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 123.37 84.028 .90041E-04 -1.5486 3 Prefactor .33307E-08 6.7592 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .14988E-08 7.4210 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.0638 3.6533 .44648E-03 -1.5663 6 Prefactor .48883E-06 17.507 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 62.778 68.926 .12624E-03 -1.5549 8 norm .55511E-10 1.1493 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.1764 2.4306 .69745E-03 -1.5678 10 Prefactor .34306E-06 14.719 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .18691E-05 46.966 .11879E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .52631 .60225 .76094E-03 -1.5693 13 Prefactor 17.298 16.309 .24062E-03 -1.5625 14 norm 5.9010 3.7732 .41304E-03 -1.5659 15 Prefactor .88818E-09 2.7224 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 8.3652 11.113 .34770E-03 -1.5650 17 Normalizat .71456 .20309 .93956E-01 -1.0332 18 Prefactor .97058 .85491E-01 .45897E-01 -.93717 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.61534e-06 Minuit parameter uncertainties: 1 0.00237134 2 84.0283 3 0.000299797 4 0.000211196 5 3.65335 6 0.00585073 7 68.9268 8 1.49696e-05 9 2.43059 10 0.00449419 11 0.0187385 12 0.602255 13 16.309 14 3.77316 15 9.87366e-05 16 11.1133 17 0.203307 18 0.085503 its sctable="SC_DATA" srcmdl=/lscratch/kocevski/31903558/Model_4FGL_J2149.7+1917_daily_bin2175.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31903558/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits.....................! real 48.46 user 47.08 sys 0.64 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31903558/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits', '/lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.fits', expMap='/lscratch/kocevski/31903558/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits', expCube='/lscratch/kocevski/31903558/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31903558/Model_4FGL_J2149.7+1917_daily_bin2175.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2149.7+1917' 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 7.294e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31903558/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits Spacecraft file(s): /lscratch/kocevski/31903558/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Exposure map: /lscratch/kocevski/31903558/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits Exposure cube: /lscratch/kocevski/31903558/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31903558/Model_4FGL_J2149.7+1917_daily_bin2175.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) = 10250.7192868 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10250.7210815 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .89195E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 123.36 1.0000 .0000 .10000E+07 3 'Prefactor ' .15193E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .46687E-03 1.0000 .0000 .10000E+07 5 'norm ' 5.0662 1.0000 .0000 .10000E+07 6 'Prefactor ' .32412E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 62.753 1.0000 .0000 .10000E+07 8 'norm ' .10630E-06 1.0000 .0000 .10000E+07 9 'norm ' 2.1774 1.0000 .0000 .10000E+07 10 'Prefactor ' .54491E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' .19425 1.0000 .0000 .10000E+07 12 'norm ' .52643 1.0000 .0000 .10000E+07 13 'Prefactor ' 17.287 1.0000 .0000 .10000E+07 14 'norm ' 5.9044 1.0000 .0000 .10000E+07 15 'Prefactor ' .20578E-06 1.0000 .0000 .10000E+07 16 'Prefactor ' 8.3017 1.0000 .0000 .10000E+07 17 'Normalizat' .71483 1.0000 .10000E-01 10.000 18 'Prefactor ' .97047 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10250.72 FROM MIGRAD STATUS=CONVERGED 103 CALLS 1299 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .71776E-07 19.310 .28158E-06** at limit ** 2 Prefactor 123.37 1.0096 -.17022E-09 .15356E-01 3 Prefactor .33307E-08 6.1214 -.40437E-07** at limit ** 4 Prefactor .14988E-08 7.2010 -.10515E-07** at limit ** 5 norm 5.0638 3.6489 -.77807E-07 -.71710E-02 6 Prefactor .48883E-06 5.6571 .14973E-06** at limit ** 7 Prefactor 62.778 2.6371 .58606E-08 -.26965 8 norm .55511E-10 1.1625 .40991E-07** at limit ** 9 norm 2.1764 2.4152 -.14387E-07 .28376E-03 10 Prefactor .34306E-06 10.618 .25720E-06** at limit ** 11 Prefactor .18691E-05 11.021 -.56680E-07** at limit ** 12 norm .52631 .58515 -.20448E-08 .18702E-02 13 Prefactor 17.298 2.0787 .71054E-08 .55769E-02 14 norm 5.9010 3.7662 .18628E-07 .27463E-02 15 Prefactor .88818E-09 2.7177 .94430E-07** at limit ** 16 Prefactor 8.3652 10.170 -.15375E-08 .30081E-01 17 Normalizat .71456 .23037 .29348E-05 .28651E-03 18 Prefactor .97058 .99122E-01 -.39230E-06 .51717E-03 ERR DEF= .500 Final values: Prefactor = 7.17759e-08 Prefactor = 123.368 Prefactor = 3.33067e-09 Prefactor = 1.4988e-09 norm = 5.06382 Prefactor = 4.88831e-07 Prefactor = 62.7783 norm = 5.55112e-11 norm = 2.1764 Prefactor = 3.43059e-07 Prefactor = 1.86906e-06 norm = 0.526312 Prefactor = 17.2984 norm = 5.90103 Prefactor = 8.88178e-10 Prefactor = 8.36519 Normalizat = 0.714559 Prefactor = 0.970585 ********** ** 18 **HESSE ********** FCN= 10250.72 FROM HESSE STATUS=OK 280 CALLS 1579 TOTAL EDM= .56E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .71776E-07 19.580 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 123.37 84.028 .90041E-04 -1.5486 3 Prefactor .33307E-08 6.7592 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .14988E-08 7.4210 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.0638 3.6533 .44648E-03 -1.5663 6 Prefactor .48883E-06 17.507 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 62.778 68.926 .12624E-03 -1.5549 8 norm .55511E-10 1.1493 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.1764 2.4306 .69745E-03 -1.5678 10 Prefactor .34306E-06 14.719 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .18691E-05 46.966 .11879E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .52631 .60225 .76094E-03 -1.5693 13 Prefactor 17.298 16.309 .24062E-03 -1.5625 14 norm 5.9010 3.7732 .41304E-03 -1.5659 15 Prefactor .88818E-09 2.7224 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 8.3652 11.113 .34770E-03 -1.5650 17 Normalizat .71456 .20309 .93956E-01 -1.0332 18 Prefactor .97058 .85491E-01 .45897E-01 -.93717 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.61534e-06 Minuit parameter uncertainties: 1 0.00237134 2 84.0283 3 0.000299797 4 0.000211196 5 3.65335 6 0.00585073 7 68.9268 8 1.49696e-05 9 2.43059 10 0.00449419 11 0.0187385 12 0.602255 13 16.309 14 3.77316 15 9.87366e-05 16 11.1133 17 0.203307 18 0.085503 tfile=/lscratch/kocevski/31903896/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fits .....................! real 8.76 user 8.19 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31903896/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31903896/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903896/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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/31903896/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits .....................! real 66.55 user 61.89 sys 3.95 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 161 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2149.7+1917 @ 327.444 19.2859 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31903896/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits scfile=/lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903896/cmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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=327.444 yref=19.2859 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.78 user 0.22 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31903896/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits scfile=/lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fits outfile=/lscratch/kocevski/31903896/cmap_HighResolution_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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=327.444 yref=19.2859 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.74 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31903896/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10250.7185666 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 3.431e-07 4.494e-03 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.706e-01 8.550e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 7.146e-01 2.033e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 7.34339148516e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00571904562733 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31903540/likelihoodResults_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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) = 10250.7514872 delta logL = -0.0329206051847 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10250.0980537 delta logL = 0.620512985201 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .85985E-01 1.0000 .0000 .10000E+07 2 'Index ' 5.7316 1.0000 .0000 10.000 3 'Normalizat' .64259 1.0000 .10000E-01 10.000 4 'Prefactor ' .98986 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 10250.10 FROM MIGRAD STATUS=CONVERGED 58 CALLS 266 TOTAL EDM= .31E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .85717E-01 1.1725 .64081E-03** at limit ** 2 Index 5.7340 2.5452 .13844 .18579E-03 3 Normalizat .64259 .36455E-01 .98801E-01 .51233E-04 4 Prefactor .98991 .16187E-01 .46140E-01 -.13384E-04 ERR DEF= .500 Final values: Prefactor = 0.085717 Index = 5.73395 Normalizat = 0.642592 Prefactor = 0.989912 ********** ** 18 **HESSE ********** FCN= 10250.10 FROM HESSE STATUS=NOT POSDEF 35 CALLS 301 TOTAL EDM= .16E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .85717E-01 4.1472 .30050E-04 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.7340 7.7161 .75015E-02 .14732 3 Normalizat .64259 .15098 .43784E-03 -1.0620 4 Prefactor .98991 .65938E-01 .15847E-03 -.93067 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.55609e-07 Minuit parameter uncertainties: 1 1.19246 2 6.77039 3 0.151074 4 0.0659438 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) = 10250.0980511 delta logL = 0.620515544781 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 8.572e-02 1.192e+00 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 5.734e+00 6.770e+00 0.000e+00 1.000e+01 (-1.000e+00) 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.899e-01 6.594e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 6.426e-01 1.511e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.38 Ra Dec: 327.444 19.286 Photon Index (Free Index): 5.73 +/- 6.77 Photon Flux (Free Index): 5.37e-08 +/- 5.46e-08 Energy Flux (Free Index): 6.79e-06 +/- 8.37e-06 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/31903540/cmap_HighResolution_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', comment='SUCCESS', energy_flux2='6.79e-06', dlogl='6.21e-01', photon_flux2='5.37e-08', job_status='DONE', time_completed='2026-07-16 08:42:48.398952', photon_index_error2='6.77', photon_index2='5.73', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='7.34e-08', energy_flux_error2='8.37e-06', EG='0.71', time_epoch_completed='1784216568.4', return_code='0', job_id='31903540', GAL2='0.99', EG2='0.64', return_code2='102', photon_flux_error2='5.46e-08', ts2='1.38', photon_index='2.52' WHERE bin_id='2175' AND source_name='4FGL J2149.7+1917' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jul 16 08:42:48 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10250.7185666 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 3.431e-07 4.494e-03 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.706e-01 8.550e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 7.146e-01 2.033e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 7.34339148516e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00571904562733 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31903558/likelihoodResults_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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) = 10250.7514872 delta logL = -0.0329206051847 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10250.0980537 delta logL = 0.620512985201 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .85985E-01 1.0000 .0000 .10000E+07 2 'Index ' 5.7316 1.0000 .0000 10.000 3 'Normalizat' .64259 1.0000 .10000E-01 10.000 4 'Prefactor ' .98986 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 10250.10 FROM MIGRAD STATUS=CONVERGED 58 CALLS 266 TOTAL EDM= .31E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .85717E-01 1.1725 .64081E-03** at limit ** 2 Index 5.7340 2.5452 .13844 .18579E-03 3 Normalizat .64259 .36455E-01 .98801E-01 .51233E-04 4 Prefactor .98991 .16187E-01 .46140E-01 -.13384E-04 ERR DEF= .500 Final values: Prefactor = 0.085717 Index = 5.73395 Normalizat = 0.642592 Prefactor = 0.989912 ********** ** 18 **HESSE ********** FCN= 10250.10 FROM HESSE STATUS=NOT POSDEF 35 CALLS 301 TOTAL EDM= .16E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .85717E-01 4.1472 .30050E-04 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.7340 7.7161 .75015E-02 .14732 3 Normalizat .64259 .15098 .43784E-03 -1.0620 4 Prefactor .98991 .65938E-01 .15847E-03 -.93067 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.55609e-07 Minuit parameter uncertainties: 1 1.19246 2 6.77039 3 0.151074 4 0.0659438 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) = 10250.0980511 delta logL = 0.620515544781 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 8.572e-02 1.192e+00 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 5.734e+00 6.770e+00 0.000e+00 1.000e+01 (-1.000e+00) 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.899e-01 6.594e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 6.426e-01 1.511e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.38 Ra Dec: 327.444 19.286 Photon Index (Free Index): 5.73 +/- 6.77 Photon Flux (Free Index): 5.37e-08 +/- 5.46e-08 Energy Flux (Free Index): 6.79e-06 +/- 8.37e-06 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/31903558/cmap_HighResolution_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', comment='SUCCESS', energy_flux2='6.79e-06', dlogl='6.21e-01', photon_flux2='5.37e-08', job_status='DONE', time_completed='2026-07-16 08:42:56.030352', photon_index_error2='6.77', photon_index2='5.73', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='7.34e-08', energy_flux_error2='8.37e-06', EG='0.71', time_epoch_completed='1784216576.03', return_code='0', job_id='31903558', GAL2='0.99', EG2='0.64', return_code2='102', photon_flux_error2='5.46e-08', ts2='1.38', photon_index='2.52' WHERE bin_id='2175' AND source_name='4FGL J2149.7+1917' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jul 16 08:42:56 PDT 2026 its sctable="SC_DATA" srcmdl=/lscratch/kocevski/31903734/Model_4FGL_J2149.7+1917_daily_bin2175.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31903734/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits.....................! real 51.92 user 49.94 sys 1.36 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31903734/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits', '/lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fits', expMap='/lscratch/kocevski/31903734/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits', expCube='/lscratch/kocevski/31903734/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31903734/Model_4FGL_J2149.7+1917_daily_bin2175.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2149.7+1917' 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 7.294e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31903734/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits Spacecraft file(s): /lscratch/kocevski/31903734/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Exposure map: /lscratch/kocevski/31903734/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits Exposure cube: /lscratch/kocevski/31903734/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31903734/Model_4FGL_J2149.7+1917_daily_bin2175.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) = 10250.7192868 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10250.7210815 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .89195E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 123.36 1.0000 .0000 .10000E+07 3 'Prefactor ' .15193E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .46687E-03 1.0000 .0000 .10000E+07 5 'norm ' 5.0662 1.0000 .0000 .10000E+07 6 'Prefactor ' .32412E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 62.753 1.0000 .0000 .10000E+07 8 'norm ' .10630E-06 1.0000 .0000 .10000E+07 9 'norm ' 2.1774 1.0000 .0000 .10000E+07 10 'Prefactor ' .54491E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' .19425 1.0000 .0000 .10000E+07 12 'norm ' .52643 1.0000 .0000 .10000E+07 13 'Prefactor ' 17.287 1.0000 .0000 .10000E+07 14 'norm ' 5.9044 1.0000 .0000 .10000E+07 15 'Prefactor ' .20578E-06 1.0000 .0000 .10000E+07 16 'Prefactor ' 8.3017 1.0000 .0000 .10000E+07 17 'Normalizat' .71483 1.0000 .10000E-01 10.000 18 'Prefactor ' .97047 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10250.72 FROM MIGRAD STATUS=CONVERGED 103 CALLS 1299 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .71776E-07 19.310 .28158E-06** at limit ** 2 Prefactor 123.37 1.0096 -.17022E-09 .15356E-01 3 Prefactor .33307E-08 6.1214 -.40437E-07** at limit ** 4 Prefactor .14988E-08 7.2010 -.10515E-07** at limit ** 5 norm 5.0638 3.6489 -.77807E-07 -.71710E-02 6 Prefactor .48883E-06 5.6571 .14973E-06** at limit ** 7 Prefactor 62.778 2.6371 .58606E-08 -.26965 8 norm .55511E-10 1.1625 .40991E-07** at limit ** 9 norm 2.1764 2.4152 -.14387E-07 .28376E-03 10 Prefactor .34306E-06 10.618 .25720E-06** at limit ** 11 Prefactor .18691E-05 11.021 -.56680E-07** at limit ** 12 norm .52631 .58515 -.20448E-08 .18702E-02 13 Prefactor 17.298 2.0787 .71054E-08 .55769E-02 14 norm 5.9010 3.7662 .18628E-07 .27463E-02 15 Prefactor .88818E-09 2.7177 .94430E-07** at limit ** 16 Prefactor 8.3652 10.170 -.15375E-08 .30081E-01 17 Normalizat .71456 .23037 .29348E-05 .28651E-03 18 Prefactor .97058 .99122E-01 -.39230E-06 .51717E-03 ERR DEF= .500 Final values: Prefactor = 7.17759e-08 Prefactor = 123.368 Prefactor = 3.33067e-09 Prefactor = 1.4988e-09 norm = 5.06382 Prefactor = 4.88831e-07 Prefactor = 62.7783 norm = 5.55112e-11 norm = 2.1764 Prefactor = 3.43059e-07 Prefactor = 1.86906e-06 norm = 0.526312 Prefactor = 17.2984 norm = 5.90103 Prefactor = 8.88178e-10 Prefactor = 8.36519 Normalizat = 0.714559 Prefactor = 0.970585 ********** ** 18 **HESSE ********** FCN= 10250.72 FROM HESSE STATUS=OK 280 CALLS 1579 TOTAL EDM= .56E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .71776E-07 19.580 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 123.37 84.028 .90041E-04 -1.5486 3 Prefactor .33307E-08 6.7592 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .14988E-08 7.4210 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.0638 3.6533 .44648E-03 -1.5663 6 Prefactor .48883E-06 17.507 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 62.778 68.926 .12624E-03 -1.5549 8 norm .55511E-10 1.1493 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.1764 2.4306 .69745E-03 -1.5678 10 Prefactor .34306E-06 14.719 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .18691E-05 46.966 .11879E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .52631 .60225 .76094E-03 -1.5693 13 Prefactor 17.298 16.309 .24062E-03 -1.5625 14 norm 5.9010 3.7732 .41304E-03 -1.5659 15 Prefactor .88818E-09 2.7224 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 8.3652 11.113 .34770E-03 -1.5650 17 Normalizat .71456 .20309 .93956E-01 -1.0332 18 Prefactor .97058 .85491E-01 .45897E-01 -.93717 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.61534e-06 Minuit parameter uncertainties: 1 0.00237134 2 84.0283 3 0.000299797 4 0.000211196 5 3.65335 6 0.00585073 7 68.9268 8 1.49696e-05 9 2.43059 10 0.00449419 11 0.0187385 12 0.602255 13 16.309 14 3.77316 15 9.87366e-05 16 11.1133 17 0.203307 18 0.085503 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10250.7185666 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 3.431e-07 4.494e-03 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.706e-01 8.550e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 7.146e-01 2.033e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 7.34339148516e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00571904562733 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31903734/likelihoodResults_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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) = 10250.7514872 delta logL = -0.0329206051847 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10250.0980537 delta logL = 0.620512985201 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .85985E-01 1.0000 .0000 .10000E+07 2 'Index ' 5.7316 1.0000 .0000 10.000 3 'Normalizat' .64259 1.0000 .10000E-01 10.000 4 'Prefactor ' .98986 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 10250.10 FROM MIGRAD STATUS=CONVERGED 58 CALLS 266 TOTAL EDM= .31E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .85717E-01 1.1725 .64081E-03** at limit ** 2 Index 5.7340 2.5452 .13844 .18579E-03 3 Normalizat .64259 .36455E-01 .98801E-01 .51233E-04 4 Prefactor .98991 .16187E-01 .46140E-01 -.13384E-04 ERR DEF= .500 Final values: Prefactor = 0.085717 Index = 5.73395 Normalizat = 0.642592 Prefactor = 0.989912 ********** ** 18 **HESSE ********** FCN= 10250.10 FROM HESSE STATUS=NOT POSDEF 35 CALLS 301 TOTAL EDM= .16E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .85717E-01 4.1472 .30050E-04 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.7340 7.7161 .75015E-02 .14732 3 Normalizat .64259 .15098 .43784E-03 -1.0620 4 Prefactor .98991 .65938E-01 .15847E-03 -.93067 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.55609e-07 Minuit parameter uncertainties: 1 1.19246 2 6.77039 3 0.151074 4 0.0659438 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) = 10250.0980511 delta logL = 0.620515544781 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 8.572e-02 1.192e+00 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 5.734e+00 6.770e+00 0.000e+00 1.000e+01 (-1.000e+00) 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.899e-01 6.594e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 6.426e-01 1.511e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.38 Ra Dec: 327.444 19.286 Photon Index (Free Index): 5.73 +/- 6.77 Photon Flux (Free Index): 5.37e-08 +/- 5.46e-08 Energy Flux (Free Index): 6.79e-06 +/- 8.37e-06 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/31903734/cmap_HighResolution_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', comment='SUCCESS', energy_flux2='6.79e-06', dlogl='6.21e-01', photon_flux2='5.37e-08', job_status='DONE', time_completed='2026-07-16 08:44:22.142480', photon_index_error2='6.77', photon_index2='5.73', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='7.34e-08', energy_flux_error2='8.37e-06', EG='0.71', time_epoch_completed='1784216662.14', return_code='0', job_id='31903734', GAL2='0.99', EG2='0.64', return_code2='102', photon_flux_error2='5.46e-08', ts2='1.38', photon_index='2.52' WHERE bin_id='2175' AND source_name='4FGL J2149.7+1917' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jul 16 08:44:22 PDT 2026 its sctable="SC_DATA" srcmdl=/lscratch/kocevski/31903896/Model_4FGL_J2149.7+1917_daily_bin2175.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31903896/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits.....................! real 53.15 user 51.47 sys 1.00 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31903896/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits', '/lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fits', expMap='/lscratch/kocevski/31903896/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits', expCube='/lscratch/kocevski/31903896/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31903896/Model_4FGL_J2149.7+1917_daily_bin2175.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2149.7+1917' 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 7.294e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31903896/ft1_filtered_4FGL_J2149.7+1917_daily_bin2175.fits Spacecraft file(s): /lscratch/kocevski/31903896/ft2_4FGL_J2149.7+1917_daily_bin2175.fits Exposure map: /lscratch/kocevski/31903896/expmap_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits Exposure cube: /lscratch/kocevski/31903896/ltcube_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31903896/Model_4FGL_J2149.7+1917_daily_bin2175.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) = 10250.7192868 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10250.7210815 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .89195E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 123.36 1.0000 .0000 .10000E+07 3 'Prefactor ' .15193E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .46687E-03 1.0000 .0000 .10000E+07 5 'norm ' 5.0662 1.0000 .0000 .10000E+07 6 'Prefactor ' .32412E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 62.753 1.0000 .0000 .10000E+07 8 'norm ' .10630E-06 1.0000 .0000 .10000E+07 9 'norm ' 2.1774 1.0000 .0000 .10000E+07 10 'Prefactor ' .54491E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' .19425 1.0000 .0000 .10000E+07 12 'norm ' .52643 1.0000 .0000 .10000E+07 13 'Prefactor ' 17.287 1.0000 .0000 .10000E+07 14 'norm ' 5.9044 1.0000 .0000 .10000E+07 15 'Prefactor ' .20578E-06 1.0000 .0000 .10000E+07 16 'Prefactor ' 8.3017 1.0000 .0000 .10000E+07 17 'Normalizat' .71483 1.0000 .10000E-01 10.000 18 'Prefactor ' .97047 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10250.72 FROM MIGRAD STATUS=CONVERGED 103 CALLS 1299 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .71776E-07 19.310 .28158E-06** at limit ** 2 Prefactor 123.37 1.0096 -.17022E-09 .15356E-01 3 Prefactor .33307E-08 6.1214 -.40437E-07** at limit ** 4 Prefactor .14988E-08 7.2010 -.10515E-07** at limit ** 5 norm 5.0638 3.6489 -.77807E-07 -.71710E-02 6 Prefactor .48883E-06 5.6571 .14973E-06** at limit ** 7 Prefactor 62.778 2.6371 .58606E-08 -.26965 8 norm .55511E-10 1.1625 .40991E-07** at limit ** 9 norm 2.1764 2.4152 -.14387E-07 .28376E-03 10 Prefactor .34306E-06 10.618 .25720E-06** at limit ** 11 Prefactor .18691E-05 11.021 -.56680E-07** at limit ** 12 norm .52631 .58515 -.20448E-08 .18702E-02 13 Prefactor 17.298 2.0787 .71054E-08 .55769E-02 14 norm 5.9010 3.7662 .18628E-07 .27463E-02 15 Prefactor .88818E-09 2.7177 .94430E-07** at limit ** 16 Prefactor 8.3652 10.170 -.15375E-08 .30081E-01 17 Normalizat .71456 .23037 .29348E-05 .28651E-03 18 Prefactor .97058 .99122E-01 -.39230E-06 .51717E-03 ERR DEF= .500 Final values: Prefactor = 7.17759e-08 Prefactor = 123.368 Prefactor = 3.33067e-09 Prefactor = 1.4988e-09 norm = 5.06382 Prefactor = 4.88831e-07 Prefactor = 62.7783 norm = 5.55112e-11 norm = 2.1764 Prefactor = 3.43059e-07 Prefactor = 1.86906e-06 norm = 0.526312 Prefactor = 17.2984 norm = 5.90103 Prefactor = 8.88178e-10 Prefactor = 8.36519 Normalizat = 0.714559 Prefactor = 0.970585 ********** ** 18 **HESSE ********** FCN= 10250.72 FROM HESSE STATUS=OK 280 CALLS 1579 TOTAL EDM= .56E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .71776E-07 19.580 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 123.37 84.028 .90041E-04 -1.5486 3 Prefactor .33307E-08 6.7592 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .14988E-08 7.4210 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.0638 3.6533 .44648E-03 -1.5663 6 Prefactor .48883E-06 17.507 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 62.778 68.926 .12624E-03 -1.5549 8 norm .55511E-10 1.1493 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.1764 2.4306 .69745E-03 -1.5678 10 Prefactor .34306E-06 14.719 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .18691E-05 46.966 .11879E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .52631 .60225 .76094E-03 -1.5693 13 Prefactor 17.298 16.309 .24062E-03 -1.5625 14 norm 5.9010 3.7732 .41304E-03 -1.5659 15 Prefactor .88818E-09 2.7224 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 8.3652 11.113 .34770E-03 -1.5650 17 Normalizat .71456 .20309 .93956E-01 -1.0332 18 Prefactor .97058 .85491E-01 .45897E-01 -.93717 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.61534e-06 Minuit parameter uncertainties: 1 0.00237134 2 84.0283 3 0.000299797 4 0.000211196 5 3.65335 6 0.00585073 7 68.9268 8 1.49696e-05 9 2.43059 10 0.00449419 11 0.0187385 12 0.602255 13 16.309 14 3.77316 15 9.87366e-05 16 11.1133 17 0.203307 18 0.085503 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10250.7185666 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 3.431e-07 4.494e-03 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.706e-01 8.550e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 7.146e-01 2.033e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 7.34339148516e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00571904562733 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31903896/likelihoodResults_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.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) = 10250.7514872 delta logL = -0.0329206051847 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10250.0980537 delta logL = 0.620512985201 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .85985E-01 1.0000 .0000 .10000E+07 2 'Index ' 5.7316 1.0000 .0000 10.000 3 'Normalizat' .64259 1.0000 .10000E-01 10.000 4 'Prefactor ' .98986 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 10250.10 FROM MIGRAD STATUS=CONVERGED 58 CALLS 266 TOTAL EDM= .31E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .85717E-01 1.1725 .64081E-03** at limit ** 2 Index 5.7340 2.5452 .13844 .18579E-03 3 Normalizat .64259 .36455E-01 .98801E-01 .51233E-04 4 Prefactor .98991 .16187E-01 .46140E-01 -.13384E-04 ERR DEF= .500 Final values: Prefactor = 0.085717 Index = 5.73395 Normalizat = 0.642592 Prefactor = 0.989912 ********** ** 18 **HESSE ********** FCN= 10250.10 FROM HESSE STATUS=NOT POSDEF 35 CALLS 301 TOTAL EDM= .16E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .85717E-01 4.1472 .30050E-04 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.7340 7.7161 .75015E-02 .14732 3 Normalizat .64259 .15098 .43784E-03 -1.0620 4 Prefactor .98991 .65938E-01 .15847E-03 -.93067 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.55609e-07 Minuit parameter uncertainties: 1 1.19246 2 6.77039 3 0.151074 4 0.0659438 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) = 10250.0980511 delta logL = 0.620515544781 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 8.572e-02 1.192e+00 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 5.734e+00 6.770e+00 0.000e+00 1.000e+01 (-1.000e+00) 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.899e-01 6.594e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 6.426e-01 1.511e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.38 Ra Dec: 327.444 19.286 Photon Index (Free Index): 5.73 +/- 6.77 Photon Flux (Free Index): 5.37e-08 +/- 5.46e-08 Energy Flux (Free Index): 6.79e-06 +/- 8.37e-06 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/31903896/cmap_HighResolution_803088001_803347201_4FGL_J2149.7+1917_daily_bin2175.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', comment='SUCCESS', energy_flux2='6.79e-06', dlogl='6.21e-01', photon_flux2='5.37e-08', job_status='DONE', time_completed='2026-07-16 08:45:54.057410', photon_index_error2='6.77', photon_index2='5.73', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='7.34e-08', energy_flux_error2='8.37e-06', EG='0.71', time_epoch_completed='1784216754.06', return_code='0', job_id='31903896', GAL2='0.99', EG2='0.64', return_code2='102', photon_flux_error2='5.46e-08', ts2='1.38', photon_index='2.52' WHERE bin_id='2175' AND source_name='4FGL J2149.7+1917' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jul 16 08:45:54 PDT 2026