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 44 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_J0021.5-2552_daily_bin1755
RA = 5.3912, Dec = -25.8681
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='807206', job_status='RUN', time_executed='2023-01-04 00:07:11.311746', time_epoch_executed='1672819631.31' WHERE source_name='4FGL J0021.5-2552' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807206

Creating custom pfile directory:
/scratch/kocevski/807206/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/807206/ft1_4FGL_J0021.5-2552_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/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807206/ft1_4FGL_J0021.5-2552_daily_bin1755.fits outfile=/scratch/kocevski/807206/ft1_filteredMKT_4FGL_J0021.5-2552_daily_bin1755.fits ra=5.3912 dec=-25.8681 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.10
user 2.83
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/807206/ft2_4FGL_J0021.5-2552_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/807206/ft1_filteredMKT_4FGL_J0021.5-2552_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/807206/ft1_filtered_4FGL_J0021.5-2552_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.64
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 568

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807206/ft1_filtered_4FGL_J0021.5-2552_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/807206/ltcube_694224001_694483201_4FGL_J0021.5-2552_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/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits
.....................!
real 16.93
user 16.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807206/ft1_filtered_4FGL_J0021.5-2552_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/807206/ltcube_694224001_694483201_4FGL_J0021.5-2552_daily_bin1755.fits outfile=/scratch/kocevski/807206/expmap_694224001_694483201_4FGL_J0021.5-2552_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/807206/ltcube_694224001_694483201_4FGL_J0021.5-2552_daily_bin1755.fits
.....................!
real 193.63
user 187.86
sys 5.26

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 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J0021.5-2552 @ 5.3912 -25.8681

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/807206/ft1_filtered_4FGL_J0021.5-2552_daily_bin1755.fits scfile=/scratch/kocevski/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits outfile=/scratch/kocevski/807206/cmap_694224001_694483201_4FGL_J0021.5-2552_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=5.3912 yref=-25.8681 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807206/ft1_filtered_4FGL_J0021.5-2552_daily_bin1755.fits scfile=/scratch/kocevski/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits outfile=/scratch/kocevski/807206/cmap_HighResolution_694224001_694483201_4FGL_J0021.5-2552_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=5.3912 yref=-25.8681 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807206/ft1_filtered_4FGL_J0021.5-2552_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807206/Model_4FGL_J0021.5-2552_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/807206/ft1_filtered_4FGL_J0021.5-2552_daily_bin1755.fits.....................!
real 50.66
user 48.60
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/807206/ft1_filtered_4FGL_J0021.5-2552_daily_bin1755.fits', '/scratch/kocevski/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits', expMap='/scratch/kocevski/807206/expmap_694224001_694483201_4FGL_J0021.5-2552_daily_bin1755.fits', expCube='/scratch/kocevski/807206/ltcube_694224001_694483201_4FGL_J0021.5-2552_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/807206/Model_4FGL_J0021.5-2552_daily_bin1755.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0021.5-2552'

4FGL J0021.5-2552
   Spectrum: PowerLaw
75     Prefactor:  4.219e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
76         Index:  2.121e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
77         Scale:  1.302e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/807206/ft1_filtered_4FGL_J0021.5-2552_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/807206/ft2_4FGL_J0021.5-2552_daily_bin1755.fits
Exposure map: /scratch/kocevski/807206/expmap_694224001_694483201_4FGL_J0021.5-2552_daily_bin1755.fits
Exposure cube: /scratch/kocevski/807206/ltcube_694224001_694483201_4FGL_J0021.5-2552_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/807206/Model_4FGL_J0021.5-2552_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) = 6344.55436224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18173       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12102       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.564       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31575E-06   1.0000          .0000       .10000E+07
     5 'norm      '    14.592       1.0000          .0000       .10000E+07
     6 'norm      '    .18097E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .15276E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .93481E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13822E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .26923E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .24567E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.216       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.2198       1.0000          .0000       .10000E+07
    14 'Normalizat'    .82802       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .89992       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6343.584     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      801 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22204E-09    43.569        .24479E-06** at limit **
   2  Prefactor     .18238        6.9753       -.95396E-07** at limit **
   3  Prefactor     11.597        1.2462       -.54885E-09    .17188E-01
   4  Prefactor      .0000        3.5384       -.28201E-07** at limit **
   5  norm          14.583        1.0150        .11871E-08   -.16938E-03
   6  norm           .0000        .97276       -.18520E-07** at limit **
   7  norm           .0000        2.6139        .33324E-07** at limit **
   8  norm           .0000        .74416       -.49715E-07** at limit **
   9  Prefactor      .0000        1.2137       -.14940E-07** at limit **
  10  Prefactor      .0000        2.9470       -.82980E-08** at limit **
  11  Prefactor     .55511E-10    17.694       -.22403E-06** at limit **
  12  Prefactor     10.474        7.1159       -.50604E-07   -.12852E-02
  13  Prefactor     .93331        376.60        .84619E-06   -.86396E-04
  14  Normalizat    .82918        .16183        .53162E-06   -.61071E-04
  15  Prefactor     .89961        .18472        .11371E-05   -.57493E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.22045e-10
  Prefactor  = 0.182377
  Prefactor  = 11.5973
  Prefactor  = 0
  norm       = 14.5832
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 10.4738
  Prefactor  = 0.933313
  Normalizat = 0.829182
  Prefactor  = 0.899614
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.584     FROM HESSE     STATUS=OK           212 CALLS     1013 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22204E-09    43.207        .12110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .18238        1.5392        .50942E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.597        10.113        .29434E-03   -1.5640    
   4  Prefactor      .0000        3.5591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          14.583        8.6766        .26194E-03   -1.5632    
   6  norm           .0000        .97366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.6140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .74279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.2119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.9584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    17.902        .16753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.474        7.2110        .31325E-03   -1.5643    
  13  Prefactor     .93331        408.40        .43974E-03   -1.5689    
  14  Normalizat    .82918        .13543        .43975E-01   -.98995    
  15  Prefactor     .89961        .15439        .45004E-01   -.96155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85774e-09
