/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 31 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 = 7417 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin140 RA = 250.119, Dec = 39.7626 tmin = 275616001, tmax = 275875201 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='830244', job_status='RUN', time_executed='2021-09-15 06:16:08.207371', time_epoch_executed='1631711768.21' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='140' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/830244 Creating custom pfile directory: /scratch/kocevski/830244/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=275616001.0 && nMetStart<275875201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=275616001.0 && nMetStart<275875201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/830244/ft1_4FGL_J1640.4+3945_daily_bin140.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=275616001.0 && nMetStart<275875201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/830244/ft1_4FGL_J1640.4+3945_daily_bin140.fits outfile=/scratch/kocevski/830244/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin140.fits ra=250.119 dec=39.7626 rad=12.0 tmin=275616001.0 tmax=275875201.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 4.21 user 3.96 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.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/830244/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin140.fits evtable="EVENTS" outfile="/scratch/kocevski/830244/ft1_filtered_4FGL_J1640.4+3945_daily_bin140.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.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/830244/ft1_filtered_4FGL_J1640.4+3945_daily_bin140.fits" evtable="EVENTS" scfile=/scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits sctable="SC_DATA" outfile=/scratch/kocevski/830244/ltcube_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.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/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits .....................! real 13.61 user 13.19 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/830244/ft1_filtered_4FGL_J1640.4+3945_daily_bin140.fits evtable="EVENTS" scfile=/scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits sctable="SC_DATA" expcube=/scratch/kocevski/830244/ltcube_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.fits outfile=/scratch/kocevski/830244/expmap_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.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/830244/ltcube_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.fits .....................! real 191.62 user 186.15 sys 4.76 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/830244/ft1_filtered_4FGL_J1640.4+3945_daily_bin140.fits scfile=/scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits outfile=/scratch/kocevski/830244/cmap_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.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.57 user 0.40 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/830244/ft1_filtered_4FGL_J1640.4+3945_daily_bin140.fits scfile=/scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits outfile=/scratch/kocevski/830244/cmap_HighResolution_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.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.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/830244/ft1_filtered_4FGL_J1640.4+3945_daily_bin140.fits evtable="EVENTS" scfile=/scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830244/Model_4FGL_J1640.4+3945_daily_bin140.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/830244/ft1_filtered_4FGL_J1640.4+3945_daily_bin140.fits.....................! real 55.06 user 53.28 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/830244/ft1_filtered_4FGL_J1640.4+3945_daily_bin140.fits', '/scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits', expMap='/scratch/kocevski/830244/expmap_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.fits', expCube='/scratch/kocevski/830244/ltcube_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/830244/Model_4FGL_J1640.4+3945_daily_bin140.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/830244/ft1_filtered_4FGL_J1640.4+3945_daily_bin140.fits Spacecraft file(s): /scratch/kocevski/830244/ft2_4FGL_J1640.4+3945_daily_bin140.fits Exposure map: /scratch/kocevski/830244/expmap_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.fits Exposure cube: /scratch/kocevski/830244/ltcube_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/830244/Model_4FGL_J1640.4+3945_daily_bin140.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) = 6911.11261918 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6911.10534266 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .11719E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .21022 1.0000 .10000E-03 10000. 4 'Prefactor ' 2.9685 1.0000 .10000E-03 10000. 5 'Prefactor ' 16.224 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .67251 1.0000 .10000E-03 10000. 8 'norm ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 4.9954 1.0000 .10000E-03 10000. 10 'Prefactor ' 4.0293 1.0000 .10000E-03 10000. 11 'norm ' 7.3149 1.0000 .10000E-03 10000. 12 'Prefactor ' 4.3208 1.0000 .10000E-03 10000. 13 'Prefactor ' 4.2119 1.0000 .10000E-03 10000. 14 'Prefactor ' 6.0163 1.0000 .10000E-03 10000. 15 'Prefactor ' 3.5993 1.0000 .10000E-03 10000. 16 'norm ' .10099E-03 1.0000 .10000E-03 10000. 17 'norm ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .13982E-03 1.0000 .10000E-03 10000. 19 'norm ' 1.1814 1.0000 .10000E-03 10000. 20 'norm ' .10000E-03 1.0000 .10000E-03 10000. 21 'norm ' 3.3596 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'norm ' 5.3925 1.0000 .10000E-03 10000. 24 'Prefactor ' 142.12 1.0000 .10000E-03 10000. 25 'Normalizat' .85686 1.0000 .10000E-01 10.000 26 'Prefactor ' .96526 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.105 FROM MIGRAD STATUS=CONVERGED 648 CALLS 3259 TOTAL EDM= .54E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 8.8441 -.29666E-08** at limit ** 2 Prefactor .10000E-03 271.66 -.54921E-06** at limit ** 3 Prefactor .21028 1.6973 -.38667E-06 .36723E-03 4 Prefactor 2.9764 1.4654 .91876E-07 -.21332E-03 5 Prefactor 16.206 24.371 .39380E-06 .31723E-05 6 Prefactor .10000E-03 .87766 .30329E-08** at limit ** 7 norm .67250 .18449 .26411E-07 .25623E-03 8 norm .10000E-03 4.1965 .88674E-08** at limit ** 9 Prefactor 4.9971 18.137 -.31142E-05 .10258E-04 10 Prefactor 4.0290 4.0413 -.60064E-06 -.22400E-04 11 norm 7.3214 38.068 -.30423E-05 -.14992E-06 12 Prefactor 4.3206 2.0206 .39929E-07 .13542E-03 13 Prefactor 4.2123 2.0454 .28123E-07 .12316E-03 14 Prefactor 6.0163 4.0237 .31525E-06 .15502E-04 15 Prefactor 3.5995 2.6363 .33687E-07 .17369E-04 16 norm .10000E-03 .87976 -.21465E-08** at limit ** 17 norm .10000E-03 .24887 .94734E-09** at limit ** 18 Prefactor .10000E-03 4.0109 -.13075E-07** at limit ** 19 norm 1.1814 .68895 -.86058E-08 -.10314E-04 20 norm .10000E-03 2.0719 -.17587E-07** at limit ** 21 norm 3.3595 1.7303 -.22746E-07 -.37303E-05 22 Prefactor .10000E-03 14.718 -.43708E-07** at limit ** 23 norm 5.3923 5.6416 -.18048E-06 -.11481E-04 24 Prefactor 142.12 76.487 .42056E-05 .12382E-05 25 Normalizat .85697 .19237 .66792E-07 .51265E-04 26 Prefactor .96517 .15145 -.29174E-07 .54622E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.210281 Prefactor = 2.97645 Prefactor = 16.206 Prefactor = 0.0001 norm = 0.672504 norm = 0.0001 Prefactor = 4.99715 Prefactor = 4.02898 norm = 7.32139 Prefactor = 4.32058 Prefactor = 4.21227 Prefactor = 6.01625 Prefactor = 3.59946 norm = 0.0001 norm = 0.0001 Prefactor = 0.0001 norm = 1.18144 norm = 0.0001 norm = 3.3595 Prefactor = 0.0001 norm = 5.39235 Prefactor = 142.124 Normalizat = 0.856968 Prefactor = 0.965172 ********** ** 18 **HESSE ********** FCN= 6911.105 FROM HESSE STATUS=OK 476 CALLS 3735 TOTAL EDM= .61E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 8.8589 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 273.15 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .21028 3.5018 .20394E-02 -1.5616 4 Prefactor 2.9764 9.6169 .11784E-02 -1.5363 5 Prefactor 16.206 35.966 .99436E-04 -1.4903 6 Prefactor .10000E-03 .88592 .76025E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .67250 .18476 .16624E-04 -1.5544 8 norm .10000E-03 4.1967 .16633E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 4.9971 18.157 .17993E-03 -1.5261 10 Prefactor 4.0290 4.0368 .15635E-03 -1.5306 11 norm 7.3214 38.003 .14830E-03 -1.5167 12 Prefactor 4.3206 2.0765 .57301E-04 -1.5292 13 Prefactor 4.2123 2.0890 .59229E-04 -1.5297 14 Prefactor 6.0163 4.0172 .12707E-03 -1.5217 15 Prefactor 3.5995 2.6287 .10988E-03 -1.5329 16 norm .10000E-03 1.4690 .15042E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .10000E-03 .25288 .40390E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 4.2529 .52116E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 1.1814 .68726 .50387E-04 -1.5491 20 norm .10000E-03 2.0753 .11686E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.3595 1.7278 .75306E-04 -1.5341 22 Prefactor .10000E-03 14.723 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 5.3923 5.6338 .17305E-03 -1.5243 24 Prefactor 142.12 76.625 .33795E-04 -1.3318 25 Normalizat .85697 .23077 .28985E-03 -.97989 26 Prefactor .96517 .18217 .22973E-03 -.93900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.08419e-10 Minuit parameter uncertainties: 1 7.89376e-08 2 6.3097e-05 3 1.71595 4 9.62187 5 36.0142 6 4.30073e-07 7 0.184759 8 7.70724e-07 9 18.1771 10 4.03707 11 33.3938 12 2.07655 13 2.08903 14 4.01736 15 2.62878 16 2.77243e-07 17 1.72886e-07 18 4.70688e-06 19 0.687265 20 2.62424e-06 21 1.72784 22 6.1171e-06 23 5.63437 24 76.6787 25 0.231039 26 0.18229 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6911.10534122 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 4.321e+00 2.077e+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: 9.652e-01 1.823e-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.570e-01 2.310e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 17.16 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.71e-07 +/- 8.19e-08 Energy Flux (Fixed Index): 5.44e-05 +/- 2.61e-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) = 6910.47737037 delta logL = 0.627970847011 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6910.47639458 delta logL = 0.628946636833 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.1573 1.0000 .10000E-03 10000. 2 'Index ' 2.1063 1.0000 .0000 10.000 3 'Normalizat' .88840 1.0000 .10000E-01 10.000 4 'Prefactor ' .94826 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= 6910.476 FROM MIGRAD STATUS=CONVERGED 54 CALLS 242 TOTAL EDM= .44E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.1578 35.648 .40447E-02 .18212E-03 2 Index 2.1062 2.5562 .10307 .13048E-03 3 Normalizat .88860 .12499 .64563E-01 .22281E-04 4 Prefactor .94813 .76621E-01 .45617E-01 .10877E-04 ERR DEF= .500 Final values: Prefactor = 6.15779 Index = 2.10624 Normalizat = 0.888596 Prefactor = 0.948135 ********** ** 18 **HESSE ********** FCN= 6910.476 FROM HESSE STATUS=OK 33 CALLS 275 TOTAL EDM= .19E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.1578 2.6317 .72499E-04 -1.5212 2 Index 2.1062 .27687 .40739E-02 -.61720 3 Normalizat .88860 .21644 .28558E-03 -.96862 4 Prefactor .94813 .17983 .23163E-03 -.94479 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.91625e-12 Minuit parameter uncertainties: 1 2.63174 2 0.277084 3 0.216652 4 0.179941 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/830244': 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) = 6910.47639412 delta logL = 0.628947093484 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 6.158e+00 2.632e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.106e+00 2.771e-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.481e-01 1.799e-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.886e-01 2.167e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 19.59 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.11 +/- 0.28 Photon Flux (Free Index): 1.37e-07 +/- 6.08e-08 Energy Flux (Free Index): 7.42e-05 +/- 3.70e-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/830244/cmap_HighResolution_275616001_275875201_4FGL_J1640.4+3945_daily_bin140.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/830244 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.71e-07', energy_flux2='7.42e-05', photon_flux_error='8.19e-08', dlogl='6.29e-01', energy_flux='5.44e-05', photon_flux2='1.37e-07', job_status='DONE', time_completed='2021-09-15 06:29:27.332639', photon_index_error2='0.28', photon_index2='2.11', ts='17.16', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='3.70e-05', EG='0.86', time_epoch_completed='1631712567.33', return_code='0', job_id='830244', GAL2='0.95', EG2='0.89', return_code2='0', energy_flux_error='2.61e-05', photon_flux_error2='6.08e-08', ts2='19.59', photon_index='2.42' WHERE bin_id='140' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:29:27 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 830244: <4FGL_J1640.4+3945_daily_bin140> in cluster Done Job <4FGL_J1640.4+3945_daily_bin140> was submitted from host by user in cluster at Wed Sep 15 06:15:13 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:15:28 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:15:28 2021 Terminated at Wed Sep 15 06:29:28 2021 Results reported at Wed Sep 15 06:29:28 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin140 250.119 39.7626 275616001 275875201 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 : 798.00 sec. Max Memory : 618 MB Average Memory : 286.62 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 842 sec. Turnaround time : 855 sec. The output (if any) is above this job summary.