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


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1768
RA = 7.1222, Dec = 20.0311
tmin = 697593601, tmax = 697852801
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='258098', job_status='RUN', time_executed='2023-02-12 00:07:56.028027', time_epoch_executed='1676189276.03' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258098

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258098/ft1_4FGL_J0028.4+2001_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258098/ft2_4FGL_J0028.4+2001_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/258098/ft1_4FGL_J0028.4+2001_daily_bin1768.fits outfile=/scratch/kocevski/258098/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1768.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=697593601.0 tmax=697852801.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.68
user 3.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/258098/ft2_4FGL_J0028.4+2001_daily_bin1768.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/258098/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/258098/ft1_filtered_4FGL_J0028.4+2001_daily_bin1768.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.16

Number of photons that the gtmktime cut: 593

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258098/ft1_filtered_4FGL_J0028.4+2001_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/258098/ft2_4FGL_J0028.4+2001_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/258098/ltcube_697593601_697852801_4FGL_J0028.4+2001_daily_bin1768.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/258098/ft2_4FGL_J0028.4+2001_daily_bin1768.fits
.....................!
real 13.30
user 12.76
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258098/ft1_filtered_4FGL_J0028.4+2001_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/258098/ft2_4FGL_J0028.4+2001_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/258098/ltcube_697593601_697852801_4FGL_J0028.4+2001_daily_bin1768.fits outfile=/scratch/kocevski/258098/expmap_697593601_697852801_4FGL_J0028.4+2001_daily_bin1768.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/258098/ltcube_697593601_697852801_4FGL_J0028.4+2001_daily_bin1768.fits
.....................!
real 192.68
user 187.47
sys 4.76

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/258098/ft1_filtered_4FGL_J0028.4+2001_daily_bin1768.fits scfile=/scratch/kocevski/258098/ft2_4FGL_J0028.4+2001_daily_bin1768.fits outfile=/scratch/kocevski/258098/cmap_697593601_697852801_4FGL_J0028.4+2001_daily_bin1768.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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258098/ft1_filtered_4FGL_J0028.4+2001_daily_bin1768.fits scfile=/scratch/kocevski/258098/ft2_4FGL_J0028.4+2001_daily_bin1768.fits outfile=/scratch/kocevski/258098/cmap_HighResolution_697593601_697852801_4FGL_J0028.4+2001_daily_bin1768.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40856E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.4942       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16821E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.598       1.0000          .0000       .10000E+07
     5 'norm      '    .23898E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .67024E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10945E-05   1.0000          .0000       .10000E+07
     8 'norm      '    1.1335       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11469E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.1971       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13474       1.0000          .0000       .10000E+07
    12 'norm      '    .56015       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39161E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    .93797       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0385       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6727.129     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     1388 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .77974        .70669E-04** at limit **
   2  Prefactor     2.4880        9.3658        .12938E-03    .36413E-03
   3  Prefactor     .38858E-09    11.184        .84235E-04** at limit **
   4  Prefactor     11.597        4.2561        .98105E-05    .23960E-02
   5  norm           .0000        7.1422        .84235E-04** at limit **
   6  Prefactor     .16653E-09    6.7509        .84235E-04** at limit **
   7  Prefactor     .33307E-09    9.4562        .84235E-04** at limit **
   8  norm          1.1315        4.8965        .35386E-04    .96414E-03
   9  Prefactor      .0000        1.9023        .84235E-04** at limit **
  10  Prefactor     5.2086        13.033        .17629E-04   -.17735E-03
  11  Prefactor     .27778E-01    36.939        .15072E-01** at limit **
  12  norm          .56048        .55480        .29150E-05    .13533E-02
  13  Prefactor      .0000        6.3878        .84235E-04** at limit **
  14  Normalizat    .93788        .22301        .29445E-03    .36924E-03
  15  Prefactor     1.0384        .14882        .19109E-03    .38671E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 2.48798
  Prefactor  = 3.88578e-10
  Prefactor  = 11.5967
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 3.33067e-10
  norm       = 1.13148
  Prefactor  = 0
  Prefactor  = 5.20861
  Prefactor  = 0.0277778
  norm       = 0.560483
  Prefactor  = 0
  Normalizat = 0.937877
  Prefactor  = 1.03842
 **********
 **   18 **HESSE 
 **********

 FCN=   6727.129     FROM HESSE     STATUS=OK           178 CALLS     1566 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .77977        .14134E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.4880        9.3594        .51752E-05   -1.5676    
   3  Prefactor     .38858E-09    11.185        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.597        4.2558        .19621E-05   -1.5640    
   5  norm           .0000        7.1425        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    6.7509        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    9.4565        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1315        4.8947        .14155E-05   -1.5687    
   9  Prefactor      .0000        1.9023        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.2086        13.030        .70515E-06   -1.5662    
  11  Prefactor     .27778E-01    35.890        .15430E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .56048        .55479        .11660E-06   -1.5693    
  13  Prefactor      .0000        6.3889        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .93788        .22315        .58889E-04   -.95142    
  15  Prefactor     1.0384        .14894        .38217E-04   -.91460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63479e-10
