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


Performing analysis on: 4FGL_J0022.5+0608_daily_bin1735
RA = 5.6376, Dec = 6.1343
tmin = 689040001, tmax = 689299201
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='987803', job_status='RUN', time_executed='2022-11-05 08:31:17.506429', time_epoch_executed='1667662277.51' WHERE source_name='4FGL J0022.5+0608' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/987803

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/987803/ft1_4FGL_J0022.5+0608_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/987803/ft2_4FGL_J0022.5+0608_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/987803/ft1_4FGL_J0022.5+0608_daily_bin1735.fits outfile=/scratch/kocevski/987803/ft1_filteredMKT_4FGL_J0022.5+0608_daily_bin1735.fits ra=5.6376 dec=6.1343 rad=12.0 tmin=689040001.0 tmax=689299201.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.73
user 3.39
sys 0.24

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

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

Number of photons that the gtmktime cut: 723

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/987803/ft1_filtered_4FGL_J0022.5+0608_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/987803/ft2_4FGL_J0022.5+0608_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/987803/ltcube_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.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/987803/ft2_4FGL_J0022.5+0608_daily_bin1735.fits
.....................!
real 12.06
user 11.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/987803/ft1_filtered_4FGL_J0022.5+0608_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/987803/ft2_4FGL_J0022.5+0608_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/987803/ltcube_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.fits outfile=/scratch/kocevski/987803/expmap_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.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/987803/ltcube_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.fits
.....................!
real 191.10
user 185.58
sys 4.72

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/987803/ft1_filtered_4FGL_J0022.5+0608_daily_bin1735.fits scfile=/scratch/kocevski/987803/ft2_4FGL_J0022.5+0608_daily_bin1735.fits outfile=/scratch/kocevski/987803/cmap_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/987803/ft1_filtered_4FGL_J0022.5+0608_daily_bin1735.fits scfile=/scratch/kocevski/987803/ft2_4FGL_J0022.5+0608_daily_bin1735.fits outfile=/scratch/kocevski/987803/cmap_HighResolution_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/987803/ft1_filtered_4FGL_J0022.5+0608_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/987803/ft2_4FGL_J0022.5+0608_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/987803/Model_4FGL_J0022.5+0608_daily_bin1735.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/987803/ft1_filtered_4FGL_J0022.5+0608_daily_bin1735.fits.....................!
real 83.38
user 81.15
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/987803/ft1_filtered_4FGL_J0022.5+0608_daily_bin1735.fits', '/scratch/kocevski/987803/ft2_4FGL_J0022.5+0608_daily_bin1735.fits', expMap='/scratch/kocevski/987803/expmap_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.fits', expCube='/scratch/kocevski/987803/ltcube_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/987803/Model_4FGL_J0022.5+0608_daily_bin1735.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/987803/ft1_filtered_4FGL_J0022.5+0608_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/987803/ft2_4FGL_J0022.5+0608_daily_bin1735.fits
Exposure map: /scratch/kocevski/987803/expmap_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.fits
Exposure cube: /scratch/kocevski/987803/ltcube_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/987803/Model_4FGL_J0022.5+0608_daily_bin1735.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) = 7840.60427681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9122       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.1864       1.0000          .0000       .10000E+07
     3 'norm      '    .74996E-07   1.0000          .0000       .10000E+07
     4 'norm      '    .67716E-05   1.0000          .0000       .10000E+07
     5 'norm      '    2.9750       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.0219       1.0000          .0000       .10000E+07
     7 'norm      '    6.4983       1.0000          .0000       .10000E+07
     8 'norm      '    .12268E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6401       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.2148       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3243       1.0000          .0000       .10000E+07
    12 'norm      '    15.059       1.0000          .0000       .10000E+07
    13 'Prefactor '    511.44       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.290       1.0000          .0000       .10000E+07
    15 'Prefactor '    20.573       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4175       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .71313       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=   7840.604     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1267 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.011        10.752        .21499E-07    .10560E-04
   2  Prefactor     7.1882        5.2626       -.30503E-06   -.18684E-02
   3  norm           .0000        2.6537       -.52015E-06** at limit **
   4  norm           .0000        3.7083       -.40673E-08** at limit **
   5  norm          2.9750        3.0888        .48583E-06    .38204E-02
   6  Prefactor     7.0152        6.9084       -.14154E-06   -.96513E-04
   7  norm          6.4946        5.6744       -.10538E-07    .87436E-04
   8  norm           .0000        3.3313        .70313E-06** at limit **
   9  Prefactor     3.6322        11.290       -.33378E-05   -.11211E-03
  10  Prefactor     8.2158        5.9735        .16077E-06   -.27621E-03
  11  Prefactor     3.3273        2.0059       -.30961E-07   -.65270E-03
  12  norm          15.084        12.979        .51059E-05    .16465E-02
  13  Prefactor     510.04        145.90       -.18064E-05   -.19976E-03
  14  Prefactor     18.257        22.991        .60522E-06   -.12208E-01
  15  Prefactor     20.581        9.5707       -.13836E-06    .29963E-01
  16  Normalizat    1.4177        .21600        .13290E-04   -.32443E-04
  17  Prefactor     .71306        .14715       -.10320E-04   -.73719E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0114
  Prefactor  = 7.18817
  norm       = 0
  norm       = 0
  norm       = 2.975
  Prefactor  = 7.01521
  norm       = 6.49456
  norm       = 0
  Prefactor  = 3.63217
  Prefactor  = 8.2158
  Prefactor  = 3.32728
  norm       = 15.0838
  Prefactor  = 510.036
  Prefactor  = 18.2566
  Prefactor  = 20.5814
  Normalizat = 1.41769
  Prefactor  = 0.713061
 **********
 **   18 **HESSE 
 **********

 FCN=   7840.604     FROM HESSE     STATUS=OK           269 CALLS     1536 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.011        10.739        .31803E-03   -1.5645    
   2  Prefactor     7.1882        5.2758        .37394E-03   -1.5654    
   3  norm           .0000        2.5743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.6047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.9750        3.1016        .58839E-03   -1.5673    
   6  Prefactor     7.0152        6.9048        .37834E-03   -1.5655    
   7  norm          6.4946        5.6741        .39346E-03   -1.5657    
   8  norm           .0000        3.3410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6322        11.305        .52926E-03   -1.5670    
  10  Prefactor     8.2158        5.9843        .34955E-03   -1.5651    
  11  Prefactor     3.3273        2.0062        .55493E-03   -1.5671    
  12  norm          15.084        12.991        .25784E-03   -1.5630    
  13  Prefactor     510.04        145.32        .44230E-04   -1.5256    
  14  Prefactor     18.257        25.336        .23391E-03   -1.5623    
  15  Prefactor     20.581        26.808        .22054E-03   -1.5617    
  16  Normalizat    1.4177        .18746        .60806E-01   -.80118    
  17  Prefactor     .71306        .12864        .42576E-01   -1.0302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.50548e-08
