********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 ********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 /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). 937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32676659/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676659/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits.....................! real 95.32 user 91.38 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32676659/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits', '/lscratch/kocevski/32676659/ft2_4FGL_J2149.7+1917_weekly_bin937.fits', expMap='/lscratch/kocevski/32676659/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', expCube='/lscratch/kocevski/32676659/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32676659/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676659/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32676659/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Exposure map: /lscratch/kocevski/32676659/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32676659/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32676659/Model_4FGL_J2149.7+1917_weekly_bin937.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) = 19673.7166039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837505 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.1371 1.0000 .0000 .10000E+07 2 'Prefactor ' .15543E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.6367 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.245 1.0000 .0000 .10000E+07 5 'norm ' 2.7904 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.7218 1.0000 .0000 .10000E+07 7 'Prefactor ' 72.988 1.0000 .0000 .10000E+07 8 'norm ' 2.1469 1.0000 .0000 .10000E+07 9 'norm ' 1.1348 1.0000 .0000 .10000E+07 10 'Prefactor ' 19.372 1.0000 .0000 .10000E+07 11 'Prefactor ' 19.597 1.0000 .0000 .10000E+07 12 'norm ' .11102E-09 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.951 1.0000 .0000 .10000E+07 14 'norm ' 3.6841 1.0000 .0000 .10000E+07 15 'Prefactor ' .26090E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.0891 1.0000 .0000 .10000E+07 17 'Normalizat' .68617 1.0000 .10000E-01 10.000 18 'Prefactor ' .96360 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= 19673.68 FROM MIGRAD STATUS=CONVERGED 90 CALLS 1526 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.1364 10.579 -.86103E-07 -.41127E-02 2 Prefactor .22204E-09 14.726 .26826E-06** at limit ** 3 Prefactor 4.6352 7.2982 .12444E-07 -.21089E-01 4 Prefactor 13.243 2.8956 -.11261E-07 -.21496E-01 5 norm 2.7905 2.4539 .14166E-07 .13607E-02 6 Prefactor 1.7219 3.2364 -.21706E-07 .10080E-03 7 Prefactor 72.990 1.0743 .70101E-09 .17059E-01 8 norm 2.1465 1.4227 -.27833E-07 -.31546E-02 9 norm 1.1344 1.5633 .35194E-08 .38567E-03 10 Prefactor 19.376 2.4669 .90958E-08 .28329E-01 11 Prefactor 19.591 2.4442 .74618E-08 .49809E-01 12 norm .0000 .32347 -.47835E-07** at limit ** 13 Prefactor 14.951 5.2654 -.35386E-07 .66873E-01 14 norm 3.6839 2.4119 -.10371E-07 -.79525E-03 15 Prefactor .0000 1.9050 -.72766E-07** at limit ** 16 Prefactor 3.0891 7.1635 -.13240E-06 -.62444E-02 17 Normalizat .68624 .16612 .14093E-06 -.19495E-04 18 Prefactor .96359 .70974E-01 .14680E-06 .71727E-05 ERR DEF= .500 Final values: Prefactor = 5.13641 Prefactor = 2.22045e-10 Prefactor = 4.6352 Prefactor = 13.2434 norm = 2.79053 Prefactor = 1.72189 Prefactor = 72.9897 norm = 2.14651 norm = 1.1344 Prefactor = 19.376 Prefactor = 19.5912 norm = 0 Prefactor = 14.9509 norm = 3.68388 Prefactor = 0 Prefactor = 3.08914 Normalizat = 0.686244 Prefactor = 0.963588 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32676505/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32676547/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32676505/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:22:53.018253', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784686973.02', return_code='0', job_id='32676505', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:22:53 PDT 2026 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 ********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32676547/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:22:58.425174', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784686978.43', return_code='0', job_id='32676547', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:22:59 PDT 2026 937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32676730/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676730/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits.....................! real 90.75 user 87.89 sys 1.40 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32676730/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits', '/lscratch/kocevski/32676730/ft2_4FGL_J2149.7+1917_weekly_bin937.fits', expMap='/lscratch/kocevski/32676730/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', expCube='/lscratch/kocevski/32676730/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32676730/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676730/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32676730/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Exposure map: /lscratch/kocevski/32676730/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32676730/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32676730/Model_4FGL_J2149.7+1917_weekly_bin937.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) = 19673.7166039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837505 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.1371 1.0000 .0000 .10000E+07 2 'Prefactor ' .15543E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.6367 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.245 1.0000 .0000 .10000E+07 5 'norm ' 2.7904 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.7218 1.0000 .0000 .10000E+07 7 'Prefactor ' 72.988 1.0000 .0000 .10000E+07 8 'norm ' 2.1469 1.0000 .0000 .10000E+07 9 'norm ' 1.1348 1.0000 .0000 .10000E+07 10 'Prefactor ' 19.372 1.0000 .0000 .10000E+07 11 'Prefactor ' 19.597 1.0000 .0000 .10000E+07 12 'norm ' .11102E-09 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.951 1.0000 .0000 .10000E+07 14 'norm ' 3.6841 1.0000 .0000 .10000E+07 15 'Prefactor ' .26090E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.0891 1.0000 .0000 .10000E+07 17 'Normalizat' .68617 1.0000 .10000E-01 10.000 18 'Prefactor ' .96360 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= 19673.68 FROM MIGRAD STATUS=CONVERGED 90 CALLS 1526 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.1364 10.579 -.86103E-07 -.41127E-02 2 Prefactor .22204E-09 14.726 .26826E-06** at limit ** 3 Prefactor 4.6352 7.2982 .12444E-07 -.21089E-01 4 Prefactor 13.243 2.8956 -.11261E-07 -.21496E-01 5 norm 2.7905 2.4539 .14166E-07 .13607E-02 6 Prefactor 1.7219 3.2364 -.21706E-07 .10080E-03 7 Prefactor 72.990 1.0743 .70101E-09 .17059E-01 8 norm 2.1465 1.4227 -.27833E-07 -.31546E-02 9 norm 1.1344 1.5633 .35194E-08 .38567E-03 10 Prefactor 19.376 2.4669 .90958E-08 .28329E-01 11 Prefactor 19.591 2.4442 .74618E-08 .49809E-01 12 norm .0000 .32347 -.47835E-07** at limit ** 13 Prefactor 14.951 5.2654 -.35386E-07 .66873E-01 14 norm 3.6839 2.4119 -.10371E-07 -.79525E-03 15 Prefactor .0000 1.9050 -.72766E-07** at limit ** 16 Prefactor 3.0891 7.1635 -.13240E-06 -.62444E-02 17 Normalizat .68624 .16612 .14093E-06 -.19495E-04 18 Prefactor .96359 .70974E-01 .14680E-06 .71727E-05 ERR DEF= .500 Final values: Prefactor = 5.13641 Prefactor = 2.22045e-10 Prefactor = 4.6352 Prefactor = 13.2434 norm = 2.79053 Prefactor = 1.72189 Prefactor = 72.9897 norm = 2.14651 norm = 1.1344 Prefactor = 19.376 Prefactor = 19.5912 norm = 0 Prefactor = 14.9509 norm = 3.68388 Prefactor = 0 Prefactor = 3.08914 Normalizat = 0.686244 Prefactor = 0.963588 937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32676742/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676742/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits.....................! real 97.09 user 94.45 sys 1.40 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32676742/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits', '/lscratch/kocevski/32676742/ft2_4FGL_J2149.7+1917_weekly_bin937.fits', expMap='/lscratch/kocevski/32676742/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', expCube='/lscratch/kocevski/32676742/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32676742/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676742/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32676742/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Exposure map: /lscratch/kocevski/32676742/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32676742/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32676742/Model_4FGL_J2149.7+1917_weekly_bin937.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) = 19673.7166039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837505 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.1371 1.0000 .0000 .10000E+07 2 'Prefactor ' .15543E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.6367 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.245 1.0000 .0000 .10000E+07 5 'norm ' 2.7904 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.7218 1.0000 .0000 .10000E+07 7 'Prefactor ' 72.988 1.0000 .0000 .10000E+07 8 'norm ' 2.1469 1.0000 .0000 .10000E+07 9 'norm ' 1.1348 1.0000 .0000 .10000E+07 10 'Prefactor ' 19.372 1.0000 .0000 .10000E+07 11 'Prefactor ' 19.597 1.0000 .0000 .10000E+07 12 'norm ' .11102E-09 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.951 1.0000 .0000 .10000E+07 14 'norm ' 3.6841 1.0000 .0000 .10000E+07 15 'Prefactor ' .26090E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.0891 1.0000 .0000 .10000E+07 17 'Normalizat' .68617 1.0000 .10000E-01 10.000 18 'Prefactor ' .96360 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= 19673.68 FROM MIGRAD STATUS=CONVERGED 90 CALLS 1526 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.1364 10.579 -.86103E-07 -.41127E-02 2 Prefactor .22204E-09 14.726 .26826E-06** at limit ** 3 Prefactor 4.6352 7.2982 .12444E-07 -.21089E-01 4 Prefactor 13.243 2.8956 -.11261E-07 -.21496E-01 5 norm 2.7905 2.4539 .14166E-07 .13607E-02 6 Prefactor 1.7219 3.2364 -.21706E-07 .10080E-03 7 Prefactor 72.990 1.0743 .70101E-09 .17059E-01 8 norm 2.1465 1.4227 -.27833E-07 -.31546E-02 9 norm 1.1344 1.5633 .35194E-08 .38567E-03 10 Prefactor 19.376 2.4669 .90958E-08 .28329E-01 11 Prefactor 19.591 2.4442 .74618E-08 .49809E-01 12 norm .0000 .32347 -.47835E-07** at limit ** 13 Prefactor 14.951 5.2654 -.35386E-07 .66873E-01 14 norm 3.6839 2.4119 -.10371E-07 -.79525E-03 15 Prefactor .0000 1.9050 -.72766E-07** at limit ** 16 Prefactor 3.0891 7.1635 -.13240E-06 -.62444E-02 17 Normalizat .68624 .16612 .14093E-06 -.19495E-04 18 Prefactor .96359 .70974E-01 .14680E-06 .71727E-05 ERR DEF= .500 Final values: Prefactor = 5.13641 Prefactor = 2.22045e-10 Prefactor = 4.6352 Prefactor = 13.2434 norm = 2.79053 Prefactor = 1.72189 Prefactor = 72.9897 norm = 2.14651 norm = 1.1344 Prefactor = 19.376 Prefactor = 19.5912 norm = 0 Prefactor = 14.9509 norm = 3.68388 Prefactor = 0 Prefactor = 3.08914 Normalizat = 0.686244 Prefactor = 0.963588 ********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 ********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32676867/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676867/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits.....................! real 86.91 user 84.47 sys 0.94 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32676867/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits', '/lscratch/kocevski/32676867/ft2_4FGL_J2149.7+1917_weekly_bin937.fits', expMap='/lscratch/kocevski/32676867/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', expCube='/lscratch/kocevski/32676867/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32676867/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676867/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32676867/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Exposure map: /lscratch/kocevski/32676867/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32676867/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32676867/Model_4FGL_J2149.7+1917_weekly_bin937.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) = 19673.7166039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837505 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.1371 1.0000 .0000 .10000E+07 2 'Prefactor ' .15543E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.6367 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.245 1.0000 .0000 .10000E+07 5 'norm ' 2.7904 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.7218 1.0000 .0000 .10000E+07 7 'Prefactor ' 72.988 1.0000 .0000 .10000E+07 8 'norm ' 2.1469 1.0000 .0000 .10000E+07 9 'norm ' 1.1348 1.0000 .0000 .10000E+07 10 'Prefactor ' 19.372 1.0000 .0000 .10000E+07 11 'Prefactor ' 19.597 1.0000 .0000 .10000E+07 12 'norm ' .11102E-09 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.951 1.0000 .0000 .10000E+07 14 'norm ' 3.6841 1.0000 .0000 .10000E+07 15 'Prefactor ' .26090E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.0891 1.0000 .0000 .10000E+07 17 'Normalizat' .68617 1.0000 .10000E-01 10.000 18 'Prefactor ' .96360 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= 19673.68 FROM MIGRAD STATUS=CONVERGED 90 CALLS 1526 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.1364 10.579 -.86103E-07 -.41127E-02 2 Prefactor .22204E-09 14.726 .26826E-06** at limit ** 3 Prefactor 4.6352 7.2982 .12444E-07 -.21089E-01 4 Prefactor 13.243 2.8956 -.11261E-07 -.21496E-01 5 norm 2.7905 2.4539 .14166E-07 .13607E-02 6 Prefactor 1.7219 3.2364 -.21706E-07 .10080E-03 7 Prefactor 72.990 1.0743 .70101E-09 .17059E-01 8 norm 2.1465 1.4227 -.27833E-07 -.31546E-02 9 norm 1.1344 1.5633 .35194E-08 .38567E-03 10 Prefactor 19.376 2.4669 .90958E-08 .28329E-01 11 Prefactor 19.591 2.4442 .74618E-08 .49809E-01 12 norm .0000 .32347 -.47835E-07** at limit ** 13 Prefactor 14.951 5.2654 -.35386E-07 .66873E-01 14 norm 3.6839 2.4119 -.10371E-07 -.79525E-03 15 Prefactor .0000 1.9050 -.72766E-07** at limit ** 16 Prefactor 3.0891 7.1635 -.13240E-06 -.62444E-02 17 Normalizat .68624 .16612 .14093E-06 -.19495E-04 18 Prefactor .96359 .70974E-01 .14680E-06 .71727E-05 ERR DEF= .500 Final values: Prefactor = 5.13641 Prefactor = 2.22045e-10 Prefactor = 4.6352 Prefactor = 13.2434 norm = 2.79053 Prefactor = 1.72189 Prefactor = 72.9897 norm = 2.14651 norm = 1.1344 Prefactor = 19.376 Prefactor = 19.5912 norm = 0 Prefactor = 14.9509 norm = 3.68388 Prefactor = 0 Prefactor = 3.08914 Normalizat = 0.686244 Prefactor = 0.963588 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32676659/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32676659/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:23:59.434269', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784687039.43', return_code='0', job_id='32676659', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:24:00 PDT 2026 ********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32676730/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32676730/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:24:24.002115', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784687064.0', return_code='0', job_id='32676730', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:24:24 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32676742/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32676742/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:24:45.605938', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784687085.61', return_code='0', job_id='32676742', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:24:46 PDT 2026 937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32676925/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676925/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits.....................! real 91.09 user 88.69 sys 1.15 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32676925/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits', '/lscratch/kocevski/32676925/ft2_4FGL_J2149.7+1917_weekly_bin937.fits', expMap='/lscratch/kocevski/32676925/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', expCube='/lscratch/kocevski/32676925/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32676925/Model_4FGL_J2149.7+1917_weekly_bin937.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/32676925/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32676925/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Exposure map: /lscratch/kocevski/32676925/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32676925/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32676925/Model_4FGL_J2149.7+1917_weekly_bin937.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) = 19673.7166039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837505 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.1371 1.0000 .0000 .10000E+07 2 'Prefactor ' .15543E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.6367 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.245 1.0000 .0000 .10000E+07 5 'norm ' 2.7904 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.7218 1.0000 .0000 .10000E+07 7 'Prefactor ' 72.988 1.0000 .0000 .10000E+07 8 'norm ' 2.1469 1.0000 .0000 .10000E+07 9 'norm ' 1.1348 1.0000 .0000 .10000E+07 10 'Prefactor ' 19.372 1.0000 .0000 .10000E+07 11 'Prefactor ' 19.597 1.0000 .0000 .10000E+07 12 'norm ' .11102E-09 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.951 1.0000 .0000 .10000E+07 14 'norm ' 3.6841 1.0000 .0000 .10000E+07 15 'Prefactor ' .26090E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.0891 1.0000 .0000 .10000E+07 17 'Normalizat' .68617 1.0000 .10000E-01 10.000 18 'Prefactor ' .96360 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= 19673.68 FROM MIGRAD STATUS=CONVERGED 90 CALLS 1526 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.1364 10.579 -.86103E-07 -.41127E-02 2 Prefactor .22204E-09 14.726 .26826E-06** at limit ** 3 Prefactor 4.6352 7.2982 .12444E-07 -.21089E-01 4 Prefactor 13.243 2.8956 -.11261E-07 -.21496E-01 5 norm 2.7905 2.4539 .14166E-07 .13607E-02 6 Prefactor 1.7219 3.2364 -.21706E-07 .10080E-03 7 Prefactor 72.990 1.0743 .70101E-09 .17059E-01 8 norm 2.1465 1.4227 -.27833E-07 -.31546E-02 9 norm 1.1344 1.5633 .35194E-08 .38567E-03 10 Prefactor 19.376 2.4669 .90958E-08 .28329E-01 11 Prefactor 19.591 2.4442 .74618E-08 .49809E-01 12 norm .0000 .32347 -.47835E-07** at limit ** 13 Prefactor 14.951 5.2654 -.35386E-07 .66873E-01 14 norm 3.6839 2.4119 -.10371E-07 -.79525E-03 15 Prefactor .0000 1.9050 -.72766E-07** at limit ** 16 Prefactor 3.0891 7.1635 -.13240E-06 -.62444E-02 17 Normalizat .68624 .16612 .14093E-06 -.19495E-04 18 Prefactor .96359 .70974E-01 .14680E-06 .71727E-05 ERR DEF= .500 Final values: Prefactor = 5.13641 Prefactor = 2.22045e-10 Prefactor = 4.6352 Prefactor = 13.2434 norm = 2.79053 Prefactor = 1.72189 Prefactor = 72.9897 norm = 2.14651 norm = 1.1344 Prefactor = 19.376 Prefactor = 19.5912 norm = 0 Prefactor = 14.9509 norm = 3.68388 Prefactor = 0 Prefactor = 3.08914 Normalizat = 0.686244 Prefactor = 0.963588 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32676867/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 number of points = 17284 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2149.7+1917_weekly_bin937 RA = 327.444, Dec = 19.2859 tmin = 805680001, tmax = 806284801 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='32677388', job_status='RUN', time_executed='2026-07-21 19:16:15.618043', time_epoch_executed='1784686575.62' WHERE source_name='4FGL J2149.7+1917' and cadence='weekly' and bin_id='937' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/32677388 Creating custom pfile directory: /lscratch/kocevski/32677388/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/32677388/ft1_4FGL_J2149.7+1917_weekly_bin937.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/32677388/ft1_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32677388/ft1_filteredMKT_4FGL_J2149.7+1917_weekly_bin937.fits ra=327.444 dec=19.2859 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.88 user 3.98 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.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/32677388/ft1_filteredMKT_4FGL_J2149.7+1917_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32677388/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.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.44 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 1826 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/32677388/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits sctable="SC_DATA"shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32676867/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:25:10.030502', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784687110.03', return_code='0', job_id='32676867', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:25:11 PDT 2026 ********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32676925/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32676925/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:26:23.604290', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784687183.6', return_code='0', job_id='32676925', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:26:24 PDT 2026 outfile=/lscratch/kocevski/32677388/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits .....................! real 17.67 user 16.65 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/32677388/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32677388/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32677388/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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/32677388/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits .....................! real 63.33 user 59.11 sys 3.37 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/32677388/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits scfile=/lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32677388/cmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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 1.05 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/32677388/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits scfile=/lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32677388/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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 1.11 user 0.22 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/32677388/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32677388/Model_4FGL_J2149.7+1917_weekly_bin937.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/32677388/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits.....................! real 88.28 user 86.06 sys 1.09 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32677388/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits', '/lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits', expMap='/lscratch/kocevski/32677388/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', expCube='/lscratch/kocevski/32677388/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32677388/Model_4FGL_J2149.7+1917_weekly_bin937.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/32677388/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32677388/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Exposure map: /lscratch/kocevski/32677388/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32677388/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32677388/Model_4FGL_J2149.7+1917_weekly_bin937.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) = 19673.7166039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837505 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.1371 1.0000 .0000 .10000E+07 2 'Prefactor ' .15543E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.6367 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.245 1.0000 .0000 .10000E+07 5 'norm ' 2.7904 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.7218 1.0000 .0000 .10000E+07 7 'Prefactor ' 72.988 1.0000 .0000 .10000E+07 8 'norm ' 2.1469 1.0000 .0000 .10000E+07 9 'norm ' 1.1348 1.0000 .0000 .10000E+07 10 'Prefactor ' 19.372 1.0000 .0000 .10000E+07 11 'Prefactor ' 19.597 1.0000 .0000 .10000E+07 12 'norm ' .11102E-09 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.951 1.0000 .0000 .10000E+07 14 'norm ' 3.6841 1.0000 .0000 .10000E+07 15 'Prefactor ' .26090E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.0891 1.0000 .0000 .10000E+07 17 'Normalizat' .68617 1.0000 .10000E-01 10.000 18 'Prefactor ' .96360 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= 19673.68 FROM MIGRAD STATUS=CONVERGED 90 CALLS 1526 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.1364 10.579 -.86103E-07 -.41127E-02 2 Prefactor .22204E-09 14.726 .26826E-06** at limit ** 3 Prefactor 4.6352 7.2982 .12444E-07 -.21089E-01 4 Prefactor 13.243 2.8956 -.11261E-07 -.21496E-01 5 norm 2.7905 2.4539 .14166E-07 .13607E-02 6 Prefactor 1.7219 3.2364 -.21706E-07 .10080E-03 7 Prefactor 72.990 1.0743 .70101E-09 .17059E-01 8 norm 2.1465 1.4227 -.27833E-07 -.31546E-02 9 norm 1.1344 1.5633 .35194E-08 .38567E-03 10 Prefactor 19.376 2.4669 .90958E-08 .28329E-01 11 Prefactor 19.591 2.4442 .74618E-08 .49809E-01 12 norm .0000 .32347 -.47835E-07** at limit ** 13 Prefactor 14.951 5.2654 -.35386E-07 .66873E-01 14 norm 3.6839 2.4119 -.10371E-07 -.79525E-03 15 Prefactor .0000 1.9050 -.72766E-07** at limit ** 16 Prefactor 3.0891 7.1635 -.13240E-06 -.62444E-02 17 Normalizat .68624 .16612 .14093E-06 -.19495E-04 18 Prefactor .96359 .70974E-01 .14680E-06 .71727E-05 ERR DEF= .500 Final values: Prefactor = 5.13641 Prefactor = 2.22045e-10 Prefactor = 4.6352 Prefactor = 13.2434 norm = 2.79053 Prefactor = 1.72189 Prefactor = 72.9897 norm = 2.14651 norm = 1.1344 Prefactor = 19.376 Prefactor = 19.5912 norm = 0 Prefactor = 14.9509 norm = 3.68388 Prefactor = 0 Prefactor = 3.08914 Normalizat = 0.686244 Prefactor = 0.963588 number of points = 17284 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2149.7+1917_weekly_bin937 RA = 327.444, Dec = 19.2859 tmin = 805680001, tmax = 806284801 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='32678088', job_status='RUN', time_executed='2026-07-21 19:21:12.310856', time_epoch_executed='1784686872.31' WHERE source_name='4FGL J2149.7+1917' and cadence='weekly' and bin_id='937' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/32678088 Creating custom pfile directory: /lscratch/kocevski/32678088/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/32678088/ft1_4FGL_J2149.7+1917_weekly_bin937.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/32678088/ft1_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32678088/ft1_filteredMKT_4FGL_J2149.7+1917_weekly_bin937.fits ra=327.444 dec=19.2859 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.91 user 4.14 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.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/32678088/ft1_filteredMKT_4FGL_J2149.7+1917_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32678088/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.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.18 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 1826 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/32678088/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.fits sctable="SC_DATA"number of points = 17284 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2149.7+1917_weekly_bin937 RA = 327.444, Dec = 19.2859 tmin = 805680001, tmax = 806284801 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='32678159', job_status='RUN', time_executed='2026-07-21 19:22:13.401919', time_epoch_executed='1784686933.4' WHERE source_name='4FGL J2149.7+1917' and cadence='weekly' and bin_id='937' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/32678159 Creating custom pfile directory: /lscratch/kocevski/32678159/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/32678159/ft1_4FGL_J2149.7+1917_weekly_bin937.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805680001.0 && nMetStart<806284801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/32678159/ft1_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32678159/ft1_filteredMKT_4FGL_J2149.7+1917_weekly_bin937.fits ra=327.444 dec=19.2859 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 5.00 user 4.11 sys 0.28 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.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/32678159/ft1_filteredMKT_4FGL_J2149.7+1917_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32678159/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.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.23 sys 0.12 Number of photons that the gtmktime cut: 1826 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/32678159/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits sctable="SC_DATA" ********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32677388/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32677388/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:32:05.746143', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784687525.75', return_code='0', job_id='32677388', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:32:06 PDT 2026 outfile=/lscratch/kocevski/32678088/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.fits .....................! real 18.15 user 17.11 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/32678088/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32678088/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32678088/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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/32678088/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits .....................! real 66.31 user 61.55 sys 3.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 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/32678088/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits scfile=/lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32678088/cmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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 1.13 user 0.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/32678088/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits scfile=/lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32678088/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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 1.23 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/32678088/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_binoutfile=/lscratch/kocevski/32678159/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits .....................! real 18.03 user 17.15 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/32678159/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32678159/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32678159/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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/32678159/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits .....................! real 66.77 user 61.71 sys 4.05 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 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/32678159/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits scfile=/lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32678159/cmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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.96 user 0.24 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/32678159/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits scfile=/lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits outfile=/lscratch/kocevski/32678159/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.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 1.00 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/32678159/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32678159/Model_4FGL_J2149.7+1917_weekly_bin937.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/32678159/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits.....................! real 93.97 user 91.63 sys 1.11 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32678159/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits', '/lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits', expMap='/lscratch/kocevski/32678159/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', expCube='/lscratch/kocevski/32678159/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32678159/Model_4FGL_J2149.7+1917_weekly_bin937.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/32678159/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32678159/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Exposure map: /lscratch/kocevski/32678159/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32678159/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32678159/Model_4FGL_J2149.7+1917_weekly_bin937.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) = 19673.7166039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837505 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.1371 1.0000 .0000 .10000E+07 2 'Prefactor ' .15543E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.6367 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.245 1.0000 .0000 .10000E+07 5 'norm ' 2.7904 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.7218 1.0000 .0000 .10000E+07 7 'Prefactor ' 72.988 1.0000 .0000 .10000E+07 8 'norm ' 2.1469 1.0000 .0000 .10000E+07 9 'norm ' 1.1348 1.0000 .0000 .10000E+07 10 'Prefactor ' 19.372 1.0000 .0000 .10000E+07 11 'Prefactor ' 19.597 1.0000 .0000 .10000E+07 12 'norm ' .11102E-09 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.951 1.0000 .0000 .10000E+07 14 'norm ' 3.6841 1.0000 .0000 .10000E+07 15 'Prefactor ' .26090E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.0891 1.0000 .0000 .10000E+07 17 'Normalizat' .68617 1.0000 .10000E-01 10.000 18 'Prefactor ' .96360 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= 19673.68 FROM MIGRAD STATUS=CONVERGED 90 CALLS 1526 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.1364 10.579 -.86103E-07 -.41127E-02 2 Prefactor .22204E-09 14.726 .26826E-06** at limit ** 3 Prefactor 4.6352 7.2982 .12444E-07 -.21089E-01 4 Prefactor 13.243 2.8956 -.11261E-07 -.21496E-01 5 norm 2.7905 2.4539 .14166E-07 .13607E-02 6 Prefactor 1.7219 3.2364 -.21706E-07 .10080E-03 7 Prefactor 72.990 1.0743 .70101E-09 .17059E-01 8 norm 2.1465 1.4227 -.27833E-07 -.31546E-02 9 norm 1.1344 1.5633 .35194E-08 .38567E-03 10 Prefactor 19.376 2.4669 .90958E-08 .28329E-01 11 Prefactor 19.591 2.4442 .74618E-08 .49809E-01 12 norm .0000 .32347 -.47835E-07** at limit ** 13 Prefactor 14.951 5.2654 -.35386E-07 .66873E-01 14 norm 3.6839 2.4119 -.10371E-07 -.79525E-03 15 Prefactor .0000 1.9050 -.72766E-07** at limit ** 16 Prefactor 3.0891 7.1635 -.13240E-06 -.62444E-02 17 Normalizat .68624 .16612 .14093E-06 -.19495E-04 18 Prefactor .96359 .70974E-01 .14680E-06 .71727E-05 ERR DEF= .500 Final values: Prefactor = 5.13641 Prefactor = 2.22045e-10 Prefactor = 4.6352 Prefactor = 13.2434 norm = 2.79053 Prefactor = 1.72189 Prefactor = 72.9897 norm = 2.14651 norm = 1.1344 Prefactor = 19.376 Prefactor = 19.5912 norm = 0 Prefactor = 14.9509 norm = 3.68388 Prefactor = 0 Prefactor = 3.08914 Normalizat = 0.686244 Prefactor = 0.963588 937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32678088/Model_4FGL_J2149.7+1917_weekly_bin937.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/32678088/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits.....................! real 95.75 user 93.61 sys 0.92 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32678088/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits', '/lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.fits', expMap='/lscratch/kocevski/32678088/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', expCube='/lscratch/kocevski/32678088/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32678088/Model_4FGL_J2149.7+1917_weekly_bin937.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/32678088/ft1_filtered_4FGL_J2149.7+1917_weekly_bin937.fits Spacecraft file(s): /lscratch/kocevski/32678088/ft2_4FGL_J2149.7+1917_weekly_bin937.fits Exposure map: /lscratch/kocevski/32678088/expmap_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits Exposure cube: /lscratch/kocevski/32678088/ltcube_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32678088/Model_4FGL_J2149.7+1917_weekly_bin937.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) = 19673.7166039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837505 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.1371 1.0000 .0000 .10000E+07 2 'Prefactor ' .15543E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.6367 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.245 1.0000 .0000 .10000E+07 5 'norm ' 2.7904 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.7218 1.0000 .0000 .10000E+07 7 'Prefactor ' 72.988 1.0000 .0000 .10000E+07 8 'norm ' 2.1469 1.0000 .0000 .10000E+07 9 'norm ' 1.1348 1.0000 .0000 .10000E+07 10 'Prefactor ' 19.372 1.0000 .0000 .10000E+07 11 'Prefactor ' 19.597 1.0000 .0000 .10000E+07 12 'norm ' .11102E-09 1.0000 .0000 .10000E+07 13 'Prefactor ' 14.951 1.0000 .0000 .10000E+07 14 'norm ' 3.6841 1.0000 .0000 .10000E+07 15 'Prefactor ' .26090E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.0891 1.0000 .0000 .10000E+07 17 'Normalizat' .68617 1.0000 .10000E-01 10.000 18 'Prefactor ' .96360 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= 19673.68 FROM MIGRAD STATUS=CONVERGED 90 CALLS 1526 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.1364 10.579 -.86103E-07 -.41127E-02 2 Prefactor .22204E-09 14.726 .26826E-06** at limit ** 3 Prefactor 4.6352 7.2982 .12444E-07 -.21089E-01 4 Prefactor 13.243 2.8956 -.11261E-07 -.21496E-01 5 norm 2.7905 2.4539 .14166E-07 .13607E-02 6 Prefactor 1.7219 3.2364 -.21706E-07 .10080E-03 7 Prefactor 72.990 1.0743 .70101E-09 .17059E-01 8 norm 2.1465 1.4227 -.27833E-07 -.31546E-02 9 norm 1.1344 1.5633 .35194E-08 .38567E-03 10 Prefactor 19.376 2.4669 .90958E-08 .28329E-01 11 Prefactor 19.591 2.4442 .74618E-08 .49809E-01 12 norm .0000 .32347 -.47835E-07** at limit ** 13 Prefactor 14.951 5.2654 -.35386E-07 .66873E-01 14 norm 3.6839 2.4119 -.10371E-07 -.79525E-03 15 Prefactor .0000 1.9050 -.72766E-07** at limit ** 16 Prefactor 3.0891 7.1635 -.13240E-06 -.62444E-02 17 Normalizat .68624 .16612 .14093E-06 -.19495E-04 18 Prefactor .96359 .70974E-01 .14680E-06 .71727E-05 ERR DEF= .500 Final values: Prefactor = 5.13641 Prefactor = 2.22045e-10 Prefactor = 4.6352 Prefactor = 13.2434 norm = 2.79053 Prefactor = 1.72189 Prefactor = 72.9897 norm = 2.14651 norm = 1.1344 Prefactor = 19.376 Prefactor = 19.5912 norm = 0 Prefactor = 14.9509 norm = 3.68388 Prefactor = 0 Prefactor = 3.08914 Normalizat = 0.686244 Prefactor = 0.963588 ********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 ********** ** 18 **HESSE ********** FCN= 19673.68 FROM HESSE STATUS=OK 292 CALLS 1818 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.1364 12.225 .44333E-03 -1.5663 2 Prefactor .22204E-09 14.765 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.6352 7.7972 .46716E-03 -1.5665 4 Prefactor 13.243 16.777 .27497E-03 -1.5635 5 norm 2.7905 2.5063 .60884E-03 -1.5675 6 Prefactor 1.7219 3.2656 .80021E-03 -1.5682 7 Prefactor 72.990 85.822 .11706E-03 -1.5537 8 norm 2.1465 1.5046 .70301E-03 -1.5679 9 norm 1.1344 1.5801 .10939E-02 -1.5687 10 Prefactor 19.376 18.083 .22728E-03 -1.5620 11 Prefactor 19.591 30.478 .22597E-03 -1.5619 12 norm .0000 .31351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 14.951 8.7898 .25877E-03 -1.5631 14 norm 3.6839 2.4139 .52596E-03 -1.5670 15 Prefactor .0000 1.9137 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0891 7.3698 .57678E-03 -1.5673 17 Normalizat .68624 .14790 .91289E-01 -1.0444 18 Prefactor .96359 .61171E-01 .45811E-01 -.93953 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18729e-06 Minuit parameter uncertainties: 1 12.2252 2 0.000115925 3 7.79719 4 16.7773 5 2.50634 6 3.26562 7 85.8231 8 1.50464 9 1.58007 10 18.0832 11 30.4778 12 2.86639e-06 13 8.78978 14 2.41392 15 1.04392e-05 16 7.36983 17 0.147984 18 0.0611756 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32678159/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32678159/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:38:10.739304', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784687890.74', return_code='0', job_id='32678159', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:38:11 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19673.6837502 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.938e+01 1.808e+01 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.636e-01 6.118e-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.862e-01 1.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 3.23e-08 +/- 3.01e-08 Energy Flux (Fixed Index): 9.17e-06 +/- 8.56e-06 TS (Fixed Index): 2.21 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 9.04981277256e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00704800939316 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32678088/likelihoodResults_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6763279 delta logL = 0.00742233998972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990845063643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 18.249 1.0000 .0000 .10000E+07 2 'Index ' 2.6498 1.0000 .0000 10.000 3 'Normalizat' .67988 1.0000 .10000E-01 10.000 4 'Prefactor ' .96519 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19673.67 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 18.252 20.639 .93671E-05 .43547E-02 2 Index 2.6498 1.0138 .10228E-01 .18864E-03 3 Normalizat .67991 .16051 .40616E-03 .71880E-03 4 Prefactor .96517 .70383E-01 .15659E-03 .19020E-02 ERR DEF= .500 Final values: Prefactor = 18.2517 Index = 2.6498 Normalizat = 0.67991 Prefactor = 0.965173 ********** ** 18 **HESSE ********** FCN= 19673.67 FROM HESSE STATUS=OK 25 CALLS 268 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 18.252 18.525 .37469E-06 -1.5623 2 Index 2.6498 .90794 .40910E-03 -.48934 3 Normalizat .67991 .15933 .16246E-04 -1.0469 4 Prefactor .96517 .70127E-01 .31317E-04 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03798e-10 Minuit parameter uncertainties: 1 18.5253 2 0.914474 3 0.159436 4 0.0701334 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19673.6738417 delta logL = 0.00990849395021 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.825e+01 1.853e+01 0.000e+00 1.000e+06 ( 1.000e-13) 278 Index: 2.650e+00 9.145e-01 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.652e-01 7.013e-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.799e-01 1.594e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.26 Ra Dec: 327.444 19.286 Photon Index (Free Index): 2.65 +/- 0.91 Photon Flux (Free Index): 3.73e-08 +/- 4.48e-08 Energy Flux (Free Index): 9.35e-06 +/- 7.81e-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/32678088/cmap_HighResolution_805680001_806284801_4FGL_J2149.7+1917_weekly_bin937.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.35e-06', photon_flux_error='3.01e-08', dlogl='9.91e-03', energy_flux='9.17e-06', photon_flux2='3.73e-08', job_status='DONE', time_completed='2026-07-21 19:38:18.028762', photon_index_error2='0.91', photon_index2='2.65', ts='2.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='7.81e-06', EG='0.69', time_epoch_completed='1784687898.03', return_code='0', job_id='32678088', GAL2='0.97', EG2='0.68', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.48e-08', ts2='2.26', photon_index='2.52' WHERE bin_id='937' AND source_name='4FGL J2149.7+1917' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 21 19:38:18 PDT 2026