/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 139 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 = 7427 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin405 RA = 250.119, Dec = 39.7626 tmin = 344304001, tmax = 344563201 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='832923', job_status='RUN', time_executed='2021-09-15 06:28:57.853350', time_epoch_executed='1631712537.85' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='405' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/832923 Creating custom pfile directory: /scratch/kocevski/832923/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=344304001.0 && nMetStart<344563201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=344304001.0 && nMetStart<344563201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/832923/ft1_4FGL_J1640.4+3945_daily_bin405.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=344304001.0 && nMetStart<344563201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/832923/ft1_4FGL_J1640.4+3945_daily_bin405.fits outfile=/scratch/kocevski/832923/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin405.fits ra=250.119 dec=39.7626 rad=12.0 tmin=344304001.0 tmax=344563201.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.44 user 3.21 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.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/832923/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin405.fits evtable="EVENTS" outfile="/scratch/kocevski/832923/ft1_filtered_4FGL_J1640.4+3945_daily_bin405.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.33 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/832923/ft1_filtered_4FGL_J1640.4+3945_daily_bin405.fits" evtable="EVENTS" scfile=/scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits sctable="SC_DATA" outfile=/scratch/kocevski/832923/ltcube_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.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/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits .....................! real 13.96 user 13.58 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/832923/ft1_filtered_4FGL_J1640.4+3945_daily_bin405.fits evtable="EVENTS" scfile=/scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits sctable="SC_DATA" expcube=/scratch/kocevski/832923/ltcube_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.fits outfile=/scratch/kocevski/832923/expmap_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.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/832923/ltcube_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.fits .....................! real 191.82 user 186.74 sys 4.66 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/832923/ft1_filtered_4FGL_J1640.4+3945_daily_bin405.fits scfile=/scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits outfile=/scratch/kocevski/832923/cmap_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.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.38 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/832923/ft1_filtered_4FGL_J1640.4+3945_daily_bin405.fits scfile=/scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits outfile=/scratch/kocevski/832923/cmap_HighResolution_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.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.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/832923/ft1_filtered_4FGL_J1640.4+3945_daily_bin405.fits evtable="EVENTS" scfile=/scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832923/Model_4FGL_J1640.4+3945_daily_bin405.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/832923/ft1_filtered_4FGL_J1640.4+3945_daily_bin405.fits.....................! real 57.09 user 55.72 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/832923/ft1_filtered_4FGL_J1640.4+3945_daily_bin405.fits', '/scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits', expMap='/scratch/kocevski/832923/expmap_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.fits', expCube='/scratch/kocevski/832923/ltcube_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/832923/Model_4FGL_J1640.4+3945_daily_bin405.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/832923/ft1_filtered_4FGL_J1640.4+3945_daily_bin405.fits Spacecraft file(s): /scratch/kocevski/832923/ft2_4FGL_J1640.4+3945_daily_bin405.fits Exposure map: /scratch/kocevski/832923/expmap_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.fits Exposure cube: /scratch/kocevski/832923/ltcube_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/832923/Model_4FGL_J1640.4+3945_daily_bin405.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) = 7158.25771347 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7158.24909436 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 24.667 1.0000 .10000E-03 10000. 2 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.7254 1.0000 .10000E-03 10000. 4 'Prefactor ' .99074 1.0000 .10000E-03 10000. 5 'Prefactor ' 8.2121 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.6849 1.0000 .10000E-03 10000. 7 'norm ' .48882 1.0000 .10000E-03 10000. 8 'norm ' 7.2847 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 10.458 1.0000 .10000E-03 10000. 11 'norm ' 25.197 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.2568 1.0000 .10000E-03 10000. 13 'Prefactor ' .18248E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 16 'norm ' 9.2964 1.0000 .10000E-03 10000. 17 'norm ' 2.3119 1.0000 .10000E-03 10000. 18 'Prefactor ' 8.0906 1.0000 .10000E-03 10000. 19 'norm ' 3.4454 1.0000 .10000E-03 10000. 20 'norm ' .10001E-03 1.0000 .10000E-03 10000. 21 'norm ' 2.5185 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'norm ' 4.3863 1.0000 .10000E-03 10000. 24 'Prefactor ' .10015E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .77242 1.0000 .10000E-01 10.000 26 'Prefactor ' .93990 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= 7158.249 FROM MIGRAD STATUS=CONVERGED 613 CALLS 3104 TOTAL EDM= .28E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 24.670 25.465 .13720E-05 .35754E-04 2 Prefactor .10000E-03 22.974 -.40474E-06** at limit ** 3 Prefactor 1.7255 2.2517 .17229E-07 -.92700E-04 4 Prefactor .99196 9.3502 .29516E-05 -.32617E-03 5 Prefactor 8.2210 26.013 -.80045E-06 .83441E-05 6 Prefactor 1.6853 2.1558 .48417E-07 -.12373E-03 7 norm .48884 .16514 -.14715E-08 -.11092E-02 8 norm 7.2841 13.135 .82804E-06 -.22175E-03 9 Prefactor .10000E-03 28.382 .32770E-05** at limit ** 10 Prefactor 10.459 4.6911 -.85682E-06 -.35161E-03 11 norm 25.194 28.053 -.18650E-05 -.44936E-04 12 Prefactor 3.2579 1.5073 .46872E-07 -.20043E-03 13 Prefactor .10000E-03 .66550 .67606E-08** at limit ** 14 Prefactor .10000E-03 1.4119 -.31246E-08** at limit ** 15 Prefactor .10000E-03 .95494 -.27263E-07** at limit ** 16 norm 9.2968 2.4255 .23268E-08 -.23406E-04 17 norm 2.3118 1.0785 .12915E-06 .67123E-05 18 Prefactor 8.0914 7.6025 -.98145E-06 -.14572E-03 19 norm 3.4453 1.0671 .65377E-07 .24315E-04 20 norm .10000E-03 3.2721 .28397E-07** at limit ** 21 norm 2.5184 1.5836 .62348E-07 .42767E-05 22 Prefactor .10000E-03 26.120 -.14929E-05** at limit ** 23 norm 4.3856 4.6061 -.94563E-06 -.21001E-03 24 Prefactor .10000E-03 40.614 -.12619E-05** at limit ** 25 Normalizat .77238 .18688 -.57324E-06 -.27549E-04 26 Prefactor .93994 .14706 .41592E-06 -.86969E-04 ERR DEF= .500 Final values: Prefactor = 24.6702 Prefactor = 0.0001 Prefactor = 1.72547 Prefactor = 0.991956 Prefactor = 8.22096 Prefactor = 1.68526 norm = 0.48884 norm = 7.28413 Prefactor = 0.0001 Prefactor = 10.4588 norm = 25.1939 Prefactor = 3.25789 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 9.29682 norm = 2.31184 Prefactor = 8.09139 norm = 3.44531 norm = 0.0001 norm = 2.51839 Prefactor = 0.0001 norm = 4.38564 Prefactor = 0.0001 Normalizat = 0.772376 Prefactor = 0.939935 ********** ** 18 **HESSE ********** FCN= 7158.249 FROM HESSE STATUS=OK 466 CALLS 3570 TOTAL EDM= .77E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 24.670 25.526 .80654E-04 -1.4714 2 Prefactor .10000E-03 22.983 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.7255 2.2354 .13962E-03 -1.5445 4 Prefactor .99196 12.664 .38541E-03 -1.5509 5 Prefactor 8.2210 28.480 .13990E-03 -1.5134 6 Prefactor 1.6853 2.1319 .13484E-03 -1.5448 7 norm .48884 .16463 .17988E-04 -1.5568 8 norm 7.2841 13.273 .74305E-03 -1.5168 9 Prefactor .10000E-03 29.007 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 10.459 4.7575 .11672E-03 -1.5061 11 norm 25.194 28.065 .79803E-04 -1.4704 12 Prefactor 3.2579 1.3207 .54920E-04 -1.5347 13 Prefactor .10000E-03 4.0996 .11056E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 1.4261 .98030E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 .96987 .80658E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 9.2968 2.4084 .64199E-04 -1.5098 17 norm 2.3118 1.0787 .26983E-04 -1.5404 18 Prefactor 8.0914 7.6296 .14096E-03 -1.5139 19 norm 3.4453 1.0664 .21790E-04 -1.5337 20 norm .10000E-03 3.2883 .14944E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.5184 1.5773 .80591E-04 -1.5391 22 Prefactor .10000E-03 26.145 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 4.3856 4.6418 .18031E-03 -1.5289 24 Prefactor .10000E-03 40.647 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .77238 .22279 .29697E-03 -1.0110 26 Prefactor .93994 .17615 .22668E-03 -.94759 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.74764e-10 Minuit parameter uncertainties: 1 25.5369 2 1.727e-05 3 2.23549 4 7.09005 5 28.5274 6 2.13202 7 0.16463 8 13.2786 9 9.02769e-05 10 4.75764 11 28.0801 12 1.32073 13 2.29861e-05 14 4.12364e-06 15 2.30129e-06 16 2.40844 17 1.07875 18 7.63054 19 1.06636 20 4.87963e-06 21 1.57734 22 2.5746e-05 23 4.64215 24 1.01938e-05 25 0.223057 26 0.176261 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7158.24908355 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.258e+00 1.321e+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: 9.399e-01 1.763e-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.724e-01 2.231e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 15.73 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.29e-07 +/- 5.21e-08 Energy Flux (Fixed Index): 4.10e-05 +/- 1.66e-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) = 7158.17923068 delta logL = 0.0698528686698 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7158.17157172 delta logL = 0.0775118225019 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.8643 1.0000 .10000E-03 10000. 2 'Index ' 2.2843 1.0000 .0000 10.000 3 'Normalizat' .78578 1.0000 .10000E-01 10.000 4 'Prefactor ' .93193 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= 7158.172 FROM MIGRAD STATUS=CONVERGED 51 CALLS 235 TOTAL EDM= .20E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.8640 21.801 .51320E-02 -.11242E-02 2 Index 2.2845 2.4528 .10249 -.14762E-03 3 Normalizat .78580 .98404E-01 .66625E-01 -.57467E-05 4 Prefactor .93196 .63093E-01 .45411E-01 .65298E-04 ERR DEF= .500 Final values: Prefactor = 3.864 Index = 2.2845 Normalizat = 0.785799 Prefactor = 0.931965 ********** ** 18 **HESSE ********** FCN= 7158.172 FROM HESSE STATUS=OK 33 CALLS 268 TOTAL EDM= .25E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.8640 2.1882 .60967E-04 -1.5315 2 Index 2.2845 .35486 .40441E-02 -.57413 3 Normalizat .78580 .20832 .29477E-03 -1.0060 4 Prefactor .93196 .17251 .22753E-03 -.95033 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.52482e-10 Minuit parameter uncertainties: 1 2.18824 2 0.355285 3 0.208536 4 0.17261 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/832923': 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) = 7158.17157127 delta logL = 0.0775122779769 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.864e+00 2.188e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.284e+00 3.553e-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: 9.320e-01 1.726e-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.858e-01 2.085e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 16.29 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.28 +/- 0.36 Photon Flux (Free Index): 1.18e-07 +/- 5.29e-08 Energy Flux (Free Index): 4.58e-05 +/- 2.34e-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/832923/cmap_HighResolution_344304001_344563201_4FGL_J1640.4+3945_daily_bin405.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/832923 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.29e-07', energy_flux2='4.58e-05', photon_flux_error='5.21e-08', dlogl='7.75e-02', energy_flux='4.10e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-09-15 06:42:13.883675', photon_index_error2='0.36', photon_index2='2.28', ts='15.73', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.34e-05', EG='0.77', time_epoch_completed='1631713333.88', return_code='0', job_id='832923', GAL2='0.93', EG2='0.79', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='5.29e-08', ts2='16.29', photon_index='2.42' WHERE bin_id='405' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:42:13 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 832923: <4FGL_J1640.4+3945_daily_bin405> in cluster Done Job <4FGL_J1640.4+3945_daily_bin405> was submitted from host by user in cluster at Wed Sep 15 06:25:20 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:26:30 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:26:30 2021 Terminated at Wed Sep 15 06:42:14 2021 Results reported at Wed Sep 15 06:42:14 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin405 250.119 39.7626 344304001 344563201 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 : 794.47 sec. Max Memory : 618 MB Average Memory : 253.81 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 944 sec. Turnaround time : 1014 sec. The output (if any) is above this job summary.