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


Performing analysis on: 4FGL_J0001.5+2113_daily_bin1664
RA = 0.3815, Dec = 21.2183
tmin = 670636801, tmax = 670896001
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='316446', job_status='RUN', time_executed='2022-04-06 00:38:04.933809', time_epoch_executed='1649230684.93' WHERE source_name='4FGL J0001.5+2113' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316446

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316446/ft1_4FGL_J0001.5+2113_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316446/ft2_4FGL_J0001.5+2113_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316446/ft1_4FGL_J0001.5+2113_daily_bin1664.fits outfile=/scratch/kocevski/316446/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1664.fits ra=0.3815 dec=21.2183 rad=12.0 tmin=670636801.0 tmax=670896001.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 5.41
user 5.10
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/316446/ft2_4FGL_J0001.5+2113_daily_bin1664.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/316446/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1664.fits evtable="EVENTS" outfile="/scratch/kocevski/316446/ft1_filtered_4FGL_J0001.5+2113_daily_bin1664.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 581

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316446/ft1_filtered_4FGL_J0001.5+2113_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316446/ft2_4FGL_J0001.5+2113_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316446/ltcube_670636801_670896001_4FGL_J0001.5+2113_daily_bin1664.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/316446/ft2_4FGL_J0001.5+2113_daily_bin1664.fits
.....................!
real 12.20
user 11.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316446/ft1_filtered_4FGL_J0001.5+2113_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316446/ft2_4FGL_J0001.5+2113_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316446/ltcube_670636801_670896001_4FGL_J0001.5+2113_daily_bin1664.fits outfile=/scratch/kocevski/316446/expmap_670636801_670896001_4FGL_J0001.5+2113_daily_bin1664.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/316446/ltcube_670636801_670896001_4FGL_J0001.5+2113_daily_bin1664.fits
.....................!
real 192.01
user 185.48
sys 5.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 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/316446/ft1_filtered_4FGL_J0001.5+2113_daily_bin1664.fits scfile=/scratch/kocevski/316446/ft2_4FGL_J0001.5+2113_daily_bin1664.fits outfile=/scratch/kocevski/316446/cmap_670636801_670896001_4FGL_J0001.5+2113_daily_bin1664.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.59
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316446/ft1_filtered_4FGL_J0001.5+2113_daily_bin1664.fits scfile=/scratch/kocevski/316446/ft2_4FGL_J0001.5+2113_daily_bin1664.fits outfile=/scratch/kocevski/316446/cmap_HighResolution_670636801_670896001_4FGL_J0001.5+2113_daily_bin1664.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34173E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.352       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7110       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9580       1.0000         .10000E-03   10000.    
     7 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    52.162       1.0000         .10000E-03   10000.    
     9 'norm      '    .43044E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.612       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.9659       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .23578       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .76941       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3003       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=   6719.932     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1699 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9044        .23977E-06** at limit **
   2  Prefactor     24.348        15.536        .27760E-06   -.90215E-04
   3  Prefactor     .10000E-03    7.0594       -.34664E-07** at limit **
   4  Prefactor     5.7083        8.7043       -.20018E-05   -.13656E-03
   5  Prefactor     .10000E-03    18.897       -.58578E-07** at limit **
   6  Prefactor     5.9576        5.0326       -.14675E-05   -.33349E-03
   7  norm          .10000E-03    4.7983       -.74583E-07** at limit **
   8  Prefactor     52.137        39.219        .18275E-04    .43156E-05
   9  norm          .10007E-03    5.4745       -.20707E-06** at limit **
  10  Prefactor     10.645        17.312       -.92528E-06   -.16974E-04
  11  Prefactor     8.9644        8.6176        .12375E-05   -.11215E-03
  12  Prefactor     .10000E-03    6.4869        .66853E-08** at limit **
  13  norm          .11765E-03    14.192        .20351E-06** at limit **
  14  Prefactor     .10000E-03    2.7081        .22650E-07** at limit **
  15  Prefactor     .10000E-03    19.989        .17509E-06** at limit **
  16  Normalizat    .76929        .24163       -.39175E-05   -.52426E-04
  17  Prefactor     1.3006        .14901        .39868E-06   -.14814E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 24.3479
  Prefactor  = 0.0001
  Prefactor  = 5.7083
  Prefactor  = 0.0001
  Prefactor  = 5.95759
  norm       = 0.0001
  Prefactor  = 52.1369
  norm       = 0.000100073
  Prefactor  = 10.6455
  Prefactor  = 8.96444
  Prefactor  = 0.0001
  norm       = 0.000117651
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.769293
  Prefactor  = 1.30056
 **********
 **   18 **HESSE 
 **********

 FCN=   6719.932     FROM HESSE     STATUS=OK           241 CALLS     1940 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.3410        .20934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.348        15.181        .81174E-04   -1.4721    
   3  Prefactor     .10000E-03    7.0843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7083        8.7187        .16808E-03   -1.5230    
   5  Prefactor     .10000E-03    18.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9576        5.0404        .15830E-03   -1.5220    
   7  norm          .10000E-03    4.8078        .17538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     52.137        39.252        .55531E-04   -1.4263    
   9  norm          .10007E-03    6.9434        .71195E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.645        17.303        .12299E-03   -1.5055    
  11  Prefactor     8.9644        8.5996        .13386E-03   -1.5109    
  12  Prefactor     .10000E-03    6.4911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .11765E-03    15.788        .93600E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.7147        .13173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .76929        .26855        .38077E-03   -1.0122    
  17  Prefactor     1.3006        .16832        .19372E-03   -.83290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42448e-10
