/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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) Waiting 112 seconds before starting... Proceeding. 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 make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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). number of points = 7626 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2049.9+1002_daily_bin1211 RA = 312.478, Dec = 10.0407 tmin = 553219201, tmax = 553478401 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='163175', job_status='RUN', time_executed='2021-09-25 18:53:24.564828', time_epoch_executed='1632621204.56' WHERE source_name='4FGL J2049.9+1002' and cadence='daily' and bin_id='1211' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/163175 Creating custom pfile directory: /scratch/kocevski/163175/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=553219201.0 && nMetStart<553478401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=553219201.0 && nMetStart<553478401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/163175/ft1_4FGL_J2049.9+1002_daily_bin1211.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=553219201.0 && nMetStart<553478401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/163175/ft1_4FGL_J2049.9+1002_daily_bin1211.fits outfile=/scratch/kocevski/163175/ft1_filteredMKT_4FGL_J2049.9+1002_daily_bin1211.fits ra=312.478 dec=10.0407 rad=12.0 tmin=553219201.0 tmax=553478401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 2.74 user 2.54 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/163175/ft1_filteredMKT_4FGL_J2049.9+1002_daily_bin1211.fits evtable="EVENTS" outfile="/scratch/kocevski/163175/ft1_filtered_4FGL_J2049.9+1002_daily_bin1211.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.52 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/163175/ft1_filtered_4FGL_J2049.9+1002_daily_bin1211.fits" evtable="EVENTS" scfile=/scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits sctable="SC_DATA" outfile=/scratch/kocevski/163175/ltcube_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.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 /scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits .....................! real 16.37 user 14.99 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/163175/ft1_filtered_4FGL_J2049.9+1002_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits sctable="SC_DATA" expcube=/scratch/kocevski/163175/ltcube_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.fits outfile=/scratch/kocevski/163175/expmap_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.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 /scratch/kocevski/163175/ltcube_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.fits .....................! real 192.08 user 186.86 sys 4.54 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 /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template. Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/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=/scratch/kocevski/163175/ft1_filtered_4FGL_J2049.9+1002_daily_bin1211.fits scfile=/scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits outfile=/scratch/kocevski/163175/cmap_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.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.57 user 0.39 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/163175/ft1_filtered_4FGL_J2049.9+1002_daily_bin1211.fits scfile=/scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits outfile=/scratch/kocevski/163175/cmap_HighResolution_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.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.56 user 0.40 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/163175/ft1_filtered_4FGL_J2049.9+1002_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/163175/Model_4FGL_J2049.9+1002_daily_bin1211.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... /scratch/kocevski/163175/ft1_filtered_4FGL_J2049.9+1002_daily_bin1211.fits.....................! real 106.85 user 105.36 sys 1.16 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/163175/ft1_filtered_4FGL_J2049.9+1002_daily_bin1211.fits', '/scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits', expMap='/scratch/kocevski/163175/expmap_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.fits', expCube='/scratch/kocevski/163175/ltcube_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/163175/Model_4FGL_J2049.9+1002_daily_bin1211.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 1.000e-04 1.000e+04 ( 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 0.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): /scratch/kocevski/163175/ft1_filtered_4FGL_J2049.9+1002_daily_bin1211.fits Spacecraft file(s): /scratch/kocevski/163175/ft2_4FGL_J2049.9+1002_daily_bin1211.fits Exposure map: /scratch/kocevski/163175/expmap_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.fits Exposure cube: /scratch/kocevski/163175/ltcube_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/163175/Model_4FGL_J2049.9+1002_daily_bin1211.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) = 4589.10205318 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4589.05175201 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 62.136 1.0000 .10000E-03 10000. 2 'norm ' .10010E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .13919E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 34.656 1.0000 .10000E-03 10000. 5 'norm ' .10007E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .11063E-03 1.0000 .10000E-03 10000. 7 'norm ' 32.293 1.0000 .10000E-03 10000. 8 'norm ' .12171E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 8.4146 1.0000 .10000E-03 10000. 10 'Prefactor ' .85906 1.0000 .10000E-03 10000. 11 'Prefactor ' 36.985 1.0000 .10000E-03 10000. 12 'Prefactor ' 25.596 1.0000 .10000E-03 10000. 13 'Prefactor ' 14.195 1.0000 .10000E-03 10000. 14 'Prefactor ' .10026E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 7.8484 1.0000 .10000E-03 10000. 16 'Prefactor ' .35277E-03 1.0000 .10000E-03 10000. 17 'norm ' 5.7331 1.0000 .10000E-03 10000. 18 'Prefactor ' 57.746 1.0000 .10000E-03 10000. 19 'Prefactor ' 12.682 1.0000 .10000E-03 10000. 20 'Prefactor ' 6.0795 1.0000 .10000E-03 10000. 21 'Normalizat' .51039 1.0000 .10000E-01 10.000 22 'Prefactor ' .96740 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. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 4589.052 FROM MIGRAD STATUS=CONVERGED 469 CALLS 2797 TOTAL EDM= .59E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 62.090 84.037 -.14071E-05 -.33015E-04 2 norm .10000E-03 11.512 -.22342E-06** at limit ** 3 Prefactor .10000E-03 30.003 -.81063E-06** at limit ** 4 Prefactor 34.647 38.325 .51408E-06 .22797E-03 5 norm .10000E-03 1.2264 -.97842E-06** at limit ** 6 Prefactor .10000E-03 134.04 -.25554E-06** at limit ** 7 norm 32.296 22.909 -.62972E-06 .66015E-04 8 norm .10000E-03 27.302 .18878E-07** at limit ** 9 Prefactor 8.4229 27.976 -.25539E-05 -.37027E-04 10 Prefactor .85195 13.108 -.18980E-07 -.34930E-03 11 Prefactor 37.236 265.96 -.58763E-05 .24365E-04 12 Prefactor 25.595 30.061 -.19806E-05 -.82339E-04 13 Prefactor 14.184 23.794 -.43159E-06 -.98941E-05 14 Prefactor .10000E-03 11.899 .29439E-07** at limit ** 15 Prefactor 7.8764 50.870 -.23721E-05 -.63036E-06 16 Prefactor .10001E-03 386.98 .38620E-05** at limit ** 17 norm 5.7334 5.3522 -.41586E-06 -.10579E-03 18 Prefactor 57.749 56.304 -.20594E-05 -.14822E-04 19 Prefactor 12.682 10.058 .15562E-06 -.38081E-03 20 Prefactor 6.0782 12.733 -.14587E-05 -.67206E-04 21 Normalizat .51038 .53700 .23745E-04 .31070E-04 22 Prefactor .96738 .14673 -.35750E-05 .17426E-03 ERR DEF= .500 Final values: Prefactor = 62.0901 norm = 0.0001 Prefactor = 0.0001 Prefactor = 34.6468 norm = 0.0001 Prefactor = 0.0001 norm = 32.2959 norm = 0.0001 Prefactor = 8.42288 Prefactor = 0.851951 Prefactor = 37.2364 Prefactor = 25.595 Prefactor = 14.1842 Prefactor = 0.0001 Prefactor = 7.87641 Prefactor = 0.000100012 norm = 5.73341 Prefactor = 57.7486 Prefactor = 12.6818 Prefactor = 6.07824 Normalizat = 0.51038 Prefactor = 0.967382 ********** ** 18 **HESSE ********** FCN= 4589.052 FROM HESSE STATUS=OK 348 CALLS 3145 TOTAL EDM= .44E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 62.090 84.287 .50904E-04 -1.4130 2 norm .10000E-03 11.687 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 30.101 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 34.647 34.697 .68072E-04 -1.4530 5 norm .10000E-03 1.5017 .13140E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 134.17 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 32.296 22.759 .70512E-04 -1.4571 8 norm .10000E-03 27.305 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 8.4229 27.889 .13820E-03 -1.5127 10 Prefactor .85195 90.736 .45818E-02 -1.5523 11 Prefactor 37.236 262.35 .32951E-03 -1.4487 12 Prefactor 25.595 29.890 .79179E-04 -1.4696 13 Prefactor 14.184 23.791 .10631E-03 -1.4955 14 Prefactor .10000E-03 11.900 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 7.8764 50.688 .14313E-03 -1.5147 16 Prefactor .10001E-03 386.06 .21320E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 5.7334 5.3462 .14444E-03 -1.5229 18 Prefactor 57.749 56.345 .52793E-04 -1.4187 19 Prefactor 12.682 9.9245 .56242E-03 -1.4996 20 Prefactor 6.0782 12.702 .16283E-03 -1.5215 21 Normalizat .51038 .52019 .64537E-03 -1.1194 22 Prefactor .96738 .14389 .14937E-03 -.93825 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.42824e-09 Minuit parameter uncertainties: 1 84.4495 2 1.20008e-05 3 2.12307e-05 4 34.7172 5 3.14315e-05 6 9.87226e-05 7 22.7646 8 8.8053e-06 9 27.9321 10 17.6108 11 198.931 12 29.9074 13 23.8066 14 6.39132e-06 15 40.0114 16 0.00435772 17 5.3466 18 56.3973 19 9.92577 20 12.7077 21 0.525262 22 0.143952 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4589.05174907 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 3.230e+01 2.276e+01 1.000e-04 1.000e+04 ( 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 0.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.674e-01 1.440e-01 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: 5.104e-01 5.253e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.86 Ra Dec: 312.478 10.041 Photon Index (Fixed Index): 2.39 +/- 0.00 Photon Flux (Fixed Index): 1.54e-07 +/- 1.08e-07 Energy Flux (Fixed Index): 4.87e-05 +/- 3.43e-05 TS (Fixed Index): 3.86 Ra Dec: 312.478 10.041 Photon Flux Upper Limit: 3.80e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.20e-04 MeV cm-2 s-1 Saving results to: /scratch/kocevski/163175/likelihoodResults_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4588.90257797 delta logL = 0.149171108 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4588.88618143 delta logL = 0.165567644022 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 29.081 1.0000 .10000E-03 10000. 2 'alpha ' 2.8940 1.0000 .0000 5.0000 3 'Normalizat' .42336 1.0000 .10000E-01 10.000 4 'Prefactor ' .98383 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= 4588.886 FROM MIGRAD STATUS=CONVERGED 60 CALLS 265 TOTAL EDM= .29E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 29.112 347.43 .18573E-02 .24630E-03 2 alpha 2.8957 3.6061 .37037 .32233E-04 3 Normalizat .42341 .21531 .15908 .50261E-04 4 Prefactor .98366 .50223E-01 .33534E-01 .92737E-05 ERR DEF= .500 Final values: norm = 29.1117 alpha = 2.89574 Normalizat = 0.423415 Prefactor = 0.983662 ********** ** 18 **HESSE ********** FCN= 4588.886 FROM HESSE STATUS=OK 33 CALLS 298 TOTAL EDM= .26E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 29.112 23.523 .37147E-03 -1.4628 2 alpha 2.8957 .86660 .13651E-01 .15896 3 Normalizat .42341 .47146 .70424E-03 -1.1611 4 Prefactor .98366 .14396 .14819E-03 -.93276 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.55859e-09 Minuit parameter uncertainties: 1 23.5302 2 0.885469 3 0.475992 4 0.14402 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/163175': No such file or directory 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) = 4588.88617257 delta logL = 0.165576506924 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 2.911e+01 2.353e+01 1.000e-04 1.000e+04 ( 1.000e-12) 408 alpha: 2.896e+00 8.855e-01 0.000e+00 5.000e+00 ( 1.000e+00) 409 beta: 1.463e-01 0.000e+00 0.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.837e-01 1.440e-01 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: 4.234e-01 4.760e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.29 Ra Dec: 312.478 10.041 Photon Index (Free Index): 2.90 +/- 0.89 Photon Flux (Free Index): 2.49e-07 +/- 2.12e-07 Energy Flux (Free Index): 5.61e-05 +/- 3.53e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/163175/cmap_HighResolution_553219201_553478401_4FGL_J2049.9+1002_daily_bin1211.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/163175 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-04', comment='SUCCESS', photon_flux='1.54e-07', energy_flux2='5.61e-05', photon_flux_error='1.08e-07', dlogl='1.66e-01', energy_flux='4.87e-05', photon_flux2='2.49e-07', job_status='DONE', time_completed='2021-09-25 19:04:44.615796', photon_index_error2='0.89', photon_index2='2.90', ts='3.86', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='3.80e-07', energy_flux_error2='3.53e-05', EG='0.51', time_epoch_completed='1632621884.62', return_code='0', job_id='163175', GAL2='0.98', EG2='0.42', return_code2='0', energy_flux_error='3.43e-05', photon_flux_error2='2.12e-07', ts2='4.29', photon_index='2.39' WHERE bin_id='1211' AND source_name='4FGL J2049.9+1002' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 25 19:04:44 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 163175: <4FGL_J2049.9+1002_daily_bin1211> in cluster Done Job <4FGL_J2049.9+1002_daily_bin1211> was submitted from host by user in cluster at Sat Sep 25 18:50:23 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 25 18:51:22 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 25 18:51:22 2021 Terminated at Sat Sep 25 19:04:45 2021 Results reported at Sat Sep 25 19:04:45 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2049.9+1002_daily_bin1211 312.478 10.0407 553219201 553478401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2049.9+1002 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 676.33 sec. Max Memory : 852 MB Average Memory : 323.48 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 802 sec. Turnaround time : 862 sec. The output (if any) is above this job summary.