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 162 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 = 7622
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1724
RA = 7.1222, Dec = 20.0311
tmin = 686188801, tmax = 686448001
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='684581', job_status='RUN', time_executed='2022-10-03 00:08:33.936549', time_epoch_executed='1664780913.94' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/684581

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/684581/ft1_4FGL_J0028.4+2001_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/684581/ft2_4FGL_J0028.4+2001_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/684581/ft1_4FGL_J0028.4+2001_daily_bin1724.fits outfile=/scratch/kocevski/684581/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1724.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=686188801.0 tmax=686448001.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.60
user 4.34
sys 0.23

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

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

Number of photons that the gtmktime cut: 628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/684581/ft1_filtered_4FGL_J0028.4+2001_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/684581/ft2_4FGL_J0028.4+2001_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/684581/ltcube_686188801_686448001_4FGL_J0028.4+2001_daily_bin1724.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/684581/ft2_4FGL_J0028.4+2001_daily_bin1724.fits
.....................!
real 12.84
user 12.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/684581/ft1_filtered_4FGL_J0028.4+2001_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/684581/ft2_4FGL_J0028.4+2001_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/684581/ltcube_686188801_686448001_4FGL_J0028.4+2001_daily_bin1724.fits outfile=/scratch/kocevski/684581/expmap_686188801_686448001_4FGL_J0028.4+2001_daily_bin1724.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/684581/ltcube_686188801_686448001_4FGL_J0028.4+2001_daily_bin1724.fits
.....................!
real 192.03
user 185.85
sys 5.61

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/684581/ft1_filtered_4FGL_J0028.4+2001_daily_bin1724.fits scfile=/scratch/kocevski/684581/ft2_4FGL_J0028.4+2001_daily_bin1724.fits outfile=/scratch/kocevski/684581/cmap_686188801_686448001_4FGL_J0028.4+2001_daily_bin1724.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/684581/ft1_filtered_4FGL_J0028.4+2001_daily_bin1724.fits scfile=/scratch/kocevski/684581/ft2_4FGL_J0028.4+2001_daily_bin1724.fits outfile=/scratch/kocevski/684581/cmap_HighResolution_686188801_686448001_4FGL_J0028.4+2001_daily_bin1724.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.57
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30778E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.500       1.0000          .0000       .10000E+07
     3 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2952       1.0000          .0000       .10000E+07
     5 'norm      '    18.371       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38458E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .90863E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .14285E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .58431E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0765       1.0000          .0000       .10000E+07
    11 'Prefactor '    .48827E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .98528       1.0000          .0000       .10000E+07
    13 'Prefactor '    .48772E-03   1.0000          .0000       .10000E+07
    14 'Normalizat'    .71164       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.3658       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=   6842.782     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      818 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.5137        .15055E-05** at limit **
   2  Prefactor     11.372        8.8485       -.85780E-06    .34104E-03
   3  Prefactor     .72164E-09    4.5099       -.10816E-05** at limit **
   4  Prefactor     1.2917        3.8757        .37302E-05   -.19596E-02
   5  norm          18.385        1.2188        .70436E-07   -.81803E-01
   6  Prefactor      .0000        9.7543       -.47322E-05** at limit **
   7  Prefactor     .13878E-08    18.248        .85191E-05** at limit **
   8  norm           .0000        3.4822        .43491E-06** at limit **
   9  Prefactor     .39746E-07    1.0251        .97481E-07** at limit **
  10  Prefactor     3.0087        6.8981       -.26489E-05   -.14341E-02
  11  Prefactor     .16653E-09    37.095        .16333E-04** at limit **
  12  norm          .98667        .56728        .42269E-06   -.18348E-02
  13  Prefactor     .66613E-09    5.7038        .22823E-05** at limit **
  14  Normalizat    .71238        .21870        .84008E-04   -.39651E-05
  15  Prefactor     1.3657        .15926       -.47606E-04   -.17848E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 11.3722
  Prefactor  = 7.21645e-10
  Prefactor  = 1.29166
  norm       = 18.3851
  Prefactor  = 0
  Prefactor  = 1.38778e-09
  norm       = 0
  Prefactor  = 3.9746e-08
  Prefactor  = 3.00873
  Prefactor  = 1.66533e-10
  norm       = 0.986669
  Prefactor  = 6.66134e-10
  Normalizat = 0.712381
  Prefactor  = 1.3657
 **********
 **   18 **HESSE 
 **********

 FCN=   6842.782     FROM HESSE     STATUS=OK           216 CALLS     1034 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.5101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.372        8.8611        .29517E-03   -1.5641    
   3  Prefactor     .72164E-09    4.5173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2917        3.8916        .97169E-03   -1.5685    
   5  norm          18.385        12.691        .23340E-03   -1.5622    
   6  Prefactor      .0000        9.7628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13878E-08    18.271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.5236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .39746E-07    3.7993        .10396E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.0087        6.9384        .57803E-03   -1.5673    
  11  Prefactor     .16653E-09    37.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .98667        .56926        .43244E-03   -1.5688    
  13  Prefactor     .66613E-09    5.6551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .71238        .19684        .77013E-01   -1.0341    
  15  Prefactor     1.3657        .14182        .31552E-01   -.81374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17751e-07
