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


Performing analysis on: 4FGL_J0001.5+2113_daily_bin1702
RA = 0.3815, Dec = 21.2183
tmin = 680486401, tmax = 680745601
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='232841', job_status='RUN', time_executed='2022-07-29 00:09:18.043634', time_epoch_executed='1659078558.04' WHERE source_name='4FGL J0001.5+2113' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/232841

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/232841/ft1_4FGL_J0001.5+2113_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/232841/ft2_4FGL_J0001.5+2113_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/232841/ft1_4FGL_J0001.5+2113_daily_bin1702.fits outfile=/scratch/kocevski/232841/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1702.fits ra=0.3815 dec=21.2183 rad=12.0 tmin=680486401.0 tmax=680745601.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.00
user 2.74
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/232841/ft2_4FGL_J0001.5+2113_daily_bin1702.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/232841/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/232841/ft1_filtered_4FGL_J0001.5+2113_daily_bin1702.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: 790

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/232841/ft1_filtered_4FGL_J0001.5+2113_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/232841/ft2_4FGL_J0001.5+2113_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/232841/ltcube_680486401_680745601_4FGL_J0001.5+2113_daily_bin1702.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/232841/ft2_4FGL_J0001.5+2113_daily_bin1702.fits
.....................!
real 16.32
user 15.92
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/232841/ft1_filtered_4FGL_J0001.5+2113_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/232841/ft2_4FGL_J0001.5+2113_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/232841/ltcube_680486401_680745601_4FGL_J0001.5+2113_daily_bin1702.fits outfile=/scratch/kocevski/232841/expmap_680486401_680745601_4FGL_J0001.5+2113_daily_bin1702.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/232841/ltcube_680486401_680745601_4FGL_J0001.5+2113_daily_bin1702.fits
.....................!
real 196.22
user 190.59
sys 4.91

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/232841/ft1_filtered_4FGL_J0001.5+2113_daily_bin1702.fits scfile=/scratch/kocevski/232841/ft2_4FGL_J0001.5+2113_daily_bin1702.fits outfile=/scratch/kocevski/232841/cmap_680486401_680745601_4FGL_J0001.5+2113_daily_bin1702.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/232841/ft1_filtered_4FGL_J0001.5+2113_daily_bin1702.fits scfile=/scratch/kocevski/232841/ft2_4FGL_J0001.5+2113_daily_bin1702.fits outfile=/scratch/kocevski/232841/cmap_HighResolution_680486401_680745601_4FGL_J0001.5+2113_daily_bin1702.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.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10969E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.2064       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8868       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.651       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.3799       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5207       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    100.02       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .74324       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2558       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.

 FCN=   8781.194     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1573 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0228        .52588E-01** at limit **
   2  Prefactor     6.2076        6.9277        .40285E-02    .50961E-03
   3  Prefactor     .10000E-03    2.7610        .90712E-02** at limit **
   4  Prefactor     6.8871        6.2995        .38220E-02    .25403E-02
   5  Prefactor     19.651        26.888        .22588E-02    .39600E-03
   6  Prefactor     .10000E-03    2.1745        .90712E-02** at limit **
   7  norm          8.3793        8.4361        .34621E-02    .91248E-04
   8  Prefactor     .10000E-03    13.176        .90712E-02** at limit **
   9  norm          .10000E-03    3.0791        .90712E-02** at limit **
  10  Prefactor     .10001E-03    6.9270        .90712E-02** at limit **
  11  Prefactor     1.5209        6.6555        .86618E-02    .84837E-03
  12  Prefactor     .10005E-03    7.5331        .90712E-02** at limit **
  13  norm          .10002E-03    6.9294        .90712E-02** at limit **
  14  Prefactor     .10000E-03    1.2327        .90712E-02** at limit **
  15  Prefactor     100.02        44.179        .10050E-02   -.53426E-03
  16  Normalizat    .74323        .18548        .79163E-01    .14465E-03
  17  Prefactor     1.2558        .12123        .33429E-01    .82807E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  Prefactor  = 6.20762
  Prefactor  = 0.0001
  Prefactor  = 6.88708
  Prefactor  = 19.6511
  Prefactor  = 0.0001
  norm       = 8.37934
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 1.52085
  Prefactor  = 0.000100052
  norm       = 0.000100024
  Prefactor  = 0.0001
  Prefactor  = 100.016
  Normalizat = 0.74323
  Prefactor  = 1.25575
 **********
 **   18 **HESSE 
 **********

 FCN=   8781.194     FROM HESSE     STATUS=OK           219 CALLS     1792 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7653        .18001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.2076        6.8679        .16114E-03   -1.5210    
   3  Prefactor     .10000E-03    2.7782        .15203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.8871        6.2968        .76441E-03   -1.5183    
   5  Prefactor     19.651        26.902        .90351E-04   -1.4821    
   6  Prefactor     .10000E-03    2.2594        .26954E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.3793        8.4337        .13848E-03   -1.5129    
   8  Prefactor     .10000E-03    13.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.1199        .16058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    7.0815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5209        6.6779        .34647E-03   -1.5461    
  12  Prefactor     .10005E-03    7.5464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10002E-03    6.9443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.2336        .10160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     100.02        44.152        .40199E-04   -1.3704    
  16  Normalizat    .74323        .20855        .35048E-03   -1.0221    
  17  Prefactor     1.2558        .13791        .18484E-03   -.84632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25571e-08
