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


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1760
RA = 7.1222, Dec = 20.0311
tmin = 695520001, tmax = 695779201
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='723227', job_status='RUN', time_executed='2023-01-19 00:07:01.694625', time_epoch_executed='1674115621.69' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723227

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723227/ft1_4FGL_J0028.4+2001_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723227/ft2_4FGL_J0028.4+2001_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723227/ft1_4FGL_J0028.4+2001_daily_bin1760.fits outfile=/scratch/kocevski/723227/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1760.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=695520001.0 tmax=695779201.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.47
user 2.22
sys 0.18

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

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

Number of photons that the gtmktime cut: 1072

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723227/ft1_filtered_4FGL_J0028.4+2001_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/723227/ft2_4FGL_J0028.4+2001_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/723227/ltcube_695520001_695779201_4FGL_J0028.4+2001_daily_bin1760.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/723227/ft2_4FGL_J0028.4+2001_daily_bin1760.fits
.....................!
real 16.28
user 15.82
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723227/ft1_filtered_4FGL_J0028.4+2001_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/723227/ft2_4FGL_J0028.4+2001_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/723227/ltcube_695520001_695779201_4FGL_J0028.4+2001_daily_bin1760.fits outfile=/scratch/kocevski/723227/expmap_695520001_695779201_4FGL_J0028.4+2001_daily_bin1760.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/723227/ltcube_695520001_695779201_4FGL_J0028.4+2001_daily_bin1760.fits
.....................!
real 191.76
user 186.52
sys 4.72

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/723227/ft1_filtered_4FGL_J0028.4+2001_daily_bin1760.fits scfile=/scratch/kocevski/723227/ft2_4FGL_J0028.4+2001_daily_bin1760.fits outfile=/scratch/kocevski/723227/cmap_695520001_695779201_4FGL_J0028.4+2001_daily_bin1760.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.60
user 0.40
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98767E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    41.207       1.0000          .0000       .10000E+07
     3 'Prefactor '    .33112E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.8557       1.0000          .0000       .10000E+07
     5 'norm      '    .27225E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    25.246       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.360       1.0000          .0000       .10000E+07
     8 'norm      '    9.5154       1.0000          .0000       .10000E+07
     9 'Prefactor '    .38991E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.3779       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18656E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.0281       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12666E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0710       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .98905       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=   11468.33     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      851 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.4635        .97587E-07** at limit **
   2  Prefactor     41.124        10.347        .14477E-05    .37145E-01
   3  Prefactor     .35194E-07    36.928       -.32490E-05** at limit **
   4  Prefactor     8.8597        2.9978       -.32004E-06   -.18979E-01
   5  norm          .45003E-06    5.8418        .15862E-05** at limit **
   6  Prefactor     25.128        1.5371       -.18614E-06    .28035E-01
   7  Prefactor     12.353        8.8072        .35412E-06    .39995E-02
   8  norm          9.5193        6.4575       -.27194E-06   -.68206E-02
   9  Prefactor     .49438E-06    5.2273       -.14886E-06** at limit **
  10  Prefactor     3.3835        5.8689        .32511E-06   -.74370E-02
  11  Prefactor     .24425E-08    13.258       -.10776E-06** at limit **
  12  norm          1.0279        .46048       -.37488E-07   -.32989E-02
  13  Prefactor     .99920E-09    3.4276       -.47166E-06** at limit **
  14  Normalizat    1.0713        .17165       -.37881E-05   -.17128E-03
  15  Prefactor     .98903        .11942       -.95130E-05   -.57110E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 41.1241
  Prefactor  = 3.51941e-08
  Prefactor  = 8.85971
  norm       = 4.50029e-07
  Prefactor  = 25.1282
  Prefactor  = 12.3529
  norm       = 9.51927
  Prefactor  = 4.94382e-07
  Prefactor  = 3.38347
  Prefactor  = 2.44249e-09
  norm       = 1.02792
  Prefactor  = 9.99201e-10
  Normalizat = 1.07126
  Prefactor  = 0.989027
 **********
 **   18 **HESSE 
 **********

 FCN=   11468.33     FROM HESSE     STATUS=OK           226 CALLS     1077 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.3911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     41.124        10.752        .15580E-03   -1.5580    
   3  Prefactor     .35194E-07    3.5647        .67722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.8597        3.0292        .33658E-03   -1.5648    
   5  norm          .45003E-06    10.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.128        16.432        .19907E-03   -1.5608    
   7  Prefactor     12.353        8.8288        .28468E-03   -1.5638    
   8  norm          9.5193        6.4772        .32463E-03   -1.5646    
   9  Prefactor     .49438E-06    10.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3835        5.9222        .55030E-03   -1.5671    
  11  Prefactor     .24425E-08    13.449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0279        .46645        .10703E-02   -1.5688    
  13  Prefactor     .99920E-09    3.3915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0713        .14565        .64025E-01   -.90680    
  15  Prefactor     .98903        .10084        .46130E-01   -.93096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00993e-07