Minuit parameter uncertainties:
  1  10.7388
  2  5.27582
  3  1.25046e-05
  4  2.28646e-07
  5  3.1016
  6  6.90484
  7  5.67414
  8  1.24172e-05
  9  11.3051
  10  5.98431
  11  2.00622
  12  12.9909
  13  145.321
  14  25.3357
  15  26.8086
  16  0.187555
  17  0.128694
Done.

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

Extracting fit parameters...

4FGL J0022.5+0608
   Spectrum: LogParabola
103         norm:  2.975e+00  3.102e+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:  7.131e-01  1.287e-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:  1.418e+00  1.876e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 5.638 6.134
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.08e-08 +/- 2.17e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 1.15e-05

TS (Fixed Index): 1.89
Ra Dec: 5.638 6.134
Photon Flux Upper Limit: 7.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/987803/likelihoodResults_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.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) = 7840.34093956
delta logL = 0.262618588833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7840.33281681
delta logL = 0.270741347618

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6496       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6569       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3976       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71989       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7840.333     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      243 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6494        2.9410        .12271E-04    .51965E-02
   2  alpha         2.6568        .82310        .17422E-01    .34029E-04
   3  Normalizat    1.3976        .20952        .27046E-03   -.99580E-04
   4  Prefactor     .71989        .14503        .25365E-03   -.11617E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.64943
  alpha      = 2.65684
  Normalizat = 1.39762
  Prefactor  = 0.719887
 **********
 **   18 **HESSE 
 **********

 FCN=   7840.333     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6494        2.8071        .49085E-06   -1.5675    
   2  alpha         2.6568        .78622        .69689E-03    .62777E-01
   3  Normalizat    1.3976        .20955        .10818E-04   -.80698    
   4  Prefactor     .71989        .14508        .10146E-04   -1.0275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.26632e-11
Minuit parameter uncertainties:
  1  2.80709
  2  0.799847
  3  0.209682
  4  0.14516
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/987803': 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) = 7840.3328168
delta logL = 0.270741356851

Extracting fit parameters...

4FGL J0022.5+0608
   Spectrum: LogParabola
103         norm:  2.649e+00  2.807e+00  0.000e+00  1.000e+06 ( 1.000e-12)
104        alpha:  2.657e+00  7.998e-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:  7.199e-01  1.452e-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:  1.398e+00  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.48
Ra Dec: 5.638 6.134
Photon Index (Free Index): 2.66 +/- 0.80
Photon Flux (Free Index): 4.11e-08 +/- 4.45e-08
Energy Flux (Free Index): 1.06e-05 +/- 9.35e-06

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/987803/cmap_HighResolution_689040001_689299201_4FGL_J0022.5+0608_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-05', comment='SUCCESS', photon_flux='2.08e-08', energy_flux2='1.06e-05', photon_flux_error='2.17e-08', dlogl='2.71e-01', energy_flux='1.10e-05', photon_flux2='4.11e-08', job_status='DONE', time_completed='2022-11-05 08:40:40.767022', photon_index_error2='0.80', photon_index2='2.66', ts='1.89', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='7.78e-08', energy_flux_error2='9.35e-06', EG='1.42', time_epoch_completed='1667662840.77', return_code='0', job_id='987803', GAL2='0.72', EG2='1.40', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='4.45e-08', ts2='2.48', photon_index='2.07' WHERE bin_id='1735' AND source_name='4FGL J0022.5+0608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 08:40:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 987803: <4FGL_J0022.5+0608_daily_bin1735> in cluster <slac> Done

Job <4FGL_J0022.5+0608_daily_bin1735> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Nov  5 08:30:17 2022
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 08:30:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 08:30:19 2022
Terminated at Sat Nov  5 08:40:41 2022
Results reported at Sat Nov  5 08:40:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0022.5+0608_daily_bin1735 5.6376 6.1343 689040001 689299201 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 :                                   563.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            624 sec.

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