Minuit parameter uncertainties:
  1  6.08047e-05
  2  15.1835
  3  4.25845e-06
  4  8.72066
  5  9.01161e-06
  6  5.04074
  7  1.60194e-05
  8  39.2711
  9  0.00142872
  10  17.3113
  11  8.6008
  12  1.76268e-06
  13  0.0333967
  14  3.13922e-06
  15  3.526e-05
  16  0.269012
  17  0.168391
Done.

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

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.000e-04  6.080e-05  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.301e+00  1.684e-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.693e-01  2.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 0.382 21.218
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/316446/likelihoodResults_670636801_670896001_4FGL_J0001.5+2113_daily_bin1664.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): 102
logL (Free Index) = 6719.93227875
delta logL = -0.000649121907372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6719.93163048
delta logL = -8.45923750603e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11517E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5804       1.0000          .0000       5.0000    
     3 'Normalizat'    .76937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3006       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6719.780     FROM MIGRAD    STATUS=FAILED       171 CALLS      340 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39267        .78114        .20811E-02    .46359E-01
   2  alpha         5.0000        4.5340        .16471    ** at limit **
   3  Normalizat    .71139        .27995        .38077E-02    .11592E-03
   4  Prefactor     1.3240        .17337        .19372E-03    .22167E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6719.780     FROM SIMPLEX   STATUS=PROGRESS     174 CALLS      514 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39268        .78114        .96385E-09   -1.5583    
   2  alpha         5.0000        4.5340        .14759E-01   -10.996    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .71139        .27995        .25438E-07   -1.0345    
   4  Prefactor     1.3240        .17337        .75955E-09   -.82596    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6719.780     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      544 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39268        .74814        .41622E-03    .94698E-04
   2  alpha         5.0000        4.4952        .65886E-02** at limit **
   3  Normalizat    .71139        .27844        .15231E-03   -.59714E-06
   4  Prefactor     1.3240        .17309        .38745E-04   -.93896E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.392679
  alpha      = 5
  Normalizat = 0.711386
  Prefactor  = 1.32399
 **********
 **   18 **HESSE 
 **********

 FCN=   6719.780     FROM HESSE     STATUS=OK            25 CALLS      569 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39268        .74664        .16649E-04   -1.5583    
   2  alpha         5.0000        4.4952        .13177E-02   -10.996    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .71139        .27802        .60924E-05   -1.0345    
   4  Prefactor     1.3240        .17299        .77489E-05   -.82596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16855e-13
Minuit parameter uncertainties:
  1  0.746655
  2  2.60313e-06
  3  0.278574
  4  0.173063
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316446': 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) = 6719.77969878
delta logL = 0.151930849466

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  3.927e-01  7.467e-01  1.000e-04  1.000e+04 ( 1.000e-11)
4          alpha:  5.000e+00  2.603e-06  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.324e+00  1.731e-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.114e-01  2.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/316446/cmap_HighResolution_670636801_670896001_4FGL_J0001.5+2113_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.99e-05', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2022-04-06 00:47:48.739141', job_id='316446', GAL2='1.32', fit_tolerance='1e-08', EG2='0.71', EG='0.77', time_epoch_completed='1649231268.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='1.52e-01', ts2='0.35', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1664' AND source_name='4FGL J0001.5+2113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:47:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 316446: <4FGL_J0001.5+2113_daily_bin1664> in cluster <slac> Done

Job <4FGL_J0001.5+2113_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:20 2022
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:23 2022
Terminated at Wed Apr  6 00:47:49 2022
Results reported at Wed Apr  6 00:47:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_daily_bin1664 0.3815 21.2183 670636801 670896001 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 :                                   585.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             303.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            749 sec.

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

