/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 60 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 = 7522 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin657 RA = 250.119, Dec = 39.7626 tmin = 409622401, tmax = 409881601 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='834154', job_status='RUN', time_executed='2021-09-15 06:33:55.792309', time_epoch_executed='1631712835.79' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='657' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/834154 Creating custom pfile directory: /scratch/kocevski/834154/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=409622401.0 && nMetStart<409881601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=409622401.0 && nMetStart<409881601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/834154/ft1_4FGL_J1640.4+3945_daily_bin657.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=409622401.0 && nMetStart<409881601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/834154/ft1_4FGL_J1640.4+3945_daily_bin657.fits outfile=/scratch/kocevski/834154/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin657.fits ra=250.119 dec=39.7626 rad=12.0 tmin=409622401.0 tmax=409881601.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.75 user 5.45 sys 0.26 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.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/834154/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin657.fits evtable="EVENTS" outfile="/scratch/kocevski/834154/ft1_filtered_4FGL_J1640.4+3945_daily_bin657.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.50 user 0.33 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/834154/ft1_filtered_4FGL_J1640.4+3945_daily_bin657.fits" evtable="EVENTS" scfile=/scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits sctable="SC_DATA" outfile=/scratch/kocevski/834154/ltcube_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.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/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits .....................! real 14.65 user 14.26 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/834154/ft1_filtered_4FGL_J1640.4+3945_daily_bin657.fits evtable="EVENTS" scfile=/scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits sctable="SC_DATA" expcube=/scratch/kocevski/834154/ltcube_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.fits outfile=/scratch/kocevski/834154/expmap_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.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/834154/ltcube_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.fits .....................! real 196.03 user 190.12 sys 5.47 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/834154/ft1_filtered_4FGL_J1640.4+3945_daily_bin657.fits scfile=/scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits outfile=/scratch/kocevski/834154/cmap_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.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.37 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/834154/ft1_filtered_4FGL_J1640.4+3945_daily_bin657.fits scfile=/scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits outfile=/scratch/kocevski/834154/cmap_HighResolution_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=250.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.55 user 0.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/834154/ft1_filtered_4FGL_J1640.4+3945_daily_bin657.fits evtable="EVENTS" scfile=/scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834154/Model_4FGL_J1640.4+3945_daily_bin657.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/834154/ft1_filtered_4FGL_J1640.4+3945_daily_bin657.fits.....................! real 49.79 user 48.31 sys 1.32 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/834154/ft1_filtered_4FGL_J1640.4+3945_daily_bin657.fits', '/scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits', expMap='/scratch/kocevski/834154/expmap_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.fits', expCube='/scratch/kocevski/834154/ltcube_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/834154/Model_4FGL_J1640.4+3945_daily_bin657.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/834154/ft1_filtered_4FGL_J1640.4+3945_daily_bin657.fits Spacecraft file(s): /scratch/kocevski/834154/ft2_4FGL_J1640.4+3945_daily_bin657.fits Exposure map: /scratch/kocevski/834154/expmap_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.fits Exposure cube: /scratch/kocevski/834154/ltcube_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/834154/Model_4FGL_J1640.4+3945_daily_bin657.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) = 5302.15857907 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5302.13155852 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 ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 10.574 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .32193E-01 1.0000 .10000E-03 10000. 7 'norm ' 1.4264 1.0000 .10000E-03 10000. 8 'norm ' 17.998 1.0000 .10000E-03 10000. 9 'Prefactor ' 5.3832 1.0000 .10000E-03 10000. 10 'Prefactor ' 14.971 1.0000 .10000E-03 10000. 11 'norm ' .10005E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .15751E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.0174 1.0000 .10000E-03 10000. 14 'Prefactor ' 6.2918 1.0000 .10000E-03 10000. 15 'Prefactor ' 8.3507 1.0000 .10000E-03 10000. 16 'norm ' 1.3865 1.0000 .10000E-03 10000. 17 'norm ' .10006E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10096E-03 1.0000 .10000E-03 10000. 19 'norm ' .10201E-03 1.0000 .10000E-03 10000. 20 'norm ' .10380E-03 1.0000 .10000E-03 10000. 21 'norm ' 5.3065 1.0000 .10000E-03 10000. 22 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 23 'norm ' .10175E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 109.97 1.0000 .10000E-03 10000. 25 'Normalizat' .94982 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0757 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= 5302.131 FROM MIGRAD STATUS=CONVERGED 662 CALLS 3249 TOTAL EDM= .62E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 14.234 -.93411E-06** at limit ** 2 Prefactor .10000E-03 76.714 .61299E-04** at limit ** 3 Prefactor 10.573 5.1278 -.39472E-06 -.81642E-05 4 Prefactor .10000E-03 6.7238 .42709E-07** at limit ** 5 Prefactor .10000E-03 22.369 -.15947E-04** at limit ** 6 Prefactor .10264E-03 3.5057 -.16967E-05** at limit ** 7 norm 1.4265 .37425 .28509E-07 -.11334E-02 8 norm 18.020 34.377 .18971E-04 .14073E-03 9 Prefactor 5.3862 55.529 -.68411E-05 -.40981E-04 10 Prefactor 14.970 10.367 -.37050E-06 .16288E-03 11 norm .10000E-03 54.392 -.34466E-04** at limit ** 12 Prefactor .10000E-03 1.7684 .37739E-06** at limit ** 13 Prefactor 1.0194 2.7367 .15260E-05 .37640E-04 14 Prefactor 6.2909 8.3599 -.24641E-06 -.45055E-04 15 Prefactor 8.3521 7.0323 -.66659E-05 -.21266E-03 16 norm 1.3862 2.3226 -.35032E-07 -.80674E-03 17 norm .10000E-03 1.0119 .10216E-06** at limit ** 18 Prefactor .10000E-03 58.899 -.18745E-04** at limit ** 19 norm .10000E-03 1.1972 .68521E-06** at limit ** 20 norm .10000E-03 18.623 .87928E-05** at limit ** 21 norm 5.3061 3.6263 .23352E-06 .59656E-04 22 Prefactor .10000E-03 31.887 .20139E-04** at limit ** 23 norm .10000E-03 4.0840 .36596E-06** at limit ** 24 Prefactor 109.94 127.36 -.20979E-04 -.56430E-04 25 Normalizat .95006 .27396 .58788E-05 -.80149E-04 26 Prefactor 1.0756 .19649 -.11423E-05 .14052E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 10.5731 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000102642 norm = 1.4265 norm = 18.02 Prefactor = 5.38619 Prefactor = 14.9702 norm = 0.0001 Prefactor = 0.0001 Prefactor = 1.01936 Prefactor = 6.29086 Prefactor = 8.35213 norm = 1.38621 norm = 0.0001 Prefactor = 0.000100004 norm = 0.000100001 norm = 0.0001 norm = 5.3061 Prefactor = 0.0001 norm = 0.0001 Prefactor = 109.943 Normalizat = 0.950064 Prefactor = 1.07559 ********** ** 18 **HESSE ********** FCN= 5302.131 FROM HESSE STATUS=OK 464 CALLS 3713 TOTAL EDM= .17E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 14.254 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 76.413 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 10.573 5.1353 .10845E-03 -1.5058 4 Prefactor .10000E-03 6.7505 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 22.384 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10264E-03 8.7734 .41045E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 1.4265 .37121 .17261E-04 -1.5469 8 norm 18.020 34.760 .94409E-04 -1.4859 9 Prefactor 5.3862 57.089 .17320E-03 -1.5244 10 Prefactor 14.970 10.372 .10351E-03 -1.4934 11 norm .10000E-03 54.176 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 5.0152 .13703E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.0194 2.1051 .12669E-03 -1.5506 14 Prefactor 6.2909 8.3466 .16003E-03 -1.5206 15 Prefactor 8.3521 6.8631 .13873E-03 -1.5130 16 norm 1.3862 2.2592 .13225E-03 -1.5472 17 norm .10000E-03 1.0197 .71407E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 60.339 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 2.9356 .15179E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 18.968 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 5.3061 3.6002 .11009E-03 -1.5247 22 Prefactor .10000E-03 31.898 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 4.0932 .14352E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 109.94 127.54 .38356E-04 -1.3607 25 Normalizat .95006 .32791 .33156E-03 -.94723 26 Prefactor 1.0756 .23643 .23771E-03 -.90250 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.71199e-09 Minuit parameter uncertainties: 1 1.31116e-05 2 3.87584e-05 3 5.13554 4 1.02283e-05 5 1.563e-05 6 0.00962971 7 0.371215 8 34.7995 9 35.1134 10 10.3728 11 0.000253076 12 6.52689e-05 13 2.10522 14 8.34818 15 6.86374 16 2.25935 17 6.77812e-06 18 0.000985871 19 0.000117542 20 0.000163151 21 3.60038 22 4.58372e-05 23 6.84569e-05 24 127.857 25 0.328601 26 0.236655 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5302.13147887 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 6.527e-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.076e+00 2.367e-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: 9.501e-01 3.286e-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.73e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.34e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/834154/likelihoodResults_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.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) = 5302.13243776 delta logL = -0.000958890474067 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5302.13141873 delta logL = 6.01423416811e-05 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .13131E-02 1.0000 .10000E-03 10000. 2 'Index ' 2.5609 1.0000 .0000 10.000 3 'Normalizat' .94954 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0760 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= 5301.550 FROM MIGRAD STATUS=CONVERGED 88 CALLS 263 TOTAL EDM= .27E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .69607E-01 1.0457 .40189E-02 .13566E-02 2 Index 4.1971 2.5597 .93052E-01 .80485E-04 3 Normalizat .84209 .53025E-01 .78725E-01 -.15779E-03 4 Prefactor 1.1285 .40510E-01 .38581E-01 -.17728E-03 ERR DEF= .500 Final values: Prefactor = 0.0696072 Index = 4.19708 Normalizat = 0.842085 Prefactor = 1.1285 ********** ** 18 **HESSE ********** FCN= 5301.550 FROM HESSE STATUS=NOT POSDEF 31 CALLS 294 TOTAL EDM= .11E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .69607E-01 3.1954 .18019E-04 -1.5655 2 Index 4.1971 7.0326 .48042E-02 -.16128 3 Normalizat .84209 .26343 .34848E-03 -.98526 4 Prefactor 1.1285 .19755 .23238E-03 -.88561 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.14261e-10 Minuit parameter uncertainties: 1 0.94261 2 5.8197 3 0.263828 4 0.197674 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/834154': 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): 102 logL (Free Index) = 5301.54997245 delta logL = 0.581506422278 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 6.961e-02 9.426e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 4.197e+00 5.820e+00 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.129e+00 1.977e-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: 8.421e-01 2.638e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.26 Ra Dec: 250.119 39.763 Photon Index (Free Index): 4.20 +/- 5.82 Photon Flux (Free Index): 1.27e-07 +/- 1.24e-07 Energy Flux (Free Index): 1.85e-05 +/- 2.49e-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/834154/cmap_HighResolution_409622401_409881601_4FGL_J1640.4+3945_daily_bin657.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/834154 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', comment='SUCCESS', energy_flux2='1.85e-05', dlogl='5.82e-01', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-09-15 06:46:45.246459', photon_index_error2='5.82', photon_index2='4.20', ts='-0.00', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.73e-07', energy_flux_error2='2.49e-05', EG='0.95', time_epoch_completed='1631713605.25', return_code='0', job_id='834154', GAL2='1.13', EG2='0.84', return_code2='102', photon_flux_error2='1.24e-07', ts2='1.26', photon_index='2.42' WHERE bin_id='657' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:46:45 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 834154: <4FGL_J1640.4+3945_daily_bin657> in cluster Done Job <4FGL_J1640.4+3945_daily_bin657> was submitted from host by user in cluster at Wed Sep 15 06:30:26 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:32:47 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:32:47 2021 Terminated at Wed Sep 15 06:46:46 2021 Results reported at Wed Sep 15 06:46:46 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin657 250.119 39.7626 409622401 409881601 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 : 768.00 sec. Max Memory : 1095 MB Average Memory : 303.93 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 838 sec. Turnaround time : 980 sec. The output (if any) is above this job summary.