Minuit parameter uncertainties:
  1  1.78479e-06
  2  8.86116
  3  0.000114521
  4  3.89163
  5  12.6912
  6  1.72712e-05
  7  0.000319853
  8  1.53076e-05
  9  0.000777126
  10  6.93844
  11  0.000144942
  12  0.569262
  13  0.000123612
  14  0.19704
  15  0.141863
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.292e+00  3.892e+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.366e+00  1.419e-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:  7.124e-01  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 7.122 20.031
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/684581/likelihoodResults_686188801_686448001_4FGL_J0028.4+2001_daily_bin1724.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) = 6842.78215476
delta logL = 9.957767179e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6842.78213838
delta logL = 0.00011595923479

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3179       1.0000          .0000       .10000E+07
     2 'Index     '    2.3923       1.0000          .0000       10.000    
     3 'Normalizat'    .71277       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3656       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6842.782     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      282 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3154        4.3713        .26748E-04    .26904E-03
   2  Index         2.3929        1.3820        .10282E-01    .35149E-05
   3  Normalizat    .71267        .21836        .34088E-03    .16876E-04
   4  Prefactor     1.3655        .15954        .18586E-03    .43735E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.31537
  Index      = 2.3929
  Normalizat = 0.712671
  Prefactor  = 1.36553
 **********
 **   18 **HESSE 
 **********

 FCN=   6842.782     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3154        4.2059        .10699E-05   -1.5685    
   2  Index         2.3929        1.3313        .41129E-03   -.54851    
   3  Normalizat    .71267        .21853        .13635E-04   -1.0339    
   4  Prefactor     1.3655        .15957        .74344E-05   -.81379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63363e-12
Minuit parameter uncertainties:
  1  4.20587
  2  1.35396
  3  0.218793
  4  0.159631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/684581': 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) = 6842.78213733
delta logL = 0.000117012019473

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.315e+00  4.206e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.393e+00  1.354e+00  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.366e+00  1.596e-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:  7.127e-01  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 7.122 20.031

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/684581/cmap_HighResolution_686188801_686448001_4FGL_J0028.4+2001_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.21e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2022-10-03 00:16:54.388053', job_id='684581', GAL2='1.37', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1664781414.39', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='1.17e-04', ts2='0.12', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1724' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 00:16:54 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 684633: <4FGL_J0028.4+2001_daily_bin1724> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1724> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct  3 00:05:19 2022
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 00:06:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 00:06:29 2022
Terminated at Mon Oct  3 00:15:33 2022
Results reported at Mon Oct  3 00:15:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1724 7.1222 20.0311 686188801 686448001 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 :                                   509.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             391.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   543 sec.
    Turnaround time :                            614 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 684581: <4FGL_J0028.4+2001_daily_bin1724> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1724> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Oct  3 00:05:15 2022
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 00:05:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 00:05:43 2022
Terminated at Mon Oct  3 00:16:55 2022
Results reported at Mon Oct  3 00:16:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1724 7.1222 20.0311 686188801 686448001 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 :                                   502.15 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             241.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            700 sec.

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

