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 62 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2320.8-0823_daily_bin1702
RA = 350.223, Dec = -8.3918
tmin = 680486401, tmax = 680745601
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='259049', job_status='RUN', time_executed='2022-07-29 01:37:52.804545', time_epoch_executed='1659083872.8' WHERE source_name='4FGL J2320.8-0823' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259049

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259049/ft1_4FGL_J2320.8-0823_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259049/ft1_4FGL_J2320.8-0823_daily_bin1702.fits outfile=/scratch/kocevski/259049/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin1702.fits ra=350.223 dec=-8.3918 rad=12.0 tmin=680486401.0 tmax=680745601.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.99
user 2.79
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.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/259049/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/259049/ft1_filtered_4FGL_J2320.8-0823_daily_bin1702.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 275

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259049/ft1_filtered_4FGL_J2320.8-0823_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/259049/ltcube_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.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/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits
.....................!
real 14.60
user 14.19
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259049/ft1_filtered_4FGL_J2320.8-0823_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/259049/ltcube_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.fits outfile=/scratch/kocevski/259049/expmap_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.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/259049/ltcube_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.fits
.....................!
real 193.52
user 188.31
sys 4.14

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

Setting source of interest to:
4FGL J2320.8-0823 @ 350.223 -8.3918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/259049/ft1_filtered_4FGL_J2320.8-0823_daily_bin1702.fits scfile=/scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits outfile=/scratch/kocevski/259049/cmap_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.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=350.223 yref=-8.3918 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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259049/ft1_filtered_4FGL_J2320.8-0823_daily_bin1702.fits scfile=/scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits outfile=/scratch/kocevski/259049/cmap_HighResolution_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.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=350.223 yref=-8.3918 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259049/ft1_filtered_4FGL_J2320.8-0823_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259049/Model_4FGL_J2320.8-0823_daily_bin1702.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/259049/ft1_filtered_4FGL_J2320.8-0823_daily_bin1702.fits......................!
real 35.72
user 34.39
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259049/ft1_filtered_4FGL_J2320.8-0823_daily_bin1702.fits', '/scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits', expMap='/scratch/kocevski/259049/expmap_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.fits', expCube='/scratch/kocevski/259049/ltcube_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259049/Model_4FGL_J2320.8-0823_daily_bin1702.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2320.8-0823'

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  7.383e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/259049/ft1_filtered_4FGL_J2320.8-0823_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/259049/ft2_4FGL_J2320.8-0823_daily_bin1702.fits
Exposure map: /scratch/kocevski/259049/expmap_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.fits
Exposure cube: /scratch/kocevski/259049/ltcube_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259049/Model_4FGL_J2320.8-0823_daily_bin1702.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) = 3134.14269849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    61.208       1.0000         .10000E-03   10000.    
     5 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.710       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.988       1.0000         .10000E-03   10000.    
    14 'norm      '    2.0181       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.205       1.0000         .10000E-03   10000.    
    19 'Prefactor '    195.09       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9712       1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    156.93       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    19.994       1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.104       1.0000         .10000E-03   10000.    
    27 'Prefactor '    12.529       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .79108       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .91140       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3134.072     FROM MIGRAD    STATUS=CONVERGED    700 CALLS     3657 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.278       -.42684E-06** at limit **
   2  Prefactor     .10000E-03    102.48        .36703E-05** at limit **
   3  Prefactor     .10000E-03    67.261       -.20299E-05** at limit **
   4  Prefactor     61.246        33.349       -.19041E-05   -.12851E-03
   5  norm          .10000E-03    1.8806        .17718E-05** at limit **
   6  Prefactor     .10000E-03    34.797        .20742E-05** at limit **
   7  Prefactor     .10000E-03    5.7345        .44952E-07** at limit **
   8  Prefactor     .10000E-03    11.166        .20704E-06** at limit **
   9  norm          14.712        15.641        .95175E-07    .70845E-05
  10  Prefactor     .10000E-03    77.793       -.17518E-05** at limit **
  11  Prefactor     .10000E-03    55.155       -.12796E-07** at limit **
  12  Prefactor     .10000E-03    44.128        .23687E-05** at limit **
  13  Prefactor     20.985        16.101        .29183E-07   -.14547E-04
  14  norm          2.0179        1.5972       -.10101E-06   -.81260E-04
  15  norm          .10000E-03    4.8202       -.78846E-07** at limit **
  16  Prefactor     .10000E-03    29.595       -.17479E-05** at limit **
  17  Prefactor     .10000E-03    68.883       -.21918E-05** at limit **
  18  Prefactor     14.201        20.969        .35499E-06    .40980E-05
  19  Prefactor     195.11        221.50       -.37517E-05    .29846E-05
  20  Prefactor     1.9703        29.199        .10658E-04   -.13009E-03
  21  norm          .10000E-03    18.260        .75683E-06** at limit **
  22  Prefactor     156.91        114.99        .20794E-05   -.52417E-04
  23  Prefactor     .10000E-03    5.5667        .93686E-07** at limit **
  24  norm          .10000E-03    .20827        .16182E-09** at limit **
  25  norm          19.993        6.5202        .35032E-07    .14862E-04
  26  Prefactor     18.099        26.964        .13540E-08   -.17727E-04
  27  Prefactor     12.526        9.6963        .43107E-06   -.47793E-04
  28  Normalizat    .79155        .28668       -.19751E-05   -.40986E-04
  29  Prefactor     .91105        .21557        .29122E-06   -.57563E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 61.2456
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.712
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 20.9845
  norm       = 2.01787
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2009
  Prefactor  = 195.109
  Prefactor  = 1.97027
  norm       = 0.0001
  Prefactor  = 156.906
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 19.9933
  Prefactor  = 18.0994
  Prefactor  = 12.5263
  Normalizat = 0.791553
  Prefactor  = 0.911049
 **********
 **   18 **HESSE 
 **********

 FCN=   3134.072     FROM HESSE     STATUS=OK           543 CALLS     4200 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    102.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    67.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     61.246        33.788        .51287E-04   -1.4141    
   5  norm          .10000E-03    2.0597        .15375E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.7350        .13094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.712        15.657        .10443E-03   -1.4941    
  10  Prefactor     .10000E-03    79.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    55.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    43.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.985        16.107        .87428E-04   -1.4791    
  14  norm          2.0179        1.5856        .58393E-04   -1.5424    
  15  norm          .10000E-03    4.8273        .11993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    29.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    68.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.201        21.006        .10627E-03   -1.4954    
  19  Prefactor     195.11        221.39        .14461E-03   -1.2905    
  20  Prefactor     1.9703        29.839        .14766E-02   -1.5427    
  21  norm          .10000E-03    18.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     156.91        114.70        .16092E-03   -1.3196    
  23  Prefactor     .10000E-03    5.6829        .12885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .20830        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          19.993        6.5242        .78837E-04   -1.4813    
  26  Prefactor     18.099        27.023        .94132E-04   -1.4857    
  27  Prefactor     12.526        9.7556        .56583E-03   -1.5000    
  28  Normalizat    .79155        .33787        .29893E-03   -1.0038    
  29  Prefactor     .91105        .25506        .22624E-03   -.95756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74413e-10
