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


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1770
RA = 7.1222, Dec = 20.0311
tmin = 698112001, tmax = 698371201
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='474886', job_status='RUN', time_executed='2023-02-18 00:06:19.737608', time_epoch_executed='1676707579.74' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474886

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474886/ft1_4FGL_J0028.4+2001_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474886/ft2_4FGL_J0028.4+2001_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474886/ft1_4FGL_J0028.4+2001_daily_bin1770.fits outfile=/scratch/kocevski/474886/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1770.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=698112001.0 tmax=698371201.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.58
user 4.14
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474886/ft2_4FGL_J0028.4+2001_daily_bin1770.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/474886/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/474886/ft1_filtered_4FGL_J0028.4+2001_daily_bin1770.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.71
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 631

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474886/ft1_filtered_4FGL_J0028.4+2001_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/474886/ft2_4FGL_J0028.4+2001_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/474886/ltcube_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.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/474886/ft2_4FGL_J0028.4+2001_daily_bin1770.fits
.....................!
real 11.57
user 11.23
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474886/ft1_filtered_4FGL_J0028.4+2001_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/474886/ft2_4FGL_J0028.4+2001_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/474886/ltcube_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.fits outfile=/scratch/kocevski/474886/expmap_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.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/474886/ltcube_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.fits
.....................!
real 192.70
user 187.92
sys 4.21

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/474886/ft1_filtered_4FGL_J0028.4+2001_daily_bin1770.fits scfile=/scratch/kocevski/474886/ft2_4FGL_J0028.4+2001_daily_bin1770.fits outfile=/scratch/kocevski/474886/cmap_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.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 1.20
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474886/ft1_filtered_4FGL_J0028.4+2001_daily_bin1770.fits scfile=/scratch/kocevski/474886/ft2_4FGL_J0028.4+2001_daily_bin1770.fits outfile=/scratch/kocevski/474886/cmap_HighResolution_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.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 1.04
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/474886/ft1_filtered_4FGL_J0028.4+2001_daily_bin1770.fits', '/scratch/kocevski/474886/ft2_4FGL_J0028.4+2001_daily_bin1770.fits', expMap='/scratch/kocevski/474886/expmap_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.fits', expCube='/scratch/kocevski/474886/ltcube_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/474886/Model_4FGL_J0028.4+2001_daily_bin1770.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/474886/ft1_filtered_4FGL_J0028.4+2001_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/474886/ft2_4FGL_J0028.4+2001_daily_bin1770.fits
Exposure map: /scratch/kocevski/474886/expmap_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.fits
Exposure cube: /scratch/kocevski/474886/ltcube_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/474886/Model_4FGL_J0028.4+2001_daily_bin1770.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) = 7064.96897284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67673E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.816       1.0000          .0000       .10000E+07
     3 'Prefactor '    .56186E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    18.464       1.0000          .0000       .10000E+07
     5 'norm      '    9.6207       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28833E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .62795E-05   1.0000          .0000       .10000E+07
     8 'norm      '    5.5762       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12148E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .31157E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .65836E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .40529       1.0000          .0000       .10000E+07
    13 'Prefactor '    .56673E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1650       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .87128       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=   7064.928     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      807 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79574E-01    14.047        .21285E-06** at limit **
   2  Prefactor     20.799        1.1271        .60622E-09    .41023E-02
   3  Prefactor      .0000        2.4327        .20143E-07** at limit **
   4  Prefactor     18.485        5.0895       -.13805E-07    .85435E-04
   5  norm          9.6155        1.1554        .67743E-08   -.34859E-01
   6  Prefactor     .11102E-09    6.5717        .26862E-06** at limit **
   7  Prefactor     .11102E-09    5.4728        .21363E-06** at limit **
   8  norm          5.5539        5.6239       -.47348E-08   -.77079E-04
   9  Prefactor      .0000        3.5102       -.57537E-08** at limit **
  10  Prefactor     .55511E-10    9.7594       -.21725E-06** at limit **
  11  Prefactor      .0000        16.329       -.59937E-07** at limit **
  12  norm          .40516        .46937       -.39065E-07    .32354E-03
  13  Prefactor      .0000        2.0776        .82557E-07** at limit **
  14  Normalizat    1.1645        .22106        .31549E-05   -.43747E-06
  15  Prefactor     .87146        .14720       -.20030E-05    .77113E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0795739
  Prefactor  = 20.7987
  Prefactor  = 0
  Prefactor  = 18.4849
  norm       = 9.61547
  Prefactor  = 1.11022e-10
  Prefactor  = 1.11022e-10
  norm       = 5.55385
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.405161
  Prefactor  = 0
  Normalizat = 1.16446
  Prefactor  = 0.871459
 **********
 **   18 **HESSE 
 **********

 FCN=   7064.928     FROM HESSE     STATUS=OK           218 CALLS     1025 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79574E-01    1.2564        .55806E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.799        11.160        .21925E-03   -1.5617    
   3  Prefactor      .0000        2.4351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.485        5.0937        .23281E-03   -1.5622    
   5  norm          9.6155        8.7238        .32284E-03   -1.5646    
   6  Prefactor     .11102E-09    6.5783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    5.4682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.5539        5.6238        .42520E-03   -1.5661    
   9  Prefactor      .0000        3.5052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    9.7333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        16.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .40516        .53112        .14175E-02   -1.5695    
  13  Prefactor      .0000        2.0759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1645        .18647        .62027E-01   -.87708    
  15  Prefactor     .87146        .12320        .44638E-01   -.97146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.95658e-09
