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


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1757
RA = 7.1222, Dec = 20.0311
tmin = 694742401, tmax = 695001601
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='182807', job_status='RUN', time_executed='2023-01-10 00:09:28.885304', time_epoch_executed='1673338168.89' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/182807

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/182807/ft1_4FGL_J0028.4+2001_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/182807/ft1_4FGL_J0028.4+2001_daily_bin1757.fits outfile=/scratch/kocevski/182807/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1757.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=694742401.0 tmax=695001601.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.98
user 2.69
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.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/182807/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/182807/ft1_filtered_4FGL_J0028.4+2001_daily_bin1757.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.54
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 964

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/182807/ft1_filtered_4FGL_J0028.4+2001_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/182807/ltcube_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.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/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits
.....................!
real 17.28
user 16.77
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/182807/ft1_filtered_4FGL_J0028.4+2001_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/182807/ltcube_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.fits outfile=/scratch/kocevski/182807/expmap_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.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/182807/ltcube_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.fits
.....................!
real 194.47
user 187.45
sys 5.31

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

Setting source of interest to:
4FGL J0028.4+2001 @ 7.1222 20.0311

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/182807/ft1_filtered_4FGL_J0028.4+2001_daily_bin1757.fits scfile=/scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits outfile=/scratch/kocevski/182807/cmap_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.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=7.1222 yref=20.0311 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.62
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/182807/ft1_filtered_4FGL_J0028.4+2001_daily_bin1757.fits scfile=/scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits outfile=/scratch/kocevski/182807/cmap_HighResolution_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.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=7.1222 yref=20.0311 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/182807/ft1_filtered_4FGL_J0028.4+2001_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/182807/Model_4FGL_J0028.4+2001_daily_bin1757.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/182807/ft1_filtered_4FGL_J0028.4+2001_daily_bin1757.fits.....................!
real 109.55
user 107.10
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/182807/ft1_filtered_4FGL_J0028.4+2001_daily_bin1757.fits', '/scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits', expMap='/scratch/kocevski/182807/expmap_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.fits', expCube='/scratch/kocevski/182807/ltcube_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/182807/Model_4FGL_J0028.4+2001_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0028.4+2001'

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.480e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/182807/ft1_filtered_4FGL_J0028.4+2001_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/182807/ft2_4FGL_J0028.4+2001_daily_bin1757.fits
Exposure map: /scratch/kocevski/182807/expmap_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.fits
Exposure cube: /scratch/kocevski/182807/ltcube_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/182807/Model_4FGL_J0028.4+2001_daily_bin1757.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) = 10315.2634913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57226E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    84.675       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.7317       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8888       1.0000          .0000       .10000E+07
     5 'norm      '    .25074E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    32.924       1.0000          .0000       .10000E+07
     7 'Prefactor '    15.554       1.0000          .0000       .10000E+07
     8 'norm      '    .29421E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.8040       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.295       1.0000          .0000       .10000E+07
    11 'Prefactor '    .89217       1.0000          .0000       .10000E+07
    12 'norm      '    .92511       1.0000          .0000       .10000E+07
    13 'Prefactor '    .84932E-08   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0075       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .99562       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10315.14     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      843 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68834E-08    8.3141        .18193E-05** at limit **
   2  Prefactor     84.621        15.893        .28115E-06   -.69613E-01
   3  Prefactor     4.5572        9.1902       -.29429E-06    .52122E-02
   4  Prefactor     1.8945        2.1962        .97145E-07    .11985E-02
   5  norm           .0000        2.3888        .73924E-06** at limit **
   6  Prefactor     32.782        8.8486        .70238E-06   -.11258    
   7  Prefactor     15.954        13.506        .20469E-05    .39025E-01
   8  norm           .0000        2.3324       -.74983E-06** at limit **
   9  Prefactor     7.7570        5.7400       -.90890E-06   -.37553E-02
  10  Prefactor     15.212        10.735       -.73070E-06   -.90535E-02
  11  Prefactor     .24980E-08    168.93        .81821E-05** at limit **
  12  norm          .92527        .48904       -.66913E-07    .25136E-02
  13  Prefactor      .0000        1.8567        .54726E-06** at limit **
  14  Normalizat    1.0083        .18761       -.14003E-05    .66327E-04
  15  Prefactor     .99541        .12703        .85052E-05    .12389E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.88338e-09
  Prefactor  = 84.6208
  Prefactor  = 4.55719
  Prefactor  = 1.89455
  norm       = 0
  Prefactor  = 32.7819
  Prefactor  = 15.9539
  norm       = 0
  Prefactor  = 7.75703
  Prefactor  = 15.2122
  Prefactor  = 2.498e-09
  norm       = 0.925266
  Prefactor  = 0
  Normalizat = 1.00833
  Prefactor  = 0.995406
 **********
 **   18 **HESSE 
 **********

 FCN=   10315.14     FROM HESSE     STATUS=OK           218 CALLS     1061 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68834E-08    1.8483        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     84.621        17.812        .10868E-03   -1.5524    
   3  Prefactor     4.5572        9.3542        .46234E-03   -1.5665    
   4  Prefactor     1.8945        2.2210        .75690E-03   -1.5680    
   5  norm           .0000        2.3923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.782        18.688        .17430E-03   -1.5593    
   7  Prefactor     15.954        14.344        .25369E-03   -1.5628    
   8  norm           .0000        2.3349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.7570        5.7774        .35871E-03   -1.5652    
  10  Prefactor     15.212        10.722        .25584E-03   -1.5630    
  11  Prefactor     .24980E-08    167.49        .46303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .92527        .49061        .44039E-03   -1.5689    
  13  Prefactor      .0000        1.8536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0083        .16020        .67079E-01   -.92752    
  15  Prefactor     .99541        .10778        .46212E-01   -.92883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81143e-07
