/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 139 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 = 7416 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin229 RA = 250.119, Dec = 39.7626 tmin = 298684801, tmax = 298944001 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='831581', job_status='RUN', time_executed='2021-09-15 06:23:12.763337', time_epoch_executed='1631712192.76' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='229' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831581 Creating custom pfile directory: /scratch/kocevski/831581/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=298684801.0 && nMetStart<298944001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=298684801.0 && nMetStart<298944001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831581/ft1_4FGL_J1640.4+3945_daily_bin229.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=298684801.0 && nMetStart<298944001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831581/ft1_4FGL_J1640.4+3945_daily_bin229.fits outfile=/scratch/kocevski/831581/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin229.fits ra=250.119 dec=39.7626 rad=12.0 tmin=298684801.0 tmax=298944001.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.52 user 3.26 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.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/831581/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin229.fits evtable="EVENTS" outfile="/scratch/kocevski/831581/ft1_filtered_4FGL_J1640.4+3945_daily_bin229.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.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831581/ft1_filtered_4FGL_J1640.4+3945_daily_bin229.fits" evtable="EVENTS" scfile=/scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits sctable="SC_DATA" outfile=/scratch/kocevski/831581/ltcube_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.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/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits .....................! real 14.14 user 13.56 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831581/ft1_filtered_4FGL_J1640.4+3945_daily_bin229.fits evtable="EVENTS" scfile=/scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits sctable="SC_DATA" expcube=/scratch/kocevski/831581/ltcube_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.fits outfile=/scratch/kocevski/831581/expmap_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.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/831581/ltcube_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.fits .....................! real 192.93 user 186.46 sys 4.16 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/831581/ft1_filtered_4FGL_J1640.4+3945_daily_bin229.fits scfile=/scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits outfile=/scratch/kocevski/831581/cmap_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.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.38 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/831581/ft1_filtered_4FGL_J1640.4+3945_daily_bin229.fits scfile=/scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits outfile=/scratch/kocevski/831581/cmap_HighResolution_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.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.59 user 0.40 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/831581/ft1_filtered_4FGL_J1640.4+3945_daily_bin229.fits evtable="EVENTS" scfile=/scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831581/Model_4FGL_J1640.4+3945_daily_bin229.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/831581/ft1_filtered_4FGL_J1640.4+3945_daily_bin229.fits.....................! real 60.21 user 58.17 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831581/ft1_filtered_4FGL_J1640.4+3945_daily_bin229.fits', '/scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits', expMap='/scratch/kocevski/831581/expmap_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.fits', expCube='/scratch/kocevski/831581/ltcube_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831581/Model_4FGL_J1640.4+3945_daily_bin229.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/831581/ft1_filtered_4FGL_J1640.4+3945_daily_bin229.fits Spacecraft file(s): /scratch/kocevski/831581/ft2_4FGL_J1640.4+3945_daily_bin229.fits Exposure map: /scratch/kocevski/831581/expmap_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.fits Exposure cube: /scratch/kocevski/831581/ltcube_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831581/Model_4FGL_J1640.4+3945_daily_bin229.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) = 7550.78776396 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7550.78425757 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 ' .11306E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10543E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 3.6280 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .60527 1.0000 .10000E-03 10000. 8 'norm ' 15.464 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 12.295 1.0000 .10000E-03 10000. 11 'norm ' 24.587 1.0000 .10000E-03 10000. 12 'Prefactor ' 8.8842 1.0000 .10000E-03 10000. 13 'Prefactor ' .23370E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.0167 1.0000 .10000E-03 10000. 15 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 16 'norm ' 4.2803 1.0000 .10000E-03 10000. 17 'norm ' 2.1503 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.9355 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' 8.8649 1.0000 .10000E-03 10000. 21 'norm ' 2.8737 1.0000 .10000E-03 10000. 22 'Prefactor ' 42.809 1.0000 .10000E-03 10000. 23 'norm ' 5.3467 1.0000 .10000E-03 10000. 24 'Prefactor ' .10175E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2445 1.0000 .10000E-01 10.000 26 'Prefactor ' .69997 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= 7550.784 FROM MIGRAD STATUS=CONVERGED 656 CALLS 3147 TOTAL EDM= .45E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 9.2517 -.24272E-05** at limit ** 2 Prefactor .10000E-03 146.83 -.17474E-05** at limit ** 3 Prefactor .10002E-03 1.8374 .59824E-06** at limit ** 4 Prefactor 3.6260 4.2699 -.22470E-06 -.25071E-04 5 Prefactor .10000E-03 6.6790 .19092E-06** at limit ** 6 Prefactor .10000E-03 .93516 .68523E-07** at limit ** 7 norm .60525 .18950 -.20735E-08 -.17913E-03 8 norm 15.464 13.657 -.21273E-06 .52221E-05 9 Prefactor .10000E-03 15.272 .16477E-06** at limit ** 10 Prefactor 12.294 4.8992 .17484E-06 .53923E-04 11 norm 24.593 44.162 .42600E-05 .23714E-04 12 Prefactor 8.8872 2.1640 -.59670E-07 .68922E-03 13 Prefactor .10002E-03 .58404 -.96160E-07** at limit ** 14 Prefactor 1.0178 2.5539 -.89865E-07 -.20514E-03 15 Prefactor .10000E-03 1.3466 -.21798E-06** at limit ** 16 norm 4.2806 1.6700 .61498E-07 .12588E-03 17 norm 2.1500 1.0286 -.38511E-07 .50424E-04 18 Prefactor 2.9359 2.0880 .34516E-06 -.15166E-02 19 norm .10000E-03 .16190 -.90471E-08** at limit ** 20 norm 8.8652 6.8641 -.72872E-06 -.52144E-05 21 norm 2.8738 1.5400 -.51002E-07 .16264E-04 22 Prefactor 42.813 51.813 .30022E-05 .11856E-04 23 norm 5.3465 5.7273 -.34505E-05 -.14339E-03 24 Prefactor .10000E-03 49.911 .22190E-05** at limit ** 25 Normalizat 1.2444 .18360 -.16845E-06 -.57016E-04 26 Prefactor .69998 .14427 .89045E-06 -.95979E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100024 Prefactor = 3.62604 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.605255 norm = 15.4639 Prefactor = 0.0001 Prefactor = 12.2937 norm = 24.5927 Prefactor = 8.88717 Prefactor = 0.000100016 Prefactor = 1.01779 Prefactor = 0.0001 norm = 4.28055 norm = 2.15004 Prefactor = 2.93594 norm = 0.0001 norm = 8.86522 norm = 2.8738 Prefactor = 42.8131 norm = 5.3465 Prefactor = 0.000100001 Normalizat = 1.24439 Prefactor = 0.699983 ********** ** 18 **HESSE ********** FCN= 7550.784 FROM HESSE STATUS=OK 470 CALLS 3617 TOTAL EDM= .16E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 9.2652 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 147.38 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10002E-03 9.0792 .21962E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 3.6260 4.2654 .18865E-03 -1.5327 5 Prefactor .10000E-03 6.6841 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 .94041 .82017E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .60525 .18940 .18903E-04 -1.5552 8 norm 15.464 13.655 .10185E-03 -1.4921 9 Prefactor .10000E-03 15.347 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 12.294 4.8730 .11424E-03 -1.5007 11 norm 24.593 44.150 .80785E-04 -1.4716 12 Prefactor 8.8872 1.8945 .47158E-04 -1.5112 13 Prefactor .10002E-03 30.349 .10515E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.0178 2.3600 .20244E-02 -1.5506 15 Prefactor .10000E-03 1.3820 .19685E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 4.2806 1.6693 .67996E-04 -1.5294 17 norm 2.1500 1.0241 .56726E-04 -1.5415 18 Prefactor 2.9359 6.4406 .11854E-02 -1.5365 19 norm .10000E-03 .16404 .34130E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 8.8652 6.8540 .13462E-03 -1.5112 21 norm 2.8738 1.5430 .76323E-04 -1.5369 22 Prefactor 42.813 51.831 .61271E-04 -1.4398 23 norm 5.3465 5.7405 .17380E-03 -1.5245 24 Prefactor .10000E-03 50.223 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.2444 .21791 .25703E-03 -.85242 26 Prefactor .69998 .17274 .26972E-03 -1.0353 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.59995e-08 Minuit parameter uncertainties: 1 1.13381e-05 2 5.90234e-05 3 0.000938378 4 4.26574 5 4.71864e-07 6 1.39306e-06 7 0.189405 8 13.6582 9 9.15709e-06 10 4.87312 11 44.209 12 1.89452 13 0.00138342 14 2.36026 15 4.52101e-06 16 1.6693 17 1.02411 18 6.4421 19 3.42571e-09 20 6.85461 21 1.543 22 51.8857 23 5.74114 24 0.000393053 25 0.218072 26 0.172876 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7550.78425313 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 8.887e+00 1.895e+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: 7.000e-01 1.729e-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.244e+00 2.181e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 73.85 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 3.51e-07 +/- 7.48e-08 Energy Flux (Fixed Index): 1.12e-04 +/- 2.39e-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) = 7550.60620939 delta logL = 0.178043740299 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7550.58256411 delta logL = 0.20168902084 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.470 1.0000 .10000E-03 10000. 2 'Index ' 2.2922 1.0000 .0000 10.000 3 'Normalizat' 1.2747 1.0000 .10000E-01 10.000 4 'Prefactor ' .68277 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= 7550.583 FROM MIGRAD STATUS=CONVERGED 51 CALLS 239 TOTAL EDM= .25E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.470 27.574 .30956E-02 .14994E-02 2 Index 2.2923 1.5996 .54947E-01 .20120E-03 3 Normalizat 1.2747 .17121 .57600E-01 .69840E-05 4 Prefactor .68282 .95823E-01 .61660E-01 .25311E-04 ERR DEF= .500 Final values: Prefactor = 10.4702 Index = 2.29225 Normalizat = 1.27465 Prefactor = 0.682822 ********** ** 18 **HESSE ********** FCN= 7550.583 FROM HESSE STATUS=OK 31 CALLS 270 TOTAL EDM= .88E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.470 3.3193 .52413E-04 -1.5061 2 Index 2.2923 .20692 .23602E-02 -.57228 3 Normalizat 1.2747 .21634 .25472E-03 -.84326 4 Prefactor .68282 .17106 .27275E-03 -1.0420 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.77884e-10 Minuit parameter uncertainties: 1 3.31939 2 0.207001 3 0.216496 4 0.171194 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831581': 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) = 7550.58256393 delta logL = 0.201689195344 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.047e+01 3.319e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.292e+00 2.070e-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: 6.828e-01 1.712e-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.275e+00 2.165e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 76.46 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.29 +/- 0.21 Photon Flux (Free Index): 3.25e-07 +/- 7.68e-08 Energy Flux (Free Index): 1.24e-04 +/- 3.46e-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/831581/cmap_HighResolution_298684801_298944001_4FGL_J1640.4+3945_daily_bin229.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831581 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.51e-07', energy_flux2='1.24e-04', photon_flux_error='7.48e-08', dlogl='2.02e-01', energy_flux='1.12e-04', photon_flux2='3.25e-07', job_status='DONE', time_completed='2021-09-15 06:37:05.314538', photon_index_error2='0.21', photon_index2='2.29', ts='73.85', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='3.46e-05', EG='1.24', time_epoch_completed='1631713025.31', return_code='0', job_id='831581', GAL2='0.68', EG2='1.27', return_code2='0', energy_flux_error='2.39e-05', photon_flux_error2='7.68e-08', ts2='76.46', photon_index='2.42' WHERE bin_id='229' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:37:05 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831581: <4FGL_J1640.4+3945_daily_bin229> in cluster Done Job <4FGL_J1640.4+3945_daily_bin229> was submitted from host by user in cluster at Wed Sep 15 06:20:21 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:20:44 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:20:44 2021 Terminated at Wed Sep 15 06:37:06 2021 Results reported at Wed Sep 15 06:37:06 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin229 250.119 39.7626 298684801 298944001 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 : 822.00 sec. Max Memory : 618 MB Average Memory : 271.67 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 982 sec. Turnaround time : 1005 sec. The output (if any) is above this job summary.