/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 171 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 = 6643 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin141 RA = 250.119, Dec = 39.7626 tmin = 275875201, tmax = 276134401 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='830246', job_status='RUN', time_executed='2021-09-15 06:18:26.964798', time_epoch_executed='1631711906.96' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='141' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/830246 Creating custom pfile directory: /scratch/kocevski/830246/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=275875201.0 && nMetStart<276134401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=275875201.0 && nMetStart<276134401.0' /Data/Flight/Level1/LPA Retrieving 42 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/830246/ft1_4FGL_J1640.4+3945_daily_bin141.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=275875201.0 && nMetStart<276134401.0' /Data/Flight/Level1/LPA Retrieving 42 files... Done. Merging files... Merged file saved to: /scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/830246/ft1_4FGL_J1640.4+3945_daily_bin141.fits outfile=/scratch/kocevski/830246/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin141.fits ra=250.119 dec=39.7626 rad=12.0 tmin=275875201.0 tmax=276134401.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.20 user 2.96 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.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/830246/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin141.fits evtable="EVENTS" outfile="/scratch/kocevski/830246/ft1_filtered_4FGL_J1640.4+3945_daily_bin141.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.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/830246/ft1_filtered_4FGL_J1640.4+3945_daily_bin141.fits" evtable="EVENTS" scfile=/scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits sctable="SC_DATA" outfile=/scratch/kocevski/830246/ltcube_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.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/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits .....................! real 11.36 user 11.00 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/830246/ft1_filtered_4FGL_J1640.4+3945_daily_bin141.fits evtable="EVENTS" scfile=/scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits sctable="SC_DATA" expcube=/scratch/kocevski/830246/ltcube_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.fits outfile=/scratch/kocevski/830246/expmap_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.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/830246/ltcube_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.fits .....................! real 195.88 user 190.25 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/830246/ft1_filtered_4FGL_J1640.4+3945_daily_bin141.fits scfile=/scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits outfile=/scratch/kocevski/830246/cmap_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.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.54 user 0.36 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/830246/ft1_filtered_4FGL_J1640.4+3945_daily_bin141.fits scfile=/scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits outfile=/scratch/kocevski/830246/cmap_HighResolution_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.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.54 user 0.36 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/830246/ft1_filtered_4FGL_J1640.4+3945_daily_bin141.fits evtable="EVENTS" scfile=/scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830246/Model_4FGL_J1640.4+3945_daily_bin141.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/830246/ft1_filtered_4FGL_J1640.4+3945_daily_bin141.fits.....................! real 48.29 user 46.88 sys 1.15 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/830246/ft1_filtered_4FGL_J1640.4+3945_daily_bin141.fits', '/scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits', expMap='/scratch/kocevski/830246/expmap_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.fits', expCube='/scratch/kocevski/830246/ltcube_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/830246/Model_4FGL_J1640.4+3945_daily_bin141.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/830246/ft1_filtered_4FGL_J1640.4+3945_daily_bin141.fits Spacecraft file(s): /scratch/kocevski/830246/ft2_4FGL_J1640.4+3945_daily_bin141.fits Exposure map: /scratch/kocevski/830246/expmap_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.fits Exposure cube: /scratch/kocevski/830246/ltcube_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/830246/Model_4FGL_J1640.4+3945_daily_bin141.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) = 6005.33288315 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6005.29888754 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 6.0355 1.0000 .10000E-03 10000. 3 'Prefactor ' 5.0956 1.0000 .10000E-03 10000. 4 'Prefactor ' .13485E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 29.266 1.0000 .10000E-03 10000. 6 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 7 'norm ' .90457 1.0000 .10000E-03 10000. 8 'norm ' .10006E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10039E-03 1.0000 .10000E-03 10000. 11 'norm ' 63.910 1.0000 .10000E-03 10000. 12 'Prefactor ' .10034E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 13.276 1.0000 .10000E-03 10000. 14 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.4201 1.0000 .10000E-03 10000. 16 'norm ' 2.2486 1.0000 .10000E-03 10000. 17 'norm ' .89356 1.0000 .10000E-03 10000. 18 'Prefactor ' .76033 1.0000 .10000E-03 10000. 19 'norm ' .49212 1.0000 .10000E-03 10000. 20 'norm ' 7.3621 1.0000 .10000E-03 10000. 21 'norm ' .91412 1.0000 .10000E-03 10000. 22 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 23 'norm ' 2.6510 1.0000 .10000E-03 10000. 24 'Prefactor ' 24.882 1.0000 .10000E-03 10000. 25 'Normalizat' .69345 1.0000 .10000E-01 10.000 26 'Prefactor ' .96422 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6005.299 FROM MIGRAD STATUS=CONVERGED 103 CALLS 2608 TOTAL EDM= .79E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10006E-03 4.4175 .53089E-06** at limit ** 2 Prefactor 6.0252 4.5171 .32189E-06 .36558E-04 3 Prefactor 5.0964 3.1592 .53971E-06 .47422E-02 4 Prefactor .10000E-03 5.6517 .21648E-05** at limit ** 5 Prefactor 29.264 1.1566 .28738E-07 -.10133E-02 6 Prefactor .10000E-03 1.0658 -.12878E-06** at limit ** 7 norm .90456 .21081 .78086E-08 .61467E-04 8 norm .10000E-03 4.9848 .21226E-05** at limit ** 9 Prefactor .10006E-03 4.4150 .20680E-05** at limit ** 10 Prefactor .10000E-03 1.9416 .14652E-07** at limit ** 11 norm 63.919 4.3774 -.99538E-07 .68343E-03 12 Prefactor .10000E-03 .65625 .90850E-06** at limit ** 13 Prefactor 13.278 2.2437 -.34128E-07 -.29743E-04 14 Prefactor .10000E-03 1.1907 -.48378E-06** at limit ** 15 Prefactor 1.4143 3.7805 .44290E-06 .28106E-03 16 norm 2.2486 1.4916 -.95153E-07 -.56921E-04 17 norm .89383 .80282 .11882E-07 -.65476E-05 18 Prefactor .76320 2.6411 -.13542E-05 .17643E-03 19 norm .49239 .55891 .55778E-06 .59760E-03 20 norm 7.3626 1.9536 -.36245E-06 .45748E-02 21 norm .91380 1.5365 .75798E-06 .21945E-03 22 Prefactor .10000E-03 24.709 .14467E-05** at limit ** 23 norm 2.6504 3.4030 .24461E-07 .26197E-03 24 Prefactor 24.758 53.375 .19465E-05 .28496E-03 25 Normalizat .69309 .22159 -.24542E-05 .12815E-04 26 Prefactor .96456 .18096 .15141E-05 .43263E-04 ERR DEF= .500 Final values: Prefactor = 0.000100061 Prefactor = 6.0252 Prefactor = 5.09637 Prefactor = 0.0001 Prefactor = 29.2637 Prefactor = 0.0001 norm = 0.904556 norm = 0.0001 Prefactor = 0.00010006 Prefactor = 0.0001 norm = 63.9195 Prefactor = 0.0001 Prefactor = 13.2782 Prefactor = 0.0001 Prefactor = 1.41433 norm = 2.24863 norm = 0.893835 Prefactor = 0.763204 norm = 0.492386 norm = 7.36256 norm = 0.913798 Prefactor = 0.0001 norm = 2.65042 Prefactor = 24.7579 Normalizat = 0.693087 Prefactor = 0.964556 ********** ** 18 **HESSE ********** FCN= 6005.299 FROM HESSE STATUS=OK 518 CALLS 3126 TOTAL EDM= .50E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10006E-03 7.8345 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 6.0252 115.39 .40859E-02 -1.5217 3 Prefactor 5.0964 4.0233 .44528E-02 -1.5256 4 Prefactor .10000E-03 5.5423 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 29.264 20.607 .18515E-02 -1.4626 6 Prefactor .10000E-03 1.0597 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .90456 .21053 .35980E-02 -1.5518 8 norm .10000E-03 4.9899 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10006E-03 7.7889 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 1.8996 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 63.919 48.891 .12549E-02 -1.4107 12 Prefactor .10000E-03 .64983 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 13.278 2.2815 .27483E-02 -1.4979 14 Prefactor .10000E-03 1.1766 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 1.4143 3.9089 .90760E-02 -1.5470 16 norm 2.2486 1.4912 .68507E-02 -1.5408 17 norm .89383 .84191 .12784E-01 -1.5519 18 Prefactor .76320 8.6443 .12291E-01 -1.5533 19 norm .49239 .59727 .11239E-01 -1.5568 20 norm 7.3626 6.8712 .36955E-02 -1.5165 21 norm .91380 1.6012 .12859E-01 -1.5517 22 Prefactor .10000E-03 24.673 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 2.6504 3.4356 .62594E-02 -1.5382 24 Prefactor 24.758 54.167 .20076E-02 -1.4712 25 Normalizat .69309 .19499 .69115E-01 -1.0417 26 Prefactor .96456 .15352 .45818E-01 -.93920 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.02625e-08 Minuit parameter uncertainties: 1 0.00138595 2 52.8531 3 4.02348 4 7.72214e-05 5 20.6123 6 8.18646e-07 7 0.210529 8 1.12022e-05 9 0.00137168 10 2.30773e-07 11 48.922 12 4.80869e-06 13 2.28147 14 3.45307e-06 15 3.90958 16 1.49118 17 0.84192 18 5.13766 19 0.597276 20 6.87191 21 1.60127 22 2.0069e-05 23 3.43585 24 54.2744 25 0.195184 26 0.153587 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6005.29887791 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 4.809e-06 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: 9.646e-01 1.536e-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: 6.931e-01 1.952e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.02e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/830246/likelihoodResults_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.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): 102 logL (Free Index) = 6005.30600568 delta logL = -0.00712777224453 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6005.29887497 delta logL = 2.93805624096e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3906 1.0000 .0000 10.000 3 'Normalizat' .69309 1.0000 .10000E-01 10.000 4 'Prefactor ' .96456 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= 6005.299 FROM MIGRAD STATUS=CONVERGED 71 CALLS 226 TOTAL EDM= .28E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 2.2817 .90712E-02** at limit ** 2 Index 1.6990 8.3788 .50000 .28340E-06 3 Normalizat .69309 .67637E-02 .69115E-01 .65026E-04 4 Prefactor .96456 .56763E-02 .45823E-01 .47535E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.69898 Normalizat = 0.693089 Prefactor = 0.964555 ********** ** 18 **HESSE ********** FCN= 6005.299 FROM HESSE STATUS=NOT POSDEF 33 CALLS 259 TOTAL EDM= .46E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 38.251 .77140E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.6990 5.1080 .50000 -.72109 3 Normalizat .69309 .28564E-01 .30587E-03 -1.0417 4 Prefactor .96456 .24009E-01 .21924E-03 -.93920 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.59437e-10 Minuit parameter uncertainties: 1 2.90455e-06 2 265.717 3 0.0285644 4 0.0240089 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/830246': 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): 102 logL (Free Index) = 6005.29884935 delta logL = 2.85593378067e-05 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 2.905e-06 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.699e+00 2.657e+02 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: 9.646e-01 2.401e-02 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: 6.931e-01 2.856e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 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/830246/cmap_HighResolution_275875201_276134401_4FGL_J1640.4+3945_daily_bin141.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/830246 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-15 06:31:14.337411', job_id='830246', GAL2='0.96', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1631712674.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.86e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='141' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:31:14 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 830246: <4FGL_J1640.4+3945_daily_bin141> in cluster Done Job <4FGL_J1640.4+3945_daily_bin141> was submitted from host by user in cluster at Wed Sep 15 06:15:13 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:15:28 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:15:28 2021 Terminated at Wed Sep 15 06:31:15 2021 Results reported at Wed Sep 15 06:31:15 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin141 250.119 39.7626 275875201 276134401 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 : 767.00 sec. Max Memory : 646 MB Average Memory : 269.03 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 946 sec. Turnaround time : 962 sec. The output (if any) is above this job summary.