/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 159 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 = 7444 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2049.9+1002_daily_bin887 RA = 312.478, Dec = 10.0407 tmin = 469238401, tmax = 469497601 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='160552', job_status='RUN', time_executed='2021-09-25 18:44:07.377587', time_epoch_executed='1632620647.38' WHERE source_name='4FGL J2049.9+1002' and cadence='daily' and bin_id='887' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/160552 Creating custom pfile directory: /scratch/kocevski/160552/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=469238401.0 && nMetStart<469497601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=469238401.0 && nMetStart<469497601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/160552/ft1_4FGL_J2049.9+1002_daily_bin887.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=469238401.0 && nMetStart<469497601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/160552/ft1_4FGL_J2049.9+1002_daily_bin887.fits outfile=/scratch/kocevski/160552/ft1_filteredMKT_4FGL_J2049.9+1002_daily_bin887.fits ra=312.478 dec=10.0407 rad=12.0 tmin=469238401.0 tmax=469497601.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 3.47 user 3.24 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.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/160552/ft1_filteredMKT_4FGL_J2049.9+1002_daily_bin887.fits evtable="EVENTS" outfile="/scratch/kocevski/160552/ft1_filtered_4FGL_J2049.9+1002_daily_bin887.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.55 user 0.37 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/160552/ft1_filtered_4FGL_J2049.9+1002_daily_bin887.fits" evtable="EVENTS" scfile=/scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits sctable="SC_DATA" outfile=/scratch/kocevski/160552/ltcube_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.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/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits .....................! real 15.69 user 15.28 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/160552/ft1_filtered_4FGL_J2049.9+1002_daily_bin887.fits evtable="EVENTS" scfile=/scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits sctable="SC_DATA" expcube=/scratch/kocevski/160552/ltcube_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.fits outfile=/scratch/kocevski/160552/expmap_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.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/160552/ltcube_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.fits .....................! real 192.90 user 187.53 sys 4.90 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/160552/ft1_filtered_4FGL_J2049.9+1002_daily_bin887.fits scfile=/scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits outfile=/scratch/kocevski/160552/cmap_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.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.59 user 0.39 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/160552/ft1_filtered_4FGL_J2049.9+1002_daily_bin887.fits scfile=/scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits outfile=/scratch/kocevski/160552/cmap_HighResolution_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.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.58 user 0.41 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/160552/ft1_filtered_4FGL_J2049.9+1002_daily_bin887.fits evtable="EVENTS" scfile=/scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/160552/Model_4FGL_J2049.9+1002_daily_bin887.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/160552/ft1_filtered_4FGL_J2049.9+1002_daily_bin887.fits.....................! real 212.59 user 210.90 sys 1.17 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/160552/ft1_filtered_4FGL_J2049.9+1002_daily_bin887.fits', '/scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits', expMap='/scratch/kocevski/160552/expmap_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.fits', expCube='/scratch/kocevski/160552/ltcube_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/160552/Model_4FGL_J2049.9+1002_daily_bin887.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/160552/ft1_filtered_4FGL_J2049.9+1002_daily_bin887.fits Spacecraft file(s): /scratch/kocevski/160552/ft2_4FGL_J2049.9+1002_daily_bin887.fits Exposure map: /scratch/kocevski/160552/expmap_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.fits Exposure cube: /scratch/kocevski/160552/ltcube_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/160552/Model_4FGL_J2049.9+1002_daily_bin887.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) = 9209.02209292 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9208.76913091 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 35.068 1.0000 .10000E-03 10000. 2 'norm ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 28.397 1.0000 .10000E-03 10000. 4 'Prefactor ' 4.5105 1.0000 .10000E-03 10000. 5 'norm ' 2.2764 1.0000 .10000E-03 10000. 6 'Prefactor ' 44.126 1.0000 .10000E-03 10000. 7 'norm ' .10006E-03 1.0000 .10000E-03 10000. 8 'norm ' .11278E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 9.1747 1.0000 .10000E-03 10000. 13 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 11.412 1.0000 .10000E-03 10000. 15 'Prefactor ' .10018E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10130E-03 1.0000 .10000E-03 10000. 17 'norm ' 1.8346 1.0000 .10000E-03 10000. 18 'Prefactor ' .10473E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 4.5304 1.0000 .10000E-03 10000. 21 'Normalizat' .71537 1.0000 .10000E-01 10.000 22 'Prefactor ' 1.0736 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= 9208.769 FROM MIGRAD STATUS=CONVERGED 483 CALLS 2408 TOTAL EDM= .83E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 35.068 17.834 -.24411E-07 .23215E-05 2 norm .10000E-03 6.4769 -.30782E-07** at limit ** 3 Prefactor 28.436 24.533 .26845E-06 -.18130E-04 4 Prefactor 4.4371 85.421 -.11216E-05 -.47404E-05 5 norm 2.2779 1.4134 .31110E-06 -.23120E-04 6 Prefactor 44.137 65.980 -.14781E-05 -.11839E-05 7 norm .10000E-03 5.2265 -.11072E-06** at limit ** 8 norm .10000E-03 101.68 -.78529E-05** at limit ** 9 Prefactor .10000E-03 13.262 -.14193E-05** at limit ** 10 Prefactor .10000E-03 12.765 .20027E-05** at limit ** 11 Prefactor .10000E-03 11.080 -.14714E-05** at limit ** 12 Prefactor 9.1759 14.681 -.85759E-07 -.11918E-04 13 Prefactor .10000E-03 10.651 .81144E-06** at limit ** 14 Prefactor 11.410 24.087 -.34133E-07 -.46785E-05 15 Prefactor .10000E-03 68.123 .52486E-05** at limit ** 16 Prefactor .10000E-03 42.005 -.43430E-06** at limit ** 17 norm 1.8359 5.3980 .17140E-05 .10524E-05 18 Prefactor .10000E-03 76.704 -.22648E-05** at limit ** 19 Prefactor .10000E-03 2.0289 -.16821E-07** at limit ** 20 Prefactor 4.5291 9.1690 -.22477E-06 -.66477E-05 21 Normalizat .71537 .28462 -.10568E-06 .33911E-05 22 Prefactor 1.0736 .93420E-01 .13165E-06 .12120E-04 ERR DEF= .500 Final values: Prefactor = 35.0679 norm = 0.0001 Prefactor = 28.436 Prefactor = 4.43705 norm = 2.27787 Prefactor = 44.1372 norm = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 9.17585 Prefactor = 0.0001 Prefactor = 11.4102 Prefactor = 0.0001 Prefactor = 0.0001 norm = 1.83594 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.52915 Normalizat = 0.715368 Prefactor = 1.07357 ********** ** 18 **HESSE ********** FCN= 9208.769 FROM HESSE STATUS=OK 340 CALLS 2748 TOTAL EDM= .35E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 35.068 17.825 .67672E-04 -1.4523 2 norm .10000E-03 6.6017 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 28.436 24.646 .75181E-04 -1.4641 4 Prefactor 4.4371 86.563 .18957E-03 -1.5287 5 norm 2.2779 1.4161 .27216E-04 -1.5406 6 Prefactor 44.137 65.819 .60353E-04 -1.4378 7 norm .10000E-03 5.2522 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .10000E-03 102.11 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 13.360 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 12.791 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 11.090 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 9.1759 14.665 .13232E-03 -1.5102 13 Prefactor .10000E-03 10.656 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 11.410 24.069 .11859E-03 -1.5032 15 Prefactor .10000E-03 68.410 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 42.029 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 1.8359 5.4009 .15403E-02 -1.5437 18 Prefactor .10000E-03 78.289 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 2.0345 .13344E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 4.5291 9.1553 .18914E-03 -1.5282 21 Normalizat .71537 .30989 .52376E-03 -1.0329 22 Prefactor 1.0736 .10367 .14993E-03 -.90316 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.51792e-12 Minuit parameter uncertainties: 1 17.8282 2 2.63301e-06 3 24.655 4 39.2612 5 1.41616 6 65.9275 7 2.25516e-06 8 2.37672e-05 9 3.44089e-06 10 3.9158e-06 11 4.98129e-06 12 14.6708 13 8.57753e-07 14 24.0898 15 5.07722e-05 16 6.51724e-06 17 5.40234 18 3.13824e-05 19 6.56855e-07 20 9.1581 21 0.310653 22 0.103688 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9208.76912891 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 1.000e-04 2.255e-06 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: 1.074e+00 1.037e-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: 7.154e-01 3.107e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 312.478 10.041 Photon Flux Upper Limit: 8.53e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.70e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/160552/likelihoodResults_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.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) = 9208.77003643 delta logL = -0.000907518095119 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 9208.7691289 delta logL = 1.42808858072e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10001E-03 1.0000 .10000E-03 10000. 2 'alpha ' 2.4011 1.0000 .0000 5.0000 3 'Normalizat' .71537 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0736 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 9208.767 FROM MIGRAD STATUS=FAILED 145 CALLS 293 TOTAL EDM= .28E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .21174E-01 11.727 .18142E-01 .19736E-02 2 alpha 5.0000 4.7045 .16477 ** at limit ** 3 Normalizat .71048 .60033E-01 .52376E-03 -.90123E-04 4 Prefactor 1.0746 .18523E-01 .14994E-03 -.23248E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 9208.767 FROM SIMPLEX STATUS=UNCHANGED 128 CALLS 421 TOTAL EDM= .55E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .21174E-01 11.727 .15857E-04 .19736E-02 2 alpha 5.0000 4.7045 .50262E-01** at limit ** 3 Normalizat .71048 .60033E-01 .57430E-06 -.90123E-04 4 Prefactor 1.0746 .18523E-01 .39706E-07 -.23248E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 9208.767 FROM MIGRAD STATUS=CONVERGED 47 CALLS 468 TOTAL EDM= .24E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .21174E-01 1.6394 .0000 .84421E-02 2 alpha 5.0000 4.0981 .0000 ** at limit ** 3 Normalizat .71048 .31004 .0000 -.90080E-04 4 Prefactor 1.0746 .10452 .0000 -.23217E-03 ERR DEF= .500 Final values: norm = 0.0211736 alpha = 5 Normalizat = 0.710477 Prefactor = 1.07457 ********** ** 18 **HESSE ********** FCN= 9208.767 FROM HESSE STATUS=OK 25 CALLS 493 TOTAL EDM= .53E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .21174E-01 1.6264 .17362E-03 -1.5679 2 alpha 5.0000 4.1070 .13182E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Normalizat .71048 .30753 .41901E-05 -1.0348 4 Prefactor 1.0746 .10427 .59974E-05 -.90284 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.32552e-11 Minuit parameter uncertainties: 1 0.370281 2 0.00126031 3 0.308284 4 0.104294 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/160552': 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) = 9208.76744727 delta logL = 0.00168164174283 Extracting fit parameters... 4FGL J2049.9+1002 Spectrum: LogParabola 407 norm: 2.117e-02 3.703e-01 1.000e-04 1.000e+04 ( 1.000e-12) 408 alpha: 5.000e+00 1.260e-03 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: 1.075e+00 1.043e-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: 7.105e-01 3.083e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 312.478 10.041 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 /scratch/kocevski/160552/cmap_HighResolution_469238401_469497601_4FGL_J2049.9+1002_daily_bin887.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/160552 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-05', job_status='DONE', photon_flux_upper_limit='8.53e-08', time_completed='2021-09-25 19:02:05.571764', job_id='160552', GAL2='1.07', fit_tolerance='1e-08', EG2='0.71', EG='0.72', time_epoch_completed='1632621725.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.68e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='887' AND source_name='4FGL J2049.9+1002' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 25 19:02:05 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 160552: <4FGL_J2049.9+1002_daily_bin887> in cluster Done Job <4FGL_J2049.9+1002_daily_bin887> was submitted from host by user in cluster at Sat Sep 25 18:40:25 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 25 18:41:18 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 25 18:41:18 2021 Terminated at Sat Sep 25 19:02:06 2021 Results reported at Sat Sep 25 19:02:06 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2049.9+1002_daily_bin887 312.478 10.0407 469238401 469497601 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 : 1076.58 sec. Max Memory : 633 MB Average Memory : 321.90 MB Total Requested Memory : - Delta Memory : - Max Swap : 2932 MB Max Processes : 6 Max Threads : 21 Run time : 1248 sec. Turnaround time : 1301 sec. The output (if any) is above this job summary.