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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1696
RA = 350.708, Dec = -49.2725
tmin = 678931201, tmax = 679190401
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='794158', job_status='RUN', time_executed='2022-07-11 00:39:33.839431', time_epoch_executed='1657525173.84' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794158

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794158/ft1_4FGL_J2322.8-4916_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794158/ft1_4FGL_J2322.8-4916_daily_bin1696.fits outfile=/scratch/kocevski/794158/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1696.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=678931201.0 tmax=679190401.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.57
user 3.36
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.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/794158/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/794158/ft1_filtered_4FGL_J2322.8-4916_daily_bin1696.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.48
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 471

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794158/ft1_filtered_4FGL_J2322.8-4916_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/794158/ltcube_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.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/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits
.....................!
real 12.08
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794158/ft1_filtered_4FGL_J2322.8-4916_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/794158/ltcube_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.fits outfile=/scratch/kocevski/794158/expmap_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.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/794158/ltcube_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.fits
.....................!
real 190.17
user 185.19
sys 4.66

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

Setting source of interest to:
4FGL J2322.8-4916 @ 350.708 -49.2725

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/794158/ft1_filtered_4FGL_J2322.8-4916_daily_bin1696.fits scfile=/scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits outfile=/scratch/kocevski/794158/cmap_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.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.708 yref=-49.2725 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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794158/ft1_filtered_4FGL_J2322.8-4916_daily_bin1696.fits scfile=/scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits outfile=/scratch/kocevski/794158/cmap_HighResolution_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.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.708 yref=-49.2725 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794158/ft1_filtered_4FGL_J2322.8-4916_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794158/Model_4FGL_J2322.8-4916_daily_bin1696.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/794158/ft1_filtered_4FGL_J2322.8-4916_daily_bin1696.fits.....................!
real 39.83
user 38.61
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794158/ft1_filtered_4FGL_J2322.8-4916_daily_bin1696.fits', '/scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits', expMap='/scratch/kocevski/794158/expmap_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.fits', expCube='/scratch/kocevski/794158/ltcube_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794158/Model_4FGL_J2322.8-4916_daily_bin1696.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2322.8-4916'

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.139e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  1.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
436         beta:  1.751e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
437           Eb:  2.660e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/794158/ft1_filtered_4FGL_J2322.8-4916_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/794158/ft2_4FGL_J2322.8-4916_daily_bin1696.fits
Exposure map: /scratch/kocevski/794158/expmap_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.fits
Exposure cube: /scratch/kocevski/794158/ltcube_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794158/Model_4FGL_J2322.8-4916_daily_bin1696.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) = 5139.34826483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    35.795       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .36456E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.430       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    67.833       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    113.49       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.0768       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.6548       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2325       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.087       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.165       1.0000         .10000E-03   10000.    
    19 'norm      '    13.869       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.2816       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.6942       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13971E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .58605E-01   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.3158       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .54914       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5139.336     FROM MIGRAD    STATUS=CONVERGED    945 CALLS     4855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    68.203       -.16554E-05** at limit **
   2  Prefactor     35.824        28.982        .34127E-05    .49177E-03
   3  Prefactor     .10000E-03    27.054       -.20111E-05** at limit **
   4  Prefactor     .10000E-03    7.8824       -.14473E-05** at limit **
   5  Prefactor     23.429        10.960       -.42342E-07    .14140E-03
   6  Prefactor     .10000E-03    1.8899       -.11982E-06** at limit **
   7  Prefactor     67.762        139.77        .82944E-05    .46137E-04
   8  norm          .10000E-03    4.6564        .27198E-06** at limit **
   9  Prefactor     .10000E-03    1.8472        .85255E-07** at limit **
  10  Prefactor     113.49        70.438       -.28960E-06    .18704E-04
  11  Prefactor     .10000E-03    5.2680        .25812E-06** at limit **
  12  Prefactor     7.0799        29.260       -.83064E-06   -.64210E-05
  13  Prefactor     8.6531        13.373       -.24684E-06   -.10946E-05
  14  Prefactor     .10000E-03    61.116        .45121E-06** at limit **
  15  Prefactor     1.2314        9.4804        .28447E-05    .77185E-03
  16  Prefactor     27.099        26.941       -.37868E-06   -.13936E-04
  17  Prefactor     .10000E-03    13.266        .15735E-06** at limit **
  18  norm          11.165        10.585       -.28600E-07    .15103E-04
  19  norm          13.871        8.6144        .14109E-06    .27868E-04
  20  norm          .10000E-03    1.4358       -.37125E-07** at limit **
  21  Prefactor     9.2923        7.6333        .53769E-07    .11409E-03
  22  Prefactor     .10000E-03    19.516       -.42059E-06** at limit **
  23  norm          1.6942        2.3541       -.41674E-07    .57598E-04
  24  Prefactor     .10002E-03    17.109       -.44113E-06** at limit **
  25  norm          .10000E-03    .61838       -.45529E-08** at limit **
  26  norm          .10000E-03    1.1752       -.56577E-07** at limit **
  27  Prefactor     .10000E-03    6.1189       -.20026E-07** at limit **
  28  Prefactor     .10000E-03    1.1965       -.24096E-06** at limit **
  29  Prefactor     .10000E-03    29.011       -.14970E-06** at limit **
  30  norm          .10000E-03    5.8768       -.17350E-06** at limit **
  31  Prefactor     .10000E-03    1.8578       -.19376E-06** at limit **
  32  Prefactor     .48329E-01    8.6286       -.42442E-05    .11506E-02
  33  Normalizat    1.3157        .19000        .11122E-05    .58055E-03
  34  Prefactor     .54927        .19110        .52816E-07    .33311E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 35.8244
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 23.4291
  Prefactor  = 0.0001
  Prefactor  = 67.7623
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 113.487
  Prefactor  = 0.0001
  Prefactor  = 7.07987
  Prefactor  = 8.65314
  Prefactor  = 0.0001
  Prefactor  = 1.23141
  Prefactor  = 27.099
  Prefactor  = 0.0001
  norm       = 11.1652
  norm       = 13.8708
  norm       = 0.0001
  Prefactor  = 9.29229
  Prefactor  = 0.0001
  norm       = 1.69417
  Prefactor  = 0.000100015
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0483291
  Normalizat = 1.31574
  Prefactor  = 0.54927
 **********
 **   18 **HESSE 
 **********

 FCN=   5139.336     FROM HESSE     STATUS=OK           736 CALLS     5591 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     35.824        31.979        .66984E-04   -1.4510    
   3  Prefactor     .10000E-03    27.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    61.370        .36647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.429        10.966        .82753E-04   -1.4740    
   6  Prefactor     .10000E-03    1.8919        .96262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     67.762        139.87        .24367E-03   -1.4060    
   8  norm          .10000E-03    4.6684        .15097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.8560        .95064E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     113.49        70.491        .37762E-04   -1.3573    
  11  Prefactor     .10000E-03    5.3462        .16036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.0799        28.796        .15080E-03   -1.5176    
  13  Prefactor     8.6531        13.250        .13625E-03   -1.5120    
  14  Prefactor     .10000E-03    61.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2314        10.070        .20242E-02   -1.5486    
  16  Prefactor     27.099        26.941        .76974E-04   -1.4666    
  17  Prefactor     .10000E-03    13.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.165        10.584        .59949E-03   -1.5040    
  19  norm          13.871        8.5333        .10755E-03   -1.4963    
  20  norm          .10000E-03    1.4361        .83886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.2923        7.8459        .13155E-03   -1.5098    
  22  Prefactor     .10000E-03    19.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.6942        2.3344        .12590E-03   -1.5448    
  24  Prefactor     .10002E-03    89.822        .50035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.0348        .10730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.1786        .75892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.1323        .17319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.2072        .76622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    29.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    5.8775        .16974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.8692        .95448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .48329E-01    10.430        .36462E-01   -1.5664    
  33  Normalizat    1.3157        .21850        .20291E-03   -.83098    
  34  Prefactor     .54927        .21617        .31066E-03   -1.0977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02325e-08
