/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 15 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 = 7529 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin674 RA = 250.119, Dec = 39.7626 tmin = 414028801, tmax = 414288001 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='834178', job_status='RUN', time_executed='2021-09-15 06:33:42.082617', time_epoch_executed='1631712822.08' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='674' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/834178 Creating custom pfile directory: /scratch/kocevski/834178/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=414028801.0 && nMetStart<414288001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=414028801.0 && nMetStart<414288001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/834178/ft1_4FGL_J1640.4+3945_daily_bin674.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=414028801.0 && nMetStart<414288001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/834178/ft1_4FGL_J1640.4+3945_daily_bin674.fits outfile=/scratch/kocevski/834178/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin674.fits ra=250.119 dec=39.7626 rad=12.0 tmin=414028801.0 tmax=414288001.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 5.28 user 5.03 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.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/834178/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin674.fits evtable="EVENTS" outfile="/scratch/kocevski/834178/ft1_filtered_4FGL_J1640.4+3945_daily_bin674.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.52 user 0.33 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/834178/ft1_filtered_4FGL_J1640.4+3945_daily_bin674.fits" evtable="EVENTS" scfile=/scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits sctable="SC_DATA" outfile=/scratch/kocevski/834178/ltcube_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.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/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits .....................! real 14.49 user 14.09 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/834178/ft1_filtered_4FGL_J1640.4+3945_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/834178/ltcube_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.fits outfile=/scratch/kocevski/834178/expmap_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.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/834178/ltcube_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.fits .....................! real 193.82 user 187.68 sys 4.93 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/834178/ft1_filtered_4FGL_J1640.4+3945_daily_bin674.fits scfile=/scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits outfile=/scratch/kocevski/834178/cmap_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=250.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.56 user 0.39 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/834178/ft1_filtered_4FGL_J1640.4+3945_daily_bin674.fits scfile=/scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits outfile=/scratch/kocevski/834178/cmap_HighResolution_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.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.56 user 0.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/834178/ft1_filtered_4FGL_J1640.4+3945_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834178/Model_4FGL_J1640.4+3945_daily_bin674.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/834178/ft1_filtered_4FGL_J1640.4+3945_daily_bin674.fits.....................! real 47.69 user 46.36 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/834178/ft1_filtered_4FGL_J1640.4+3945_daily_bin674.fits', '/scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits', expMap='/scratch/kocevski/834178/expmap_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.fits', expCube='/scratch/kocevski/834178/ltcube_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/834178/Model_4FGL_J1640.4+3945_daily_bin674.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/834178/ft1_filtered_4FGL_J1640.4+3945_daily_bin674.fits Spacecraft file(s): /scratch/kocevski/834178/ft2_4FGL_J1640.4+3945_daily_bin674.fits Exposure map: /scratch/kocevski/834178/expmap_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.fits Exposure cube: /scratch/kocevski/834178/ltcube_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/834178/Model_4FGL_J1640.4+3945_daily_bin674.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) = 5425.27032295 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5425.23064016 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19541E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.8918 1.0000 .10000E-03 10000. 4 'Prefactor ' 8.1214 1.0000 .10000E-03 10000. 5 'Prefactor ' 8.2111 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .51450 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 71.812 1.0000 .10000E-03 10000. 10 'Prefactor ' 5.3988 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .22410E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.6919 1.0000 .10000E-03 10000. 14 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10772E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.5026 1.0000 .10000E-03 10000. 17 'norm ' .10002E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10780E-01 1.0000 .10000E-03 10000. 19 'norm ' 1.6301 1.0000 .10000E-03 10000. 20 'norm ' .10004E-03 1.0000 .10000E-03 10000. 21 'norm ' 6.1831 1.0000 .10000E-03 10000. 22 'Prefactor ' 88.401 1.0000 .10000E-03 10000. 23 'norm ' .10300E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .58865 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.3361 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= 5425.231 FROM MIGRAD STATUS=CONVERGED 654 CALLS 3193 TOTAL EDM= .90E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 127.95 .33175E-05** at limit ** 2 Prefactor .10000E-03 58.279 .60522E-06** at limit ** 3 Prefactor 2.8952 5.1154 -.20525E-05 .33552E-04 4 Prefactor 8.1282 11.022 -.91614E-07 .76063E-06 5 Prefactor 8.1777 31.291 -.31170E-06 .46641E-04 6 Prefactor .10000E-03 3.2057 .12240E-06** at limit ** 7 norm .51469 .24826 .54719E-07 -.34948E-03 8 norm .10000E-03 5.9682 .96691E-08** at limit ** 9 Prefactor 71.821 32.856 .71506E-07 -.25458E-04 10 Prefactor 5.4000 5.3792 -.45007E-06 .38692E-04 11 norm .10000E-03 32.420 .34719E-07** at limit ** 12 Prefactor .10000E-03 1.0583 -.48044E-06** at limit ** 13 Prefactor 1.6976 1.7501 .13999E-06 -.31766E-03 14 Prefactor .10000E-03 1.3409 .49446E-07** at limit ** 15 Prefactor .10000E-03 1.8569 .10190E-06** at limit ** 16 norm 2.5025 2.0747 -.76035E-07 -.42466E-04 17 norm .10000E-03 .43832 .55807E-07** at limit ** 18 Prefactor .10000E-03 88.687 .80214E-05** at limit ** 19 norm 1.6298 1.3474 -.26117E-06 -.14747E-03 20 norm .10000E-03 12.151 -.15639E-07** at limit ** 21 norm 6.1824 4.0417 -.30415E-06 -.18653E-05 22 Prefactor 88.403 69.026 -.32454E-06 .15004E-05 23 norm .10000E-03 4.9295 -.18432E-06** at limit ** 24 Prefactor .10000E-03 32.097 -.10630E-06** at limit ** 25 Normalizat .58812 .25484 .26317E-05 -.87337E-05 26 Prefactor 1.3364 .18985 .49610E-06 -.21963E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 2.89519 Prefactor = 8.12823 Prefactor = 8.17766 Prefactor = 0.0001 norm = 0.514688 norm = 0.0001 Prefactor = 71.821 Prefactor = 5.40003 norm = 0.0001 Prefactor = 0.000100001 Prefactor = 1.69758 Prefactor = 0.0001 Prefactor = 0.000100001 norm = 2.50252 norm = 0.0001 Prefactor = 0.0001 norm = 1.62981 norm = 0.0001 norm = 6.18245 Prefactor = 88.403 norm = 0.0001 Prefactor = 0.0001 Normalizat = 0.588119 Prefactor = 1.33636 ********** ** 18 **HESSE ********** FCN= 5425.231 FROM HESSE STATUS=OK 464 CALLS 3657 TOTAL EDM= .42E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 129.15 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 58.435 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.8952 5.1182 .20084E-03 -1.5368 4 Prefactor 8.1282 10.986 .14069E-03 -1.5138 5 Prefactor 8.1777 31.292 .13991E-03 -1.5136 6 Prefactor .10000E-03 3.2627 .12848E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .51469 .24563 .20835E-04 -1.5564 8 norm .10000E-03 5.9683 .17575E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 71.821 32.885 .47374E-04 -1.4011 10 Prefactor 5.4000 5.3726 .16378E-03 -1.5243 11 norm .10000E-03 32.449 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 4.4018 .12803E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.6976 1.7666 .86667E-04 -1.5447 14 Prefactor .10000E-03 1.3428 .83289E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 4.5148 .19330E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.5025 2.0625 .91378E-04 -1.5392 17 norm .10000E-03 .44246 .47582E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 86.380 .39141E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 1.6298 1.3019 .71859E-04 -1.5453 20 norm .10000E-03 12.249 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 6.1824 4.0030 .11321E-03 -1.5211 22 Prefactor 88.403 68.152 .42733E-04 -1.3825 23 norm .10000E-03 17.094 .31282E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 32.107 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .58812 .28932 .38073E-03 -1.0849 26 Prefactor 1.3364 .21995 .21081E-03 -.82232 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.16754e-10 Minuit parameter uncertainties: 1 0.00040213 2 0.000371494 3 5.11901 4 10.989 5 31.3551 6 1.45086e-05 7 0.245629 8 4.49834e-07 9 32.893 10 5.37303 11 1.15248e-05 12 9.93285e-05 13 1.76665 14 7.46677e-07 15 0.000131391 16 2.06257 17 4.41687e-07 18 0.000346209 19 1.3019 20 2.17264e-05 21 4.00319 22 68.2121 23 0.000155023 24 6.00284e-05 25 0.290066 26 0.2201 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5425.23055455 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 9.933e-05 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.336e+00 2.201e-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: 5.881e-01 2.901e-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: 1.51e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/834178/likelihoodResults_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.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) = 5425.23164816 delta logL = -0.00109361018986 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5425.23055086 delta logL = 3.69027202396e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .12991E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.5233 1.0000 .0000 10.000 3 'Normalizat' .58787 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.3365 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= 5424.132 FROM MIGRAD STATUS=CONVERGED 190 CALLS 369 TOTAL EDM= .19E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .12532E-02 .78428E-05** at limit ** 2 Index 6.9536 .30887 .38648E-02 .64197E-03 3 Normalizat .46031 .27615 .42571E-03 -.22940E-04 4 Prefactor 1.4066 .22050 .20596E-03 -.81783E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 6.95363 Normalizat = 0.460314 Prefactor = 1.40655 ********** ** 18 **HESSE ********** FCN= 5424.132 FROM HESSE STATUS=OK 25 CALLS 394 TOTAL EDM= .14E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .12480E-02 .31371E-06 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 6.9536 .30286 .77296E-03 .40142 3 Normalizat .46031 .27600 .17029E-04 -1.1429 4 Prefactor 1.4066 .22047 .41191E-04 -.80192 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.43577e-11 Minuit parameter uncertainties: 1 6.43275e-09 2 0.30308 3 0.27682 4 0.220619 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/834178': 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) = 5424.13203568 delta logL = 1.09851887449 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 6.433e-09 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 6.954e+00 3.031e-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: 1.407e+00 2.206e-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: 4.603e-01 2.768e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.41 Ra Dec: 250.119 39.763 Photon Index (Free Index): 6.95 +/- 0.30 Photon Flux (Free Index): 1.34e-07 +/- 9.77e-08 Energy Flux (Free Index): 1.60e-05 +/- 1.16e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/834178/cmap_HighResolution_414028801_414288001_4FGL_J1640.4+3945_daily_bin674.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/834178 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', comment='SUCCESS', energy_flux2='1.60e-05', dlogl='1.10e+00', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-09-15 06:46:30.784724', photon_index_error2='0.30', photon_index2='6.95', ts='-0.00', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.16e-05', EG='0.59', time_epoch_completed='1631713590.78', return_code='0', job_id='834178', GAL2='1.41', EG2='0.46', return_code2='0', photon_flux_error2='9.77e-08', ts2='2.41', photon_index='2.42' WHERE bin_id='674' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:46:30 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 834178: <4FGL_J1640.4+3945_daily_bin674> in cluster Done Job <4FGL_J1640.4+3945_daily_bin674> was submitted from host by user in cluster at Wed Sep 15 06:30:28 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:33:14 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:33:14 2021 Terminated at Wed Sep 15 06:46:31 2021 Results reported at Wed Sep 15 06:46:31 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin674 250.119 39.7626 414028801 414288001 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 : 765.00 sec. Max Memory : 753 MB Average Memory : 310.67 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 798 sec. Turnaround time : 963 sec. The output (if any) is above this job summary.