/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 150 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 = 7411 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin415 RA = 250.119, Dec = 39.7626 tmin = 346896001, tmax = 347155201 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='832939', job_status='RUN', time_executed='2021-09-15 06:29:23.040981', time_epoch_executed='1631712563.04' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='415' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/832939 Creating custom pfile directory: /scratch/kocevski/832939/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=346896001.0 && nMetStart<347155201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=346896001.0 && nMetStart<347155201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/832939/ft1_4FGL_J1640.4+3945_daily_bin415.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=346896001.0 && nMetStart<347155201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/832939/ft1_4FGL_J1640.4+3945_daily_bin415.fits outfile=/scratch/kocevski/832939/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin415.fits ra=250.119 dec=39.7626 rad=12.0 tmin=346896001.0 tmax=347155201.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 2.85 user 2.62 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.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/832939/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin415.fits evtable="EVENTS" outfile="/scratch/kocevski/832939/ft1_filtered_4FGL_J1640.4+3945_daily_bin415.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.44 user 0.28 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/832939/ft1_filtered_4FGL_J1640.4+3945_daily_bin415.fits" evtable="EVENTS" scfile=/scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits sctable="SC_DATA" outfile=/scratch/kocevski/832939/ltcube_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.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/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits .....................! real 11.90 user 11.55 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/832939/ft1_filtered_4FGL_J1640.4+3945_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits sctable="SC_DATA" expcube=/scratch/kocevski/832939/ltcube_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.fits outfile=/scratch/kocevski/832939/expmap_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.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/832939/ltcube_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.fits .....................! real 157.41 user 152.42 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/832939/ft1_filtered_4FGL_J1640.4+3945_daily_bin415.fits scfile=/scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits outfile=/scratch/kocevski/832939/cmap_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.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.48 user 0.32 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/832939/ft1_filtered_4FGL_J1640.4+3945_daily_bin415.fits scfile=/scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits outfile=/scratch/kocevski/832939/cmap_HighResolution_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.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.49 user 0.34 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/832939/ft1_filtered_4FGL_J1640.4+3945_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832939/Model_4FGL_J1640.4+3945_daily_bin415.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/832939/ft1_filtered_4FGL_J1640.4+3945_daily_bin415.fits.....................! real 47.41 user 46.16 sys 1.07 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/832939/ft1_filtered_4FGL_J1640.4+3945_daily_bin415.fits', '/scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits', expMap='/scratch/kocevski/832939/expmap_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.fits', expCube='/scratch/kocevski/832939/ltcube_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/832939/Model_4FGL_J1640.4+3945_daily_bin415.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/832939/ft1_filtered_4FGL_J1640.4+3945_daily_bin415.fits Spacecraft file(s): /scratch/kocevski/832939/ft2_4FGL_J1640.4+3945_daily_bin415.fits Exposure map: /scratch/kocevski/832939/expmap_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.fits Exposure cube: /scratch/kocevski/832939/ltcube_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/832939/Model_4FGL_J1640.4+3945_daily_bin415.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) = 7458.60731654 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7458.55140274 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 ' 30.813 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.4826 1.0000 .10000E-03 10000. 4 'Prefactor ' 7.5747 1.0000 .10000E-03 10000. 5 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .11340E-01 1.0000 .10000E-03 10000. 7 'norm ' .77721 1.0000 .10000E-03 10000. 8 'norm ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 10.289 1.0000 .10000E-03 10000. 10 'Prefactor ' 7.2420 1.0000 .10000E-03 10000. 11 'norm ' .10009E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.9410 1.0000 .10000E-03 10000. 13 'Prefactor ' .12333E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 4.0345 1.0000 .10000E-03 10000. 15 'Prefactor ' .10048E-03 1.0000 .10000E-03 10000. 16 'norm ' 10.096 1.0000 .10000E-03 10000. 17 'norm ' .10258E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .42445E-03 1.0000 .10000E-03 10000. 19 'norm ' .93720 1.0000 .10000E-03 10000. 20 'norm ' 17.843 1.0000 .10000E-03 10000. 21 'norm ' 2.5783 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'norm ' .10081E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 30.982 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2204 1.0000 .10000E-01 10.000 26 'Prefactor ' .86762 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= 7458.551 FROM MIGRAD STATUS=CONVERGED 660 CALLS 3220 TOTAL EDM= .18E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 11.517 -.54677E-07** at limit ** 2 Prefactor 30.792 50.489 -.26351E-04 .23027E-05 3 Prefactor 3.4832 3.0750 .43151E-07 -.26452E-04 4 Prefactor 7.5758 4.9558 -.53221E-06 .69637E-04 5 Prefactor .10000E-03 13.978 -.73167E-06** at limit ** 6 Prefactor .10022E-03 1.2942 -.45622E-08** at limit ** 7 norm .77698 .25233 .27129E-06 -.29962E-02 8 norm .10000E-03 7.2460 .13841E-07** at limit ** 9 Prefactor 10.259 26.055 -.18174E-04 .24573E-04 10 Prefactor 7.2419 4.3890 .29986E-06 -.44029E-04 11 norm .10000E-03 38.298 -.20415E-05** at limit ** 12 Prefactor 2.9402 1.9366 -.13167E-06 .80778E-04 13 Prefactor .10000E-03 .94593 .31004E-07** at limit ** 14 Prefactor 4.0356 3.6999 -.49850E-06 -.40863E-03 15 Prefactor .10000E-03 2.1109 -.55544E-07** at limit ** 16 norm 10.095 2.6238 -.11674E-07 .14022E-03 17 norm .10000E-03 .62733 -.61691E-07** at limit ** 18 Prefactor .10000E-03 5.5695 .29315E-08** at limit ** 19 norm .93642 .84164 -.15015E-06 -.91927E-03 20 norm 17.841 9.4467 .60916E-07 .54696E-05 21 norm 2.5779 1.7762 -.13627E-06 -.38109E-03 22 Prefactor .10000E-03 16.443 .57124E-06** at limit ** 23 norm .10000E-03 2.2021 .14565E-06** at limit ** 24 Prefactor 30.973 48.975 -.11792E-04 .33845E-06 25 Normalizat 1.2203 .20862 .22473E-05 .21878E-04 26 Prefactor .86785 .16019 .77392E-06 .12442E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 30.7918 Prefactor = 3.48316 Prefactor = 7.57582 Prefactor = 0.0001 Prefactor = 0.000100219 norm = 0.776982 norm = 0.0001 Prefactor = 10.2591 Prefactor = 7.24186 norm = 0.0001 Prefactor = 2.94024 Prefactor = 0.0001 Prefactor = 4.0356 Prefactor = 0.0001 norm = 10.0947 norm = 0.0001 Prefactor = 0.000100002 norm = 0.936423 norm = 17.8413 norm = 2.57789 Prefactor = 0.0001 norm = 0.0001 Prefactor = 30.973 Normalizat = 1.22027 Prefactor = 0.867851 ********** ** 18 **HESSE ********** FCN= 7458.551 FROM HESSE STATUS=OK 478 CALLS 3698 TOTAL EDM= .49E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 11.533 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 30.792 50.579 .72181E-04 -1.4598 3 Prefactor 3.4832 3.0774 .13677E-03 -1.5335 4 Prefactor 7.5758 4.9582 .14571E-03 -1.5157 5 Prefactor .10000E-03 14.029 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10022E-03 1.8007 .36675E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .77698 .25608 .19211E-04 -1.5532 8 norm .10000E-03 7.2695 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 10.259 26.336 .12491E-03 -1.5067 10 Prefactor 7.2419 4.3811 .13350E-03 -1.5170 11 norm .10000E-03 38.349 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.9402 1.6235 .70367E-04 -1.5365 13 Prefactor .10000E-03 3.1536 .12737E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 4.0356 3.6428 .14728E-03 -1.5306 15 Prefactor .10000E-03 2.1580 .24457E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 10.095 2.6132 .68312E-04 -1.5072 17 norm .10000E-03 1.7509 .12771E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 15.179 .37272E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .93642 .78685 .69703E-03 -1.5514 20 norm 17.841 9.4420 .94818E-04 -1.4863 21 norm 2.5779 1.7623 .91234E-04 -1.5387 22 Prefactor .10000E-03 16.453 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 2.2272 .12506E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 30.973 48.975 .71984E-04 -1.4594 25 Normalizat 1.2203 .24940 .27945E-03 -.85979 26 Prefactor .86785 .19290 .26244E-03 -.97274 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.86078e-10 Minuit parameter uncertainties: 1 1.29002e-05 2 50.6492 3 3.07758 4 4.95843 5 2.89153e-05 6 0.00125666 7 0.256076 8 5.37078e-06 9 26.3661 10 4.3813 11 3.58548e-05 12 1.62348 13 1.61922e-05 14 3.64295 15 8.10878e-06 16 2.61328 17 1.6863e-05 18 0.000334759 19 0.786862 20 9.44281 21 1.76232 22 2.44655e-07 23 1.88107e-05 24 49.0389 25 0.249646 26 0.193051 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7458.55129701 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.940e+00 1.623e+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: 8.679e-01 1.931e-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.220e+00 2.496e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.62 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.16e-07 +/- 6.41e-08 Energy Flux (Fixed Index): 3.70e-05 +/- 2.04e-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) = 7458.44954608 delta logL = 0.101750924511 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7458.43077351 delta logL = 0.120523493159 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.2549 1.0000 .10000E-03 10000. 2 'Index ' 2.6217 1.0000 .0000 10.000 3 'Normalizat' 1.2033 1.0000 .10000E-01 10.000 4 'Prefactor ' .87765 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= 7458.431 FROM MIGRAD STATUS=CONVERGED 43 CALLS 234 TOTAL EDM= .53E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.2549 18.060 .68401E-03 .61024E-03 2 Index 2.6217 2.4116 .10498 .21532E-03 3 Normalizat 1.2033 .86496E-01 .63521E-01 .14765E-04 4 Prefactor .87764 .63198E-01 .44719E-01 .12456E-04 ERR DEF= .500 Final values: Prefactor = 2.25485 Index = 2.62166 Normalizat = 1.20331 Prefactor = 0.877643 ********** ** 18 **HESSE ********** FCN= 7458.431 FROM HESSE STATUS=OK 33 CALLS 267 TOTAL EDM= .14E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.2549 1.9892 .27360E-04 -1.5408 2 Index 2.6217 .46412 .40113E-02 -.49572 3 Normalizat 1.2033 .24107 .28098E-03 -.86501 4 Prefactor .87764 .19250 .26112E-03 -.96927 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.41872e-11 Minuit parameter uncertainties: 1 1.98925 2 0.464987 3 0.24129 4 0.192653 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/832939': 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) = 7458.43077351 delta logL = 0.120523493252 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.255e+00 1.989e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.622e+00 4.650e-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: 8.776e-01 1.927e-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.203e+00 2.413e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 7.15 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.62 +/- 0.46 Photon Flux (Free Index): 1.32e-07 +/- 6.81e-08 Energy Flux (Free Index): 3.39e-05 +/- 1.80e-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/832939/cmap_HighResolution_346896001_347155201_4FGL_J1640.4+3945_daily_bin415.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/832939 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.16e-07', energy_flux2='3.39e-05', photon_flux_error='6.41e-08', dlogl='1.21e-01', energy_flux='3.70e-05', photon_flux2='1.32e-07', job_status='DONE', time_completed='2021-09-15 06:40:30.330616', photon_index_error2='0.46', photon_index2='2.62', ts='6.62', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.80e-05', EG='1.22', time_epoch_completed='1631713230.33', return_code='0', job_id='832939', GAL2='0.88', EG2='1.20', return_code2='0', energy_flux_error='2.04e-05', photon_flux_error2='6.81e-08', ts2='7.15', photon_index='2.42' WHERE bin_id='415' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:40:30 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 832939: <4FGL_J1640.4+3945_daily_bin415> in cluster Done Job <4FGL_J1640.4+3945_daily_bin415> was submitted from host by user in cluster at Wed Sep 15 06:25:22 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:26:44 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:26:44 2021 Terminated at Wed Sep 15 06:40:31 2021 Results reported at Wed Sep 15 06:40:31 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin415 250.119 39.7626 346896001 347155201 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 : 665.08 sec. Max Memory : 1258 MB Average Memory : 286.14 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 826 sec. Turnaround time : 909 sec. The output (if any) is above this job summary.