Minuit parameter uncertainties:
  1  0.00019118
  2  31.9945
  3  0.000120416
  4  0.00104476
  5  10.9673
  6  1.72321e-06
  7  140.56
  8  9.76212e-06
  9  6.12805e-06
  10  70.5427
  11  2.74936e-05
  12  28.5805
  13  13.2548
  14  6.28626e-05
  15  7.04431
  16  26.9532
  17  1.00914e-05
  18  10.5857
  19  8.53408
  20  8.27601e-07
  21  7.84673
  22  3.24943e-05
  23  2.33454
  24  0.00235177
  25  1.68946e-05
  26  1.1236e-06
  27  3.66088e-06
  28  2.79994e-06
  29  3.68388e-05
  30  6.25779e-06
  31  3.71583e-06
  32  1.41877
  33  0.218651
  34  0.2165
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.387e+01  8.534e+00  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  1.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
436         beta:  1.751e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
437           Eb:  2.660e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  5.493e-01  2.165e-01  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.316e+00  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.96
Ra Dec: 350.708 -49.273
Photon Index (Fixed Index): 1.61 +/- 0.00
Photon Flux (Fixed Index): 2.18e-08 +/- 1.34e-08
Energy Flux (Fixed Index): 4.78e-05 +/- 2.94e-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) = 5138.37552748
delta logL = 0.960143674256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5138.37256428
delta logL = 0.963106880777

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.6600       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4686       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2826       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56251       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5138.373     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      254 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.6601        73.503        .36223E-02   -.39903E-04
   2  alpha         2.4688        3.7004        .20342        .60739E-04
   3  Normalizat    1.2823        .10180        .33124E-01    .13494E-04
   4  Prefactor     .56267        .76651E-01    .69266E-01    .25127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.66006
  alpha      = 2.46881
  Normalizat = 1.28232
  Prefactor  = 0.562674
 **********
 **   18 **HESSE 
 **********

 FCN=   5138.373     FROM HESSE     STATUS=OK            31 CALLS      285 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.6601        7.8535        .98556E-04   -1.5154    
   2  alpha         2.4688        .65607        .75419E-02   -.12478E-01
   3  Normalizat    1.2823        .21195        .20482E-03   -.84096    
   4  Prefactor     .56267        .21557        .30659E-03   -1.0918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7097e-09
