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 92 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7600
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0022.5+0608_daily_bin1759
RA = 5.6376, Dec = 6.1343
tmin = 695260801, tmax = 695520001
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='539467', job_status='RUN', time_executed='2023-01-16 00:07:00.146222', time_epoch_executed='1673856420.15' WHERE source_name='4FGL J0022.5+0608' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539467

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539467/ft1_4FGL_J0022.5+0608_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539467/ft1_4FGL_J0022.5+0608_daily_bin1759.fits outfile=/scratch/kocevski/539467/ft1_filteredMKT_4FGL_J0022.5+0608_daily_bin1759.fits ra=5.6376 dec=6.1343 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.80
user 2.55
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.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/539467/ft1_filteredMKT_4FGL_J0022.5+0608_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/539467/ft1_filtered_4FGL_J0022.5+0608_daily_bin1759.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: 819

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/539467/ft1_filtered_4FGL_J0022.5+0608_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/539467/ltcube_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.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/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits
.....................!
real 15.07
user 14.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539467/ft1_filtered_4FGL_J0022.5+0608_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/539467/ltcube_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.fits outfile=/scratch/kocevski/539467/expmap_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.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/539467/ltcube_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.fits
.....................!
real 191.72
user 186.14
sys 5.12

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0022.5+0608 @ 5.6376 6.1343

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/539467/ft1_filtered_4FGL_J0022.5+0608_daily_bin1759.fits scfile=/scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits outfile=/scratch/kocevski/539467/cmap_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.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=5.6376 yref=6.1343 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/539467/ft1_filtered_4FGL_J0022.5+0608_daily_bin1759.fits scfile=/scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits outfile=/scratch/kocevski/539467/cmap_HighResolution_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.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=5.6376 yref=6.1343 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/539467/ft1_filtered_4FGL_J0022.5+0608_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/539467/Model_4FGL_J0022.5+0608_daily_bin1759.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/539467/ft1_filtered_4FGL_J0022.5+0608_daily_bin1759.fits.....................!
real 90.81
user 88.59
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/539467/ft1_filtered_4FGL_J0022.5+0608_daily_bin1759.fits', '/scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits', expMap='/scratch/kocevski/539467/expmap_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.fits', expCube='/scratch/kocevski/539467/ltcube_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/539467/Model_4FGL_J0022.5+0608_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0022.5+0608'

4FGL J0022.5+0608
   Spectrum: LogParabola
103         norm:  3.416e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
104        alpha:  2.071e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
105         beta:  5.138e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
106           Eb:  8.504e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/539467/ft1_filtered_4FGL_J0022.5+0608_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/539467/ft2_4FGL_J0022.5+0608_daily_bin1759.fits
Exposure map: /scratch/kocevski/539467/expmap_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.fits
Exposure cube: /scratch/kocevski/539467/ltcube_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/539467/Model_4FGL_J0022.5+0608_daily_bin1759.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) = 8823.22631836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36397E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .71779E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .73980E-06   1.0000          .0000       .10000E+07
     4 'norm      '    4.0983       1.0000          .0000       .10000E+07
     5 'norm      '    1.6584       1.0000          .0000       .10000E+07
     6 'Prefactor '    .30304E-06   1.0000          .0000       .10000E+07
     7 'norm      '    12.328       1.0000          .0000       .10000E+07
     8 'norm      '    .13338E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.528       1.0000          .0000       .10000E+07
    10 'Prefactor '    .82583       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9935       1.0000          .0000       .10000E+07
    12 'norm      '    .55058E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    204.40       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.5494       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.6425       1.0000          .0000       .10000E+07
    16 'Normalizat'    .86514       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88111       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8823.226     FROM MIGRAD    STATUS=CONVERGED     93 CALLS     1245 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    5.4728       -.15839E-06** at limit **
   2  Prefactor      .0000        4.0864       -.72718E-07** at limit **
   3  norm           .0000        .43383       -.23206E-06** at limit **
   4  norm          4.0990        2.8648       -.15951E-06    .77212E-03
   5  norm          1.6581        1.6381       -.26174E-07   -.20604E-03
   6  Prefactor      .0000        1.6638       -.35176E-06** at limit **
   7  norm          12.367        7.2420        .20079E-07    .54447E-02
   8  norm          .20872E-07    8.9292        .22112E-06** at limit **
   9  Prefactor     10.506        1.3395        .14853E-07   -.14502E-01
  10  Prefactor     .81372        2.9206        .21194E-06    .27497E-02
  11  Prefactor     1.9915        1.5902       -.14950E-06    .99317E-03
  12  norm          .14821E-07    10.654        .16275E-06** at limit **
  13  Prefactor     204.43        1.8773        .51365E-08   -.40414    
  14  Prefactor     9.5614        1.6018       -.16148E-07    .54303E-01
  15  Prefactor     2.6223        1.1740        .12264E-07   -.44473E-02
  16  Normalizat    .86488        .16663        .13717E-04   -.47316E-06
  17  Prefactor     .88128        .12258       -.10021E-04    .57907E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 0
  norm       = 0
  norm       = 4.09902
  norm       = 1.65814
  Prefactor  = 0
  norm       = 12.3667
  norm       = 2.08722e-08
  Prefactor  = 10.5061
  Prefactor  = 0.813719
  Prefactor  = 1.99147
  norm       = 1.48215e-08
  Prefactor  = 204.432
  Prefactor  = 9.56145
  Prefactor  = 2.62225
  Normalizat = 0.86488
  Prefactor  = 0.881279
 **********
 **   18 **HESSE 
 **********

 FCN=   8823.226     FROM HESSE     STATUS=OK           255 CALLS     1500 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    5.4670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.0690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .43225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.0990        2.8707        .49774E-03   -1.5667    
   5  norm          1.6581        1.6284        .81903E-03   -1.5682    
   6  Prefactor      .0000        1.6778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.367        7.2495        .28505E-03   -1.5638    
   8  norm          .20872E-07    8.8635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.506        10.582        .30855E-03   -1.5643    
  10  Prefactor     .81372        2.9974        .51029E-03   -1.5690    
  11  Prefactor     1.9915        1.5890        .73342E-03   -1.5680    
  12  norm          .14821E-07    10.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     204.43        100.48        .69953E-04   -1.5422    
  14  Prefactor     9.5614        32.153        .32405E-03   -1.5646    
  15  Prefactor     2.6223        19.241        .62693E-03   -1.5676    
  16  Normalizat    .86488        .14830        .44455E-01   -.97705    
  17  Prefactor     .88128        .10680        .44764E-01   -.96798    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.28237e-06
