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


Performing analysis on: 4FGL_J0001.5+2113_daily_bin1681
RA = 0.3815, Dec = 21.2183
tmin = 675043201, tmax = 675302401
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='740616', job_status='RUN', time_executed='2022-05-27 00:09:24.225943', time_epoch_executed='1653635364.23' WHERE source_name='4FGL J0001.5+2113' and cadence='daily' and bin_id='1681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/740616

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/740616/ft1_4FGL_J0001.5+2113_daily_bin1681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/740616/ft2_4FGL_J0001.5+2113_daily_bin1681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/740616/ft1_4FGL_J0001.5+2113_daily_bin1681.fits outfile=/scratch/kocevski/740616/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1681.fits ra=0.3815 dec=21.2183 rad=12.0 tmin=675043201.0 tmax=675302401.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.62
user 3.31
sys 0.22

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

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

Number of photons that the gtmktime cut: 678

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/740616/ft1_filtered_4FGL_J0001.5+2113_daily_bin1681.fits" evtable="EVENTS" scfile=/scratch/kocevski/740616/ft2_4FGL_J0001.5+2113_daily_bin1681.fits sctable="SC_DATA" outfile=/scratch/kocevski/740616/ltcube_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.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/740616/ft2_4FGL_J0001.5+2113_daily_bin1681.fits
.....................!
real 14.81
user 14.45
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/740616/ft1_filtered_4FGL_J0001.5+2113_daily_bin1681.fits evtable="EVENTS" scfile=/scratch/kocevski/740616/ft2_4FGL_J0001.5+2113_daily_bin1681.fits sctable="SC_DATA" expcube=/scratch/kocevski/740616/ltcube_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.fits outfile=/scratch/kocevski/740616/expmap_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.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/740616/ltcube_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.fits
.....................!
real 192.09
user 186.84
sys 4.47

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/740616/ft1_filtered_4FGL_J0001.5+2113_daily_bin1681.fits scfile=/scratch/kocevski/740616/ft2_4FGL_J0001.5+2113_daily_bin1681.fits outfile=/scratch/kocevski/740616/cmap_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.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.87
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/740616/ft1_filtered_4FGL_J0001.5+2113_daily_bin1681.fits scfile=/scratch/kocevski/740616/ft2_4FGL_J0001.5+2113_daily_bin1681.fits outfile=/scratch/kocevski/740616/cmap_HighResolution_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/740616/ft1_filtered_4FGL_J0001.5+2113_daily_bin1681.fits', '/scratch/kocevski/740616/ft2_4FGL_J0001.5+2113_daily_bin1681.fits', expMap='/scratch/kocevski/740616/expmap_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.fits', expCube='/scratch/kocevski/740616/ltcube_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/740616/Model_4FGL_J0001.5+2113_daily_bin1681.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  1.000e-04  1.000e+04 ( 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  0.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/740616/ft1_filtered_4FGL_J0001.5+2113_daily_bin1681.fits
Spacecraft file(s): /scratch/kocevski/740616/ft2_4FGL_J0001.5+2113_daily_bin1681.fits
Exposure map: /scratch/kocevski/740616/expmap_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.fits
Exposure cube: /scratch/kocevski/740616/ltcube_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/740616/Model_4FGL_J0001.5+2113_daily_bin1681.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) = 7646.13901822

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26804       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.976       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .34592E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4024       1.0000         .10000E-03   10000.    
     7 'norm      '    .31015       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.456       1.0000         .10000E-03   10000.    
    13 'norm      '    .15605       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    46.705       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .65461       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1081       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.

 FCN=   7646.135     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1688 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27597        1.3579       -.88673E-06    .88472E-04
   2  Prefactor     11.979        12.040        .10446E-05    .23453E-03
   3  Prefactor     .10000E-03    4.4119       -.80369E-07** at limit **
   4  Prefactor     .10000E-03    4.3886        .83670E-06** at limit **
   5  Prefactor     .10000E-03    11.247       -.31916E-07** at limit **
   6  Prefactor     5.4025        3.7176       -.37210E-06   -.22866E-03
   7  norm          .34380        5.5374       -.14707E-05    .45841E-04
   8  Prefactor     .10000E-03    7.8402       -.21565E-06** at limit **
   9  norm          .10000E-03    2.1255       -.54410E-08** at limit **
  10  Prefactor     .10000E-03    7.8348        .18189E-06** at limit **
  11  Prefactor     .10000E-03    3.8635        .16294E-06** at limit **
  12  Prefactor     35.464        18.424       -.36906E-05    .19132E-04
  13  norm          .58465E-01    8.2361       -.40576E-06   -.39528E-04
  14  Prefactor     .10000E-03    1.9346       -.55101E-08** at limit **
  15  Prefactor     46.669        37.203       -.10674E-04   -.57842E-04
  16  Normalizat    .65452        .18489        .25129E-05    .83547E-04
  17  Prefactor     1.1082        .11645        .12279E-06    .27807E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.275968
  Prefactor  = 11.9786
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 5.40246
  norm       = 0.343797
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.4635
  norm       = 0.0584647
  Prefactor  = 0.0001
  Prefactor  = 46.6693
  Normalizat = 0.654523
  Prefactor  = 1.10819
 **********
 **   18 **HESSE 
 **********

 FCN=   7646.135     FROM HESSE     STATUS=OK           233 CALLS     1921 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27597        5.3861        .17901E-02   -1.5603    
   2  Prefactor     11.979        12.120        .11576E-03   -1.5016    
   3  Prefactor     .10000E-03    4.4276        .17925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    48.583        .34595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4025        3.7293        .13144E-03   -1.5243    
   7  norm          .34380        35.803        .39902E-02   -1.5591    
   8  Prefactor     .10000E-03    7.8577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.1267        .12450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.8957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9224        .16773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.464        18.353        .67302E-04   -1.4516    
  13  norm          .58465E-01    10.464        .81061E-01   -1.5660    
  14  Prefactor     .10000E-03    1.9506        .11876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     46.669        37.195        .58671E-04   -1.4341    
  16  Normalizat    .65452        .20839        .33646E-03   -1.0572    
  17  Prefactor     1.1082        .13457        .17532E-03   -.89205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0333e-10
