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


Performing analysis on: 4FGL_J0001.5+2113_weekly_bin743
RA = 0.3815, Dec = 21.2183
tmin = 688348801, tmax = 688953601
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='409405', job_status='RUN', time_executed='2022-11-01 00:06:24.375592', time_epoch_executed='1667286384.38' WHERE source_name='4FGL J0001.5+2113' and cadence='weekly' and bin_id='743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409405

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409405/ft1_4FGL_J0001.5+2113_weekly_bin743.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409405/ft1_4FGL_J0001.5+2113_weekly_bin743.fits outfile=/scratch/kocevski/409405/ft1_filteredMKT_4FGL_J0001.5+2113_weekly_bin743.fits ra=0.3815 dec=21.2183 rad=12.0 tmin=688348801.0 tmax=688953601.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.82
user 7.35
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.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/409405/ft1_filteredMKT_4FGL_J0001.5+2113_weekly_bin743.fits evtable="EVENTS" outfile="/scratch/kocevski/409405/ft1_filtered_4FGL_J0001.5+2113_weekly_bin743.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.59
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 1649

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409405/ft1_filtered_4FGL_J0001.5+2113_weekly_bin743.fits" evtable="EVENTS" scfile=/scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits sctable="SC_DATA" outfile=/scratch/kocevski/409405/ltcube_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.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/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits
.....................!
real 37.25
user 35.95
sys 0.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409405/ft1_filtered_4FGL_J0001.5+2113_weekly_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits sctable="SC_DATA" expcube=/scratch/kocevski/409405/ltcube_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.fits outfile=/scratch/kocevski/409405/expmap_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.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/409405/ltcube_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.fits
.....................!
real 193.16
user 187.51
sys 4.58

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

Setting source of interest to:
4FGL J0001.5+2113 @ 0.3815 21.2183

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/409405/ft1_filtered_4FGL_J0001.5+2113_weekly_bin743.fits scfile=/scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits outfile=/scratch/kocevski/409405/cmap_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.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=0.3815 yref=21.2183 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 1.21
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/409405/ft1_filtered_4FGL_J0001.5+2113_weekly_bin743.fits scfile=/scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits outfile=/scratch/kocevski/409405/cmap_HighResolution_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.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=0.3815 yref=21.2183 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.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/409405/ft1_filtered_4FGL_J0001.5+2113_weekly_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/409405/Model_4FGL_J0001.5+2113_weekly_bin743.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/409405/ft1_filtered_4FGL_J0001.5+2113_weekly_bin743.fits.....................!
real 191.43
user 180.46
sys 1.55

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/409405/ft1_filtered_4FGL_J0001.5+2113_weekly_bin743.fits', '/scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits', expMap='/scratch/kocevski/409405/expmap_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.fits', expCube='/scratch/kocevski/409405/ltcube_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/409405/Model_4FGL_J0001.5+2113_weekly_bin743.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0001.5+2113'

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  4.533e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
4          alpha:  2.548e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
5           beta:  1.588e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
6             Eb:  3.558e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/409405/ft1_filtered_4FGL_J0001.5+2113_weekly_bin743.fits
Spacecraft file(s): /scratch/kocevski/409405/ft2_4FGL_J0001.5+2113_weekly_bin743.fits
Exposure map: /scratch/kocevski/409405/expmap_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.fits
Exposure cube: /scratch/kocevski/409405/ltcube_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/409405/Model_4FGL_J0001.5+2113_weekly_bin743.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) = 18351.7211739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77783       1.0000          .0000       .10000E+07
     2 'Prefactor '    67.037       1.0000          .0000       .10000E+07
     3 'Prefactor '    .32358       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2090       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.0201       1.0000          .0000       .10000E+07
     6 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.7777       1.0000          .0000       .10000E+07
     8 'norm      '    3.3405       1.0000          .0000       .10000E+07
     9 'Prefactor '    .41203E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.9828       1.0000          .0000       .10000E+07
    11 'Prefactor '    .48287E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .51295       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22418E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26534E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    .73995       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.3571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18351.68     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      874 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77345        1.8787       -.12649E-07   -.96012E-04
   2  Prefactor     67.074        1.8660        .43894E-07   -.13959E-01
   3  Prefactor     .34768        12.591        .71931E-07   -.20890E-02
   4  Prefactor     8.2037        5.4921       -.42372E-07   -.17111E-02
   5  Prefactor     3.0046        2.7266       -.84022E-07    .60831E-03
   6  norm          .60452E-07    3.5639        .86952E-07** at limit **
   7  Prefactor     9.0721        12.284        .17124E-05   -.22493E-01
   8  norm          3.3061        3.4130       -.28449E-06    .55530E-03
   9  Prefactor     .22593E-07    3.1806        .46504E-07** at limit **
  10  Prefactor     9.9597        5.1183       -.17703E-06   -.20460E-02
  11  Prefactor     .73830E-08    4.4240       -.18373E-05** at limit **
  12  norm          .45498        1.7660       -.13813E-05   -.17713E-01
  13  Prefactor      .0000        1.7729       -.20145E-06** at limit **
  14  Prefactor     .11102E-09    3.8629        .10148E-05** at limit **
  15  Normalizat    .73976        .16024        .76175E-05   -.29826E-04
  16  Prefactor     1.3572        .10413       -.78536E-06   -.43153E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.773452
  Prefactor  = 67.0738
  Prefactor  = 0.347681
  Prefactor  = 8.20368
  Prefactor  = 3.00464
  norm       = 6.04516e-08
  Prefactor  = 9.07214
  norm       = 3.30614
  Prefactor  = 2.2593e-08
  Prefactor  = 9.95969
  Prefactor  = 7.38298e-09
  norm       = 0.454984
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Normalizat = 0.739764
  Prefactor  = 1.35718
 **********
 **   18 **HESSE 
 **********

 FCN=   18351.68     FROM HESSE     STATUS=OK           239 CALLS     1113 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77345        2.0039        .54602E-03   -1.5690    
   2  Prefactor     67.074        12.702        .12214E-03   -1.5544    
   3  Prefactor     .34768        2.2419        .98935E-02   -1.5696    
   4  Prefactor     8.2037        5.4965        .34968E-03   -1.5651    
   5  Prefactor     3.0046        2.7816        .58372E-03   -1.5673    
   6  norm          .60452E-07    7.2566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.0721        15.121        .33808E-03   -1.5648    
   8  norm          3.3061        3.4177        .55351E-03   -1.5672    
   9  Prefactor     .22593E-07    7.1227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.9597        5.1250        .31690E-03   -1.5645    
  11  Prefactor     .73830E-08    6.1168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .45498        14.381        .77417E-03   -1.5694    
  13  Prefactor      .0000        1.7665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11102E-09    6.5561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .73976        .14566        .87475E-01   -1.0234    
  16  Prefactor     1.3572        .93415E-01    .31682E-01   -.81622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26021e-06
