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


Performing analysis on: 4FGL_J0001.5+2113_daily_bin1763
RA = 0.3815, Dec = 21.2183
tmin = 696297601, tmax = 696556801
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='266566', job_status='RUN', time_executed='2023-01-28 00:08:14.362204', time_epoch_executed='1674893294.36' WHERE source_name='4FGL J0001.5+2113' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266566

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266566/ft1_4FGL_J0001.5+2113_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266566/ft2_4FGL_J0001.5+2113_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266566/ft1_4FGL_J0001.5+2113_daily_bin1763.fits outfile=/scratch/kocevski/266566/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1763.fits ra=0.3815 dec=21.2183 rad=12.0 tmin=696297601.0 tmax=696556801.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.71
user 3.40
sys 0.22

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

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

Number of photons that the gtmktime cut: 604

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266566/ft1_filtered_4FGL_J0001.5+2113_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/266566/ft2_4FGL_J0001.5+2113_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/266566/ltcube_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.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/266566/ft2_4FGL_J0001.5+2113_daily_bin1763.fits
.....................!
real 14.99
user 14.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266566/ft1_filtered_4FGL_J0001.5+2113_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/266566/ft2_4FGL_J0001.5+2113_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/266566/ltcube_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.fits outfile=/scratch/kocevski/266566/expmap_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.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/266566/ltcube_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.fits
.....................!
real 192.79
user 186.65
sys 5.62

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/266566/ft1_filtered_4FGL_J0001.5+2113_daily_bin1763.fits scfile=/scratch/kocevski/266566/ft2_4FGL_J0001.5+2113_daily_bin1763.fits outfile=/scratch/kocevski/266566/cmap_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.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 0.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266566/ft1_filtered_4FGL_J0001.5+2113_daily_bin1763.fits scfile=/scratch/kocevski/266566/ft2_4FGL_J0001.5+2113_daily_bin1763.fits outfile=/scratch/kocevski/266566/cmap_HighResolution_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/266566/ft1_filtered_4FGL_J0001.5+2113_daily_bin1763.fits', '/scratch/kocevski/266566/ft2_4FGL_J0001.5+2113_daily_bin1763.fits', expMap='/scratch/kocevski/266566/expmap_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.fits', expCube='/scratch/kocevski/266566/ltcube_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/266566/Model_4FGL_J0001.5+2113_daily_bin1763.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/266566/ft1_filtered_4FGL_J0001.5+2113_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/266566/ft2_4FGL_J0001.5+2113_daily_bin1763.fits
Exposure map: /scratch/kocevski/266566/expmap_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.fits
Exposure cube: /scratch/kocevski/266566/ltcube_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/266566/Model_4FGL_J0001.5+2113_daily_bin1763.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) = 6569.1042495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55812       1.0000          .0000       .10000E+07
     2 'Prefactor '    16.107       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16780E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39148       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.284       1.0000          .0000       .10000E+07
     6 'norm      '    5.1209       1.0000          .0000       .10000E+07
     7 'Prefactor '    .67755E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .52322       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.1836       1.0000          .0000       .10000E+07
    10 'Prefactor '    .33801E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.2795       1.0000          .0000       .10000E+07
    12 'norm      '    10.712       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.7368       1.0000          .0000       .10000E+07
    14 'Prefactor '    29.987       1.0000          .0000       .10000E+07
    15 'Normalizat'    .52901       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1921       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=   6569.092     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1153 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56421        3.0041        .40568E-07    .16271E-02
   2  Prefactor     16.052        9.6089       -.47142E-08   -.33900E-01
   3  Prefactor     .41633E-08    19.808       -.16461E-06** at limit **
   4  Prefactor     .46036        10.032       -.35941E-06    .85952E-03
   5  Prefactor     15.282        4.5004       -.51128E-07    .24650E-02
   6  norm          5.0981        5.1642        .71684E-07   -.19791E-03
   7  Prefactor     .12235E-06    92.260        .10812E-05** at limit **
   8  norm          .55312        9.6545       -.22378E-06    .41006E-02
   9  Prefactor     3.2645        6.4880       -.15913E-06   -.20226E-01
  10  Prefactor     .49960E-09    4.9427       -.22130E-06** at limit **
  11  Prefactor     7.1164        15.813        .22846E-06   -.66004E-02
  12  norm          10.749        5.1379       -.18964E-07    .50681E-01
  13  Prefactor     8.7698        7.3195       -.44687E-07   -.91138E-03
  14  Prefactor     29.504        5.7269        .65768E-07   -.35155E-01
  15  Normalizat    .52913        .21643       -.87049E-05    .11404E-03
  16  Prefactor     1.1921        .14751       -.15150E-06    .19223E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.564213
  Prefactor  = 16.052
  Prefactor  = 4.16334e-09
  Prefactor  = 0.460357
  Prefactor  = 15.2824
  norm       = 5.09813
  Prefactor  = 1.22347e-07
  norm       = 0.553119
  Prefactor  = 3.26451
  Prefactor  = 4.996e-10
  Prefactor  = 7.11642
  norm       = 10.7494
  Prefactor  = 8.76981
  Prefactor  = 29.5037
  Normalizat = 0.529127
  Prefactor  = 1.19208
 **********
 **   18 **HESSE 
 **********

 FCN=   6569.092     FROM HESSE     STATUS=OK           241 CALLS     1394 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .56421        3.1534        .73066E-03   -1.5693    
   2  Prefactor     16.052        10.408        .24929E-03   -1.5628    
   3  Prefactor     .41633E-08    19.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .46036        9.7767        .90481E-03   -1.5694    
   5  Prefactor     15.282        4.5201        .25593E-03   -1.5630    
   6  norm          5.0981        5.1639        .44405E-03   -1.5663    
   7  Prefactor     .12235E-06    93.315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55312        21.868        .76407E-03   -1.5693    
   9  Prefactor     3.2645        12.950        .56769E-03   -1.5672    
  10  Prefactor     .49960E-09    4.9454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.1164        16.145        .37152E-03   -1.5655    
  12  norm          10.749        11.965        .30587E-03   -1.5642    
  13  Prefactor     8.7698        7.3678        .33888E-03   -1.5649    
  14  Prefactor     29.504        38.820        .18264E-03   -1.5599    
  15  Normalizat    .52913        .20301        .82437E-01   -1.1108    
  16  Prefactor     1.1921        .13334        .34820E-01   -.86575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56113e-07