Minuit parameter uncertainties:
  1  2.43817
  2  12.1228
  3  1.07436e-05
  4  0.000865564
  5  6.02555e-06
  6  3.72949
  7  7.02016
  8  2.99727e-06
  9  1.04708e-06
  10  1.70136e-05
  11  3.03297e-05
  12  18.3564
  13  1.56327
  14  1.5292e-06
  15  37.213
  16  0.208646
  17  0.13461
Done.

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

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  2.760e-01  2.438e+00  1.000e-04  1.000e+04 ( 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  0.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.108e+00  1.346e-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:  6.545e-01  2.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/740616/likelihoodResults_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.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) = 7646.13432206
delta logL = 0.000291602690595

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7646.13419101
delta logL = 0.000422652325142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27972       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6385       1.0000          .0000       5.0000    
     3 'Normalizat'    .65412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1082       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=   7646.134     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      295 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28165        5.5881        .17726E-02    .66335E-03
   2  alpha         2.6386        3.7824        .97454E-01    .77842E-05
   3  Normalizat    .65411        .20122        .33656E-03    .44250E-04
   4  Prefactor     1.1084        .13313        .17531E-03    .97649E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.28165
  alpha      = 2.63855
  Normalizat = 0.65411
  Prefactor  = 1.10836
 **********
 **   18 **HESSE 
 **********

 FCN=   7646.134     FROM HESSE     STATUS=OK            27 CALLS      322 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28165        4.5132        .70906E-04   -1.5602    
   2  alpha         2.6386        3.7321        .38982E-02    .55449E-01
   3  Normalizat    .65411        .20133        .13462E-04   -1.0573    
   4  Prefactor     1.1084        .13324        .35062E-04   -.89200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27249e-10
Minuit parameter uncertainties:
  1  2.25471
  2  3.12177
  3  0.201557
  4  0.133275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/740616': 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) = 7646.13418889
delta logL = 0.000424773394116

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  2.817e-01  2.255e+00  1.000e-04  1.000e+04 ( 1.000e-11)
4          alpha:  2.639e+00  3.122e+00  0.000e+00  5.000e+00 ( 1.000e+00)
5           beta:  1.588e-01  0.000e+00  0.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.108e+00  1.333e-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:  6.541e-01  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/740616/cmap_HighResolution_675043201_675302401_4FGL_J0001.5+2113_daily_bin1681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='8.50e-08', time_completed='2022-05-27 00:19:37.425199', job_id='740616', GAL2='1.11', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1653635977.43', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.25e-04', ts2='0.02', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1681' AND source_name='4FGL J0001.5+2113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 27 00:19:37 PDT 2022


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

Job <4FGL_J0001.5+2113_daily_bin1681> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May 27 00:04:36 2022
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May 27 00:08:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May 27 00:08:09 2022
Terminated at Fri May 27 00:19:38 2022
Results reported at Fri May 27 00:19:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_daily_bin1681 0.3815 21.2183 675043201 675302401 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 :                                   606.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            902 sec.

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

