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


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1755
RA = 7.1222, Dec = 20.0311
tmin = 694224001, tmax = 694483201
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='807221', job_status='RUN', time_executed='2023-01-04 00:08:07.817264', time_epoch_executed='1672819687.82' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807221

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807221/ft1_4FGL_J0028.4+2001_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807221/ft2_4FGL_J0028.4+2001_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807221/ft1_4FGL_J0028.4+2001_daily_bin1755.fits outfile=/scratch/kocevski/807221/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1755.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=694224001.0 tmax=694483201.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.12
user 2.80
sys 0.21

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

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

Number of photons that the gtmktime cut: 910

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807221/ft1_filtered_4FGL_J0028.4+2001_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/807221/ft2_4FGL_J0028.4+2001_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/807221/ltcube_694224001_694483201_4FGL_J0028.4+2001_daily_bin1755.fits outfile=/scratch/kocevski/807221/expmap_694224001_694483201_4FGL_J0028.4+2001_daily_bin1755.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/807221/ltcube_694224001_694483201_4FGL_J0028.4+2001_daily_bin1755.fits
.....................!
real 194.43
user 187.84
sys 4.85

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/807221/ft1_filtered_4FGL_J0028.4+2001_daily_bin1755.fits scfile=/scratch/kocevski/807221/ft2_4FGL_J0028.4+2001_daily_bin1755.fits outfile=/scratch/kocevski/807221/cmap_694224001_694483201_4FGL_J0028.4+2001_daily_bin1755.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.57
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807221/ft1_filtered_4FGL_J0028.4+2001_daily_bin1755.fits scfile=/scratch/kocevski/807221/ft2_4FGL_J0028.4+2001_daily_bin1755.fits outfile=/scratch/kocevski/807221/cmap_HighResolution_694224001_694483201_4FGL_J0028.4+2001_daily_bin1755.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=7.1222 yref=20.0311 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64948E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.9433       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.9022       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.619       1.0000          .0000       .10000E+07
     5 'norm      '    .75549E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .27648E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .14811E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .10921E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.8303       1.0000          .0000       .10000E+07
    10 'Prefactor '    .22088E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34448E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.0933       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1451       1.0000          .0000       .10000E+07
    14 'Normalizat'    .91440       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0584       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=   9868.402     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      793 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .86078       -.17565E-07** at limit **
   2  Prefactor     9.9339        3.8774        .90353E-08   -.20217E-01
   3  Prefactor     7.9063        5.5100       -.36409E-07    .12392E-01
   4  Prefactor     15.609        4.0026       -.93571E-08    .11474E-02
   5  norm          .55511E-10    2.3753        .18434E-06** at limit **
   6  Prefactor     .55511E-10    4.7075        .81612E-07** at limit **
   7  Prefactor     .11102E-09    4.1409        .13118E-06** at limit **
   8  norm          .55511E-10    2.6405       -.16369E-06** at limit **
   9  Prefactor     3.8394        4.2741       -.33071E-06    .17116E-02
  10  Prefactor     .55511E-10    5.7796        .24680E-06** at limit **
  11  Prefactor      .0000        21.167       -.19653E-06** at limit **
  12  norm          1.0933        .59135        .46534E-07   -.43852E-02
  13  Prefactor     4.1387        4.4811        .12427E-06   -.67442E-03
  14  Normalizat    .91454        .18096       -.62315E-06    .40156E-04
  15  Prefactor     1.0584        .12643        .70841E-07    .62668E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 9.93391
  Prefactor  = 7.90629
  Prefactor  = 15.6085
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 5.55112e-11
  Prefactor  = 3.83941
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 1.09329
  Prefactor  = 4.13866
  Normalizat = 0.914541
  Prefactor  = 1.05836
 **********
 **   18 **HESSE 
 **********

 FCN=   9868.402     FROM HESSE     STATUS=OK           210 CALLS     1003 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .85747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.9339        7.3198        .31753E-03   -1.5645    
   3  Prefactor     7.9063        7.0408        .35645E-03   -1.5652    
   4  Prefactor     15.609        3.9975        .25317E-03   -1.5629    
   5  norm          .55511E-10    2.3991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    4.7256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    4.1563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    2.6660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8394        4.2809        .51544E-03   -1.5669    
  10  Prefactor     .55511E-10    5.7722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        21.163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0933        .60867        .11413E-02   -1.5687    
  13  Prefactor     4.1387        4.4958        .49484E-03   -1.5667    
  14  Normalizat    .91454        .15481        .66884E-01   -.95951    
  15  Prefactor     1.0584        .10780        .39439E-01   -.90809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01261e-08
