/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 35 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 = 7548 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin149 RA = 250.119, Dec = 39.7626 tmin = 277948801, tmax = 278208001 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='830257', job_status='RUN', time_executed='2021-09-15 06:16:21.288610', time_epoch_executed='1631711781.29' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='149' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/830257 Creating custom pfile directory: /scratch/kocevski/830257/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=277948801.0 && nMetStart<278208001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=277948801.0 && nMetStart<278208001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/830257/ft1_4FGL_J1640.4+3945_daily_bin149.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=277948801.0 && nMetStart<278208001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/830257/ft1_4FGL_J1640.4+3945_daily_bin149.fits outfile=/scratch/kocevski/830257/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin149.fits ra=250.119 dec=39.7626 rad=12.0 tmin=277948801.0 tmax=278208001.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.24 user 3.98 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.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/830257/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin149.fits evtable="EVENTS" outfile="/scratch/kocevski/830257/ft1_filtered_4FGL_J1640.4+3945_daily_bin149.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.51 user 0.35 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/830257/ft1_filtered_4FGL_J1640.4+3945_daily_bin149.fits" evtable="EVENTS" scfile=/scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits sctable="SC_DATA" outfile=/scratch/kocevski/830257/ltcube_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.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/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits .....................! real 14.80 user 14.38 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/830257/ft1_filtered_4FGL_J1640.4+3945_daily_bin149.fits evtable="EVENTS" scfile=/scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits sctable="SC_DATA" expcube=/scratch/kocevski/830257/ltcube_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.fits outfile=/scratch/kocevski/830257/expmap_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.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/830257/ltcube_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.fits .....................! real 192.79 user 186.45 sys 5.64 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/830257/ft1_filtered_4FGL_J1640.4+3945_daily_bin149.fits scfile=/scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits outfile=/scratch/kocevski/830257/cmap_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.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.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/830257/ft1_filtered_4FGL_J1640.4+3945_daily_bin149.fits scfile=/scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits outfile=/scratch/kocevski/830257/cmap_HighResolution_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.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.40 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/830257/ft1_filtered_4FGL_J1640.4+3945_daily_bin149.fits evtable="EVENTS" scfile=/scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830257/Model_4FGL_J1640.4+3945_daily_bin149.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/830257/ft1_filtered_4FGL_J1640.4+3945_daily_bin149.fits.....................! real 64.84 user 63.24 sys 1.25 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/830257/ft1_filtered_4FGL_J1640.4+3945_daily_bin149.fits', '/scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits', expMap='/scratch/kocevski/830257/expmap_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.fits', expCube='/scratch/kocevski/830257/ltcube_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/830257/Model_4FGL_J1640.4+3945_daily_bin149.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/830257/ft1_filtered_4FGL_J1640.4+3945_daily_bin149.fits Spacecraft file(s): /scratch/kocevski/830257/ft2_4FGL_J1640.4+3945_daily_bin149.fits Exposure map: /scratch/kocevski/830257/expmap_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.fits Exposure cube: /scratch/kocevski/830257/ltcube_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/830257/Model_4FGL_J1640.4+3945_daily_bin149.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) = 8159.47516406 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8159.4627708 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 14.147 1.0000 .10000E-03 10000. 2 'Prefactor ' .10020E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.4176 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10556E-02 1.0000 .10000E-03 10000. 7 'norm ' .14567 1.0000 .10000E-03 10000. 8 'norm ' 21.491 1.0000 .10000E-03 10000. 9 'Prefactor ' 8.2206 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'norm ' .10012E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.1266 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.0898 1.0000 .10000E-03 10000. 14 'Prefactor ' .11096E-02 1.0000 .10000E-03 10000. 15 'Prefactor ' .94343 1.0000 .10000E-03 10000. 16 'norm ' .21320 1.0000 .10000E-03 10000. 17 'norm ' 1.5603 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' 3.3701 1.0000 .10000E-03 10000. 20 'norm ' .10025E-03 1.0000 .10000E-03 10000. 21 'norm ' 2.7603 1.0000 .10000E-03 10000. 22 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 23 'norm ' .10098E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 208.26 1.0000 .10000E-03 10000. 25 'Normalizat' 1.3060 1.0000 .10000E-01 10.000 26 'Prefactor ' .91033 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= 8159.463 FROM MIGRAD STATUS=CONVERGED 637 CALLS 3149 TOTAL EDM= .24E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.146 16.713 .61658E-07 -.56112E-05 2 Prefactor .10000E-03 74.083 .19439E-06** at limit ** 3 Prefactor 4.4171 3.5571 .10985E-06 -.28023E-04 4 Prefactor .10000E-03 4.9515 .16740E-06** at limit ** 5 Prefactor .10000E-03 16.550 .18379E-06** at limit ** 6 Prefactor .10001E-03 1.5419 .51340E-06** at limit ** 7 norm .14564 .12641 .73941E-08 -.84718E-03 8 norm 21.498 18.819 -.19435E-06 -.77054E-04 9 Prefactor 8.2190 23.016 .32611E-06 -.37555E-04 10 Prefactor .10000E-03 2.1071 .69104E-07** at limit ** 11 norm .10000E-03 25.750 -.87159E-07** at limit ** 12 Prefactor 3.1280 2.3371 -.69665E-07 -.10141E-02 13 Prefactor 2.0888 2.3741 -.91271E-07 -.89287E-03 14 Prefactor .10006E-03 1.5865 -.17916E-06** at limit ** 15 Prefactor .94512 2.7395 .14001E-05 .82540E-04 16 norm .21618 1.0344 .31239E-06 -.41548E-03 17 norm 1.5606 .91816 -.19092E-07 .45225E-04 18 Prefactor .10000E-03 2.7510 .11423E-08** at limit ** 19 norm 3.3700 1.0354 -.71613E-08 -.29567E-03 20 norm .10000E-03 5.9945 -.81610E-06** at limit ** 21 norm 2.7603 1.4493 .92074E-08 -.25507E-04 22 Prefactor .10000E-03 11.728 -.13925E-06** at limit ** 23 norm .10000E-03 4.7139 -.20888E-05** at limit ** 24 Prefactor 208.20 90.322 .15336E-06 -.74747E-04 25 Normalizat 1.3064 .20265 -.94242E-06 -.14481E-03 26 Prefactor .91012 .15471 .17335E-06 -.17012E-03 ERR DEF= .500 Final values: Prefactor = 14.1459 Prefactor = 0.0001 Prefactor = 4.41712 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100008 norm = 0.14564 norm = 21.4985 Prefactor = 8.21898 Prefactor = 0.0001 norm = 0.0001 Prefactor = 3.12799 Prefactor = 2.08877 Prefactor = 0.000100064 Prefactor = 0.945118 norm = 0.21618 norm = 1.56056 Prefactor = 0.0001 norm = 3.37001 norm = 0.0001 norm = 2.76033 Prefactor = 0.0001 norm = 0.0001 Prefactor = 208.202 Normalizat = 1.30638 Prefactor = 0.910124 ********** ** 18 **HESSE ********** FCN= 8159.463 FROM HESSE STATUS=OK 464 CALLS 3613 TOTAL EDM= .41E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 14.146 16.716 .10649E-03 -1.4956 2 Prefactor .10000E-03 74.237 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.4171 3.5576 .14632E-03 -1.5288 4 Prefactor .10000E-03 5.0911 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 16.636 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10001E-03 7.2518 .20245E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .14564 .12300 .25548E-04 -1.5632 8 norm 21.498 18.766 .86400E-04 -1.4780 9 Prefactor 8.2190 22.714 .13983E-03 -1.5135 10 Prefactor .10000E-03 2.1280 .12794E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 25.768 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 3.1280 2.4569 .67428E-04 -1.5354 13 Prefactor 2.0888 2.4615 .82607E-04 -1.5419 14 Prefactor .10006E-03 28.448 .20728E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .94512 2.7393 .23872E-03 -1.5514 16 norm .21618 1.8717 .16833E-02 -1.5615 17 norm 1.5606 .88930 .62026E-04 -1.5458 18 Prefactor .10000E-03 2.7667 .14622E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 3.3700 1.0337 .11021E-03 -1.5341 20 norm .10000E-03 6.0332 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.7603 1.4465 .76216E-04 -1.5376 22 Prefactor .10000E-03 11.730 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 4.6750 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 208.20 89.704 .14006E-03 -1.2812 25 Normalizat 1.3064 .23984 .27805E-03 -.83376 26 Prefactor .91012 .18577 .26083E-03 -.95788 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.13986e-08 Minuit parameter uncertainties: 1 16.7212 2 4.60699e-05 3 3.55772 4 6.48274e-06 5 1.76178e-05 6 0.000491876 7 0.122997 8 18.7711 9 22.7383 10 2.7269e-06 11 2.29255e-05 12 2.45696 13 2.46157 14 0.00268984 15 2.73963 16 1.27195 17 0.889312 18 2.35514e-07 19 1.03375 20 1.08251e-05 21 1.44651 22 1.97827e-06 23 2.88554e-05 24 89.7631 25 0.240044 26 0.185903 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8159.46268326 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.128e+00 2.457e+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.101e-01 1.859e-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.306e+00 2.400e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 12.17 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.24e-07 +/- 9.70e-08 Energy Flux (Fixed Index): 3.94e-05 +/- 3.09e-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) = 8159.46163091 delta logL = 0.00105235050796 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8159.46062102 delta logL = 0.00206223823625 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.0519 1.0000 .10000E-03 10000. 2 'Index ' 2.4462 1.0000 .0000 10.000 3 'Normalizat' 1.3034 1.0000 .10000E-01 10.000 4 'Prefactor ' .91160 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= 8159.461 FROM MIGRAD STATUS=CONVERGED 51 CALLS 200 TOTAL EDM= .43E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.0521 17.751 .58059E-02 .43711E-03 2 Index 2.4461 2.3204 .12578 .17967E-03 3 Normalizat 1.3034 .81479E-01 .62917E-01 .92994E-05 4 Prefactor .91160 .54081E-01 .45153E-01 .16629E-04 ERR DEF= .500 Final values: Prefactor = 3.05213 Index = 2.44612 Normalizat = 1.30341 Prefactor = 0.911602 ********** ** 18 **HESSE ********** FCN= 8159.461 FROM HESSE STATUS=OK 33 CALLS 233 TOTAL EDM= .74E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.0521 1.9084 .65981E-04 -1.5359 2 Index 2.4461 .40932 .44407E-02 -.53609 3 Normalizat 1.3034 .23601 .27829E-03 -.83465 4 Prefactor .91160 .18508 .26064E-03 -.95737 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.40429e-12 Minuit parameter uncertainties: 1 1.9084 2 0.409937 3 0.236203 4 0.185205 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/830257': 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) = 8159.46062101 delta logL = 0.00206225519833 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.052e+00 1.908e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.446e+00 4.099e-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.116e-01 1.852e-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.303e+00 2.362e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 12.52 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.45 +/- 0.41 Photon Flux (Free Index): 1.26e-07 +/- 7.07e-08 Energy Flux (Free Index): 3.91e-05 +/- 1.83e-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/830257/cmap_HighResolution_277948801_278208001_4FGL_J1640.4+3945_daily_bin149.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/830257 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.24e-07', energy_flux2='3.91e-05', photon_flux_error='9.70e-08', dlogl='2.06e-03', energy_flux='3.94e-05', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-09-15 06:30:39.330815', photon_index_error2='0.41', photon_index2='2.45', ts='12.17', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='1.31', time_epoch_completed='1631712639.33', return_code='0', job_id='830257', GAL2='0.91', EG2='1.30', return_code2='0', energy_flux_error='3.09e-05', photon_flux_error2='7.07e-08', ts2='12.52', photon_index='2.42' WHERE bin_id='149' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:30:39 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 830257: <4FGL_J1640.4+3945_daily_bin149> in cluster Done Job <4FGL_J1640.4+3945_daily_bin149> was submitted from host by user in cluster at Wed Sep 15 06:15:14 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:15:37 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:15:37 2021 Terminated at Wed Sep 15 06:30:40 2021 Results reported at Wed Sep 15 06:30:40 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin149 250.119 39.7626 277948801 278208001 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 : 849.00 sec. Max Memory : 1258 MB Average Memory : 345.42 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 902 sec. Turnaround time : 926 sec. The output (if any) is above this job summary.