/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 29 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 = 7404 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin153 RA = 250.119, Dec = 39.7626 tmin = 278985601, tmax = 279244801 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='830263', job_status='RUN', time_executed='2021-09-15 06:16:27.941512', time_epoch_executed='1631711787.94' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='153' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/830263 Creating custom pfile directory: /scratch/kocevski/830263/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=278985601.0 && nMetStart<279244801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=278985601.0 && nMetStart<279244801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/830263/ft1_4FGL_J1640.4+3945_daily_bin153.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=278985601.0 && nMetStart<279244801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/830263/ft1_4FGL_J1640.4+3945_daily_bin153.fits outfile=/scratch/kocevski/830263/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin153.fits ra=250.119 dec=39.7626 rad=12.0 tmin=278985601.0 tmax=279244801.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.78 user 3.55 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.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/830263/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin153.fits evtable="EVENTS" outfile="/scratch/kocevski/830263/ft1_filtered_4FGL_J1640.4+3945_daily_bin153.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.50 user 0.34 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/830263/ft1_filtered_4FGL_J1640.4+3945_daily_bin153.fits" evtable="EVENTS" scfile=/scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits sctable="SC_DATA" outfile=/scratch/kocevski/830263/ltcube_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.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/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits .....................! real 14.08 user 13.66 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/830263/ft1_filtered_4FGL_J1640.4+3945_daily_bin153.fits evtable="EVENTS" scfile=/scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits sctable="SC_DATA" expcube=/scratch/kocevski/830263/ltcube_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.fits outfile=/scratch/kocevski/830263/expmap_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.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/830263/ltcube_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.fits .....................! real 191.69 user 185.70 sys 5.23 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 Added 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/830263/ft1_filtered_4FGL_J1640.4+3945_daily_bin153.fits scfile=/scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits outfile=/scratch/kocevski/830263/cmap_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.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=250.119 yref=39.7626 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.55 user 0.39 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/830263/ft1_filtered_4FGL_J1640.4+3945_daily_bin153.fits scfile=/scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits outfile=/scratch/kocevski/830263/cmap_HighResolution_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.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=250.119 yref=39.7626 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.38 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/830263/ft1_filtered_4FGL_J1640.4+3945_daily_bin153.fits evtable="EVENTS" scfile=/scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830263/Model_4FGL_J1640.4+3945_daily_bin153.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 EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/830263/ft1_filtered_4FGL_J1640.4+3945_daily_bin153.fits.....................! real 59.69 user 58.09 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/830263/ft1_filtered_4FGL_J1640.4+3945_daily_bin153.fits', '/scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits', expMap='/scratch/kocevski/830263/expmap_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.fits', expCube='/scratch/kocevski/830263/ltcube_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/830263/Model_4FGL_J1640.4+3945_daily_bin153.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/830263/ft1_filtered_4FGL_J1640.4+3945_daily_bin153.fits Spacecraft file(s): /scratch/kocevski/830263/ft2_4FGL_J1640.4+3945_daily_bin153.fits Exposure map: /scratch/kocevski/830263/expmap_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.fits Exposure cube: /scratch/kocevski/830263/ltcube_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/830263/Model_4FGL_J1640.4+3945_daily_bin153.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) = 7429.18849149 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7429.16076233 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .99604 1.0000 .10000E-03 10000. 2 'Prefactor ' 46.171 1.0000 .10000E-03 10000. 3 'Prefactor ' .10020E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 8.4593 1.0000 .10000E-03 10000. 5 'Prefactor ' .10086E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .69640 1.0000 .10000E-03 10000. 8 'norm ' .10004E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .12749E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .16691E-03 1.0000 .10000E-03 10000. 11 'norm ' .23557E-02 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.3924 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.7129 1.0000 .10000E-03 10000. 14 'Prefactor ' 8.0569 1.0000 .10000E-03 10000. 15 'Prefactor ' 5.5122 1.0000 .10000E-03 10000. 16 'norm ' 4.0582 1.0000 .10000E-03 10000. 17 'norm ' .10296E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.6113 1.0000 .10000E-03 10000. 19 'norm ' 1.7121 1.0000 .10000E-03 10000. 20 'norm ' 2.2746 1.0000 .10000E-03 10000. 21 'norm ' 2.8625 1.0000 .10000E-03 10000. 22 'Prefactor ' 76.653 1.0000 .10000E-03 10000. 23 'norm ' 2.6114 1.0000 .10000E-03 10000. 24 'Prefactor ' .10051E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2838 1.0000 .10000E-01 10.000 26 'Prefactor ' .78779 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7429.161 FROM MIGRAD STATUS=CONVERGED 682 CALLS 3215 TOTAL EDM= .19E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 14.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.0109 22.332 .17445E-04 .29779E-03 2 Prefactor 46.199 55.118 .16203E-06 -.73890E-04 3 Prefactor .10000E-03 2.9028 .64205E-06** at limit ** 4 Prefactor 8.4523 6.2417 -.16183E-06 -.91094E-04 5 Prefactor .10000E-03 45.216 .69739E-06** at limit ** 6 Prefactor .10000E-03 .90503 .16046E-06** at limit ** 7 norm .69617 .20098 -.25655E-08 -.36248E-02 8 norm .10000E-03 4.4416 .44184E-07** at limit ** 9 Prefactor .10001E-03 67.872 .26759E-05** at limit ** 10 Prefactor .10000E-03 1.9795 -.14869E-06** at limit ** 11 norm .10034E-03 261.58 .79490E-04** at limit ** 12 Prefactor 3.3917 2.0412 -.30876E-08 -.19758E-02 13 Prefactor 1.7134 1.7593 .61332E-07 -.12019E-02 14 Prefactor 8.0567 4.0578 -.52350E-06 -.15556E-02 15 Prefactor 5.5111 3.6781 -.43158E-07 -.11594E-02 16 norm 4.0580 1.8235 .14114E-07 -.34930E-03 17 norm .10000E-03 .40834 .44805E-07** at limit ** 18 Prefactor 3.6112 4.4194 -.61451E-07 -.25144E-03 19 norm 1.7121 .77825 .38226E-07 -.32432E-03 20 norm 2.2744 12.844 -.59449E-05 -.22814E-04 21 norm 2.8627 1.6136 .28312E-07 -.19094E-03 22 Prefactor 76.788 63.720 .33240E-05 -.22490E-03 23 norm 2.6071 5.4723 -.12703E-05 -.88353E-03 24 Prefactor .10000E-03 43.824 .16734E-06** at limit ** 25 Normalizat 1.2839 .20451 -.11365E-05 -.76024E-03 26 Prefactor .78768 .15628 .97095E-06 -.52265E-03 ERR DEF= .500 Final values: Prefactor = 1.01089 Prefactor = 46.1986 Prefactor = 0.0001 Prefactor = 8.45228 Prefactor = 0.000100001 Prefactor = 0.0001 norm = 0.696171 norm = 0.0001 Prefactor = 0.000100009 Prefactor = 0.0001 norm = 0.000100336 Prefactor = 3.39175 Prefactor = 1.71335 Prefactor = 8.05668 Prefactor = 5.51113 norm = 4.058 norm = 0.0001 Prefactor = 3.61124 norm = 1.71213 norm = 2.27441 norm = 2.86265 Prefactor = 76.7884 norm = 2.60709 Prefactor = 0.0001 Normalizat = 1.28391 Prefactor = 0.787683 ********** ** 18 **HESSE ********** FCN= 7429.161 FROM HESSE STATUS=OK 468 CALLS 3683 TOTAL EDM= .67E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.0109 66.462 .59333E-02 -1.5507 2 Prefactor 46.199 55.140 .59007E-04 -1.4348 3 Prefactor .10000E-03 3.0044 .28694E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 8.4523 6.2279 .68915E-03 -1.5126 5 Prefactor .10000E-03 45.658 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 .90978 .80074E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .69617 .20066 .18702E-04 -1.5541 8 norm .10000E-03 4.4424 .17741E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10001E-03 69.180 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 13.182 .22977E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10034E-03 296.60 .96238E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 3.3917 2.0325 .67270E-04 -1.5340 13 Prefactor 1.7134 1.7316 .83635E-04 -1.5446 14 Prefactor 8.0567 3.9482 .57005E-03 -1.5140 15 Prefactor 5.5111 3.6262 .12421E-03 -1.5238 16 norm 4.0580 1.8226 .75051E-04 -1.5305 17 norm .10000E-03 2.5877 .10260E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 3.6112 4.3979 .19175E-03 -1.5328 19 norm 1.7121 .77971 .49053E-04 -1.5446 20 norm 2.2744 12.861 .13614E-02 -1.5406 21 norm 2.8627 1.6105 .78940E-04 -1.5370 22 Prefactor 76.788 63.731 .22932E-03 -1.3953 23 norm 2.6071 5.4881 .25242E-03 -1.5385 24 Prefactor .10000E-03 43.859 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.2839 .24391 .27260E-03 -.84048 26 Prefactor .78768 .18669 .26839E-03 -1.0018 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.67695e-09 Minuit parameter uncertainties: 1 16.4116 2 55.2005 3 6.90019e-05 4 6.22834 5 0.000476408 6 9.23711e-06 7 0.200656 8 4.98934e-06 9 0.0015975 10 0.000114231 11 0.0200762 12 2.03252 13 1.7316 14 3.94832 15 3.62631 16 1.82267 17 1.65332e-06 18 4.39826 19 0.779713 20 10.8203 21 1.61051 22 63.788 23 5.48917 24 3.19103e-05 25 0.244125 26 0.186835 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7429.16075091 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.392e+00 2.033e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 7.877e-01 1.868e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.284e+00 2.441e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 12.04 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.34e-07 +/- 8.02e-08 Energy Flux (Fixed Index): 4.27e-05 +/- 2.56e-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) = 7429.16000404 delta logL = 0.000746871215597 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7429.15923486 delta logL = 0.00151605242627 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.3177 1.0000 .10000E-03 10000. 2 'Index ' 2.4437 1.0000 .0000 10.000 3 'Normalizat' 1.2812 1.0000 .10000E-01 10.000 4 'Prefactor ' .78907 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7429.159 FROM MIGRAD STATUS=CONVERGED 51 CALLS 200 TOTAL EDM= .42E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.3179 19.706 .55561E-02 .36534E-03 2 Index 2.4437 2.4011 .12425 .16490E-03 3 Normalizat 1.2812 .88059E-01 .61682E-01 .86326E-05 4 Prefactor .78908 .55183E-01 .43575E-01 .19374E-04 ERR DEF= .500 Final values: Prefactor = 3.31789 Index = 2.44371 Normalizat = 1.28117 Prefactor = 0.789079 ********** ** 18 **HESSE ********** FCN= 7429.159 FROM HESSE STATUS=OK 33 CALLS 233 TOTAL EDM= .44E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.3179 2.1222 .65959E-04 -1.5344 2 Index 2.4437 .43242 .43783E-02 -.53665 3 Normalizat 1.2812 .23839 .27282E-03 -.84130 4 Prefactor .78908 .18509 .26817E-03 -1.0013 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.41331e-09 Minuit parameter uncertainties: 1 2.12222 2 0.433156 3 0.23859 4 0.18524 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/830263': 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) = 7429.15923485 delta logL = 0.00151606516283 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.318e+00 2.122e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.444e+00 4.332e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 7.891e-01 1.852e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.281e+00 2.386e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 12.56 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.44 +/- 0.43 Photon Flux (Free Index): 1.37e-07 +/- 7.87e-08 Energy Flux (Free Index): 4.24e-05 +/- 1.99e-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 /scratch/kocevski/830263/cmap_HighResolution_278985601_279244801_4FGL_J1640.4+3945_daily_bin153.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/830263 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.34e-07', energy_flux2='4.24e-05', photon_flux_error='8.02e-08', dlogl='1.52e-03', energy_flux='4.27e-05', photon_flux2='1.37e-07', job_status='DONE', time_completed='2021-09-15 06:30:09.539124', photon_index_error2='0.43', photon_index2='2.44', ts='12.04', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.99e-05', EG='1.28', time_epoch_completed='1631712609.54', return_code='0', job_id='830263', GAL2='0.79', EG2='1.28', return_code2='0', energy_flux_error='2.56e-05', photon_flux_error2='7.87e-08', ts2='12.56', photon_index='2.42' WHERE bin_id='153' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:30:09 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 830263: <4FGL_J1640.4+3945_daily_bin153> in cluster Done Job <4FGL_J1640.4+3945_daily_bin153> was submitted from host by user in cluster at Wed Sep 15 06:15:15 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:15:50 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:15:50 2021 Terminated at Wed Sep 15 06:30:10 2021 Results reported at Wed Sep 15 06:30:10 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin153 250.119 39.7626 278985601 279244801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 811.00 sec. Max Memory : 1094 MB Average Memory : 347.38 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 859 sec. Turnaround time : 895 sec. The output (if any) is above this job summary.