Minuit parameter uncertainties:
  1  0.000113725
  2  6.86879
  3  1.75076e-05
  4  6.29745
  5  26.919
  6  1.35928e-06
  7  8.43491
  8  0.000222966
  9  3.38898e-05
  10  0.000388489
  11  6.37472
  12  0.00124755
  13  0.000821081
  14  1.66063e-06
  15  44.1668
  16  0.208772
  17  0.137949
Done.

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

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.000e-04  1.137e-04  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.256e+00  1.379e-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.432e-01  2.088e-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: 7.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/232841/likelihoodResults_680486401_680745601_4FGL_J0001.5+2113_daily_bin1702.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) = 8781.19487438
delta logL = -0.00100178678986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8781.19387308
delta logL = -4.85364580527e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10257E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5279       1.0000          .0000       5.0000    
     3 'Normalizat'    .74333       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2557       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=   8781.194     FROM MIGRAD    STATUS=FAILED        98 CALLS      263 TOTAL
                     EDM=   .44E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10549E-03    599.61        .18058E-02** at limit **
   2  alpha         1.9849        3.4050        .50000        .37343E-05
   3  Normalizat    .74323        .49361E-01    .35048E-03   -.91992E-04
   4  Prefactor     1.2558        .33207E-01    .18484E-03   -.91398E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8781.194     FROM SIMPLEX   STATUS=PROGRESS     143 CALLS      406 TOTAL
                     EDM=   .87E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10327E-03    599.61        .37015E-03** at limit **
   2  alpha         1.9847        3.4050        .10368E-03    .37343E-05
   3  Normalizat    .74323        .49361E-01    .10739E-05   -.91992E-04
   4  Prefactor     1.2558        .33207E-01    .50493E-06   -.91398E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8781.194     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      445 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.370        .36117E-03** at limit **
   2  alpha         1.8809        3.4199        .50000       -.17326E-06
   3  Normalizat    .74323        .20449        .14019E-04    .24328E-04
   4  Prefactor     1.2558        .13760        .73935E-05    .14146E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.8809
  Normalizat = 0.743229
  Prefactor  = 1.25575
 **********
 **   18 **HESSE 
 **********

 FCN=   8781.194     FROM HESSE     STATUS=OK            29 CALLS      474 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.6765        .72234E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8809        2.7451        .50000       -.25024    
   3  Normalizat    .74323        .20442        .28039E-05   -1.0221    
   4  Prefactor     1.2558        .13755        .14787E-05   -.84632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88068e-10
Minuit parameter uncertainties:
  1  0.000129818
  2  136.487
  3  0.20463
  4  0.13759
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/232841': 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) = 8781.19386978
delta logL = 2.8206522984e-06

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.000e-04  1.298e-04  1.000e-04  1.000e+04 ( 1.000e-11)
4          alpha:  1.881e+00  1.365e+02  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.256e+00  1.376e-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.432e-01  2.046e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/232841/cmap_HighResolution_680486401_680745601_4FGL_J0001.5+2113_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.86e-05', job_status='DONE', photon_flux_upper_limit='7.50e-08', time_completed='2022-07-29 00:20:20.023293', job_id='232841', GAL2='1.26', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1659079220.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='2.82e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1702' AND source_name='4FGL J0001.5+2113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 00:20:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 232841: <4FGL_J0001.5+2113_daily_bin1702> in cluster <slac> Done

Job <4FGL_J0001.5+2113_daily_bin1702> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Jul 29 00:05:02 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 00:05:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 00:05:04 2022
Terminated at Fri Jul 29 00:20:20 2022
Results reported at Fri Jul 29 00:20:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_daily_bin1702 0.3815 21.2183 680486401 680745601 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 :                                   656.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

