/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 12 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 = 7547 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1054 RA = 250.119, Dec = 39.7626 tmin = 512524801, tmax = 512784001 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='837091', job_status='RUN', time_executed='2021-09-15 06:45:11.733898', time_epoch_executed='1631713511.73' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1054' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/837091 Creating custom pfile directory: /scratch/kocevski/837091/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=512524801.0 && nMetStart<512784001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=512524801.0 && nMetStart<512784001.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/837091/ft1_4FGL_J1640.4+3945_daily_bin1054.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=512524801.0 && nMetStart<512784001.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/837091/ft1_4FGL_J1640.4+3945_daily_bin1054.fits outfile=/scratch/kocevski/837091/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1054.fits ra=250.119 dec=39.7626 rad=12.0 tmin=512524801.0 tmax=512784001.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.70 user 3.40 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.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/837091/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1054.fits evtable="EVENTS" outfile="/scratch/kocevski/837091/ft1_filtered_4FGL_J1640.4+3945_daily_bin1054.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.53 user 0.32 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/837091/ft1_filtered_4FGL_J1640.4+3945_daily_bin1054.fits" evtable="EVENTS" scfile=/scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits sctable="SC_DATA" outfile=/scratch/kocevski/837091/ltcube_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.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/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits .....................! real 14.28 user 13.88 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/837091/ft1_filtered_4FGL_J1640.4+3945_daily_bin1054.fits evtable="EVENTS" scfile=/scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits sctable="SC_DATA" expcube=/scratch/kocevski/837091/ltcube_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.fits outfile=/scratch/kocevski/837091/expmap_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.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/837091/ltcube_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.fits .....................! real 194.29 user 188.14 sys 5.22 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/837091/ft1_filtered_4FGL_J1640.4+3945_daily_bin1054.fits scfile=/scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits outfile=/scratch/kocevski/837091/cmap_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.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.56 user 0.37 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/837091/ft1_filtered_4FGL_J1640.4+3945_daily_bin1054.fits scfile=/scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits outfile=/scratch/kocevski/837091/cmap_HighResolution_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.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.37 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/837091/ft1_filtered_4FGL_J1640.4+3945_daily_bin1054.fits evtable="EVENTS" scfile=/scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837091/Model_4FGL_J1640.4+3945_daily_bin1054.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/837091/ft1_filtered_4FGL_J1640.4+3945_daily_bin1054.fits.....................! real 58.33 user 56.79 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/837091/ft1_filtered_4FGL_J1640.4+3945_daily_bin1054.fits', '/scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits', expMap='/scratch/kocevski/837091/expmap_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.fits', expCube='/scratch/kocevski/837091/ltcube_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/837091/Model_4FGL_J1640.4+3945_daily_bin1054.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/837091/ft1_filtered_4FGL_J1640.4+3945_daily_bin1054.fits Spacecraft file(s): /scratch/kocevski/837091/ft2_4FGL_J1640.4+3945_daily_bin1054.fits Exposure map: /scratch/kocevski/837091/expmap_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.fits Exposure cube: /scratch/kocevski/837091/ltcube_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/837091/Model_4FGL_J1640.4+3945_daily_bin1054.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) = 7580.07138555 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7580.03681769 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.122 1.0000 .10000E-03 10000. 2 'Prefactor ' 69.865 1.0000 .10000E-03 10000. 3 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10031E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 39.412 1.0000 .10000E-03 10000. 6 'Prefactor ' .95435 1.0000 .10000E-03 10000. 7 'norm ' .47264 1.0000 .10000E-03 10000. 8 'norm ' .10003E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10050E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10179E-02 1.0000 .10000E-03 10000. 11 'norm ' 74.763 1.0000 .10000E-03 10000. 12 'Prefactor ' .52266 1.0000 .10000E-03 10000. 13 'Prefactor ' .10108E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .83031 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.2686 1.0000 .10000E-03 10000. 16 'norm ' 1.2631 1.0000 .10000E-03 10000. 17 'norm ' 1.8259 1.0000 .10000E-03 10000. 18 'Prefactor ' .55283 1.0000 .10000E-03 10000. 19 'norm ' .70660 1.0000 .10000E-03 10000. 20 'norm ' .10000E-03 1.0000 .10000E-03 10000. 21 'norm ' .45940 1.0000 .10000E-03 10000. 22 'Prefactor ' .10080E-03 1.0000 .10000E-03 10000. 23 'norm ' 11.842 1.0000 .10000E-03 10000. 24 'Prefactor ' .10237E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .78774 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.1079 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= 7580.037 FROM MIGRAD STATUS=CONVERGED 641 CALLS 3244 TOTAL EDM= .79E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.114 18.893 .34375E-06 .26512E-05 2 Prefactor 69.913 72.579 .17740E-05 .69627E-04 3 Prefactor .10000E-03 1.6876 -.10438E-07** at limit ** 4 Prefactor .10000E-03 9.3314 .18586E-06** at limit ** 5 Prefactor 39.408 25.288 -.12870E-06 .79602E-04 6 Prefactor .95327 2.7775 .92273E-06 .25504E-03 7 norm .47274 .17027 -.72911E-07 -.31612E-02 8 norm .10000E-03 5.3433 .31370E-06** at limit ** 9 Prefactor .10000E-03 23.315 .69452E-07** at limit ** 10 Prefactor .10039E-03 2.9097 -.11151E-05** at limit ** 11 norm 74.853 54.656 -.57526E-07 .76104E-04 12 Prefactor .52357 1.3225 -.29435E-07 .13037E-03 13 Prefactor .10000E-03 .67220 .15677E-06** at limit ** 14 Prefactor .83426 3.5109 .14325E-05 .46754E-03 15 Prefactor 2.2695 3.7466 -.15983E-06 .24063E-04 16 norm 1.2633 .98675 -.79395E-07 -.12663E-03 17 norm 1.8265 1.0378 -.65578E-07 .48144E-03 18 Prefactor .51836 3.9055 -.29817E-06 .30817E-03 19 norm .70708 .88727 .34717E-07 .16307E-03 20 norm .10000E-03 2.5850 -.53981E-08** at limit ** 21 norm .45996 1.3649 .44783E-06 -.53092E-04 22 Prefactor .10000E-03 10.524 .57460E-07** at limit ** 23 norm 11.843 5.7137 .10419E-06 -.90793E-05 24 Prefactor .10000E-03 82.171 .31368E-06** at limit ** 25 Normalizat .78804 .19636 -.19784E-05 -.19781E-04 26 Prefactor 1.1078 .14649 .14147E-06 -.13032E-03 ERR DEF= .500 Final values: Prefactor = 10.1143 Prefactor = 69.9128 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 39.4082 Prefactor = 0.953267 norm = 0.472741 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100392 norm = 74.8531 Prefactor = 0.523574 Prefactor = 0.0001 Prefactor = 0.834259 Prefactor = 2.26947 norm = 1.26334 norm = 1.82653 Prefactor = 0.518357 norm = 0.707076 norm = 0.0001 norm = 0.459963 Prefactor = 0.0001 norm = 11.8428 Prefactor = 0.0001 Normalizat = 0.788045 Prefactor = 1.10779 ********** ** 18 **HESSE ********** FCN= 7580.037 FROM HESSE STATUS=OK 472 CALLS 3716 TOTAL EDM= .36E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.114 18.892 .12595E-03 -1.5072 2 Prefactor 69.913 72.708 .24012E-03 -1.4034 3 Prefactor .10000E-03 1.7200 .11037E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 9.4614 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 39.408 25.024 .63847E-04 -1.4452 6 Prefactor .95327 2.7266 .22974E-03 -1.5513 7 norm .47274 .16784 .18500E-04 -1.5570 8 norm .10000E-03 5.3430 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 23.624 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10039E-03 28.024 .24266E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 74.853 55.061 .23218E-03 -1.3975 12 Prefactor .52357 1.3974 .12966E-03 -1.5563 13 Prefactor .10000E-03 1.2585 .13121E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .83426 3.3797 .28269E-02 -1.5525 15 Prefactor 2.2695 3.6519 .18720E-03 -1.5407 16 norm 1.2633 .99263 .73906E-04 -1.5483 17 norm 1.8265 1.0161 .59056E-04 -1.5438 18 Prefactor .51836 18.879 .28979E-02 -1.5564 19 norm .70708 .83595 .80916E-04 -1.5540 20 norm .10000E-03 2.5903 .13668E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .45996 1.6167 .15709E-02 -1.5572 22 Prefactor .10000E-03 10.527 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 11.843 5.7136 .11641E-03 -1.5020 24 Prefactor .10000E-03 82.447 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .78804 .22820 .30251E-03 -1.0051 26 Prefactor 1.1078 .17283 .21397E-03 -.89218 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.58835e-08 Minuit parameter uncertainties: 1 18.9035 2 72.8006 3 7.25341e-06 4 4.28317e-05 5 25.0308 6 2.72692 7 0.167837 8 1.01387e-05 9 0.000146719 10 0.00663264 11 55.0989 12 1.39747 13 2.94452e-05 14 3.35843 15 3.65229 16 0.992638 17 1.01608 18 6.25803 19 0.835967 20 2.03372e-06 21 1.6169 22 7.3863e-06 23 5.71385 24 0.000113737 25 0.228477 26 0.172914 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7580.03677928 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.236e-01 1.397e+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: 1.108e+00 1.729e-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: 7.880e-01 2.285e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.21 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.15e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/837091/likelihoodResults_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.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) = 7579.18035618 delta logL = 0.85642309548 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7579.07082499 delta logL = 0.965954290336 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .66172E-01 1.0000 .10000E-03 10000. 2 'Index ' 4.0786 1.0000 .0000 10.000 3 'Normalizat' .70478 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1522 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= 7579.071 FROM MIGRAD STATUS=CONVERGED 56 CALLS 243 TOTAL EDM= .98E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .65705E-01 .62598 .34887E-02 .44694E-02 2 Index 4.0818 2.1252 .90003E-01 .22763E-03 3 Normalizat .70504 .40153E-01 .71781E-01 .11043E-04 4 Prefactor 1.1520 .33291E-01 .35872E-01 -.40847E-04 ERR DEF= .500 Final values: Prefactor = 0.0657052 Index = 4.08176 Normalizat = 0.705045 Prefactor = 1.15204 ********** ** 18 **HESSE ********** FCN= 7579.071 FROM HESSE STATUS=NOT POSDEF 31 CALLS 274 TOTAL EDM= .72E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .65705E-01 1.6574 .15700E-04 -1.5657 2 Index 4.0818 3.8037 .44359E-02 -.18470 3 Normalizat .70504 .18172 .31770E-03 -1.0369 4 Prefactor 1.1520 .14757 .21018E-03 -.87820 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 7.17382e-07 Minuit parameter uncertainties: 1 0.659525 2 4.34965 3 0.181873 4 0.147627 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/837091': 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) = 7579.07082136 delta logL = 0.965957915629 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 6.571e-02 6.595e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 4.082e+00 4.350e+00 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: 1.152e+00 1.476e-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: 7.050e-01 1.819e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.35 Ra Dec: 250.119 39.763 Photon Index (Free Index): 4.08 +/- 4.35 Photon Flux (Free Index): 9.21e-08 +/- 6.73e-08 Energy Flux (Free Index): 1.36e-05 +/- 1.40e-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/837091/cmap_HighResolution_512524801_512784001_4FGL_J1640.4+3945_daily_bin1054.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/837091 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.15e-03', comment='SUCCESS', energy_flux2='1.36e-05', dlogl='9.66e-01', photon_flux2='9.21e-08', job_status='DONE', time_completed='2021-09-15 07:00:55.630725', photon_index_error2='4.35', photon_index2='4.08', ts='0.21', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.40e-05', EG='0.79', time_epoch_completed='1631714455.63', return_code='0', job_id='837091', GAL2='1.15', EG2='0.71', return_code2='102', photon_flux_error2='6.73e-08', ts2='2.35', photon_index='2.42' WHERE bin_id='1054' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 07:00:55 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 837091: <4FGL_J1640.4+3945_daily_bin1054> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1054> was submitted from host by user in cluster at Wed Sep 15 06:40:28 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:44:51 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:44:51 2021 Terminated at Wed Sep 15 07:00:56 2021 Results reported at Wed Sep 15 07:00:56 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1054 250.119 39.7626 512524801 512784001 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 : 935.00 sec. Max Memory : 1258 MB Average Memory : 352.67 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 965 sec. Turnaround time : 1228 sec. The output (if any) is above this job summary.