aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 86 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 17505
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1117.0+2013_weekly_bin758
RA = 169.271, Dec = 20.2294
tmin = 697420801, tmax = 698025601
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='88085', job_status='RUN', time_executed='2023-02-14 01:11:58.233962', time_epoch_executed='1676365918.23' WHERE source_name='4FGL J1117.0+2013' and cadence='weekly' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88085

Creating custom pfile directory:
/scratch/kocevski/88085/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=697420801.0 && nMetStart<698025601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=697420801.0 && nMetStart<698025601.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88085/ft1_4FGL_J1117.0+2013_weekly_bin758.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=697420801.0 && nMetStart<698025601.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88085/ft1_4FGL_J1117.0+2013_weekly_bin758.fits outfile=/scratch/kocevski/88085/ft1_filteredMKT_4FGL_J1117.0+2013_weekly_bin758.fits ra=169.271 dec=20.2294 rad=12.0 tmin=697420801.0 tmax=698025601.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 7.90
user 7.61
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.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/88085/ft1_filteredMKT_4FGL_J1117.0+2013_weekly_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/88085/ft1_filtered_4FGL_J1117.0+2013_weekly_bin758.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.54
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 1236

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88085/ft1_filtered_4FGL_J1117.0+2013_weekly_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/88085/ltcube_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.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/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits
.....................!
real 26.62
user 26.24
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88085/ft1_filtered_4FGL_J1117.0+2013_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/88085/ltcube_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.fits outfile=/scratch/kocevski/88085/expmap_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.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/88085/ltcube_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.fits
.....................!
real 194.65
user 189.65
sys 4.54

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 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1117.0+2013 @ 169.271 20.2294

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/88085/ft1_filtered_4FGL_J1117.0+2013_weekly_bin758.fits scfile=/scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits outfile=/scratch/kocevski/88085/cmap_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.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=169.271 yref=20.2294 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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88085/ft1_filtered_4FGL_J1117.0+2013_weekly_bin758.fits scfile=/scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits outfile=/scratch/kocevski/88085/cmap_HighResolution_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.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=169.271 yref=20.2294 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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88085/ft1_filtered_4FGL_J1117.0+2013_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88085/Model_4FGL_J1117.0+2013_weekly_bin758.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/88085/ft1_filtered_4FGL_J1117.0+2013_weekly_bin758.fits.....................!
real 112.47
user 111.02
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88085/ft1_filtered_4FGL_J1117.0+2013_weekly_bin758.fits', '/scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits', expMap='/scratch/kocevski/88085/expmap_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.fits', expCube='/scratch/kocevski/88085/ltcube_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88085/Model_4FGL_J1117.0+2013_weekly_bin758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1117.0+2013'

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  3.413e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/88085/ft1_filtered_4FGL_J1117.0+2013_weekly_bin758.fits
Spacecraft file(s): /scratch/kocevski/88085/ft2_4FGL_J1117.0+2013_weekly_bin758.fits
Exposure map: /scratch/kocevski/88085/expmap_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.fits
Exposure cube: /scratch/kocevski/88085/ltcube_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88085/Model_4FGL_J1117.0+2013_weekly_bin758.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) = 13570.7055697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 13569.8796871

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8039       1.0000          .0000       .10000E+07
     2 'Prefactor '    .74359       1.0000          .0000       .10000E+07
     3 'Prefactor '    15.169       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.8600       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6708       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88209E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26841E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16620E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .64893E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9514       1.0000          .0000       .10000E+07
    11 'norm      '    12.945       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.9560       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.444       1.0000          .0000       .10000E+07
    14 'Prefactor '    .19568E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    88.534       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.8121       1.0000          .0000       .10000E+07
    17 'Prefactor '    .71514       1.0000          .0000       .10000E+07
    18 'Prefactor '    .23415E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1218       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89122       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13569.88     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      925 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7602        4.8208       -.13128E-06    .13686E-01
   2  Prefactor     .74468        .70525       -.38393E-07   -.13766E-02
   3  Prefactor     15.219        5.6131       -.12309E-07    .14089E-01
   4  Prefactor     8.8961        5.8454       -.17103E-06   -.41431E-01
   5  Prefactor     2.6471        5.2284       -.37835E-07    .40544E-02
   6  Prefactor     .36987E-06    7.4090       -.42028E-06** at limit **
   7  Prefactor     .21744E-06    6.6005       -.22579E-06** at limit **
   8  norm           .0000        .26386       -.10605E-06** at limit **
   9  Prefactor     .63283E-08    .87629        .72705E-07** at limit **
  10  Prefactor     3.9894        4.9286       -.42338E-06   -.10111E-01
  11  norm          13.082        3.2728       -.60723E-07   -.70170E-01
  12  Prefactor     8.1643        2.2714       -.45371E-07    .15686E-02
  13  Prefactor     11.656        7.2466        .18666E-06    .87080E-01
  14  Prefactor      .0000        3.0070        .49442E-06** at limit **
  15  Prefactor     88.763        11.171        .13742E-06   -.28416    
  16  Prefactor     3.8433        3.2104        .86952E-07   -.12129E-01
  17  Prefactor     .71499        .78313        .63160E-08    .14347E-02
  18  Prefactor     .37748E-08    .80434        .14205E-06** at limit **
  19  Normalizat    1.1202        .14203        .22380E-05    .67123E-04
  20  Prefactor     .89150        .14355       -.57779E-06    .30750E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.76021
  Prefactor  = 0.744677
  Prefactor  = 15.219
  Prefactor  = 8.89605
  Prefactor  = 2.64714
  Prefactor  = 3.69871e-07
  Prefactor  = 2.17437e-07
  norm       = 0
  Prefactor  = 6.32827e-09
  Prefactor  = 3.9894
  norm       = 13.0824
  Prefactor  = 8.16433
  Prefactor  = 11.6562
  Prefactor  = 0
  Prefactor  = 88.7631
  Prefactor  = 3.8433
  Prefactor  = 0.714992
  Prefactor  = 3.77476e-09
  Normalizat = 1.12023
  Prefactor  = 0.891499
 **********
 **   18 **HESSE 
 **********

 FCN=   13569.88     FROM HESSE     STATUS=OK           339 CALLS     1264 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7602        4.8301        .33757E-03   -1.5649    
   2  Prefactor     .74468        .70114        .57238E-03   -1.5691    
   3  Prefactor     15.219        5.6420        .25689E-03   -1.5630    
   4  Prefactor     8.8961        6.6224        .33650E-03   -1.5648    
   5  Prefactor     2.6471        5.4357        .62334E-03   -1.5675    
   6  Prefactor     .36987E-06    8.0223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .21744E-06    6.9867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .26254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .63283E-08    1.8258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9894        5.6443        .50721E-03   -1.5668    
  11  norm          13.082        8.5944        .27815E-03   -1.5636    
  12  Prefactor     8.1643        9.3303        .35524E-03   -1.5651    
  13  Prefactor     11.656        9.1503        .29588E-03   -1.5640    
  14  Prefactor      .0000        3.0254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     88.763        20.125        .10629E-03   -1.5520    
  16  Prefactor     3.8433        7.5632        .51672E-03   -1.5669    
  17  Prefactor     .71499        .79780        .59487E-03   -1.5691    
  18  Prefactor     .37748E-08    1.3616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1202        .12779        .55168E-01   -.89105    
  20  Prefactor     .89150        .12363        .44893E-01   -.96439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9024e-07
