Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25491.6371756 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 2.019e+00 1.180e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.817e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.569e-01 5.213e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.265e+00 1.307e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 11.21 Ra Dec: 285.808 55.677 Photon Index (Fixed Index): 1.82 +/- 0.00 Photon Flux (Fixed Index): 1.93e-08 +/- 1.13e-08 Energy Flux (Fixed Index): 1.83e-05 +/- 1.07e-05 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) = 25491.5865844 delta logL = 0.0505911441505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25491.5747195 delta logL = 0.0624560564829 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.8111 1.0000 .0000 .10000E+07 2 'alpha ' 1.6014 1.0000 .0000 5.0000 3 'Normalizat' 1.2695 1.0000 .10000E-01 10.000 4 'Prefactor ' .95652 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6780E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25491.57 FROM MIGRAD STATUS=CONVERGED 47 CALLS 206 TOTAL EDM= .55E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.8111 1.5882 .77602E-03 .33880E-02 2 alpha 1.6014 .57946 .45151 -.79333E-04 3 Normalizat 1.2695 .12451 .84467E-01 .60186E-04 4 Prefactor .95652 .51167E-01 .45721E-01 -.12442E-05 ERR DEF= .500 Final values: norm = 1.81111 alpha = 1.60139 Normalizat = 1.26947 Prefactor = 0.956523 ********** ** 18 **HESSE ********** FCN= 25491.57 FROM HESSE STATUS=OK 31 CALLS 237 TOTAL EDM= .11E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.8111 1.3070 .12872E-04 -1.5681 2 alpha 1.6014 .58279 .26994E-01 -.36767 3 Normalizat 1.2695 .13867 .37398E-03 -.84482 4 Prefactor .95652 .57630E-01 .17544E-03 -.94193 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05873e-08 Minuit parameter uncertainties: 1 1.307 2 0.589028 3 0.138714 4 0.0576334 /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 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) = 25491.5747195 delta logL = 0.0624560566903 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 1.811e+00 1.307e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.601e+00 5.890e-01 0.000e+00 5.000e+00 ( 1.000e+00) 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.565e-01 5.763e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.269e+00 1.387e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 11.31 Ra Dec: 285.808 55.677 Photon Index (Free Index): 1.60 +/- 0.59 Photon Flux (Free Index): 1.37e-08 +/- 1.53e-08 Energy Flux (Free Index): 2.19e-05 +/- 1.86e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/19663220/cmap_HighResolution_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='2.19e-05', photon_flux_error='1.13e-08', dlogl='6.25e-02', energy_flux='1.83e-05', photon_flux2='1.37e-08', job_status='DONE', time_completed='2023-07-18 02:00:47.394477', photon_index_error2='0.59', photon_index2='1.60', ts='11.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='1.26', time_epoch_completed='1689670847.39', return_code='0', job_id='19663220', GAL2='0.96', EG2='1.27', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='1.53e-08', ts2='11.31', photon_index='1.82' WHERE bin_id='780' AND source_name='4FGL J1903.2+5540' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:00:48 PDT 2023 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). able="EVENTS" scfile=/lscratch/kocevski/19663720/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19663720/Model_4FGL_J1903.2+5540_weekly_bin780.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Cocoon adding source EG_v02 adding source FHES J2129.9+5833 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/19663720/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits.....................! real 91.49 user 89.26 sys 0.97 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19663720/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits', '/lscratch/kocevski/19663720/ft2_4FGL_J1903.2+5540_weekly_bin780.fits', expMap='/lscratch/kocevski/19663720/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits', expCube='/lscratch/kocevski/19663720/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19663720/Model_4FGL_J1903.2+5540_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1903.2+5540' 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 2.734e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.817e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19663720/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19663720/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Exposure map: /lscratch/kocevski/19663720/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19663720/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19663720/Model_4FGL_J1903.2+5540_weekly_bin780.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) = 25491.6744581 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25491.642057 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.014 1.0000 .0000 .10000E+07 2 'Prefactor ' .82799 1.0000 .0000 .10000E+07 3 'Prefactor ' .63365E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' .84254 1.0000 .0000 .10000E+07 5 'norm ' .39974E-03 1.0000 .0000 .10000E+07 6 'norm ' 2.2633 1.0000 .0000 .10000E+07 7 'norm ' 4.8003 1.0000 .0000 .10000E+07 8 'Prefactor ' .32897 1.0000 .0000 .10000E+07 9 'Prefactor ' 7.5303 1.0000 .0000 .10000E+07 10 'norm ' .34583E-07 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.6505 1.0000 .0000 .10000E+07 12 'norm ' 2.0201 1.0000 .0000 .10000E+07 13 'norm ' .77749E-06 1.0000 .0000 .10000E+07 14 'norm ' .14904E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .10890E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' 64.212 1.0000 .0000 .10000E+07 17 'norm ' 5.1929 1.0000 .0000 .10000E+07 18 'norm ' .80146 1.0000 .0000 .10000E+07 19 'Normalizat' 1.2639 1.0000 .10000E-01 10.000 20 'Prefactor ' .95643 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6780E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25491.64 FROM MIGRAD STATUS=CONVERGED 128 CALLS 1219 TOTAL EDM= .64E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 6.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 9.7897 4.1713 .94564E-06 -.13155E-01 2 Prefactor .57929 27.972 -.12915E-04 .12227E-01 3 Prefactor .16653E-09 5.6366 .12463E-05** at limit ** 4 Prefactor .56066E-07 191.40 -.75848E-06** at limit ** 5 norm .0000 3.4079 -.47808E-06** at limit ** 6 norm 2.2618 2.5928 .19171E-06 .46565E-02 7 norm 4.7685 4.6194 -.21284E-06 -.22960E-02 8 Prefactor .28215 24.835 -.16510E-04 -.17370E-01 9 Prefactor 6.6573 20.133 .67978E-05 .69100E-02 10 norm .55511E-10 .32102 -.76478E-07** at limit ** 11 Prefactor 1.6476 1.0583 -.46375E-07 -.27781E-02 12 norm 2.0192 1.1793 -.12274E-06 -.15245E-02 13 norm .0000 1.5048 -.85858E-07** at limit ** 14 norm .11102E-09 13.208 -.11800E-05** at limit ** 15 Prefactor .66613E-09 4.5062 -.75621E-06** at limit ** 16 Prefactor 63.208 19.521 .12323E-06 -.12501E-02 17 norm 5.2000 1.3264 -.24113E-06 .47640E-02 18 norm .54714 22.286 .14223E-04 -.12523E-01 19 Normalizat 1.2647 .14485 .18223E-04 .49155E-04 20 Prefactor .95686 .59021E-01 -.49567E-05 -.28065E-04 ERR DEF= .500 Final values: Prefactor = 9.78973 Prefactor = 0.579286 Prefactor = 1.66533e-10 Prefactor = 5.60663e-08 norm = 0 norm = 2.26183 norm = 4.76851 Prefactor = 0.282152 Prefactor = 6.65734 norm = 5.55112e-11 Prefactor = 1.64764 norm = 2.01924 norm = 0 norm = 1.11022e-10 Prefactor = 6.66134e-10 Prefactor = 63.2076 norm = 5.20005 norm = 0.54714 Normalizat = 1.26473 Prefactor = 0.956863 ********** ** 18 **HESSE ********** FCN= 25491.64 FROM HESSE STATUS=OK 339 CALLS 1558 TOTAL EDM= .11E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 9.7897 66.734 .31640E-03 -1.5645 2 Prefactor .57929 38.073 .50872E-03 -1.5693 3 Prefactor .16653E-09 5.6324 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .56066E-07 192.30 .49816E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .0000 3.4050 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.2618 2.5931 .68249E-03 -1.5678 7 norm 4.7685 4.6221 .45894E-03 -1.5664 8 Prefactor .28215 4.4119 .11432E-01 -1.5697 9 Prefactor 6.6573 25.638 .36522E-03 -1.5656 10 norm .55511E-10 .32093 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 1.6476 1.0616 .82151E-04 -1.5682 12 norm 2.0192 1.1803 .72784E-03 -1.5680 13 norm .0000 1.4949 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .11102E-09 13.004 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .66613E-09 4.5006 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 63.208 19.472 .12480E-03 -1.5549 17 norm 5.2000 1.3803 .44090E-03 -1.5662 18 norm .54714 54.268 .52826E-03 -1.5693 19 Normalizat 1.2647 .13065 .84596E-01 -.84625 20 Prefactor .95686 .52125E-01 .45720E-01 -.94182 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.14635e-07 Minuit parameter uncertainties: 1 51.1208 2 9.3927 3 5.82107e-05 4 0.00656692 5 1.14302e-05 6 2.59306 7 4.62212 8 2.23143 9 25.6386 10 7.99845e-06 11 1.06159 12 1.1803 13 9.01834e-06 14 7.34955e-05 15 0.000107758 16 19.4716 17 1.38031 18 10.8982 19 0.130686 20 0.0521274 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25491.6371756 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 2.019e+00 1.180e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.817e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.569e-01 5.213e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.265e+00 1.307e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 11.21 Ra Dec: 285.808 55.677 Photon Index (Fixed Index): 1.82 +/- 0.00 Photon Flux (Fixed Index): 1.93e-08 +/- 1.13e-08 Energy Flux (Fixed Index): 1.83e-05 +/- 1.07e-05 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) = 25491.5865844 delta logL = 0.0505911441505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25491.5747195 delta logL = 0.0624560564829 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.8111 1.0000 .0000 .10000E+07 2 'alpha ' 1.6014 1.0000 .0000 5.0000 3 'Normalizat' 1.2695 1.0000 .10000E-01 10.000 4 'Prefactor ' .95652 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6780E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25491.57 FROM MIGRAD STATUS=CONVERGED 47 CALLS 206 TOTAL EDM= .55E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.8111 1.5882 .77602E-03 .33880E-02 2 alpha 1.6014 .57946 .45151 -.79333E-04 3 Normalizat 1.2695 .12451 .84467E-01 .60186E-04 4 Prefactor .95652 .51167E-01 .45721E-01 -.12442E-05 ERR DEF= .500 Final values: norm = 1.81111 alpha = 1.60139 Normalizat = 1.26947 Prefactor = 0.956523 ********** ** 18 **HESSE ********** FCN= 25491.57 FROM HESSE STATUS=OK 31 CALLS 237 TOTAL EDM= .11E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.8111 1.3070 .12872E-04 -1.5681 2 alpha 1.6014 .58279 .26994E-01 -.36767 3 Normalizat 1.2695 .13867 .37398E-03 -.84482 4 Prefactor .95652 .57630E-01 .17544E-03 -.94193 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05873e-08 Minuit parameter uncertainties: 1 1.307 2 0.589028 3 0.138714 4 0.0576334 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) = 25491.5747195 delta logL = 0.0624560566903 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 1.811e+00 1.307e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.601e+00 5.890e-01 0.000e+00 5.000e+00 ( 1.000e+00) 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.565e-01 5.763e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.269e+00 1.387e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 11.31 Ra Dec: 285.808 55.677 Photon Index (Free Index): 1.60 +/- 0.59 Photon Flux (Free Index): 1.37e-08 +/- 1.53e-08 Energy Flux (Free Index): 2.19e-05 +/- 1.86e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/19663720/cmap_HighResolution_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='2.19e-05', photon_flux_error='1.13e-08', dlogl='6.25e-02', energy_flux='1.83e-05', photon_flux2='1.37e-08', job_status='DONE', time_completed='2023-07-18 02:03:38.167032', photon_index_error2='0.59', photon_index2='1.60', ts='11.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='1.26', time_epoch_completed='1689671018.17', return_code='0', job_id='19663720', GAL2='0.96', EG2='1.27', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='1.53e-08', ts2='11.31', photon_index='1.82' WHERE bin_id='780' AND source_name='4FGL J1903.2+5540' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:03:39 PDT 2023 number of points = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1903.2+5540_weekly_bin780 RA = 285.808, Dec = 55.6773 tmin = 710726401, tmax = 711331201 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='19664840', job_status='RUN', time_executed='2023-07-18 01:54:05.736533', time_epoch_executed='1689670445.74' WHERE source_name='4FGL J1903.2+5540' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19664840 Creating custom pfile directory: /lscratch/kocevski/19664840/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19664840/ft1_4FGL_J1903.2+5540_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19664840/ft1_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19664840/ft1_filteredMKT_4FGL_J1903.2+5540_weekly_bin780.fits ra=285.808 dec=55.6773 rad=12.0 tmin=710726401.0 tmax=711331201.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.77 user 3.70 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.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/19664840/ft1_filteredMKT_4FGL_J1903.2+5540_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19664840/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.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.09 user 0.21 sys 0.14 Number of photons that the gtmktime cut: 2516 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19664840/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA"number of points = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1903.2+5540_weekly_bin780 RA = 285.808, Dec = 55.6773 tmin = 710726401, tmax = 711331201 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='19664853', job_status='RUN', time_executed='2023-07-18 01:54:09.898596', time_epoch_executed='1689670449.9' WHERE source_name='4FGL J1903.2+5540' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19664853 Creating custom pfile directory: /lscratch/kocevski/19664853/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19664853/ft1_4FGL_J1903.2+5540_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19664853/ft1_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19664853/ft1_filteredMKT_4FGL_J1903.2+5540_weekly_bin780.fits ra=285.808 dec=55.6773 rad=12.0 tmin=710726401.0 tmax=711331201.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.57 user 3.55 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.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/19664853/ft1_filteredMKT_4FGL_J1903.2+5540_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19664853/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.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.40 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 2516 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19664853/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA" outfile=/lscratch/kocevski/19664840/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits .....................! real 16.65 user 15.65 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19664840/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19664840/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19664840/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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/19664840/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits .....................! real 62.20 user 57.28 sys 3.69 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 HB 21 in ROI with RadialDisk spatial model. Extended source gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Added 195 point sources and 4 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1903.2+5540 @ 285.808 55.6773 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19664840/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits scfile=/lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19664840/cmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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=285.808 yref=55.6773 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.12 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19664840/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits scfile=/lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19664840/cmap_HighResolution_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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=285.808 yref=55.6773 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.16 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19664840/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits evtoutfile=/lscratch/kocevski/19664853/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits .....................! real 16.12 user 15.00 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19664853/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19664853/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19664853/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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/19664853/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits .....................! real 60.17 user 55.48 sys 3.57 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 HB 21 in ROI with RadialDisk spatial model. Extended source gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Added 195 point sources and 4 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1903.2+5540 @ 285.808 55.6773 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19664853/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits scfile=/lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19664853/cmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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=285.808 yref=55.6773 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.55 user 0.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19664853/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits scfile=/lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19664853/cmap_HighResolution_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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=285.808 yref=55.6773 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.25 user 0.20 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19664853/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits evtaable="EVENTS" scfile=/lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19664840/Model_4FGL_J1903.2+5540_weekly_bin780.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Cocoon adding source EG_v02 adding source FHES J2129.9+5833 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/19664840/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits.....................! real 94.87 user 92.57 sys 0.71 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19664840/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits', '/lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits', expMap='/lscratch/kocevski/19664840/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits', expCube='/lscratch/kocevski/19664840/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19664840/Model_4FGL_J1903.2+5540_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1903.2+5540' 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 2.734e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.817e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19664840/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19664840/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Exposure map: /lscratch/kocevski/19664840/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19664840/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19664840/Model_4FGL_J1903.2+5540_weekly_bin780.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) = 25491.6744581 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25491.642057 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.014 1.0000 .0000 .10000E+07 2 'Prefactor ' .82799 1.0000 .0000 .10000E+07 3 'Prefactor ' .63365E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' .84254 1.0000 .0000 .10000E+07 5 'norm ' .39974E-03 1.0000 .0000 .10000E+07 6 'norm ' 2.2633 1.0000 .0000 .10000E+07 7 'norm ' 4.8003 1.0000 .0000 .10000E+07 8 'Prefactor ' .32897 1.0000 .0000 .10000E+07 9 'Prefactor ' 7.5303 1.0000 .0000 .10000E+07 10 'norm ' .34583E-07 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.6505 1.0000 .0000 .10000E+07 12 'norm ' 2.0201 1.0000 .0000 .10000E+07 13 'norm ' .77749E-06 1.0000 .0000 .10000E+07 14 'norm ' .14904E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .10890E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' 64.212 1.0000 .0000 .10000E+07 17 'norm ' 5.1929 1.0000 .0000 .10000E+07 18 'norm ' .80146 1.0000 .0000 .10000E+07 19 'Normalizat' 1.2639 ble="EVENTS" scfile=/lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19664853/Model_4FGL_J1903.2+5540_weekly_bin780.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Cocoon adding source EG_v02 adding source FHES J2129.9+5833 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/19664853/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits.....................! real 91.30 user 88.94 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19664853/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits', '/lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits', expMap='/lscratch/kocevski/19664853/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits', expCube='/lscratch/kocevski/19664853/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19664853/Model_4FGL_J1903.2+5540_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1903.2+5540' 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 2.734e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.817e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19664853/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19664853/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Exposure map: /lscratch/kocevski/19664853/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19664853/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19664853/Model_4FGL_J1903.2+5540_weekly_bin780.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) = 25491.6744581 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25491.642057 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.014 1.0000 .0000 .10000E+07 2 'Prefactor ' .82799 1.0000 .0000 .10000E+07 3 'Prefactor ' .63365E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' .84254 1.0000 .0000 .10000E+07 5 'norm ' .39974E-03 1.0000 .0000 .10000E+07 6 'norm ' 2.2633 1.0000 .0000 .10000E+07 7 'norm ' 4.8003 1.0000 .0000 .10000E+07 8 'Prefactor ' .32897 1.0000 .0000 .10000E+07 9 'Prefactor ' 7.5303 1.0000 .0000 .10000E+07 10 'norm ' .34583E-07 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.6505 1.0000 .0000 .10000E+07 12 'norm ' 2.0201 1.0000 .0000 .10000E+07 13 'norm ' .77749E-06 1.0000 .0000 .10000E+07 14 'norm ' .14904E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .10890E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' 64.212 1.0000 .0000 .10000E+07 17 'norm ' 5.1929 1.0000 .0000 .10000E+07 18 'norm ' .80146 1.0000 .0000 .10000E+07 19 'Normalizat' 1.2639 1.0000 .10000E-01 10.000 20 'Prefactor ' .95643 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6780E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25491.64 FROM MIGRAD STATUS=CONVERGED 128 CALLS 1219 TOTAL EDM= .64E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 6.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 9.7897 4.1713 .94564E-06 -.13155E-01 2 Prefactor .57929 27.972 -.12915E-04 .12227E-01 3 Prefactor .16653E-09 5.6366 .12463E-05** at limit ** 4 Prefactor .56066E-07 191.40 -.75848E-06** at limit ** 5 norm .0000 3.4079 -.47808E-06** at limit ** 6 norm 2.2618 2.5928 .19171E-06 .46565E-02 7 norm 4.7685 4.6194 -.21284E-06 -.22960E-02 8 Prefactor .28215 24.835 -.16510E-04 -.17370E-01 9 Prefactor 6.6573 20.133 .67978E-05 .69100E-02 10 norm .55511E-10 .32102 -.76478E-07** at limit ** 11 Prefactor 1.6476 1.0583 -.46375E-07 -.27781E-02 12 norm 2.0192 1.1793 -.12274E-06 -.15245E-02 13 norm .0000 1.5048 -.85858E-07** at limit ** 14 norm .11102E-09 13.208 -.11800E-05** at limit ** 15 Prefactor .66613E-09 4.5062 -.75621E-06** at limit ** 16 Prefactor 63.208 19.521 .12323E-06 -.12501E-02 17 norm 5.2000 1.3264 -.24113E-06 .47640E-02 18 norm .54714 22.286 .14223E-04 -.12523E-01 19 Normalizat 1.2647 .14485 .18223E-04 .49155E-04 20 Prefactor .95686 .59021E-01 -.49567E-05 -.28065E-04 ERR DEF= .500 Final values: Prefactor = 9.78973 Prefactor = 0.579286 Prefactor = 1.66533e-10 Prefactor = 5.60663e-08 norm = 0 norm = 2.26183 norm = 4.76851 Prefactor = 0.282152 Prefactor = 6.65734 norm = 5.55112e-11 Prefactor = 1.64764 norm = 2.01924 norm = 0 norm = 1.11022e-10 Prefactor = 6.66134e-10 Prefactor = 63.2076 norm = 5.20005 norm = 0.54714 Normalizat = 1.26473 Prefactor = 0.956863 1.0000 .10000E-01 10.000 20 'Prefactor ' .95643 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6780E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25491.64 FROM MIGRAD STATUS=CONVERGED 128 CALLS 1219 TOTAL EDM= .64E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 6.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 9.7897 4.1713 .94564E-06 -.13155E-01 2 Prefactor .57929 27.972 -.12915E-04 .12227E-01 3 Prefactor .16653E-09 5.6366 .12463E-05** at limit ** 4 Prefactor .56066E-07 191.40 -.75848E-06** at limit ** 5 norm .0000 3.4079 -.47808E-06** at limit ** 6 norm 2.2618 2.5928 .19171E-06 .46565E-02 7 norm 4.7685 4.6194 -.21284E-06 -.22960E-02 8 Prefactor .28215 24.835 -.16510E-04 -.17370E-01 9 Prefactor 6.6573 20.133 .67978E-05 .69100E-02 10 norm .55511E-10 .32102 -.76478E-07** at limit ** 11 Prefactor 1.6476 1.0583 -.46375E-07 -.27781E-02 12 norm 2.0192 1.1793 -.12274E-06 -.15245E-02 13 norm .0000 1.5048 -.85858E-07** at limit ** 14 norm .11102E-09 13.208 -.11800E-05** at limit ** 15 Prefactor .66613E-09 4.5062 -.75621E-06** at limit ** 16 Prefactor 63.208 19.521 .12323E-06 -.12501E-02 17 norm 5.2000 1.3264 -.24113E-06 .47640E-02 18 norm .54714 22.286 .14223E-04 -.12523E-01 19 Normalizat 1.2647 .14485 .18223E-04 .49155E-04 20 Prefactor .95686 .59021E-01 -.49567E-05 -.28065E-04 ERR DEF= .500 Final values: Prefactor = 9.78973 Prefactor = 0.579286 Prefactor = 1.66533e-10 Prefactor = 5.60663e-08 norm = 0 norm = 2.26183 norm = 4.76851 Prefactor = 0.282152 Prefactor = 6.65734 norm = 5.55112e-11 Prefactor = 1.64764 norm = 2.01924 norm = 0 norm = 1.11022e-10 Prefactor = 6.66134e-10 Prefactor = 63.2076 norm = 5.20005 norm = 0.54714 Normalizat = 1.26473 Prefactor = 0.956863 number of points = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1903.2+5540_weekly_bin780 RA = 285.808, Dec = 55.6773 tmin = 710726401, tmax = 711331201 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='19666053', job_status='RUN', time_executed='2023-07-18 02:00:57.509245', time_epoch_executed='1689670857.51' WHERE source_name='4FGL J1903.2+5540' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19666053 Creating custom pfile directory: /lscratch/kocevski/19666053/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19666053/ft1_4FGL_J1903.2+5540_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19666053/ft1_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19666053/ft1_filteredMKT_4FGL_J1903.2+5540_weekly_bin780.fits ra=285.808 dec=55.6773 rad=12.0 tmin=710726401.0 tmax=711331201.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.79 user 3.71 sys 0.26 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.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/19666053/ft1_filteredMKT_4FGL_J1903.2+5540_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19666053/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.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.16 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 2516 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19666053/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA" ********** ** 18 **HESSE ********** FCN= 25491.64 FROM HESSE STATUS=OK 339 CALLS 1558 TOTAL EDM= .11E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 9.7897 66.734 .31640E-03 -1.5645 2 Prefactor .57929 38.073 .50872E-03 -1.5693 3 Prefactor .16653E-09 5.6324 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .56066E-07 192.30 .49816E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .0000 3.4050 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.2618 2.5931 .68249E-03 -1.5678 7 norm 4.7685 4.6221 .45894E-03 -1.5664 8 Prefactor .28215 4.4119 .11432E-01 -1.5697 9 Prefactor 6.6573 25.638 .36522E-03 -1.5656 10 norm .55511E-10 .32093 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 1.6476 1.0616 .82151E-04 -1.5682 12 norm 2.0192 1.1803 .72784E-03 -1.5680 13 norm .0000 1.4949 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .11102E-09 13.004 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .66613E-09 4.5006 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 63.208 19.472 .12480E-03 -1.5549 17 norm 5.2000 1.3803 .44090E-03 -1.5662 18 norm .54714 54.268 .52826E-03 -1.5693 19 Normalizat 1.2647 .13065 .84596E-01 -.84625 20 Prefactor .95686 .52125E-01 .45720E-01 -.94182 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.14635e-07 Minuit parameter uncertainties: 1 51.1208 2 9.3927 3 5.82107e-05 4 0.00656692 5 1.14302e-05 6 2.59306 7 4.62212 8 2.23143 9 25.6386 10 7.99845e-06 11 1.06159 12 1.1803 13 9.01834e-06 14 7.34955e-05 15 0.000107758 16 19.4716 17 1.38031 18 10.8982 19 0.130686 20 0.0521274 ********** ** 18 **HESSE ********** FCN= 25491.64 FROM HESSE STATUS=OK 339 CALLS 1558 TOTAL EDM= .11E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 9.7897 66.734 .31640E-03 -1.5645 2 Prefactor .57929 38.073 .50872E-03 -1.5693 3 Prefactor .16653E-09 5.6324 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .56066E-07 192.30 .49816E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .0000 3.4050 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.2618 2.5931 .68249E-03 -1.5678 7 norm 4.7685 4.6221 .45894E-03 -1.5664 8 Prefactor .28215 4.4119 .11432E-01 -1.5697 9 Prefactor 6.6573 25.638 .36522E-03 -1.5656 10 norm .55511E-10 .32093 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 1.6476 1.0616 .82151E-04 -1.5682 12 norm 2.0192 1.1803 .72784E-03 -1.5680 13 norm .0000 1.4949 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .11102E-09 13.004 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .66613E-09 4.5006 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 63.208 19.472 .12480E-03 -1.5549 17 norm 5.2000 1.3803 .44090E-03 -1.5662 18 norm .54714 54.268 .52826E-03 -1.5693 19 Normalizat 1.2647 .13065 .84596E-01 -.84625 20 Prefactor .95686 .52125E-01 .45720E-01 -.94182 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.14635e-07 Minuit parameter uncertainties: 1 51.1208 2 9.3927 3 5.82107e-05 4 0.00656692 5 1.14302e-05 6 2.59306 7 4.62212 8 2.23143 9 25.6386 10 7.99845e-06 11 1.06159 12 1.1803 13 9.01834e-06 14 7.34955e-05 15 0.000107758 16 19.4716 17 1.38031 18 10.8982 19 0.130686 20 0.0521274 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25491.6371756 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 2.019e+00 1.180e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.817e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.569e-01 5.213e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.265e+00 1.307e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 11.21 Ra Dec: 285.808 55.677 Photon Index (Fixed Index): 1.82 +/- 0.00 Photon Flux (Fixed Index): 1.93e-08 +/- 1.13e-08 Energy Flux (Fixed Index): 1.83e-05 +/- 1.07e-05 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) = 25491.5865844 delta logL = 0.0505911441505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25491.5747195 delta logL = 0.0624560564829 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.8111 1.0000 .0000 .10000E+07 2 'alpha ' 1.6014 1.0000 .0000 5.0000 3 'Normalizat' 1.2695 1.0000 .10000E-01 10.000 4 'Prefactor ' .95652 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6780E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25491.57 FROM MIGRAD STATUS=CONVERGED 47 CALLS 206 TOTAL EDM= .55E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.8111 1.5882 .77602E-03 .33880E-02 2 alpha 1.6014 .57946 .45151 -.79333E-04 3 Normalizat 1.2695 .12451 .84467E-01 .60186E-04 4 Prefactor .95652 .51167E-01 .45721E-01 -.12442E-05 ERR DEF= .500 Final values: norm = 1.81111 alpha = 1.60139 Normalizat = 1.26947 Prefactor = 0.956523 ********** ** 18 **HESSE ********** FCN= 25491.57 FROM HESSE STATUS=OK 31 CALLS 237 TOTAL EDM= .11E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.8111 1.3070 .12872E-04 -1.5681 2 alpha 1.6014 .58279 .26994E-01 -.36767 3 Normalizat 1.2695 .13867 .37398E-03 -.84482 4 Prefactor .95652 .57630E-01 .17544E-03 -.94193 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05873e-08 Minuit parameter uncertainties: 1 1.307 2 0.589028 3 0.138714 4 0.0576334 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25491.6371756 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 2.019e+00 1.180e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.817e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.569e-01 5.213e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.265e+00 1.307e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 11.21 Ra Dec: 285.808 55.677 Photon Index (Fixed Index): 1.82 +/- 0.00 Photon Flux (Fixed Index): 1.93e-08 +/- 1.13e-08 Energy Flux (Fixed Index): 1.83e-05 +/- 1.07e-05 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) = 25491.5865844 delta logL = 0.0505911441505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25491.5747195 delta logL = 0.0624560564829 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.8111 1.0000 .0000 .10000E+07 2 'alpha ' 1.6014 1.0000 .0000 5.0000 3 'Normalizat' 1.2695 1.0000 .10000E-01 10.000 4 'Prefactor ' .95652 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6780E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25491.57 FROM MIGRAD STATUS=CONVERGED 47 CALLS 206 TOTAL EDM= .55E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.8111 1.5882 .77602E-03 .33880E-02 2 alpha 1.6014 .57946 .45151 -.79333E-04 3 Normalizat 1.2695 .12451 .84467E-01 .60186E-04 4 Prefactor .95652 .51167E-01 .45721E-01 -.12442E-05 ERR DEF= .500 Final values: norm = 1.81111 alpha = 1.60139 Normalizat = 1.26947 Prefactor = 0.956523 Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25491.5747195 delta logL = 0.0624560566903 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 1.811e+00 1.307e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.601e+00 5.890e-01 0.000e+00 5.000e+00 ( 1.000e+00) 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.565e-01 5.763e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.269e+00 1.387e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 11.31 Ra Dec: 285.808 55.677 Photon Index (Free Index): 1.60 +/- 0.59 Photon Flux (Free Index): 1.37e-08 +/- 1.53e-08 Energy Flux (Free Index): 2.19e-05 +/- 1.86e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/19664840/cmap_HighResolution_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='2.19e-05', photon_flux_error='1.13e-08', dlogl='6.25e-02', energy_flux='1.83e-05', photon_flux2='1.37e-08', job_status='DONE', time_completed='2023-07-18 02:12:57.262148', photon_index_error2='0.59', photon_index2='1.60', ts='11.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='1.26', time_epoch_completed='1689671577.26', return_code='0', job_id='19664840', GAL2='0.96', EG2='1.27', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='1.53e-08', ts2='11.31', photon_index='1.82' WHERE bin_id='780' AND source_name='4FGL J1903.2+5540' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:12:58 PDT 2023 ********** ** 18 **HESSE ********** FCN= 25491.57 FROM HESSE STATUS=OK 31 CALLS 237 TOTAL EDM= .11E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.8111 1.3070 .12872E-04 -1.5681 2 alpha 1.6014 .58279 .26994E-01 -.36767 3 Normalizat 1.2695 .13867 .37398E-03 -.84482 4 Prefactor .95652 .57630E-01 .17544E-03 -.94193 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05873e-08 Minuit parameter uncertainties: 1 1.307 2 0.589028 3 0.138714 4 0.0576334 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) = 25491.5747195 delta logL = 0.0624560566903 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 1.811e+00 1.307e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.601e+00 5.890e-01 0.000e+00 5.000e+00 ( 1.000e+00) 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.565e-01 5.763e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.269e+00 1.387e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 11.31 Ra Dec: 285.808 55.677 Photon Index (Free Index): 1.60 +/- 0.59 Photon Flux (Free Index): 1.37e-08 +/- 1.53e-08 Energy Flux (Free Index): 2.19e-05 +/- 1.86e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/19664853/cmap_HighResolution_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='2.19e-05', photon_flux_error='1.13e-08', dlogl='6.25e-02', energy_flux='1.83e-05', photon_flux2='1.37e-08', job_status='DONE', time_completed='2023-07-18 02:13:05.673082', photon_index_error2='0.59', photon_index2='1.60', ts='11.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='1.26', time_epoch_completed='1689671585.67', return_code='0', job_id='19664853', GAL2='0.96', EG2='1.27', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='1.53e-08', ts2='11.31', photon_index='1.82' WHERE bin_id='780' AND source_name='4FGL J1903.2+5540' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:13:06 PDT 2023 outfile=/lscratch/kocevski/19666053/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits .....................! real 16.94 user 15.83 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19666053/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19666053/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19666053/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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/19666053/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits .....................! real 62.01 user 57.24 sys 3.68 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 HB 21 in ROI with RadialDisk spatial model. Extended source gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Added 195 point sources and 4 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1903.2+5540 @ 285.808 55.6773 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/19666053/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits scfile=/lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19666053/cmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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=285.808 yref=55.6773 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.16 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19666053/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits scfile=/lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits outfile=/lscratch/kocevski/19666053/cmap_HighResolution_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.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=285.808 yref=55.6773 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.15 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19666053/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19666053/Model_4FGL_J1903.2+5540_weekly_bin780.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source Cygnus Cocoon adding source EG_v02 adding source FHES J2129.9+5833 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /lscratch/kocevski/19666053/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits.....................! real 93.07 user 91.05 sys 0.72 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19666053/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits', '/lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits', expMap='/lscratch/kocevski/19666053/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits', expCube='/lscratch/kocevski/19666053/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19666053/Model_4FGL_J1903.2+5540_weekly_bin780.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1903.2+5540' 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 2.734e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.817e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/19666053/ft1_filtered_4FGL_J1903.2+5540_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19666053/ft2_4FGL_J1903.2+5540_weekly_bin780.fits Exposure map: /lscratch/kocevski/19666053/expmap_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19666053/ltcube_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19666053/Model_4FGL_J1903.2+5540_weekly_bin780.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) = 25491.6744581 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25491.642057 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.014 1.0000 .0000 .10000E+07 2 'Prefactor ' .82799 1.0000 .0000 .10000E+07 3 'Prefactor ' .63365E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' .84254 1.0000 .0000 .10000E+07 5 'norm ' .39974E-03 1.0000 .0000 .10000E+07 6 'norm ' 2.2633 1.0000 .0000 .10000E+07 7 'norm ' 4.8003 1.0000 .0000 .10000E+07 8 'Prefactor ' .32897 1.0000 .0000 .10000E+07 9 'Prefactor ' 7.5303 1.0000 .0000 .10000E+07 10 'norm ' .34583E-07 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.6505 1.0000 .0000 .10000E+07 12 'norm ' 2.0201 1.0000 .0000 .10000E+07 13 'norm ' .77749E-06 1.0000 .0000 .10000E+07 14 'norm ' .14904E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .10890E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' 64.212 1.0000 .0000 .10000E+07 17 'norm ' 5.1929 1.0000 .0000 .10000E+07 18 'norm ' .80146 1.0000 .0000 .10000E+07 19 'Normalizat' 1.2639 1.0000 .10000E-01 10.000 20 'Prefactor ' .95643 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6780E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25491.64 FROM MIGRAD STATUS=CONVERGED 128 CALLS 1219 TOTAL EDM= .64E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 6.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 9.7897 4.1713 .94564E-06 -.13155E-01 2 Prefactor .57929 27.972 -.12915E-04 .12227E-01 3 Prefactor .16653E-09 5.6366 .12463E-05** at limit ** 4 Prefactor .56066E-07 191.40 -.75848E-06** at limit ** 5 norm .0000 3.4079 -.47808E-06** at limit ** 6 norm 2.2618 2.5928 .19171E-06 .46565E-02 7 norm 4.7685 4.6194 -.21284E-06 -.22960E-02 8 Prefactor .28215 24.835 -.16510E-04 -.17370E-01 9 Prefactor 6.6573 20.133 .67978E-05 .69100E-02 10 norm .55511E-10 .32102 -.76478E-07** at limit ** 11 Prefactor 1.6476 1.0583 -.46375E-07 -.27781E-02 12 norm 2.0192 1.1793 -.12274E-06 -.15245E-02 13 norm .0000 1.5048 -.85858E-07** at limit ** 14 norm .11102E-09 13.208 -.11800E-05** at limit ** 15 Prefactor .66613E-09 4.5062 -.75621E-06** at limit ** 16 Prefactor 63.208 19.521 .12323E-06 -.12501E-02 17 norm 5.2000 1.3264 -.24113E-06 .47640E-02 18 norm .54714 22.286 .14223E-04 -.12523E-01 19 Normalizat 1.2647 .14485 .18223E-04 .49155E-04 20 Prefactor .95686 .59021E-01 -.49567E-05 -.28065E-04 ERR DEF= .500 Final values: Prefactor = 9.78973 Prefactor = 0.579286 Prefactor = 1.66533e-10 Prefactor = 5.60663e-08 norm = 0 norm = 2.26183 norm = 4.76851 Prefactor = 0.282152 Prefactor = 6.65734 norm = 5.55112e-11 Prefactor = 1.64764 norm = 2.01924 norm = 0 norm = 1.11022e-10 Prefactor = 6.66134e-10 Prefactor = 63.2076 norm = 5.20005 norm = 0.54714 Normalizat = 1.26473 Prefactor = 0.956863 ********** ** 18 **HESSE ********** FCN= 25491.64 FROM HESSE STATUS=OK 339 CALLS 1558 TOTAL EDM= .11E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 9.7897 66.734 .31640E-03 -1.5645 2 Prefactor .57929 38.073 .50872E-03 -1.5693 3 Prefactor .16653E-09 5.6324 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .56066E-07 192.30 .49816E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .0000 3.4050 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.2618 2.5931 .68249E-03 -1.5678 7 norm 4.7685 4.6221 .45894E-03 -1.5664 8 Prefactor .28215 4.4119 .11432E-01 -1.5697 9 Prefactor 6.6573 25.638 .36522E-03 -1.5656 10 norm .55511E-10 .32093 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 1.6476 1.0616 .82151E-04 -1.5682 12 norm 2.0192 1.1803 .72784E-03 -1.5680 13 norm .0000 1.4949 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .11102E-09 13.004 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .66613E-09 4.5006 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 63.208 19.472 .12480E-03 -1.5549 17 norm 5.2000 1.3803 .44090E-03 -1.5662 18 norm .54714 54.268 .52826E-03 -1.5693 19 Normalizat 1.2647 .13065 .84596E-01 -.84625 20 Prefactor .95686 .52125E-01 .45720E-01 -.94182 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.14635e-07 Minuit parameter uncertainties: 1 51.1208 2 9.3927 3 5.82107e-05 4 0.00656692 5 1.14302e-05 6 2.59306 7 4.62212 8 2.23143 9 25.6386 10 7.99845e-06 11 1.06159 12 1.1803 13 9.01834e-06 14 7.34955e-05 15 0.000107758 16 19.4716 17 1.38031 18 10.8982 19 0.130686 20 0.0521274 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25491.6371756 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 2.019e+00 1.180e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.817e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.569e-01 5.213e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.265e+00 1.307e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 11.21 Ra Dec: 285.808 55.677 Photon Index (Fixed Index): 1.82 +/- 0.00 Photon Flux (Fixed Index): 1.93e-08 +/- 1.13e-08 Energy Flux (Fixed Index): 1.83e-05 +/- 1.07e-05 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) = 25491.5865844 delta logL = 0.0505911441505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25491.5747195 delta logL = 0.0624560564829 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.8111 1.0000 .0000 .10000E+07 2 'alpha ' 1.6014 1.0000 .0000 5.0000 3 'Normalizat' 1.2695 1.0000 .10000E-01 10.000 4 'Prefactor ' .95652 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6780E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25491.57 FROM MIGRAD STATUS=CONVERGED 47 CALLS 206 TOTAL EDM= .55E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.8111 1.5882 .77602E-03 .33880E-02 2 alpha 1.6014 .57946 .45151 -.79333E-04 3 Normalizat 1.2695 .12451 .84467E-01 .60186E-04 4 Prefactor .95652 .51167E-01 .45721E-01 -.12442E-05 ERR DEF= .500 Final values: norm = 1.81111 alpha = 1.60139 Normalizat = 1.26947 Prefactor = 0.956523 ********** ** 18 **HESSE ********** FCN= 25491.57 FROM HESSE STATUS=OK 31 CALLS 237 TOTAL EDM= .11E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.8111 1.3070 .12872E-04 -1.5681 2 alpha 1.6014 .58279 .26994E-01 -.36767 3 Normalizat 1.2695 .13867 .37398E-03 -.84482 4 Prefactor .95652 .57630E-01 .17544E-03 -.94193 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05873e-08 Minuit parameter uncertainties: 1 1.307 2 0.589028 3 0.138714 4 0.0576334 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) = 25491.5747195 delta logL = 0.0624560566903 Extracting fit parameters... 4FGL J1903.2+5540 Spectrum: LogParabola 334 norm: 1.811e+00 1.307e+00 0.000e+00 1.000e+06 ( 1.000e-12) 335 alpha: 1.601e+00 5.890e-01 0.000e+00 5.000e+00 ( 1.000e+00) 336 beta: 8.376e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 337 Eb: 1.263e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 667 Prefactor: 9.565e-01 5.763e-02 0.000e+00 1.000e+01 ( 1.000e+00) 668 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 669 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 663 Normalization: 1.269e+00 1.387e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 11.31 Ra Dec: 285.808 55.677 Photon Index (Free Index): 1.60 +/- 0.59 Photon Flux (Free Index): 1.37e-08 +/- 1.53e-08 Energy Flux (Free Index): 2.19e-05 +/- 1.86e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/19666053/cmap_HighResolution_710726401_711331201_4FGL_J1903.2+5540_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='2.19e-05', photon_flux_error='1.13e-08', dlogl='6.25e-02', energy_flux='1.83e-05', photon_flux2='1.37e-08', job_status='DONE', time_completed='2023-07-18 02:19:58.858166', photon_index_error2='0.59', photon_index2='1.60', ts='11.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='1.26', time_epoch_completed='1689671998.86', return_code='0', job_id='19666053', GAL2='0.96', EG2='1.27', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='1.53e-08', ts2='11.31', photon_index='1.82' WHERE bin_id='780' AND source_name='4FGL J1903.2+5540' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:19:59 PDT 2023