/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 47 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 = 7647 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1137 RA = 250.119, Dec = 39.7626 tmin = 534038401, tmax = 534297601 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='838394', job_status='RUN', time_executed='2021-09-15 06:47:47.377639', time_epoch_executed='1631713667.38' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1137' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/838394 Creating custom pfile directory: /scratch/kocevski/838394/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=534038401.0 && nMetStart<534297601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=534038401.0 && nMetStart<534297601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/838394/ft1_4FGL_J1640.4+3945_daily_bin1137.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=534038401.0 && nMetStart<534297601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/838394/ft1_4FGL_J1640.4+3945_daily_bin1137.fits outfile=/scratch/kocevski/838394/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1137.fits ra=250.119 dec=39.7626 rad=12.0 tmin=534038401.0 tmax=534297601.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.69 user 3.44 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.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/838394/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1137.fits evtable="EVENTS" outfile="/scratch/kocevski/838394/ft1_filtered_4FGL_J1640.4+3945_daily_bin1137.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.35 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/838394/ft1_filtered_4FGL_J1640.4+3945_daily_bin1137.fits" evtable="EVENTS" scfile=/scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits sctable="SC_DATA" outfile=/scratch/kocevski/838394/ltcube_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.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/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits .....................! real 13.96 user 13.57 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/838394/ft1_filtered_4FGL_J1640.4+3945_daily_bin1137.fits evtable="EVENTS" scfile=/scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits sctable="SC_DATA" expcube=/scratch/kocevski/838394/ltcube_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.fits outfile=/scratch/kocevski/838394/expmap_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.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/838394/ltcube_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.fits .....................! real 191.22 user 186.57 sys 4.19 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/838394/ft1_filtered_4FGL_J1640.4+3945_daily_bin1137.fits scfile=/scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits outfile=/scratch/kocevski/838394/cmap_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.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.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/838394/ft1_filtered_4FGL_J1640.4+3945_daily_bin1137.fits scfile=/scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits outfile=/scratch/kocevski/838394/cmap_HighResolution_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.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.57 user 0.40 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/838394/ft1_filtered_4FGL_J1640.4+3945_daily_bin1137.fits evtable="EVENTS" scfile=/scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/838394/Model_4FGL_J1640.4+3945_daily_bin1137.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/838394/ft1_filtered_4FGL_J1640.4+3945_daily_bin1137.fits.....................! real 61.36 user 59.93 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/838394/ft1_filtered_4FGL_J1640.4+3945_daily_bin1137.fits', '/scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits', expMap='/scratch/kocevski/838394/expmap_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.fits', expCube='/scratch/kocevski/838394/ltcube_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/838394/Model_4FGL_J1640.4+3945_daily_bin1137.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/838394/ft1_filtered_4FGL_J1640.4+3945_daily_bin1137.fits Spacecraft file(s): /scratch/kocevski/838394/ft2_4FGL_J1640.4+3945_daily_bin1137.fits Exposure map: /scratch/kocevski/838394/expmap_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.fits Exposure cube: /scratch/kocevski/838394/ltcube_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/838394/Model_4FGL_J1640.4+3945_daily_bin1137.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) = 7997.81282778 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7997.745263 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .12143E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.1264 1.0000 .10000E-03 10000. 4 'Prefactor ' .10157E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 28.142 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'norm ' .34694 1.0000 .10000E-03 10000. 8 'norm ' 18.383 1.0000 .10000E-03 10000. 9 'Prefactor ' .31672E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 4.1691 1.0000 .10000E-03 10000. 11 'norm ' .16224E-01 1.0000 .10000E-03 10000. 12 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.0503 1.0000 .10000E-03 10000. 14 'Prefactor ' .88405 1.0000 .10000E-03 10000. 15 'Prefactor ' .10163E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.1152 1.0000 .10000E-03 10000. 17 'norm ' .96828 1.0000 .10000E-03 10000. 18 'Prefactor ' 4.1720 1.0000 .10000E-03 10000. 19 'norm ' .10081E-03 1.0000 .10000E-03 10000. 20 'norm ' .53282 1.0000 .10000E-03 10000. 21 'norm ' 4.1920 1.0000 .10000E-03 10000. 22 'Prefactor ' .10088E-03 1.0000 .10000E-03 10000. 23 'norm ' 8.5784 1.0000 .10000E-03 10000. 24 'Prefactor ' 61.766 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2085 1.0000 .10000E-01 10.000 26 'Prefactor ' .94987 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= 7997.745 FROM MIGRAD STATUS=CONVERGED 1164 CALLS 3768 TOTAL EDM= .65E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 6.2408 .18142E-02** at limit ** 2 Prefactor .10001E-03 50.452 .18142E-02** at limit ** 3 Prefactor 1.1255 3.1334 .24833E-03 .16261E-03 4 Prefactor .10000E-03 3.8585 .17040E-02** at limit ** 5 Prefactor 28.120 19.912 .75520E-04 .16559E-03 6 Prefactor .10000E-03 1.1548 .93265E-03** at limit ** 7 norm .34700 .13141 .18891E-04 .68457E-02 8 norm 18.397 15.715 .93413E-04 .13144E-03 9 Prefactor .10019E-03 61.309 .48871E-02** at limit ** 10 Prefactor 4.1686 3.4834 .14541E-03 -.13268E-03 11 norm .12829E-03 35.629 .15337 ** at limit ** 12 Prefactor .10000E-03 .39856 .10786E-03** at limit ** 13 Prefactor 1.0514 .85877 .68605E-04 .21884E-02 14 Prefactor .88132 1.6137 .17382E-02 -.19857E-03 15 Prefactor .10001E-03 9.3541 .18318E-02** at limit ** 16 norm 2.1153 1.3328 .79558E-04 .41441E-03 17 norm .96867 .73581 .65449E-03 .41173E-03 18 Prefactor 4.1707 6.0868 .19732E-03 .22937E-03 19 norm .10000E-03 1.3933 .99826E-03** at limit ** 20 norm .53894 23.477 .40210E-02 .26912E-03 21 norm 4.1919 1.9860 .82289E-04 .14313E-03 22 Prefactor .10000E-03 48.710 .18142E-02** at limit ** 23 norm 8.5800 6.0546 .13686E-03 .10475E-03 24 Prefactor 61.715 63.947 .51056E-04 .10786E-03 25 Normalizat 1.2090 .22768 .26281E-03 .44762E-03 26 Prefactor .94954 .18331 .24599E-03 -.88088E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.000100009 Prefactor = 1.12545 Prefactor = 0.0001 Prefactor = 28.12 Prefactor = 0.0001 norm = 0.347002 norm = 18.3966 Prefactor = 0.000100189 Prefactor = 4.16862 norm = 0.00012829 Prefactor = 0.0001 Prefactor = 1.05138 Prefactor = 0.881318 Prefactor = 0.000100007 norm = 2.11531 norm = 0.968669 Prefactor = 4.17073 norm = 0.0001 norm = 0.538939 norm = 4.19189 Prefactor = 0.000100005 norm = 8.57999 Prefactor = 61.7147 Normalizat = 1.20899 Prefactor = 0.949539 ********** ** 18 **HESSE ********** FCN= 7997.745 FROM HESSE STATUS=OK 446 CALLS 4214 TOTAL EDM= .63E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 6.2410 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10001E-03 50.455 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.1255 3.1320 .99331E-05 -1.5496 4 Prefactor .10000E-03 3.8592 .34079E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 28.120 19.907 .15104E-04 -1.4647 6 Prefactor .10000E-03 1.1549 .18653E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .34700 .13126 .75563E-06 -1.5590 8 norm 18.397 15.715 .37365E-05 -1.4850 9 Prefactor .10019E-03 62.466 .97742E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 4.1686 3.4826 .58165E-05 -1.5300 11 norm .12829E-03 36.081 .15187 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 .39856 .21572E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.0514 .85865 .27442E-05 -1.5503 14 Prefactor .88132 1.6115 .69527E-04 -1.5520 15 Prefactor .10001E-03 9.4389 .36636E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.1153 1.3327 .31823E-05 -1.5417 17 norm .96867 .73530 .26180E-04 -1.5511 18 Prefactor 4.1707 6.0838 .78928E-05 -1.5299 19 norm .10000E-03 1.4007 .19965E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .53894 23.376 .16084E-03 -1.5561 21 norm 4.1919 1.9859 .32916E-05 -1.5298 22 Prefactor .10000E-03 48.720 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 8.5800 6.0414 .54745E-05 -1.5122 24 Prefactor 61.715 63.893 .10211E-04 -1.4135 25 Normalizat 1.2090 .22781 .52562E-04 -.86325 26 Prefactor .94954 .18345 .98396E-05 -.94431 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.30686e-09 Minuit parameter uncertainties: 1 3.457e-06 2 0.00135739 3 3.13242 4 7.31003e-06 5 19.9121 6 1.63965e-06 7 0.131257 8 15.7183 9 0.00688305 10 3.4828 11 0.063936 12 2.12536e-06 13 0.858656 14 1.61159 15 0.00050318 16 1.33276 17 0.735307 18 6.08472 19 1.32304e-06 20 7.10107 21 1.98591 22 0.000944314 23 6.04183 24 63.9639 25 0.228 26 0.183568 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7997.7452471 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 2.125e-06 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.495e-01 1.836e-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.209e+00 2.280e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 6.38e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.94e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/838394/likelihoodResults_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7997.75702942 delta logL = -0.0117823196842 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7997.74525198 delta logL = -4.88804016641e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10505E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3991 1.0000 .0000 10.000 3 'Normalizat' 1.2091 1.0000 .10000E-01 10.000 4 'Prefactor ' .94959 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 7997.745 FROM MIGRAD STATUS=FAILED 108 CALLS 258 TOTAL EDM= .16E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 46.897 .66327E-03** at limit ** 2 Index 1.7337 7.5427 .50000 -.13043E-04 3 Normalizat 1.2090 .43373E-01 .26281E-03 -.13064E-04 4 Prefactor .94954 .36645E-01 .24599E-03 -.58001E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7997.745 FROM SIMPLEX STATUS=UNCHANGED 182 CALLS 440 TOTAL EDM= .74E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 46.897 .11142E-03** at limit ** 2 Index 1.7337 7.5427 .18263E-06 -.13043E-04 3 Normalizat 1.2090 .43373E-01 .66624E-08 -.13064E-04 4 Prefactor .94954 .36645E-01 .44225E-08 -.58001E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 7997.745 FROM MIGRAD STATUS=FAILED 73 CALLS 513 TOTAL EDM= .22E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .60886 .26531E-04** at limit ** 2 Index 1.7337 7.8993 .50000 -.13043E-04 3 Normalizat 1.2090 .21248 .21025E-05 -.12977E-04 4 Prefactor .94954 .17962 .19679E-05 -.57770E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.73366 Normalizat = 1.20899 Prefactor = 0.949543 ********** ** 18 **HESSE ********** FCN= 7997.745 FROM HESSE STATUS=OK 27 CALLS 540 TOTAL EDM= .21E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .58453 .53062E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.7337 8.3549 .50000 -.71189 3 Normalizat 1.2090 .20108 .42050E-06 -.86326 4 Prefactor .94954 .16995 .39358E-06 -.94431 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.09301e-08 Minuit parameter uncertainties: 1 2.58937e-06 2 42.0008 3 0.201209 4 0.170043 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/838394': 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): 1 logL (Free Index) = 7997.74520732 delta logL = 3.97714666178e-05 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 2.589e-06 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.734e+00 4.200e+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.495e-01 1.700e-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.209e+00 2.012e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/838394/cmap_HighResolution_534038401_534297601_4FGL_J1640.4+3945_daily_bin1137.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/838394 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-03', job_status='DONE', photon_flux_upper_limit='6.38e-08', time_completed='2021-09-15 07:06:05.725196', job_id='838394', GAL2='0.95', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1631714765.73', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.98e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1137' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 07:06:05 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 838394: <4FGL_J1640.4+3945_daily_bin1137> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1137> was submitted from host by user in cluster at Wed Sep 15 06:45:18 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:46:49 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:46:49 2021 Terminated at Wed Sep 15 07:06:06 2021 Results reported at Wed Sep 15 07:06:06 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1137 250.119 39.7626 534038401 534297601 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 : 1092.00 sec. Max Memory : 766 MB Average Memory : 314.58 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1157 sec. Turnaround time : 1248 sec. The output (if any) is above this job summary.