Minuit parameter uncertainties:
  1  1.02293e-05
  2  0.000868048
  3  0.000321758
  4  33.7987
  5  9.87607e-05
  6  6.39626e-05
  7  4.05375e-06
  8  2.6593e-05
  9  15.6617
  10  0.000368211
  11  2.85344e-05
  12  0.000311716
  13  16.1106
  14  1.58561
  15  7.28956e-06
  16  0.000178428
  17  0.000345098
  18  21.0173
  19  222.35
  20  15.3439
  21  5.99775e-05
  22  114.861
  23  2.63938e-05
  24  1.06801e-08
  25  6.52441
  26  27.0413
  27  9.75682
  28  0.338765
  29  0.255396
Done.

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

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  1.000e-04  2.853e-05  1.000e-04  1.000e+04 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  9.110e-01  2.554e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  7.916e-01  3.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 350.223 -8.392
Photon Flux Upper Limit: 1.54e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259049/likelihoodResults_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.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): 102
logL (Free Index) = 3134.07215314
delta logL = -8.62394758769e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3134.07206709
delta logL = -1.94976564671e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2970       1.0000          .0000       10.000    
     3 'Normalizat'    .79155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91105       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+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=   3134.072     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      274 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10173E-03    513.24        .18142E-02** at limit **
   2  Index         3.2227        7.1781        .50000        .28256E-05
   3  Normalizat    .79155        .21745E-01    .29893E-03    .82147E-05
   4  Prefactor     .91105        .17675E-01    .22624E-03    .68342E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101726
  Index      = 3.22272
  Normalizat = 0.791553
  Prefactor  = 0.91105
 **********
 **   18 **HESSE 
 **********

 FCN=   3134.072     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10173E-03    2039.8        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2227        7.3160        .50000       -.36340    
   3  Normalizat    .79155        .46418E-01    .11957E-04   -1.0038    
   4  Prefactor     .91105        .37731E-01    .90495E-05   -.95756    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.00519e-09
Minuit parameter uncertainties:
  1  0.123116
  2  2139.05
  3  0.0464203
  4  0.0377321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259049': 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): 102
logL (Free Index) = 3134.07206705
delta logL = -1.47937498696e-07

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  1.017e-04  1.231e-01  1.000e-04  1.000e+04 ( 1.000e-13)
361        Index:  3.223e+00  2.139e+03  0.000e+00  1.000e+01 (-1.000e+00)
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  9.110e-01  3.773e-02  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  7.916e-01  4.642e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 350.223 -8.392

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/259049/cmap_HighResolution_680486401_680745601_4FGL_J2320.8-0823_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', job_status='DONE', photon_flux_upper_limit='1.54e-07', time_completed='2022-07-29 01:46:49.575757', job_id='259049', GAL2='0.91', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1659084409.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-1.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1702' AND source_name='4FGL J2320.8-0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:46:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 259049: <4FGL_J2320.8-0823_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2320.8-0823_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:26 2022
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:36:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:36:41 2022
Terminated at Fri Jul 29 01:46:50 2022
Results reported at Fri Jul 29 01:46:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2320.8-0823_daily_bin1702 350.223 -8.3918 680486401 680745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2320.8-0823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   538.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            684 sec.

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