Minuit parameter uncertainties:
  1  0.63239
  2  11.1595
  3  2.39197e-06
  4  5.09373
  5  8.72378
  6  5.46276e-05
  7  4.78065e-05
  8  5.62379
  9  2.64386e-06
  10  4.22573e-05
  11  2.55477e-05
  12  0.531125
  13  8.57091e-07
  14  0.186572
  15  0.12324
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.848e+01  5.094e+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:  8.715e-01  1.232e-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.164e+00  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 43.57
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.96e-07 +/- 5.40e-08
Energy Flux (Fixed Index): 6.32e-05 +/- 1.74e-05

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) = 7061.70123108
delta logL = 3.22719753815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7061.32264737
delta logL = 3.60578125149

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.278       1.0000          .0000       .10000E+07
     2 'Index     '    1.8145       1.0000          .0000       10.000    
     3 'Normalizat'    1.2429       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83470       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=   7061.323     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      210 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.278        7.0493        .20300E-03   -.51175E-01
   2  Index         1.8145        .19909        .95566E-01    .63506E-04
   3  Normalizat    1.2430        .18503        .60372E-01    .28590E-04
   4  Prefactor     .83463        .12288        .44167E-01    .48332E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.2778
  Index      = 1.81451
  Normalizat = 1.24295
  Prefactor  = 0.83463
 **********
 **   18 **HESSE 
 **********

 FCN=   7061.323     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.278        6.8991        .81199E-05   -1.5609    
   2  Index         1.8145        .20168        .40832E-02   -.69073    
   3  Normalizat    1.2430        .22043        .26701E-03   -.85286    
   4  Prefactor     .83463        .14632        .21170E-03   -.98464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09379e-09
Minuit parameter uncertainties:
  1  6.89915
  2  0.201772
  3  0.220596
  4  0.146389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474886': 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) = 7061.32264726
delta logL = 3.60578136

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  2.428e+01  6.899e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  1.815e+00  2.018e-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:  8.346e-01  1.464e-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.243e+00  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 50.99
Ra Dec: 7.122 20.031
Photon Index (Free Index): 1.81 +/- 0.20
Photon Flux (Free Index): 1.28e-07 +/- 4.49e-08
Energy Flux (Free Index): 1.47e-04 +/- 7.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/474886/cmap_HighResolution_698112001_698371201_4FGL_J0028.4+2001_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.96e-07', energy_flux2='1.47e-04', photon_flux_error='5.40e-08', dlogl='3.61e+00', energy_flux='6.32e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2023-02-18 00:14:16.774111', photon_index_error2='0.20', photon_index2='1.81', ts='43.57', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='7.12e-05', EG='1.16', time_epoch_completed='1676708056.77', return_code='0', job_id='474886', GAL2='0.83', EG2='1.24', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='4.49e-08', ts2='50.99', photon_index='2.41' WHERE bin_id='1770' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:14:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0160>
Subject: Job 474886: <4FGL_J0028.4+2001_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 00:04:59 2023
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:05:00 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:05:00 2023
Terminated at Sat Feb 18 00:14:17 2023
Results reported at Sat Feb 18 00:14:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1770 7.1222 20.0311 698112001 698371201 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 :                                   465.38 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             373.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   557 sec.
    Turnaround time :                            558 sec.

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

