/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 1 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 = 7472 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin208 RA = 250.119, Dec = 39.7626 tmin = 293241601, tmax = 293500801 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='830344', job_status='RUN', time_executed='2021-09-15 06:18:04.898226', time_epoch_executed='1631711884.9' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='208' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/830344 Creating custom pfile directory: /scratch/kocevski/830344/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=293241601.0 && nMetStart<293500801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=293241601.0 && nMetStart<293500801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/830344/ft1_4FGL_J1640.4+3945_daily_bin208.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=293241601.0 && nMetStart<293500801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/830344/ft1_4FGL_J1640.4+3945_daily_bin208.fits outfile=/scratch/kocevski/830344/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin208.fits ra=250.119 dec=39.7626 rad=12.0 tmin=293241601.0 tmax=293500801.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.60 user 3.35 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.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/830344/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin208.fits evtable="EVENTS" outfile="/scratch/kocevski/830344/ft1_filtered_4FGL_J1640.4+3945_daily_bin208.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.51 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/830344/ft1_filtered_4FGL_J1640.4+3945_daily_bin208.fits" evtable="EVENTS" scfile=/scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits sctable="SC_DATA" outfile=/scratch/kocevski/830344/ltcube_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.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/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits .....................! real 13.54 user 13.18 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/830344/ft1_filtered_4FGL_J1640.4+3945_daily_bin208.fits evtable="EVENTS" scfile=/scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits sctable="SC_DATA" expcube=/scratch/kocevski/830344/ltcube_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.fits outfile=/scratch/kocevski/830344/expmap_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.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/830344/ltcube_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.fits .....................! real 191.29 user 185.93 sys 4.89 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/830344/ft1_filtered_4FGL_J1640.4+3945_daily_bin208.fits scfile=/scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits outfile=/scratch/kocevski/830344/cmap_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=250.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.54 user 0.36 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/830344/ft1_filtered_4FGL_J1640.4+3945_daily_bin208.fits scfile=/scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits outfile=/scratch/kocevski/830344/cmap_HighResolution_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.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/830344/ft1_filtered_4FGL_J1640.4+3945_daily_bin208.fits evtable="EVENTS" scfile=/scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830344/Model_4FGL_J1640.4+3945_daily_bin208.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/830344/ft1_filtered_4FGL_J1640.4+3945_daily_bin208.fits....................! real 54.78 user 53.37 sys 1.25 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/830344/ft1_filtered_4FGL_J1640.4+3945_daily_bin208.fits', '/scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits', expMap='/scratch/kocevski/830344/expmap_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.fits', expCube='/scratch/kocevski/830344/ltcube_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/830344/Model_4FGL_J1640.4+3945_daily_bin208.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/830344/ft1_filtered_4FGL_J1640.4+3945_daily_bin208.fits Spacecraft file(s): /scratch/kocevski/830344/ft2_4FGL_J1640.4+3945_daily_bin208.fits Exposure map: /scratch/kocevski/830344/expmap_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.fits Exposure cube: /scratch/kocevski/830344/ltcube_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/830344/Model_4FGL_J1640.4+3945_daily_bin208.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) = 6912.06448478 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6911.99380925 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10184E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .21036E-02 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.2979 1.0000 .10000E-03 10000. 4 'Prefactor ' .22179E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 15.732 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.5794 1.0000 .10000E-03 10000. 7 'norm ' .88148 1.0000 .10000E-03 10000. 8 'norm ' .66988 1.0000 .10000E-03 10000. 9 'Prefactor ' .25712E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 8.2187 1.0000 .10000E-03 10000. 11 'norm ' .14487E-01 1.0000 .10000E-03 10000. 12 'Prefactor ' 6.7372 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.3301 1.0000 .10000E-03 10000. 14 'Prefactor ' .92313E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .68086 1.0000 .10000E-03 10000. 16 'norm ' 3.0716 1.0000 .10000E-03 10000. 17 'norm ' 2.6483 1.0000 .10000E-03 10000. 18 'Prefactor ' .11962E-03 1.0000 .10000E-03 10000. 19 'norm ' .10009E-03 1.0000 .10000E-03 10000. 20 'norm ' .15027E-03 1.0000 .10000E-03 10000. 21 'norm ' .28581 1.0000 .10000E-03 10000. 22 'Prefactor ' .10650E-03 1.0000 .10000E-03 10000. 23 'norm ' 2.3851 1.0000 .10000E-03 10000. 24 'Prefactor ' .21101E-02 1.0000 .10000E-03 10000. 25 'Normalizat' 1.3704 1.0000 .10000E-01 10.000 26 'Prefactor ' .48955 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= 6911.993 FROM MIGRAD STATUS=CONVERGED 637 CALLS 2283 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 14.802 .14977E-05** at limit ** 2 Prefactor .10000E-03 86.732 -.12579E-04** at limit ** 3 Prefactor 1.2972 1.6727 -.82760E-07 -.62548E-04 4 Prefactor .10000E-03 2.7962 .21710E-06** at limit ** 5 Prefactor 15.989 17.929 .54606E-06 -.13161E-04 6 Prefactor 3.5682 3.7155 -.18178E-05 -.19401E-03 7 norm .88147 .20125 -.13056E-08 -.67851E-03 8 norm .59892 12.828 .77306E-06 -.34241E-03 9 Prefactor .10000E-03 7.7761 .67805E-05** at limit ** 10 Prefactor 8.2119 5.0001 .16992E-06 .76958E-04 11 norm .10000E-03 33.942 .24091E-05** at limit ** 12 Prefactor 6.7409 2.1654 .19171E-06 -.17095E-03 13 Prefactor 1.3290 1.5073 -.91221E-07 -.38114E-03 14 Prefactor .10001E-03 1.6049 -.48817E-06** at limit ** 15 Prefactor .68191 2.0279 -.74246E-06 -.13685E-02 16 norm 3.0717 1.4728 -.64910E-08 .16803E-03 17 norm 2.6482 1.0350 -.15931E-07 .97189E-03 18 Prefactor .10000E-03 4.5473 -.70321E-06** at limit ** 19 norm .10000E-03 .35555 .49277E-07** at limit ** 20 norm .10000E-03 2.6922 .46022E-07** at limit ** 21 norm .28586 .77127 -.43092E-06 -.20253E-02 22 Prefactor .10000E-03 12.777 .93839E-06** at limit ** 23 norm 2.3997 4.4870 -.32958E-05 -.33161E-03 24 Prefactor .10000E-03 21.904 -.90187E-05** at limit ** 25 Normalizat 1.3701 .18642 .63885E-06 .20875E-03 26 Prefactor .48967 .14063 .86347E-06 .10931E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.000100003 Prefactor = 1.29721 Prefactor = 0.0001 Prefactor = 15.9894 Prefactor = 3.56816 norm = 0.881468 norm = 0.598917 Prefactor = 0.000100001 Prefactor = 8.21193 norm = 0.0001 Prefactor = 6.7409 Prefactor = 1.32898 Prefactor = 0.00010001 Prefactor = 0.681912 norm = 3.07174 norm = 2.64819 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 norm = 0.285864 Prefactor = 0.0001 norm = 2.39971 Prefactor = 0.000100002 Normalizat = 1.37005 Prefactor = 0.489666 ********** ** 18 **HESSE ********** FCN= 6911.993 FROM HESSE STATUS=OK 466 CALLS 2749 TOTAL EDM= .68E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 14.833 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 86.131 .20183E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.2972 1.6539 .11874E-03 -1.5480 4 Prefactor .10000E-03 2.8044 .13557E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 15.989 17.939 .10098E-03 -1.4908 6 Prefactor 3.5682 3.7370 .15369E-03 -1.5330 7 norm .88147 .20185 .16299E-04 -1.5520 8 norm .59892 102.37 .57348E-02 -1.5553 9 Prefactor .10000E-03 7.5164 .21454E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 8.2119 4.9359 .13396E-03 -1.5135 11 norm .10000E-03 33.996 .18191E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.7409 2.1397 .50166E-04 -1.5189 13 Prefactor 1.3290 1.4621 .81791E-04 -1.5477 14 Prefactor .10001E-03 9.5778 .19343E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .68191 2.0125 .19787E-03 -1.5543 16 norm 3.0717 1.4738 .67735E-04 -1.5357 17 norm 2.6482 1.0119 .49146E-04 -1.5382 18 Prefactor .10000E-03 4.6569 .34566E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 .66460 .95559E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 2.7134 .13318E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .28586 .72957 .11806E-02 -1.5601 22 Prefactor .10000E-03 12.780 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 2.3997 4.5979 .23602E-03 -1.5398 24 Prefactor .10000E-03 21.339 .20180E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.3701 .22206 .23444E-03 -.81499 26 Prefactor .48967 .16730 .29209E-03 -1.1245 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.7858e-09 Minuit parameter uncertainties: 1 6.28822e-05 2 0.0010067 3 1.65396 4 9.45056e-06 5 17.9445 6 3.73722 7 0.201848 8 15.6865 9 0.000179295 10 4.93614 11 9.82409e-05 12 2.13976 13 1.46218 14 0.000604343 15 2.01266 16 1.47385 17 1.01189 18 1.78818e-05 19 1.76375e-06 20 1.48052e-05 21 0.729596 22 4.53749e-06 23 4.59857 24 0.000459531 25 0.222216 26 0.167471 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6911.99332784 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 6.741e+00 2.140e+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: 4.897e-01 1.675e-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.370e+00 2.222e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 32.29 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 2.66e-07 +/- 8.44e-08 Energy Flux (Fixed Index): 8.49e-05 +/- 2.69e-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) = 6911.87516104 delta logL = 0.118166801843 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6911.85401394 delta logL = 0.139313897225 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6001 1.0000 .10000E-03 10000. 2 'Index ' 2.5525 1.0000 .0000 10.000 3 'Normalizat' 1.3512 1.0000 .10000E-01 10.000 4 'Prefactor ' .50027 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6911.854 FROM MIGRAD STATUS=CONVERGED 86 CALLS 271 TOTAL EDM= .17E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.5999 2.6997 .44785E-04 .19920E-02 2 Index 2.5525 .27196 .23296E-02 .39525E-03 3 Normalizat 1.3512 .21393 .23561E-03 -.62660E-04 4 Prefactor .50030 .16461 .28920E-03 -.98316E-04 ERR DEF= .500 Final values: Prefactor = 5.59993 Index = 2.55252 Normalizat = 1.35118 Prefactor = 0.500298 ********** ** 18 **HESSE ********** FCN= 6911.854 FROM HESSE STATUS=OK 25 CALLS 296 TOTAL EDM= .16E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.5999 2.5274 .17914E-05 -1.5235 2 Index 2.5525 .25450 .93185E-04 -.51151 3 Normalizat 1.3512 .21386 .47122E-04 -.82051 4 Prefactor .50030 .16462 .11568E-04 -1.1196 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.56154e-10 Minuit parameter uncertainties: 1 2.52743 2 0.254642 3 0.214 4 0.164777 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/830344': 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) = 6911.85401383 delta logL = 0.139314003385 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.600e+00 2.527e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.553e+00 2.546e-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: 5.003e-01 1.648e-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.351e+00 2.140e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 35.41 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.55 +/- 0.25 Photon Flux (Free Index): 2.85e-07 +/- 7.63e-08 Energy Flux (Free Index): 7.84e-05 +/- 2.17e-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/830344/cmap_HighResolution_293241601_293500801_4FGL_J1640.4+3945_daily_bin208.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/830344 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.66e-07', energy_flux2='7.84e-05', photon_flux_error='8.44e-08', dlogl='1.39e-01', energy_flux='8.49e-05', photon_flux2='2.85e-07', job_status='DONE', time_completed='2021-09-15 06:29:41.255781', photon_index_error2='0.25', photon_index2='2.55', ts='32.29', fit_tolerance='1e-08', GAL='0.49', photon_index_error='0.00', energy_flux_error2='2.17e-05', EG='1.37', time_epoch_completed='1631712581.26', return_code='0', job_id='830344', GAL2='0.50', EG2='1.35', return_code2='0', energy_flux_error='2.69e-05', photon_flux_error2='7.63e-08', ts2='35.41', photon_index='2.42' WHERE bin_id='208' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:29:41 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 830344: <4FGL_J1640.4+3945_daily_bin208> in cluster Done Job <4FGL_J1640.4+3945_daily_bin208> was submitted from host by user in cluster at Wed Sep 15 06:15:21 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:17:56 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:17:56 2021 Terminated at Wed Sep 15 06:29:42 2021 Results reported at Wed Sep 15 06:29:42 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin208 250.119 39.7626 293241601 293500801 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 : 692.36 sec. Max Memory : 618 MB Average Memory : 303.44 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 705 sec. Turnaround time : 861 sec. The output (if any) is above this job summary.