Minuit parameter uncertainties:
  1  9.89905e-07
  2  7.31985
  3  7.04078
  4  3.9975
  5  2.04703e-05
  6  3.01818e-05
  7  3.79999e-05
  8  2.60465e-05
  9  4.28091
  10  3.78183e-05
  11  3.45845e-05
  12  0.608668
  13  4.49576
  14  0.154885
  15  0.107824
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.561e+01  3.997e+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.058e+00  1.078e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.145e-01  1.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 35.35
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.66e-07 +/- 4.24e-08
Energy Flux (Fixed Index): 5.33e-05 +/- 1.37e-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) = 9867.59813198
delta logL = 0.803823491575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9867.59671284
delta logL = 0.805242634653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.050       1.0000          .0000       .10000E+07
     2 'Index     '    2.1277       1.0000          .0000       10.000    
     3 'Normalizat'    .94892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0412       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=   9867.597     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      248 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.050        19.187        .22920E-03   -.76525E-02
   2  Index         2.1277        .73126        .10558       -.21556E-04
   3  Normalizat    .94892        .16384        .65846E-01   -.49679E-04
   4  Prefactor     1.0412        .11286        .40452E-01   -.59381E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.05
  Index      = 2.12774
  Normalizat = 0.948922
  Prefactor  = 1.04124
 **********
 **   18 **HESSE 
 **********

 FCN=   9867.597     FROM HESSE     STATUS=OK            33 CALLS      281 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.050        5.3436        .91678E-05   -1.5621    
   2  Index         2.1277        .21629        .44035E-02   -.61193    
   3  Normalizat    .94892        .18102        .29125E-03   -.94762    
   4  Prefactor     1.0412        .12632        .19586E-03   -.91367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.87806e-11
Minuit parameter uncertainties:
  1  5.3436
  2  0.216387
  3  0.181136
  4  0.126358
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807221': 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) = 9867.59671284
delta logL = 0.805242634822

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.905e+01  5.344e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.128e+00  2.164e-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.041e+00  1.264e-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.489e-01  1.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 36.93
Ra Dec: 7.122 20.031
Photon Index (Free Index): 2.13 +/- 0.22
Photon Flux (Free Index): 1.40e-07 +/- 4.28e-08
Energy Flux (Free Index): 7.24e-05 +/- 2.83e-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/807221/cmap_HighResolution_694224001_694483201_4FGL_J0028.4+2001_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.66e-07', energy_flux2='7.24e-05', photon_flux_error='4.24e-08', dlogl='8.05e-01', energy_flux='5.33e-05', photon_flux2='1.40e-07', job_status='DONE', time_completed='2023-01-04 00:17:14.223599', photon_index_error2='0.22', photon_index2='2.13', ts='35.35', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.83e-05', EG='0.91', time_epoch_completed='1672820234.22', return_code='0', job_id='807221', GAL2='1.04', EG2='0.95', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='4.28e-08', ts2='36.93', photon_index='2.41' WHERE bin_id='1755' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:17:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 807221: <4FGL_J0028.4+2001_daily_bin1755> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1755> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Jan  4 00:04:49 2023
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:06:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:06:16 2023
Terminated at Wed Jan  4 00:17:15 2023
Results reported at Wed Jan  4 00:17:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1755 7.1222 20.0311 694224001 694483201 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 :                                   546.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            746 sec.

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