Minuit parameter uncertainties:
  1  0.000192882
  2  1.05966
  3  10.1127
  4  2.27082e-07
  5  8.67665
  6  7.25278e-07
  7  1.35666e-06
  8  1.11221e-06
  9  4.18944e-07
  10  4.15728e-06
  11  4.98299e-05
  12  7.21104
  13  39.0497
  14  0.135482
  15  0.154462
Done.

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

Extracting fit parameters...

4FGL J0021.5-2552
   Spectrum: PowerLaw
75     Prefactor:  1.160e+01  1.011e+01  0.000e+00  1.000e+06 ( 1.000e-13)
76         Index:  2.121e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
77         Scale:  1.302e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.996e-01  1.545e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.292e-01  1.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.37
Ra Dec: 5.391 -25.868
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.39e-08 +/- 2.09e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 1.09e-05

TS (Fixed Index): 2.37
Ra Dec: 5.391 -25.868
Photon Flux Upper Limit: 7.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/807206/likelihoodResults_694224001_694483201_4FGL_J0021.5-2552_daily_bin1755.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) = 6343.51849139
delta logL = 0.0657278139506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6343.51552386
delta logL = 0.0686953422937

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5924       1.0000          .0000       .10000E+07
     2 'Index     '    2.3761       1.0000          .0000       10.000    
     3 'Normalizat'    .81931       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90651       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+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=   6343.516     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5928        11.462        .12933E-04   -.18170E-02
   2  Index         2.3761        .76593        .74834E-02    .44198E-03
   3  Normalizat    .81931        .16172        .20860E-03   -.21800E-05
   4  Prefactor     .90652        .18625        .23141E-03    .27757E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.59278
  Index      = 2.37615
  Normalizat = 0.819313
  Prefactor  = 0.906518
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.516     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5928        10.664        .51731E-06   -1.5646    
   2  Index         2.3761        .71249        .14967E-02   -.55245    
   3  Normalizat    .81931        .16157        .83439E-05   -.99356    
   4  Prefactor     .90652        .18621        .92565E-05   -.95914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53851e-11
Minuit parameter uncertainties:
  1  10.6635
  2  0.71586
  3  0.161662
  4  0.186341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807206': 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) = 6343.51552385
delta logL = 0.0686953480017

Extracting fit parameters...

4FGL J0021.5-2552
   Spectrum: PowerLaw
75     Prefactor:  9.593e+00  1.066e+01  0.000e+00  1.000e+06 ( 1.000e-13)
76         Index:  2.376e+00  7.159e-01  0.000e+00  1.000e+01 (-1.000e+00)
77         Scale:  1.302e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  9.065e-01  1.863e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.193e-01  1.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.51
Ra Dec: 5.391 -25.868
Photon Index (Free Index): 2.38 +/- 0.72
Photon Flux (Free Index): 3.10e-08 +/- 3.06e-08
Energy Flux (Free Index): 1.05e-05 +/- 9.64e-06

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/807206/cmap_HighResolution_694224001_694483201_4FGL_J0021.5-2552_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', comment='SUCCESS', photon_flux='2.39e-08', energy_flux2='1.05e-05', photon_flux_error='2.09e-08', dlogl='6.87e-02', energy_flux='1.25e-05', photon_flux2='3.10e-08', job_status='DONE', time_completed='2023-01-04 00:15:34.344981', photon_index_error2='0.72', photon_index2='2.38', ts='2.37', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='7.21e-08', energy_flux_error2='9.64e-06', EG='0.83', time_epoch_completed='1672820134.35', return_code='0', job_id='807206', GAL2='0.91', EG2='0.82', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='3.06e-08', ts2='2.51', photon_index='2.12' WHERE bin_id='1755' AND source_name='4FGL J0021.5-2552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:15:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 807206: <4FGL_J0021.5-2552_daily_bin1755> in cluster <slac> Done

Job <4FGL_J0021.5-2552_daily_bin1755> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Jan  4 00:04:47 2023
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:05:41 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:05:41 2023
Terminated at Wed Jan  4 00:15:34 2023
Results reported at Wed Jan  4 00:15:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0021.5-2552_daily_bin1755 5.3912 -25.8681 694224001 694483201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0021.5-2552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   494.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            647 sec.

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