Minuit parameter uncertainties:
  1  0.000148788
  2  1.76796e-05
  3  2.56484e-06
  4  2.87069
  5  1.62842
  6  1.08543e-05
  7  7.24951
  8  0.000860509
  9  10.5817
  10  2.99745
  11  1.58896
  12  0.000794858
  13  100.483
  14  32.1534
  15  14.2064
  16  0.148368
  17  0.106824
Done.

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

Extracting fit parameters...

4FGL J0022.5+0608
   Spectrum: LogParabola
103         norm:  1.658e+00  1.628e+00  0.000e+00  1.000e+06 ( 1.000e-12)
104        alpha:  2.071e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
105         beta:  5.138e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
106           Eb:  8.504e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  8.813e-01  1.068e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  8.649e-01  1.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.44
Ra Dec: 5.638 6.134
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 1.16e-08 +/- 1.14e-08
Energy Flux (Fixed Index): 6.14e-06 +/- 6.03e-06

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) = 8820.7043765
delta logL = 2.52135468204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8820.23300729
delta logL = 2.99272389659

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23530       1.0000          .0000       .10000E+07
     2 'alpha     '    .45916       1.0000          .0000       5.0000    
     3 'Normalizat'    .87000       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88129       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8820.233     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      223 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23442        .22412        .99344E-03** at limit **
   2  alpha         .45828        .39565        .42513       -.21464E-04
   3  Normalizat    .87004        .14157        .44517E-01    .27748E-04
   4  Prefactor     .88123        .10542        .44766E-01    .14831E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.234424
  alpha      = 0.458285
  Normalizat = 0.870044
  Prefactor  = 0.881227
 **********
 **   18 **HESSE 
 **********

 FCN=   8820.233     FROM HESSE     STATUS=OK            35 CALLS      258 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23442        .55522        .35197E-04   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .45828        .67799        .21125E-01   -.95564    
   3  Normalizat    .87004        .16336        .26933E-03   -.97521    
   4  Prefactor     .88123        .12168        .19820E-03   -.96800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15294e-09
Minuit parameter uncertainties:
  1  0.555222
  2  0.705807
  3  0.163456
  4  0.121714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539467': 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) = 8820.23300597
delta logL = 2.99272521446

Extracting fit parameters...

4FGL J0022.5+0608
   Spectrum: LogParabola
103         norm:  2.344e-01  5.552e-01  0.000e+00  1.000e+06 ( 1.000e-12)
104        alpha:  4.583e-01  7.058e-01  0.000e+00  5.000e+00 ( 1.000e+00)
105         beta:  5.138e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
106           Eb:  8.504e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  8.812e-01  1.217e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  8.700e-01  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.41
Ra Dec: 5.638 6.134
Photon Index (Free Index): 0.46 +/- 0.71
Photon Flux (Free Index): 2.78e-09 +/- 2.90e-09
Energy Flux (Free Index): 7.22e-05 +/- 8.48e-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/539467/cmap_HighResolution_695260801_695520001_4FGL_J0022.5+0608_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.16e-08', energy_flux2='7.22e-05', photon_flux_error='1.14e-08', dlogl='2.99e+00', energy_flux='6.14e-06', photon_flux2='2.78e-09', job_status='DONE', time_completed='2023-01-16 00:16:29.247270', photon_index_error2='0.71', photon_index2='0.46', ts='4.44', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='8.48e-05', EG='0.86', time_epoch_completed='1673856989.25', return_code='0', job_id='539467', GAL2='0.88', EG2='0.87', return_code2='0', energy_flux_error='6.03e-06', photon_flux_error2='2.90e-09', ts2='10.41', photon_index='2.07' WHERE bin_id='1759' AND source_name='4FGL J0022.5+0608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 00:16:29 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 539467: <4FGL_J0022.5+0608_daily_bin1759> in cluster <slac> Done

Job <4FGL_J0022.5+0608_daily_bin1759> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Jan 16 00:04:45 2023
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 00:05:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 00:05:15 2023
Terminated at Mon Jan 16 00:16:30 2023
Results reported at Mon Jan 16 00:16:30 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0022.5+0608_daily_bin1759 5.6376 6.1343 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0022.5+0608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   567.50 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             309.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            705 sec.

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

