********** ** 18 **HESSE ********** FCN= 19081.84 FROM HESSE STATUS=OK 239 CALLS 1205 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .16098E-08 5.2208 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 4.6275 5.8786 .46941E-03 -1.5665 3 Prefactor .28311E-07 6.0011 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .0000 .11818 .27572E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .16098E-08 7.9331 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 17.010 6.0360 .24267E-03 -1.5625 7 Prefactor .33307E-09 2.5324 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .99920E-09 8.1448 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 7.9240 13.544 .35150E-03 -1.5652 10 Prefactor .19207E-07 6.0562 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 8.9665 62.883 .32950E-03 -1.5648 12 norm .0000 .79238 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .38858E-09 3.1708 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .54535 7.3342 .73796E-03 -1.5693 15 Normalizat .85157 .16882 .95294E-01 -.98183 16 Prefactor .93369 .55014E-01 .31959E-01 -.94973 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.15569e-06 Minuit parameter uncertainties: 1 0.000182981 2 5.87858 3 0.000824217 4 1.71121e-07 5 0.000225297 6 6.03595 7 5.79171e-05 8 0.00018168 9 13.5442 10 0.000681828 11 47.4915 12 8.55276e-06 13 6.9604e-05 14 3.99985 15 0.168925 16 0.0550173 /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19081.841644 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 1.701e+01 6.036e+00 0.000e+00 1.000e+06 ( 1.000e-12) 408 alpha: 2.394e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 409 beta: 1.463e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 410 Eb: 6.403e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 9.337e-01 5.502e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 8.516e-01 1.689e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 15.63 Ra Dec: 312.478 10.041 Photon Index (Fixed Index): 2.39 +/- 0.00 Photon Flux (Fixed Index): 8.10e-08 +/- 2.87e-08 Energy Flux (Fixed Index): 2.56e-05 +/- 9.10e-06 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) = 19081.5706111 delta logL = 0.27103280892 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19081.5705907 delta logL = 0.271053210352 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 18.618 1.0000 .0000 .10000E+07 2 'alpha ' 2.1430 1.0000 .0000 5.0000 3 'Normalizat' .86745 1.0000 .10000E-01 10.000 4 'Prefactor ' .93032 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19081.57 FROM MIGRAD STATUS=CONVERGED 55 CALLS 246 TOTAL EDM= .80E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 18.612 116.31 .23184E-03 .61676E-02 2 alpha 2.1431 3.5519 .40039 .28973E-04 3 Normalizat .86746 .14622 .94508E-01 .72475E-04 4 Prefactor .93032 .39085E-01 .32011E-01 -.11343E-04 ERR DEF= .500 Final values: norm = 18.6119 alpha = 2.14306 Normalizat = 0.867462 Prefactor = 0.930319 ********** ** 18 **HESSE ********** FCN= 19081.57 FROM HESSE STATUS=OK 33 CALLS 279 TOTAL EDM= .31E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 18.612 6.8023 .92737E-05 -1.5622 2 alpha 2.1431 .33478 .15223E-01 -.14327 3 Normalizat .86746 .17563 .41866E-03 -.97613 4 Prefactor .93032 .61353E-01 .14145E-03 -.95090 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.10457e-10 Minuit parameter uncertainties: 1 6.8023 2 0.335811 3 0.175749 4 0.0613573 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) = 19081.5705903 delta logL = 0.271053645556 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 1.861e+01 6.802e+00 0.000e+00 1.000e+06 ( 1.000e-12) 408 alpha: 2.143e+00 3.358e-01 0.000e+00 5.000e+00 ( 1.000e+00) 409 beta: 1.463e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 410 Eb: 6.403e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 9.303e-01 6.136e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 8.675e-01 1.757e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 16.16 Ra Dec: 312.478 10.041 Photon Index (Free Index): 2.14 +/- 0.34 Photon Flux (Free Index): 6.89e-08 +/- 2.98e-08 Energy Flux (Free Index): 2.82e-05 +/- 1.09e-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/18998647/cmap_HighResolution_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.10e-08', energy_flux2='2.82e-05', photon_flux_error='2.87e-08', dlogl='2.71e-01', energy_flux='2.56e-05', photon_flux2='6.89e-08', job_status='DONE', time_completed='2023-07-11 01:21:03.370679', photon_index_error2='0.34', photon_index2='2.14', ts='15.63', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.09e-05', EG='0.85', time_epoch_completed='1689063663.37', return_code='0', job_id='18998647', GAL2='0.93', EG2='0.87', return_code2='0', energy_flux_error='9.10e-06', photon_flux_error2='2.98e-08', ts2='16.16', photon_index='2.39' WHERE bin_id='779' AND source_name='4FGL J2049.9+1002' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 11 01:21:03 PDT 2023 number of points = 17354 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2049.9+1002_weekly_bin779 RA = 312.478, Dec = 10.0407 tmin = 710121601, tmax = 710726401 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='18999113', job_status='RUN', time_executed='2023-07-11 01:20:35.709512', time_epoch_executed='1689063635.71' WHERE source_name='4FGL J2049.9+1002' and cadence='weekly' and bin_id='779' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18999113 Creating custom pfile directory: /lscratch/kocevski/18999113/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710121601.0 && nMetStart<710726401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710121601.0 && nMetStart<710726401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18999113/ft1_4FGL_J2049.9+1002_weekly_bin779.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710121601.0 && nMetStart<710726401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18999113/ft1_4FGL_J2049.9+1002_weekly_bin779.fits outfile=/lscratch/kocevski/18999113/ft1_filteredMKT_4FGL_J2049.9+1002_weekly_bin779.fits ra=312.478 dec=10.0407 rad=12.0 tmin=710121601.0 tmax=710726401.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.63 user 4.24 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.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/18999113/ft1_filteredMKT_4FGL_J2049.9+1002_weekly_bin779.fits evtable="EVENTS" outfile="/lscratch/kocevski/18999113/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.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.50 user 0.23 sys 0.12 Number of photons that the gtmktime cut: 1809 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18999113/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits sctable="SC_DATA"p gtdiffrsp evfile=/lscratch/kocevski/18998879/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits evtable="EVENTS" scfile=/lscratch/kocevski/18998879/ft2_4FGL_J2049.9+1002_weekly_bin779.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18998879/Model_4FGL_J2049.9+1002_weekly_bin779.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 adding source W 51C Working on... /lscratch/kocevski/18998879/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits.....................! real 145.98 user 143.93 sys 1.02 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18998879/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits', '/lscratch/kocevski/18998879/ft2_4FGL_J2049.9+1002_weekly_bin779.fits', expMap='/lscratch/kocevski/18998879/expmap_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits', expCube='/lscratch/kocevski/18998879/ltcube_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18998879/Model_4FGL_J2049.9+1002_weekly_bin779.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2049.9+1002' 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 4.360e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 408 alpha: 2.394e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 409 beta: 1.463e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 410 Eb: 6.403e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18998879/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits Spacecraft file(s): /lscratch/kocevski/18998879/ft2_4FGL_J2049.9+1002_weekly_bin779.fits Exposure map: /lscratch/kocevski/18998879/expmap_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits Exposure cube: /lscratch/kocevski/18998879/ltcube_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18998879/Model_4FGL_J2049.9+1002_weekly_bin779.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) = 19081.9465042 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19081.8421589 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .49631E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' 4.5935 1.0000 .0000 .10000E+07 3 'Prefactor ' .33131E-04 1.0000 .0000 .10000E+07 4 'norm ' .17878E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .15590E-02 1.0000 .0000 .10000E+07 6 'norm ' 16.996 1.0000 .0000 .10000E+07 7 'Prefactor ' .39040E-03 1.0000 .0000 .10000E+07 8 'Prefactor ' .22692E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 8.1249 1.0000 .0000 .10000E+07 10 'Prefactor ' .16277E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' 9.2381 1.0000 .0000 .10000E+07 12 'norm ' .41805E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' .22217E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' .55037 1.0000 .0000 .10000E+07 15 'Normalizat' .85092 1.0000 .10000E-01 10.000 16 'Prefactor ' .93386 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 19081.84 FROM MIGRAD STATUS=CONVERGED 149 CALLS 966 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .16098E-08 5.1781 -.26840E-06** at limit ** 2 Prefactor 4.6275 5.7335 .17734E-06 -.30851E-02 3 Prefactor .28311E-07 3.2308 .16967E-05** at limit ** 4 norm .0000 3.3335 .65056E-07** at limit ** 5 Prefactor .16098E-08 5.3148 -.18976E-05** at limit ** 6 norm 17.010 6.0261 .19959E-07 -.66277E-03 7 Prefactor .33307E-09 2.5267 -.31143E-06** at limit ** 8 Prefactor .99920E-09 5.0301 .17573E-05** at limit ** 9 Prefactor 7.9240 9.9642 -.29729E-05 .10063E-01 10 Prefactor .19207E-07 4.0154 -.70862E-06** at limit ** 11 Prefactor 8.9665 62.530 -.18133E-05 -.22351E-02 12 norm .0000 .79412 .56559E-07** at limit ** 13 Prefactor .38858E-09 3.1694 .16996E-06** at limit ** 14 Prefactor .54535 7.5284 -.44362E-07 -.17374E-02 15 Normalizat .85157 .18741 .86868E-05 .49403E-04 16 Prefactor .93369 .62636E-01 -.13068E-05 .37599E-03 ERR DEF= .500 Final values: Prefactor = 1.60982e-09 Prefactor = 4.62751 Prefactor = 2.83107e-08 norm = 0 Prefactor = 1.60982e-09 norm = 17.0104 Prefactor = 3.33067e-10 Prefactor = 9.99201e-10 Prefactor = 7.92397 Prefactor = 1.92069e-08 Prefactor = 8.96653 norm = 0 Prefactor = 3.88578e-10 Prefactor = 0.545351 Normalizat = 0.851569 Prefactor = 0.933695 outfile=/lscratch/kocevski/18999113/ltcube_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.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/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits .....................! real 18.91 user 18.41 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18999113/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits evtable="EVENTS" scfile=/lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18999113/ltcube_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits outfile=/lscratch/kocevski/18999113/expmap_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.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/18999113/ltcube_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits .....................! real 69.84 user 65.50 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 W 51C in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template. 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 201 point sources and 2 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 J2049.9+1002 @ 312.478 10.0407 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18999113/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits scfile=/lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits outfile=/lscratch/kocevski/18999113/cmap_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.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=312.478 yref=10.0407 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.40 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18999113/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits scfile=/lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits outfile=/lscratch/kocevski/18999113/cmap_HighResolution_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.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=312.478 yref=10.0407 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.40 user 0.26 sys 0.12 Computing the diffuse response: time - ********** ** 18 **HESSE ********** FCN= 19081.84 FROM HESSE STATUS=OK 239 CALLS 1205 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .16098E-08 5.2208 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 4.6275 5.8786 .46941E-03 -1.5665 3 Prefactor .28311E-07 6.0011 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .0000 .11818 .27572E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .16098E-08 7.9331 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 17.010 6.0360 .24267E-03 -1.5625 7 Prefactor .33307E-09 2.5324 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .99920E-09 8.1448 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 7.9240 13.544 .35150E-03 -1.5652 10 Prefactor .19207E-07 6.0562 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 8.9665 62.883 .32950E-03 -1.5648 12 norm .0000 .79238 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .38858E-09 3.1708 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .54535 7.3342 .73796E-03 -1.5693 15 Normalizat .85157 .16882 .95294E-01 -.98183 16 Prefactor .93369 .55014E-01 .31959E-01 -.94973 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.15569e-06 Minuit parameter uncertainties: 1 0.000182981 2 5.87858 3 0.000824217 4 1.71121e-07 5 0.000225297 6 6.03595 7 5.79171e-05 8 0.00018168 9 13.5442 10 0.000681828 11 47.4915 12 8.55276e-06 13 6.9604e-05 14 3.99985 15 0.168925 16 0.0550173 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19081.841644 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 1.701e+01 6.036e+00 0.000e+00 1.000e+06 ( 1.000e-12) 408 alpha: 2.394e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 409 beta: 1.463e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 410 Eb: 6.403e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 9.337e-01 5.502e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 8.516e-01 1.689e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 15.63 Ra Dec: 312.478 10.041 Photon Index (Fixed Index): 2.39 +/- 0.00 Photon Flux (Fixed Index): 8.10e-08 +/- 2.87e-08 Energy Flux (Fixed Index): 2.56e-05 +/- 9.10e-06 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) = 19081.5706111 delta logL = 0.27103280892 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19081.5705907 delta logL = 0.271053210352 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 18.618 1.0000 .0000 .10000E+07 2 'alpha ' 2.1430 1.0000 .0000 5.0000 3 'Normalizat' .86745 1.0000 .10000E-01 10.000 4 'Prefactor ' .93032 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19081.57 FROM MIGRAD STATUS=CONVERGED 55 CALLS 246 TOTAL EDM= .80E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 18.612 116.31 .23184E-03 .61676E-02 2 alpha 2.1431 3.5519 .40039 .28973E-04 3 Normalizat .86746 .14622 .94508E-01 .72475E-04 4 Prefactor .93032 .39085E-01 .32011E-01 -.11343E-04 ERR DEF= .500 Final values: norm = 18.6119 alpha = 2.14306 Normalizat = 0.867462 Prefactor = 0.930319 ********** ** 18 **HESSE ********** FCN= 19081.57 FROM HESSE STATUS=OK 33 CALLS 279 TOTAL EDM= .31E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 18.612 6.8023 .92737E-05 -1.5622 2 alpha 2.1431 .33478 .15223E-01 -.14327 3 Normalizat .86746 .17563 .41866E-03 -.97613 4 Prefactor .93032 .61353E-01 .14145E-03 -.95090 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.10457e-10 Minuit parameter uncertainties: 1 6.8023 2 0.335811 3 0.175749 4 0.0613573 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) = 19081.5705903 delta logL = 0.271053645556 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 1.861e+01 6.802e+00 0.000e+00 1.000e+06 ( 1.000e-12) 408 alpha: 2.143e+00 3.358e-01 0.000e+00 5.000e+00 ( 1.000e+00) 409 beta: 1.463e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 410 Eb: 6.403e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 9.303e-01 6.136e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 8.675e-01 1.757e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 16.16 Ra Dec: 312.478 10.041 Photon Index (Free Index): 2.14 +/- 0.34 Photon Flux (Free Index): 6.89e-08 +/- 2.98e-08 Energy Flux (Free Index): 2.82e-05 +/- 1.09e-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/18998879/cmap_HighResolution_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.10e-08', energy_flux2='2.82e-05', photon_flux_error='2.87e-08', dlogl='2.71e-01', energy_flux='2.56e-05', photon_flux2='6.89e-08', job_status='DONE', time_completed='2023-07-11 01:25:20.510431', photon_index_error2='0.34', photon_index2='2.14', ts='15.63', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.09e-05', EG='0.85', time_epoch_completed='1689063920.51', return_code='0', job_id='18998879', GAL2='0.93', EG2='0.87', return_code2='0', energy_flux_error='9.10e-06', photon_flux_error2='2.98e-08', ts2='16.16', photon_index='2.39' WHERE bin_id='779' AND source_name='4FGL J2049.9+1002' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 11 01:25:20 PDT 2023 p gtdiffrsp evfile=/lscratch/kocevski/18999113/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits evtable="EVENTS" scfile=/lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18999113/Model_4FGL_J2049.9+1002_weekly_bin779.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 adding source W 51C Working on... /lscratch/kocevski/18999113/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits.....................! real 147.27 user 145.52 sys 1.15 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18999113/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits', '/lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits', expMap='/lscratch/kocevski/18999113/expmap_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits', expCube='/lscratch/kocevski/18999113/ltcube_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18999113/Model_4FGL_J2049.9+1002_weekly_bin779.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2049.9+1002' 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 4.360e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 408 alpha: 2.394e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 409 beta: 1.463e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 410 Eb: 6.403e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18999113/ft1_filtered_4FGL_J2049.9+1002_weekly_bin779.fits Spacecraft file(s): /lscratch/kocevski/18999113/ft2_4FGL_J2049.9+1002_weekly_bin779.fits Exposure map: /lscratch/kocevski/18999113/expmap_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits Exposure cube: /lscratch/kocevski/18999113/ltcube_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18999113/Model_4FGL_J2049.9+1002_weekly_bin779.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) = 19081.9465042 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19081.8421589 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .49631E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' 4.5935 1.0000 .0000 .10000E+07 3 'Prefactor ' .33131E-04 1.0000 .0000 .10000E+07 4 'norm ' .17878E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .15590E-02 1.0000 .0000 .10000E+07 6 'norm ' 16.996 1.0000 .0000 .10000E+07 7 'Prefactor ' .39040E-03 1.0000 .0000 .10000E+07 8 'Prefactor ' .22692E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 8.1249 1.0000 .0000 .10000E+07 10 'Prefactor ' .16277E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' 9.2381 1.0000 .0000 .10000E+07 12 'norm ' .41805E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' .22217E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' .55037 1.0000 .0000 .10000E+07 15 'Normalizat' .85092 1.0000 .10000E-01 10.000 16 'Prefactor ' .93386 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 19081.84 FROM MIGRAD STATUS=CONVERGED 149 CALLS 966 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .16098E-08 5.1781 -.26840E-06** at limit ** 2 Prefactor 4.6275 5.7335 .17734E-06 -.30851E-02 3 Prefactor .28311E-07 3.2308 .16967E-05** at limit ** 4 norm .0000 3.3335 .65056E-07** at limit ** 5 Prefactor .16098E-08 5.3148 -.18976E-05** at limit ** 6 norm 17.010 6.0261 .19959E-07 -.66277E-03 7 Prefactor .33307E-09 2.5267 -.31143E-06** at limit ** 8 Prefactor .99920E-09 5.0301 .17573E-05** at limit ** 9 Prefactor 7.9240 9.9642 -.29729E-05 .10063E-01 10 Prefactor .19207E-07 4.0154 -.70862E-06** at limit ** 11 Prefactor 8.9665 62.530 -.18133E-05 -.22351E-02 12 norm .0000 .79412 .56559E-07** at limit ** 13 Prefactor .38858E-09 3.1694 .16996E-06** at limit ** 14 Prefactor .54535 7.5284 -.44362E-07 -.17374E-02 15 Normalizat .85157 .18741 .86868E-05 .49403E-04 16 Prefactor .93369 .62636E-01 -.13068E-05 .37599E-03 ERR DEF= .500 Final values: Prefactor = 1.60982e-09 Prefactor = 4.62751 Prefactor = 2.83107e-08 norm = 0 Prefactor = 1.60982e-09 norm = 17.0104 Prefactor = 3.33067e-10 Prefactor = 9.99201e-10 Prefactor = 7.92397 Prefactor = 1.92069e-08 Prefactor = 8.96653 norm = 0 Prefactor = 3.88578e-10 Prefactor = 0.545351 Normalizat = 0.851569 Prefactor = 0.933695 ********** ** 18 **HESSE ********** FCN= 19081.84 FROM HESSE STATUS=OK 239 CALLS 1205 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .16098E-08 5.2208 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 4.6275 5.8786 .46941E-03 -1.5665 3 Prefactor .28311E-07 6.0011 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .0000 .11818 .27572E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .16098E-08 7.9331 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 17.010 6.0360 .24267E-03 -1.5625 7 Prefactor .33307E-09 2.5324 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .99920E-09 8.1448 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 7.9240 13.544 .35150E-03 -1.5652 10 Prefactor .19207E-07 6.0562 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 8.9665 62.883 .32950E-03 -1.5648 12 norm .0000 .79238 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .38858E-09 3.1708 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .54535 7.3342 .73796E-03 -1.5693 15 Normalizat .85157 .16882 .95294E-01 -.98183 16 Prefactor .93369 .55014E-01 .31959E-01 -.94973 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.15569e-06 Minuit parameter uncertainties: 1 0.000182981 2 5.87858 3 0.000824217 4 1.71121e-07 5 0.000225297 6 6.03595 7 5.79171e-05 8 0.00018168 9 13.5442 10 0.000681828 11 47.4915 12 8.55276e-06 13 6.9604e-05 14 3.99985 15 0.168925 16 0.0550173 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19081.841644 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 1.701e+01 6.036e+00 0.000e+00 1.000e+06 ( 1.000e-12) 408 alpha: 2.394e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 409 beta: 1.463e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 410 Eb: 6.403e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 9.337e-01 5.502e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 8.516e-01 1.689e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 15.63 Ra Dec: 312.478 10.041 Photon Index (Fixed Index): 2.39 +/- 0.00 Photon Flux (Fixed Index): 8.10e-08 +/- 2.87e-08 Energy Flux (Fixed Index): 2.56e-05 +/- 9.10e-06 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) = 19081.5706111 delta logL = 0.27103280892 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19081.5705907 delta logL = 0.271053210352 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 18.618 1.0000 .0000 .10000E+07 2 'alpha ' 2.1430 1.0000 .0000 5.0000 3 'Normalizat' .86745 1.0000 .10000E-01 10.000 4 'Prefactor ' .93032 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 19081.57 FROM MIGRAD STATUS=CONVERGED 55 CALLS 246 TOTAL EDM= .80E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 18.612 116.31 .23184E-03 .61676E-02 2 alpha 2.1431 3.5519 .40039 .28973E-04 3 Normalizat .86746 .14622 .94508E-01 .72475E-04 4 Prefactor .93032 .39085E-01 .32011E-01 -.11343E-04 ERR DEF= .500 Final values: norm = 18.6119 alpha = 2.14306 Normalizat = 0.867462 Prefactor = 0.930319 ********** ** 18 **HESSE ********** FCN= 19081.57 FROM HESSE STATUS=OK 33 CALLS 279 TOTAL EDM= .31E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 18.612 6.8023 .92737E-05 -1.5622 2 alpha 2.1431 .33478 .15223E-01 -.14327 3 Normalizat .86746 .17563 .41866E-03 -.97613 4 Prefactor .93032 .61353E-01 .14145E-03 -.95090 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.10457e-10 Minuit parameter uncertainties: 1 6.8023 2 0.335811 3 0.175749 4 0.0613573 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) = 19081.5705903 delta logL = 0.271053645556 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 1.861e+01 6.802e+00 0.000e+00 1.000e+06 ( 1.000e-12) 408 alpha: 2.143e+00 3.358e-01 0.000e+00 5.000e+00 ( 1.000e+00) 409 beta: 1.463e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 410 Eb: 6.403e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 9.303e-01 6.136e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 8.675e-01 1.757e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 16.16 Ra Dec: 312.478 10.041 Photon Index (Free Index): 2.14 +/- 0.34 Photon Flux (Free Index): 6.89e-08 +/- 2.98e-08 Energy Flux (Free Index): 2.82e-05 +/- 1.09e-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/18999113/cmap_HighResolution_710121601_710726401_4FGL_J2049.9+1002_weekly_bin779.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.10e-08', energy_flux2='2.82e-05', photon_flux_error='2.87e-08', dlogl='2.71e-01', energy_flux='2.56e-05', photon_flux2='6.89e-08', job_status='DONE', time_completed='2023-07-11 01:30:29.798925', photon_index_error2='0.34', photon_index2='2.14', ts='15.63', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.09e-05', EG='0.85', time_epoch_completed='1689064229.8', return_code='0', job_id='18999113', GAL2='0.93', EG2='0.87', return_code2='0', energy_flux_error='9.10e-06', photon_flux_error2='2.98e-08', ts2='16.16', photon_index='2.39' WHERE bin_id='779' AND source_name='4FGL J2049.9+1002' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 11 01:30:29 PDT 2023