Minuit parameter uncertainties:
  1  1.60224e-05
  2  10.7517
  3  0.000708337
  4  3.02923
  5  0.00427584
  6  16.4318
  7  8.82884
  8  6.47721
  9  0.00448686
  10  5.92217
  11  0.000364014
  12  0.466446
  13  0.000116098
  14  0.145702
  15  0.100856
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  8.860e+00  3.029e+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.890e-01  1.009e-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.071e+00  1.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.15
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 9.41e-08 +/- 3.21e-08
Energy Flux (Fixed Index): 3.03e-05 +/- 1.04e-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) = 11466.0571742
delta logL = 2.27260095813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11465.9028653
delta logL = 2.42690987783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.294       1.0000          .0000       .10000E+07
     2 'Index     '    1.8310       1.0000          .0000       10.000    
     3 'Normalizat'    1.1117       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97100       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=   11465.90     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      221 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.294        4.5466        .29785E-03   -.15838E-01
   2  Index         1.8310        .25096        .14790        .74010E-04
   3  Normalizat    1.1117        .14380        .63049E-01   -.21818E-04
   4  Prefactor     .97100        .10070        .45904E-01    .78181E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2941
  Index      = 1.83103
  Normalizat = 1.11174
  Prefactor  = 0.971002
 **********
 **   18 **HESSE 
 **********

 FCN=   11465.90     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.294        4.1010        .11914E-04   -1.5641    
   2  Index         1.8310        .24634        .59964E-02   -.68645    
   3  Normalizat    1.1117        .16993        .27888E-03   -.89376    
   4  Prefactor     .97100        .11910        .20719E-03   -.93702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91331e-10
Minuit parameter uncertainties:
  1  4.10098
  2  0.246509
  3  0.17001
  4  0.119129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723227': 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) = 11465.9028653
delta logL = 2.4269098781

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.129e+01  4.101e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  1.831e+00  2.465e-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.710e-01  1.191e-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.112e+00  1.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.09
Ra Dec: 7.122 20.031
Photon Index (Free Index): 1.83 +/- 0.25
Photon Flux (Free Index): 6.06e-08 +/- 2.74e-08
Energy Flux (Free Index): 6.62e-05 +/- 3.80e-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/723227/cmap_HighResolution_695520001_695779201_4FGL_J0028.4+2001_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.41e-08', energy_flux2='6.62e-05', photon_flux_error='3.21e-08', dlogl='2.43e+00', energy_flux='3.03e-05', photon_flux2='6.06e-08', job_status='DONE', time_completed='2023-01-19 00:16:49.451853', photon_index_error2='0.25', photon_index2='1.83', ts='24.15', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.80e-05', EG='1.07', time_epoch_completed='1674116209.45', return_code='0', job_id='723227', GAL2='0.97', EG2='1.11', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='2.74e-08', ts2='29.09', photon_index='2.41' WHERE bin_id='1760' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:16:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 723227: <4FGL_J0028.4+2001_daily_bin1760> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:04:36 2023
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:06:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:06:04 2023
Terminated at Thu Jan 19 00:16:50 2023
Results reported at Thu Jan 19 00:16:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1760 7.1222 20.0311 695520001 695779201 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 :                                   580.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            734 sec.

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

