/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 219 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 = 7520 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin689 RA = 250.119, Dec = 39.7626 tmin = 417916801, tmax = 418176001 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='834200', job_status='RUN', time_executed='2021-09-15 06:37:17.032956', time_epoch_executed='1631713037.03' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='689' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/834200 Creating custom pfile directory: /scratch/kocevski/834200/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=417916801.0 && nMetStart<418176001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=417916801.0 && nMetStart<418176001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/834200/ft1_4FGL_J1640.4+3945_daily_bin689.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=417916801.0 && nMetStart<418176001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/834200/ft1_4FGL_J1640.4+3945_daily_bin689.fits outfile=/scratch/kocevski/834200/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin689.fits ra=250.119 dec=39.7626 rad=12.0 tmin=417916801.0 tmax=418176001.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 7.33 user 7.03 sys 0.27 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.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/834200/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin689.fits evtable="EVENTS" outfile="/scratch/kocevski/834200/ft1_filtered_4FGL_J1640.4+3945_daily_bin689.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.49 user 0.33 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/834200/ft1_filtered_4FGL_J1640.4+3945_daily_bin689.fits" evtable="EVENTS" scfile=/scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits sctable="SC_DATA" outfile=/scratch/kocevski/834200/ltcube_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.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/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits .....................! real 14.02 user 13.66 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/834200/ft1_filtered_4FGL_J1640.4+3945_daily_bin689.fits evtable="EVENTS" scfile=/scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits sctable="SC_DATA" expcube=/scratch/kocevski/834200/ltcube_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.fits outfile=/scratch/kocevski/834200/expmap_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.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/834200/ltcube_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.fits .....................! real 192.61 user 187.35 sys 4.85 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/834200/ft1_filtered_4FGL_J1640.4+3945_daily_bin689.fits scfile=/scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits outfile=/scratch/kocevski/834200/cmap_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.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/834200/ft1_filtered_4FGL_J1640.4+3945_daily_bin689.fits scfile=/scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits outfile=/scratch/kocevski/834200/cmap_HighResolution_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.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.55 user 0.38 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/834200/ft1_filtered_4FGL_J1640.4+3945_daily_bin689.fits evtable="EVENTS" scfile=/scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834200/Model_4FGL_J1640.4+3945_daily_bin689.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/834200/ft1_filtered_4FGL_J1640.4+3945_daily_bin689.fits.....................! real 60.55 user 59.23 sys 1.12 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/834200/ft1_filtered_4FGL_J1640.4+3945_daily_bin689.fits', '/scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits', expMap='/scratch/kocevski/834200/expmap_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.fits', expCube='/scratch/kocevski/834200/ltcube_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/834200/Model_4FGL_J1640.4+3945_daily_bin689.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/834200/ft1_filtered_4FGL_J1640.4+3945_daily_bin689.fits Spacecraft file(s): /scratch/kocevski/834200/ft2_4FGL_J1640.4+3945_daily_bin689.fits Exposure map: /scratch/kocevski/834200/expmap_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.fits Exposure cube: /scratch/kocevski/834200/ltcube_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/834200/Model_4FGL_J1640.4+3945_daily_bin689.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) = 7401.85764239 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7401.84945432 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 15.896 1.0000 .10000E-03 10000. 2 'Prefactor ' 114.79 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.8088 1.0000 .10000E-03 10000. 4 'Prefactor ' .10043E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10081E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 4.2052 1.0000 .10000E-03 10000. 7 'norm ' .69324 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 5.4209 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .78898 1.0000 .10000E-03 10000. 14 'Prefactor ' .49550 1.0000 .10000E-03 10000. 15 'Prefactor ' .11737E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.8603 1.0000 .10000E-03 10000. 17 'norm ' .19579E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 5.3382 1.0000 .10000E-03 10000. 19 'norm ' .31331 1.0000 .10000E-03 10000. 20 'norm ' 24.560 1.0000 .10000E-03 10000. 21 'norm ' 8.9642 1.0000 .10000E-03 10000. 22 'Prefactor ' 75.040 1.0000 .10000E-03 10000. 23 'norm ' .10137E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 70.740 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2821 1.0000 .10000E-01 10.000 26 'Prefactor ' .73206 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= 7401.849 FROM MIGRAD STATUS=CONVERGED 620 CALLS 3130 TOTAL EDM= .51E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 15.897 19.881 .14229E-06 .13903E-04 2 Prefactor 114.78 76.268 -.23091E-05 -.12780E-03 3 Prefactor 3.8092 3.5599 -.13658E-06 -.31357E-03 4 Prefactor .10000E-03 6.3746 -.73494E-06** at limit ** 5 Prefactor .10000E-03 27.814 .28333E-07** at limit ** 6 Prefactor 4.2048 3.1738 .14498E-06 .16495E-03 7 norm .69321 .19555 -.39620E-07 .86527E-04 8 norm .10000E-03 4.8988 -.46771E-06** at limit ** 9 Prefactor 5.4210 15.351 .33866E-05 -.34488E-03 10 Prefactor .10000E-03 1.5633 -.78070E-08** at limit ** 11 norm .10000E-03 10.521 .14184E-06** at limit ** 12 Prefactor .10000E-03 .65430 .55425E-09** at limit ** 13 Prefactor .78875 .92324 -.19911E-07 -.14060E-03 14 Prefactor .49619 3.4538 -.16249E-07 -.30458E-03 15 Prefactor .10000E-03 1.0073 -.82556E-08** at limit ** 16 norm 2.8602 1.5886 .27512E-08 -.35834E-04 17 norm .10002E-03 .57201 .25447E-06** at limit ** 18 Prefactor 5.3380 7.8489 -.16863E-06 -.20127E-03 19 norm .31419 .70857 .20075E-06 -.20424E-03 20 norm 24.553 17.532 -.18606E-05 -.43386E-03 21 norm 8.9641 3.8034 .59775E-07 -.89539E-04 22 Prefactor 75.042 70.201 .74126E-06 .41106E-05 23 norm .10000E-03 3.5543 .93892E-08** at limit ** 24 Prefactor 70.746 117.53 .24893E-05 .46655E-05 25 Normalizat 1.2821 .19483 .30853E-07 -.81113E-04 26 Prefactor .73205 .14940 -.79725E-07 -.65097E-04 ERR DEF= .500 Final values: Prefactor = 15.8967 Prefactor = 114.779 Prefactor = 3.80921 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.20475 norm = 0.69321 norm = 0.0001 Prefactor = 5.42103 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.78875 Prefactor = 0.496185 Prefactor = 0.0001 norm = 2.86024 norm = 0.000100016 Prefactor = 5.33799 norm = 0.314191 norm = 24.5529 norm = 8.9641 Prefactor = 75.042 norm = 0.0001 Prefactor = 70.7456 Normalizat = 1.28208 Prefactor = 0.732048 ********** ** 18 **HESSE ********** FCN= 7401.849 FROM HESSE STATUS=OK 468 CALLS 3598 TOTAL EDM= .55E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 15.897 19.886 .10046E-03 -1.4910 2 Prefactor 114.78 77.420 .18776E-03 -1.3561 3 Prefactor 3.8092 3.5789 .14767E-03 -1.5318 4 Prefactor .10000E-03 6.5011 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 27.983 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.2048 3.1793 .12707E-03 -1.5298 7 norm .69321 .19644 .17387E-04 -1.5541 8 norm .10000E-03 4.9194 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 5.4210 17.782 .86295E-03 -1.5242 10 Prefactor .10000E-03 1.5723 .10500E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 10.524 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 1.0925 .12432E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .78875 .85360 .78962E-04 -1.5530 14 Prefactor .49619 7.4958 .30156E-02 -1.5567 15 Prefactor .10000E-03 2.3372 .16776E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.8602 1.5833 .77795E-04 -1.5370 17 norm .10002E-03 5.6972 .11867E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 5.3380 7.7367 .17395E-03 -1.5246 19 norm .31419 .66843 .10348E-02 -1.5596 20 norm 24.553 18.445 .80829E-04 -1.4717 21 norm 8.9641 3.7914 .10375E-03 -1.5109 22 Prefactor 75.042 70.236 .46351E-04 -1.3973 23 norm .10000E-03 3.5576 .15830E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 70.746 117.93 .47729E-04 -1.4024 25 Normalizat 1.2821 .23291 .26214E-03 -.84103 26 Prefactor .73205 .17727 .26570E-03 -1.0228 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.50809e-08 Minuit parameter uncertainties: 1 19.8947 2 77.4878 3 3.57912 4 4.70898e-05 5 2.0386e-05 6 3.17939 7 0.196445 8 3.26649e-05 9 17.7994 10 1.05277e-07 11 1.3329e-05 12 5.41246e-07 13 0.853617 14 3.85728 15 4.42953e-07 16 1.58332 17 0.000603787 18 7.7381 19 0.668443 20 18.4496 21 3.79151 22 70.3135 23 8.42178e-06 24 118.32 25 0.233096 26 0.177403 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7401.84944106 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 5.412e-07 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.320e-01 1.774e-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.282e+00 2.331e-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: 8.76e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.78e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/834200/likelihoodResults_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.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) = 7401.85383259 delta logL = -0.00439153019943 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7401.84944221 delta logL = -1.15243074106e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11005E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3722 1.0000 .0000 10.000 3 'Normalizat' 1.2824 1.0000 .10000E-01 10.000 4 'Prefactor ' .73191 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= 7401.849 FROM MIGRAD STATUS=CONVERGED 77 CALLS 240 TOTAL EDM= .31E-12 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .19716 .27683E-01** at limit ** 2 Index 1.8619 8.7481 .50000 -.12772E-06 3 Normalizat 1.2821 .22155E-02 .59273E-01 .51752E-04 4 Prefactor .73205 .17564E-02 .42824E-01 .43450E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.86193 Normalizat = 1.28209 Prefactor = 0.732047 ********** ** 18 **HESSE ********** FCN= 7401.849 FROM HESSE STATUS=NOT POSDEF 35 CALLS 275 TOTAL EDM= .14E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 28.020 .15641E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.8619 5.8057 .50000 -.67848 3 Normalizat 1.2821 .15752E-01 .26214E-03 -.84103 4 Prefactor .73205 .12491E-01 .26570E-03 -1.0228 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.44067e-11 Minuit parameter uncertainties: 1 1.49607e-06 2 124.527 3 0.015752 4 0.0124906 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/834200': 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) = 7401.84941525 delta logL = 2.58073268924e-05 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 1.496e-06 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.862e+00 1.245e+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: 7.320e-01 1.249e-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: 1.282e+00 1.575e-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 -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/834200/cmap_HighResolution_417916801_418176001_4FGL_J1640.4+3945_daily_bin689.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/834200 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-03', job_status='DONE', photon_flux_upper_limit='8.76e-08', time_completed='2021-09-15 06:52:23.485147', job_id='834200', GAL2='0.73', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1631713943.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='2.58e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='689' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:52:23 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 834200: <4FGL_J1640.4+3945_daily_bin689> in cluster Done Job <4FGL_J1640.4+3945_daily_bin689> was submitted from host by user in cluster at Wed Sep 15 06:30:29 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:33:30 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:33:30 2021 Terminated at Wed Sep 15 06:52:23 2021 Results reported at Wed Sep 15 06:52:23 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin689 250.119 39.7626 417916801 418176001 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 : 904.42 sec. Max Memory : 1116 MB Average Memory : 294.37 MB Total Requested Memory : - Delta Memory : - Max Swap : 3407 MB Max Processes : 6 Max Threads : 21 Run time : 1133 sec. Turnaround time : 1314 sec. The output (if any) is above this job summary.