Minuit parameter uncertainties:
  1  4.83013
  2  0.701143
  3  5.64201
  4  6.62236
  5  5.43575
  6  0.00344504
  7  0.00246515
  8  1.60616e-06
  9  0.000214736
  10  5.64432
  11  8.59438
  12  9.33028
  13  9.15032
  14  7.43909e-06
  15  20.1253
  16  7.56324
  17  0.7978
  18  0.00014338
  19  0.127827
  20  0.123673
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 13569.8788271

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  3.989e+00  5.644e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.915e-01  1.237e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.120e+00  1.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.70
Ra Dec: 169.271 20.229
Photon Flux Upper Limit: 5.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88085/likelihoodResults_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.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): 0
logL (Free Index) = 13569.0554051
delta logL = 0.82342196149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13569.0416246
delta logL = 0.837202547731

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1063       1.0000          .0000       .10000E+07
     2 'Index     '    2.7627       1.0000          .0000       10.000    
     3 'Normalizat'    1.0860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13569.04     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      256 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1031        26.634        .71067E-03    .14064E-01
   2  Index         2.7634        2.3730        .10420        .36130E-03
   3  Normalizat    1.0859        .37158E-01    .55910E-01    .19394E-04
   4  Prefactor     .91085        .37042E-01    .45142E-01    .27961E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10307
  Index      = 2.76335
  Normalizat = 1.08591
  Prefactor  = 0.910849
 **********
 **   18 **HESSE 
 **********

 FCN=   13569.04     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1031        6.3238        .11556E-04   -1.5679    
   2  Index         2.7634        1.3084        .62553E-02   -.46378    
   3  Normalizat    1.0859        .14311        .24723E-03   -.90205    
   4  Prefactor     .91085        .14649        .27693E-03   -.95763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88543e-07
Minuit parameter uncertainties:
  1  6.32378
  2  1.32784
  3  0.143157
  4  0.146551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88085': 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) = 13569.0416238
delta logL = 0.83720329407

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  2.103e+00  6.324e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.763e+00  1.328e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.108e-01  1.466e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.086e+00  1.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.46
Ra Dec: 169.271 20.229
Photon Index (Free Index): 2.76 +/- 1.33
Photon Flux (Free Index): 4.15e-08 +/- 3.18e-08
Energy Flux (Free Index): 9.53e-06 +/- 9.55e-06

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/88085/cmap_HighResolution_697420801_698025601_4FGL_J1117.0+2013_weekly_bin758.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/88085

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-03', comment='SUCCESS', energy_flux2='9.53e-06', dlogl='8.37e-01', photon_flux2='4.15e-08', job_status='DONE', time_completed='2023-02-14 01:25:50.272455', photon_index_error2='1.33', photon_index2='2.76', ts='0.70', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='5.11e-08', energy_flux_error2='9.55e-06', EG='1.12', time_epoch_completed='1676366750.27', return_code='0', job_id='88085', GAL2='0.91', EG2='1.09', return_code2='0', photon_flux_error2='3.18e-08', ts2='2.46', photon_index='1.96' WHERE bin_id='758' AND source_name='4FGL J1117.0+2013' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 14 01:25:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 88085: <4FGL_J1117.0+2013_weekly_bin758> in cluster <slac> Done

Job <4FGL_J1117.0+2013_weekly_bin758> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Feb 14 01:10:22 2023
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 14 01:10:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 14 01:10:23 2023
Terminated at Tue Feb 14 01:25:51 2023
Results reported at Tue Feb 14 01:25:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_weekly_bin758 169.271 20.2294 697420801 698025601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1117.0+2013 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   831.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             319.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            929 sec.

The output (if any) is above this job summary.