Minuit parameter uncertainties:
  1  7.8546
  2  0.663849
  3  0.212094
  4  0.215881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794158': 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) = 5138.37256289
delta logL = 0.963108270927

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  7.660e+00  7.855e+00  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  2.469e+00  6.638e-01  0.000e+00  5.000e+00 ( 1.000e+00)
436         beta:  1.751e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
437           Eb:  2.660e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  5.627e-01  2.159e-01  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.282e+00  2.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.86
Ra Dec: 350.708 -49.273
Photon Index (Free Index): 2.47 +/- 0.66
Photon Flux (Free Index): 5.53e-08 +/- 4.30e-08
Energy Flux (Free Index): 2.74e-05 +/- 1.58e-05

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/794158/cmap_HighResolution_678931201_679190401_4FGL_J2322.8-4916_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-08', energy_flux2='2.74e-05', photon_flux_error='1.34e-08', dlogl='9.63e-01', energy_flux='4.78e-05', photon_flux2='5.53e-08', job_status='DONE', time_completed='2022-07-11 00:51:50.794280', photon_index_error2='0.66', photon_index2='2.47', ts='7.96', fit_tolerance='1e-08', GAL='0.55', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='1.32', time_epoch_completed='1657525910.79', return_code='0', job_id='794158', GAL2='0.56', EG2='1.28', return_code2='0', energy_flux_error='2.94e-05', photon_flux_error2='4.30e-08', ts2='9.86', photon_index='1.61' WHERE bin_id='1696' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:51:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 794158: <4FGL_J2322.8-4916_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:35:29 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:35:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:35:30 2022
Terminated at Mon Jul 11 00:51:51 2022
Results reported at Mon Jul 11 00:51:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1696 350.708 -49.2725 678931201 679190401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2322.8-4916 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   739.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            982 sec.

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