Minuit parameter uncertainties:
  1  2.66772
  2  10.4076
  3  0.000575525
  4  4.24302
  5  4.5201
  6  5.1639
  7  0.00675838
  8  6.95574
  9  12.95
  10  9.8767e-05
  11  16.1455
  12  11.9651
  13  7.36785
  14  38.8203
  15  0.203299
  16  0.133381
Done.

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

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  5.642e-01  2.668e+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.192e+00  1.334e-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:  5.291e-01  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/266566/likelihoodResults_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.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) = 6568.9645801
delta logL = 0.127025454464

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6568.95723145
delta logL = 0.134374101713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .70556       1.0000          .0000       .10000E+07
     2 'alpha     '    3.6336       1.0000          .0000       5.0000    
     3 'Normalizat'    .50877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2003       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=   6568.957     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      237 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70550        1.8709        .12162E-04    .96032E-02
   2  alpha         3.6337        3.6994        .55349E-02    .22390E-04
   3  Normalizat    .50880        .21646        .37195E-03   -.56974E-04
   4  Prefactor     1.2003        .14842        .17340E-03   -.99774E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.705497
  alpha      = 3.63375
  Normalizat = 0.508801
  Prefactor  = 1.20031
 **********
 **   18 **HESSE 
 **********

 FCN=   6568.957     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70550        1.8148        .48647E-06   -1.5691    
   2  alpha         3.6337        1.8395        .22140E-03    .47069    
   3  Normalizat    .50880        .21658        .14878E-04   -1.1201    
   4  Prefactor     1.2003        .14850        .34680E-04   -.86322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26602e-10
Minuit parameter uncertainties:
  1  1.81479
  2  2.16399
  3  0.216941
  4  0.14855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266566': 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) = 6568.95723143
delta logL = 0.134374124551

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  7.055e-01  1.815e+00  0.000e+00  1.000e+06 ( 1.000e-11)
4          alpha:  3.634e+00  2.164e+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.200e+00  1.485e-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:  5.088e-01  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/266566/cmap_HighResolution_696297601_696556801_4FGL_J0001.5+2113_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.41e-05', job_status='DONE', photon_flux_upper_limit='9.71e-08', time_completed='2023-01-28 00:17:09.542045', job_id='266566', GAL2='1.20', fit_tolerance='1e-08', EG2='0.51', EG='0.53', time_epoch_completed='1674893829.54', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.34e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1763' AND source_name='4FGL J0001.5+2113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:17:09 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 266566: <4FGL_J0001.5+2113_daily_bin1763> in cluster <slac> Done

Job <4FGL_J0001.5+2113_daily_bin1763> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jan 28 00:04:49 2023
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:04:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:04:52 2023
Terminated at Sat Jan 28 00:17:10 2023
Results reported at Sat Jan 28 00:17:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_daily_bin1763 0.3815 21.2183 696297601 696556801 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 :                                   533.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            741 sec.

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