Minuit parameter uncertainties:
  1  1.95394e-06
  2  9.35944
  3  0.000127825
  4  4.2558
  5  2.53213e-05
  6  7.05753e-05
  7  0.000109878
  8  4.7067
  9  4.50124e-06
  10  13.0298
  11  1.99696
  12  0.554787
  13  1.08539e-06
  14  0.22337
  15  0.149002
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.160e+01  4.256e+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:  1.038e+00  1.490e-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:  9.379e-01  2.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.87
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.23e-07 +/- 4.51e-08
Energy Flux (Fixed Index): 3.96e-05 +/- 1.45e-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) = 6722.06744063
delta logL = 5.06191714938

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6722.05377654
delta logL = 5.07558124164

Fit tolerance = 1e-08

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

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

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.203        4.7515        .29906E-03    .34295E-01
   2  Index         1.5105        .21853        .10894       -.22625E-03
   3  Normalizat    1.0128        .18296        .64376E-01   -.10640E-03
   4  Prefactor     1.0119        .12466        .43060E-01   -.35819E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2033
  Index      = 1.51047
  Normalizat = 1.01283
  Prefactor  = 1.01191
 **********
 **   18 **HESSE 
 **********

 FCN=   6722.054     FROM HESSE     STATUS=OK            29 CALLS      239 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.203        5.6103        .10797E-04   -1.5641    
   2  Index         1.5105        .26750        .46519E-02   -.77247    
   3  Normalizat    1.0128        .21713        .28473E-03   -.92602    
   4  Prefactor     1.0119        .14806        .19333E-03   -.92333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94001e-09
Minuit parameter uncertainties:
  1  5.61025
  2  0.267745
  3  0.217316
  4  0.148125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258098': 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) = 6722.05377653
delta logL = 5.07558124875

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.120e+01  5.610e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  1.510e+00  2.677e-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:  1.012e+00  1.481e-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.013e+00  2.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 36.02
Ra Dec: 7.122 20.031
Photon Index (Free Index): 1.51 +/- 0.27
Photon Flux (Free Index): 4.90e-08 +/- 2.73e-08
Energy Flux (Free Index): 1.50e-04 +/- 9.81e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/258098/cmap_HighResolution_697593601_697852801_4FGL_J0028.4+2001_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-07', energy_flux2='1.50e-04', photon_flux_error='4.51e-08', dlogl='5.08e+00', energy_flux='3.96e-05', photon_flux2='4.90e-08', job_status='DONE', time_completed='2023-02-12 00:16:30.158122', photon_index_error2='0.27', photon_index2='1.51', ts='25.87', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='9.81e-05', EG='0.94', time_epoch_completed='1676189790.16', return_code='0', job_id='258098', GAL2='1.01', EG2='1.01', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='2.73e-08', ts2='36.02', photon_index='2.41' WHERE bin_id='1768' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 00:16:30 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 258019: <4FGL_J0028.4+2001_daily_bin1768> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1768> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Feb 12 00:05:14 2023
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:05:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:05:29 2023
Terminated at Sun Feb 12 00:16:30 2023
Results reported at Sun Feb 12 00:16:30 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1768 7.1222 20.0311 697593601 697852801 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 :                                   498.39 sec.
    Max Memory :                                 1210 MB
    Average Memory :                             293.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            676 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 258098: <4FGL_J0028.4+2001_daily_bin1768> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1768> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Feb 12 00:05:18 2023
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:05:57 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:05:57 2023
Terminated at Sun Feb 12 00:16:31 2023
Results reported at Sun Feb 12 00:16:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1768 7.1222 20.0311 697593601 697852801 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 :                                   496.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            673 sec.

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

