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


Performing analysis on: 4FGL_J0001.5+2113_daily_bin1692
RA = 0.3815, Dec = 21.2183
tmin = 677894401, tmax = 678153601
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='403370', job_status='RUN', time_executed='2022-06-29 00:08:25.000222', time_epoch_executed='1656486505.0' WHERE source_name='4FGL J0001.5+2113' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403370

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403370/ft1_4FGL_J0001.5+2113_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403370/ft2_4FGL_J0001.5+2113_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403370/ft1_4FGL_J0001.5+2113_daily_bin1692.fits outfile=/scratch/kocevski/403370/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1692.fits ra=0.3815 dec=21.2183 rad=12.0 tmin=677894401.0 tmax=678153601.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 4.51
user 4.05
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/403370/ft2_4FGL_J0001.5+2113_daily_bin1692.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/403370/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/403370/ft1_filtered_4FGL_J0001.5+2113_daily_bin1692.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.64
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 714

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403370/ft1_filtered_4FGL_J0001.5+2113_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403370/ft2_4FGL_J0001.5+2113_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/403370/ltcube_677894401_678153601_4FGL_J0001.5+2113_daily_bin1692.fits outfile=/scratch/kocevski/403370/expmap_677894401_678153601_4FGL_J0001.5+2113_daily_bin1692.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/403370/ltcube_677894401_678153601_4FGL_J0001.5+2113_daily_bin1692.fits
.....................!
real 192.17
user 187.04
sys 4.51

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/403370/ft1_filtered_4FGL_J0001.5+2113_daily_bin1692.fits scfile=/scratch/kocevski/403370/ft2_4FGL_J0001.5+2113_daily_bin1692.fits outfile=/scratch/kocevski/403370/cmap_677894401_678153601_4FGL_J0001.5+2113_daily_bin1692.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.60
user 0.37
sys 0.18

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6282       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.8898       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.941       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.1130       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1555       1.0000         .10000E-03   10000.    
     9 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4987       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6465       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0053       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0293       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=   7644.149     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1392 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6289        3.1788        .62887E-02    .57397E-03
   2  Prefactor     9.8895        10.062        .31855E-02    .99411E-04
   3  Prefactor     .10000E-03    4.5375        .90712E-02** at limit **
   4  Prefactor     11.942        7.8284        .28981E-02    .74522E-03
   5  Prefactor     .10000E-03    26.272        .90712E-02** at limit **
   6  Prefactor     .10000E-03    1.5912        .90712E-02** at limit **
   7  norm          2.1070        9.6158        .70947E-02   -.89058E-03
   8  Prefactor     5.1583        20.479        .44264E-02   -.78759E-04
   9  norm          .10000E-03    2.0382        .90712E-02** at limit **
  10  Prefactor     1.4893        15.928        .87463E-02   -.33540E-03
  11  Prefactor     2.6451        4.6761        .62651E-02    .86289E-03
  12  Prefactor     .10000E-03    19.980        .90712E-02** at limit **
  13  norm          .10000E-03    6.0130        .90712E-02** at limit **
  14  Prefactor     .10000E-03    2.0591        .90712E-02** at limit **
  15  Prefactor     .10000E-03    78.796        .90712E-02** at limit **
  16  Normalizat    1.0051        .18397        .46233E-01   -.50152E-03
  17  Prefactor     1.0294        .11816        .41317E-01   -.57567E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62891
  Prefactor  = 9.88947
  Prefactor  = 0.0001
  Prefactor  = 11.9415
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.107
  Prefactor  = 5.15826
  norm       = 0.0001
  Prefactor  = 1.48928
  Prefactor  = 2.64506
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.00508
  Prefactor  = 1.0294
 **********
 **   18 **HESSE 
 **********

 FCN=   7644.149     FROM HESSE     STATUS=OK           219 CALLS     1611 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6289        3.1498        .15158E-03   -1.5384    
   2  Prefactor     9.8895        9.9978        .12742E-03   -1.5079    
   3  Prefactor     .10000E-03    4.5805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.942        7.8322        .11592E-03   -1.5017    
   5  Prefactor     .10000E-03    26.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.6367        .21517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1070        9.5870        .28379E-03   -1.5418    
   8  Prefactor     5.1583        20.467        .17706E-03   -1.5254    
   9  norm          .10000E-03    2.0383        .12189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.4893        16.026        .34985E-03   -1.5464    
  11  Prefactor     2.6451        4.6559        .24156E-03   -1.5383    
  12  Prefactor     .10000E-03    20.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.0474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.0690        .12250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    80.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0051        .21216        .28644E-03   -.92861    
  17  Prefactor     1.0294        .13696        .19006E-03   -.91756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81965e-09