Minuit parameter uncertainties:
  1  2.00394
  2  12.7021
  3  1.76573
  4  5.49648
  5  2.7816
  6  0.00132473
  7  15.1206
  8  3.41767
  9  0.000801891
  10  5.12496
  11  0.000425016
  12  5.11595
  13  9.37345e-06
  14  5.01044e-05
  15  0.145739
  16  0.0934269
Done.

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

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  7.735e-01  2.004e+00  0.000e+00  1.000e+06 ( 1.000e-11)
4          alpha:  2.548e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
5           beta:  1.588e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
6             Eb:  3.558e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.357e+00  9.343e-02  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.398e-01  1.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 0.382 21.218
Photon Flux Upper Limit: 7.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/409405/likelihoodResults_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.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) = 18351.6276649
delta logL = 0.0551868054208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18351.6249077
delta logL = 0.0579440409238

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88379       1.0000          .0000       .10000E+07
     2 'alpha     '    3.1231       1.0000          .0000       5.0000    
     3 'Normalizat'    .73088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3607       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18351.62     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      253 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88345        1.9994        .18755E-04    .34295E-01
   2  alpha         3.1234        1.7629        .79810E-01    .10195E-03
   3  Normalizat    .73092        .15947        .38955E-03    .17511E-04
   4  Prefactor     1.3607        .10470        .19538E-03    .18387E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.883447
  alpha      = 3.12343
  Normalizat = 0.730918
  Prefactor  = 1.36073
 **********
 **   18 **HESSE 
 **********

 FCN=   18351.62     FROM HESSE     STATUS=OK            23 CALLS      276 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88345        1.7941        .75020E-06   -1.5689    
   2  alpha         3.1234        1.6200        .31924E-02    .25203    
   3  Normalizat    .73092        .15984        .15582E-04   -1.0268    
   4  Prefactor     1.3607        .10474        .78152E-05   -.81519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.29433e-09
Minuit parameter uncertainties:
  1  1.7941
  2  1.77479
  3  0.159941
  4  0.10476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409405': 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) = 18351.6249077
delta logL = 0.057944096221

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  8.834e-01  1.794e+00  0.000e+00  1.000e+06 ( 1.000e-11)
4          alpha:  3.123e+00  1.775e+00  0.000e+00  5.000e+00 ( 1.000e+00)
5           beta:  1.588e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
6             Eb:  3.558e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.361e+00  1.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.309e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 0.382 21.218

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/409405/cmap_HighResolution_688348801_688953601_4FGL_J0001.5+2113_weekly_bin743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-05', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2022-11-01 00:21:06.017759', job_id='409405', GAL2='1.36', fit_tolerance='1e-08', EG2='0.73', EG='0.74', time_epoch_completed='1667287266.02', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='5.79e-02', ts2='0.32', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='743' AND source_name='4FGL J0001.5+2113' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov  1 00:21:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 409405: <4FGL_J0001.5+2113_weekly_bin743> in cluster <slac> Done

Job <4FGL_J0001.5+2113_weekly_bin743> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Nov  1 00:04:48 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  1 00:04:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  1 00:04:49 2022
Terminated at Tue Nov  1 00:21:06 2022
Results reported at Tue Nov  1 00:21:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_weekly_bin743 0.3815 21.2183 688348801 688953601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0001.5+2113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   866.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             341.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            978 sec.

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