Minuit parameter uncertainties:
  1  0.000225768
  2  17.8116
  3  9.35425
  4  2.22098
  5  7.34559e-06
  6  18.6883
  7  14.3439
  8  2.353e-06
  9  5.77741
  10  10.722
  11  0.00129635
  12  0.490607
  13  5.97681e-06
  14  0.160274
  15  0.107801
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.895e+00  2.221e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.954e-01  1.078e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.008e+00  1.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.35
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.01e-08 +/- 2.36e-08
Energy Flux (Fixed Index): 6.47e-06 +/- 7.59e-06

TS (Fixed Index): 1.35
Ra Dec: 7.122 20.031
Photon Flux Upper Limit: 7.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/182807/likelihoodResults_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.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) = 10314.9174546
delta logL = 0.218995696052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10314.9094518
delta logL = 0.226998522359

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1862       1.0000          .0000       .10000E+07
     2 'Index     '    1.9230       1.0000          .0000       10.000    
     3 'Normalizat'    1.0170       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10314.91     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      210 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1876        147.38        .69586E-03    .17385E-02
   2  Index         1.9230        5.3355        .26252       -.37360E-04
   3  Normalizat    1.0169        .13820        .66835E-01    .28397E-04
   4  Prefactor     .99170        .90589E-01    .46163E-01    .10519E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.18761
  Index      = 1.92303
  Normalizat = 1.01692
  Prefactor  = 0.991696
 **********
 **   18 **HESSE 
 **********

 FCN=   10314.91     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1876        2.4926        .16330E-04   -1.5678    
   2  Index         1.9230        .68846        .13268E-01   -.66289    
   3  Normalizat    1.0169        .18180        .29564E-03   -.92466    
   4  Prefactor     .99170        .12679        .20742E-03   -.93007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66904e-12
Minuit parameter uncertainties:
  1  2.49264
  2  0.692014
  3  0.181914
  4  0.12683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/182807': 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) = 10314.9094512
delta logL = 0.226999100936

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  2.188e+00  2.493e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  1.923e+00  6.920e-01  0.000e+00  1.000e+01 (-1.000e+00)
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.917e-01  1.268e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.017e+00  1.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.81
Ra Dec: 7.122 20.031
Photon Index (Free Index): 1.92 +/- 0.69
Photon Flux (Free Index): 1.28e-08 +/- 1.86e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.57e-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/182807/cmap_HighResolution_694742401_695001601_4FGL_J0028.4+2001_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.16e-03', comment='SUCCESS', photon_flux='2.01e-08', energy_flux2='1.08e-05', photon_flux_error='2.36e-08', dlogl='2.27e-01', energy_flux='6.47e-06', photon_flux2='1.28e-08', job_status='DONE', time_completed='2023-01-10 00:19:40.144364', photon_index_error2='0.69', photon_index2='1.92', ts='1.35', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='7.97e-08', energy_flux_error2='1.57e-05', EG='1.01', time_epoch_completed='1673338780.14', return_code='0', job_id='182807', GAL2='0.99', EG2='1.02', return_code2='0', energy_flux_error='7.59e-06', photon_flux_error2='1.86e-08', ts2='1.81', photon_index='2.41' WHERE bin_id='1757' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 00:19:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 182807: <4FGL_J0028.4+2001_daily_bin1757> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1757> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jan 10 00:05:00 2023
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:08:56 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 00:08:56 2023
Terminated at Tue Jan 10 00:19:41 2023
Results reported at Tue Jan 10 00:19:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1757 7.1222 20.0311 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0028.4+2001 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   609.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             395.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   644 sec.
    Turnaround time :                            881 sec.

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