Minuit parameter uncertainties:
  1  3.15001
  2  9.99952
  3  4.89502e-05
  4  7.83282
  5  0.000258111
  6  2.86553e-05
  7  8.99099
  8  20.4949
  9  1.17275e-06
  10  9.7739
  11  4.65652
  12  0.000516695
  13  1.2559e-05
  14  2.79218e-06
  15  0.000460851
  16  0.212338
  17  0.137011
Done.

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

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  2.629e+00  3.150e+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.029e+00  1.370e-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:  1.005e+00  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/403370/likelihoodResults_677894401_678153601_4FGL_J0001.5+2113_daily_bin1692.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) = 7643.31603804
delta logL = 0.832662646179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7643.31523169
delta logL = 0.833468995627

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2973       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.4084       1.0000          .0000       5.0000    
     3 'Normalizat'    .92630       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0668       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=   7643.315     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      243 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2972        19.373        .97053E-02    .11862E-02
   2  alpha         4.4092        2.7954        .50000        .13145E-04
   3  Normalizat    .92630        .71932E-01    .67165E-01    .52191E-06
   4  Prefactor     1.0668        .47247E-01    .39013E-01   -.65212E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.2972
  alpha      = 4.40918
  Normalizat = 0.926298
  Prefactor  = 1.06679
 **********
 **   18 **HESSE 
 **********

 FCN=   7643.315     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2972        28.282        .63768E-04   -1.5480    
   2  alpha         4.4092        2.7836        .40524E-01    .86898    
   3  Normalizat    .92630        .21227        .29712E-03   -.95542    
   4  Prefactor     1.0668        .14455        .18710E-03   -.90535    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.94249e-11
Minuit parameter uncertainties:
  1  12.12
  2  9.23078
  3  0.212459
  4  0.144605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403370': 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): 102
logL (Free Index) = 7643.31523113
delta logL = 0.833469548615

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.297e+00  1.212e+01  1.000e-04  1.000e+04 ( 1.000e-11)
4          alpha:  4.409e+00  9.231e+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.067e+00  1.446e-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:  9.263e-01  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.84
Ra Dec: 0.382 21.218
Photon Index (Free Index): 4.41 +/- 9.23
Photon Flux (Free Index): 8.74e-08 +/- 7.40e-08
Energy Flux (Free Index): 1.26e-05 +/- 2.27e-05

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/403370/cmap_HighResolution_677894401_678153601_4FGL_J0001.5+2113_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.13e-05', comment='SUCCESS', energy_flux2='1.26e-05', dlogl='8.33e-01', photon_flux2='8.74e-08', job_status='DONE', time_completed='2022-06-29 00:18:20.395585', photon_index_error2='9.23', photon_index2='4.41', ts='0.93', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.27e-05', EG='1.01', time_epoch_completed='1656487100.4', return_code='0', job_id='403370', GAL2='1.07', EG2='0.93', return_code2='102', photon_flux_error2='7.40e-08', ts2='2.84', photon_index='2.55' WHERE bin_id='1692' AND source_name='4FGL J0001.5+2113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 00:18:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 403370: <4FGL_J0001.5+2113_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0001.5+2113_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:04:38 2022
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 00:04:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 00:04:52 2022
Terminated at Wed Jun 29 00:18:21 2022
Results reported at Wed Jun 29 00:18:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_daily_bin1692 0.3815 21.2183 677894401 678153601 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 :                                   595.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            823 sec.

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

