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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1701
RA = 350.708, Dec = -49.2725
tmin = 680227201, tmax = 680486401
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='192163', job_status='RUN', time_executed='2022-07-26 02:15:30.738075', time_epoch_executed='1658826930.74' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192163

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192163/ft1_4FGL_J2322.8-4916_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192163/ft1_4FGL_J2322.8-4916_daily_bin1701.fits outfile=/scratch/kocevski/192163/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1701.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=680227201.0 tmax=680486401.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.93
user 2.71
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.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/192163/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/192163/ft1_filtered_4FGL_J2322.8-4916_daily_bin1701.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 89

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192163/ft1_filtered_4FGL_J2322.8-4916_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/192163/ltcube_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.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/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.fits
.....................!
real 16.46
user 16.04
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192163/ft1_filtered_4FGL_J2322.8-4916_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/192163/ltcube_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.fits outfile=/scratch/kocevski/192163/expmap_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.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/192163/ltcube_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.fits
.....................!
real 193.56
user 187.82
sys 4.98

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/192163/ft1_filtered_4FGL_J2322.8-4916_daily_bin1701.fits scfile=/scratch/kocevski/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.fits outfile=/scratch/kocevski/192163/cmap_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192163/ft1_filtered_4FGL_J2322.8-4916_daily_bin1701.fits scfile=/scratch/kocevski/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.fits outfile=/scratch/kocevski/192163/cmap_HighResolution_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192163/ft1_filtered_4FGL_J2322.8-4916_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192163/Model_4FGL_J2322.8-4916_daily_bin1701.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/192163/ft1_filtered_4FGL_J2322.8-4916_daily_bin1701.fits.......................!
real 19.24
user 18.01
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192163/ft1_filtered_4FGL_J2322.8-4916_daily_bin1701.fits', '/scratch/kocevski/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.fits', expMap='/scratch/kocevski/192163/expmap_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.fits', expCube='/scratch/kocevski/192163/ltcube_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192163/Model_4FGL_J2322.8-4916_daily_bin1701.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/192163/ft1_filtered_4FGL_J2322.8-4916_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/192163/ft2_4FGL_J2322.8-4916_daily_bin1701.fits
Exposure map: /scratch/kocevski/192163/expmap_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.fits
Exposure cube: /scratch/kocevski/192163/ltcube_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192163/Model_4FGL_J2322.8-4916_daily_bin1701.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) = 1022.93463696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    110.07       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.724       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.711       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5776       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18228E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     8 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10591E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13497E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3546.4       1.0000         .10000E-03   10000.    
    12 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .60714       1.0000         .10000E-03   10000.    
    15 'Prefactor '    45.173       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15188E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10274E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    35.448       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10933E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    7.0274       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .44000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10114E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .11913E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10154E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    9.5215       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .61619       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .60320       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=   1015.113     FROM MIGRAD    STATUS=CONVERGED   1012 CALLS     5851 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     110.01        160.73       -.96767E-06   -.27701E-05
   2  Prefactor     .10000E-03    25.929        .29961E-06** at limit **
   3  Prefactor     33.862        102.68       -.70603E-05   -.21576E-04
   4  Prefactor     14.706        14.117       -.84446E-07   -.15196E-04
   5  Prefactor     5.5674        17.685        .56893E-06   -.47846E-04
   6  Prefactor     .10002E-03    12.454        .11754E-05** at limit **
   7  Prefactor    10000.0        7756.2       -.14270E-04** at limit **
   8  norm         10000.0        8685.6       -.25790E-05** at limit **
   9  Prefactor     .10000E-03    312.63       -.33817E-07** at limit **
  10  Prefactor     .10000E-03    742.79        .14170E-05** at limit **
  11  Prefactor     3542.0        6446.1       -.23840E-04   -.11613E-05
  12  Prefactor    10000.0        2011.6        .11370E-05** at limit **
  13  Prefactor    10000.0        1375.3        .42121E-05** at limit **
  14  Prefactor     .10002E-03    9739.3        .25812E-04** at limit **
  15  Prefactor     45.166        56.833        .59131E-06   -.48185E-05
  16  Prefactor     .10000E-03    708.57        .16454E-05** at limit **
  17  Prefactor     .10000E-03    38.308        .37292E-08** at limit **
  18  norm          .10000E-03    20.851        .14326E-08** at limit **
  19  norm          .10000E-03    15.221       -.26449E-07** at limit **
  20  norm          .10000E-03    14.835       -.34300E-07** at limit **
  21  Prefactor     35.449        29.377        .33762E-06   -.25314E-05
  22  Prefactor     .10000E-03    147.76        .22427E-06** at limit **
  23  norm          7.0292        8.3244        .11027E-06   -.16022E-04
  24  Prefactor     .10000E-03    131.44       -.43009E-06** at limit **
  25  norm          .10000E-03    1.3956        .15778E-07** at limit **
  26  norm          .10000E-03    4.6860        .77414E-07** at limit **
  27  Prefactor     .10000E-03    21.525        .42681E-07** at limit **
  28  Prefactor     .10000E-03    2.9315        .12124E-06** at limit **
  29  Prefactor     .10000E-03    23.427        .16440E-06** at limit **
  30  norm          .10000E-03    17.747        .45754E-07** at limit **
  31  Prefactor     .10000E-03    25.860        .19204E-05** at limit **
  32  Prefactor     9.5200        10.150       -.28828E-06   -.24491E-04
  33  Normalizat    .61632        .60281        .90261E-05   -.42091E-04
  34  Prefactor     .60318        .48836       -.10135E-04   -.22899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 110.007
  Prefactor  = 0.0001
  Prefactor  = 33.8621
  Prefactor  = 14.7058
  Prefactor  = 5.56741
  Prefactor  = 0.000100024
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3541.95
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100022
  Prefactor  = 45.166
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 35.4492
  Prefactor  = 0.0001
  norm       = 7.02918
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 9.52003
  Normalizat = 0.616317
  Prefactor  = 0.603177
 **********
 **   18 **HESSE 
 **********

 FCN=   1015.113     FROM HESSE     STATUS=OK           718 CALLS     6569 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     110.01        160.86        .19170E-03   -1.3606    
   2  Prefactor     .10000E-03    25.961        .15855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     33.862        102.57        .69003E-04   -1.4543    
   4  Prefactor     14.706        14.105        .10443E-03   -1.4941    
   5  Prefactor     5.5674        17.514        .17011E-03   -1.5236    
   6  Prefactor     .10002E-03    312.39        .20321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        7756.7        .18534E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm         10000.0        8685.4        .18676E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    312.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    742.79        .20552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3542.0        6450.0        .41806E-04   -.29591    
  12  Prefactor    10000.0        2011.5        .20899E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor    10000.0        1375.3        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    9739.3        .23401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     45.166        56.840        .29826E-03   -1.4363    
  16  Prefactor     .10000E-03    708.57        .20461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    38.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    20.851        .14216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    15.221        .12144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    14.869        .11972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     35.449        29.240        .67310E-04   -1.4516    
  22  Prefactor     .10000E-03    147.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.0292        8.3057        .95001E-04   -1.5178    
  24  Prefactor     .10000E-03    131.51        .21219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.3979        .36754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    4.7091        .67315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    21.526        .14444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.9358        .53291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    23.446        .15070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    17.749        .13115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    27.170        .31724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     9.5200        10.144        .90858E-04   -1.5091    
  33  Normalizat    .61632        .60298        .26202E-03   -1.0730    
  34  Prefactor     .60318        .48917        .27416E-03   -1.0745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44121e-10
Minuit parameter uncertainties:
  1  161.507
  2  3.1555e-05
  3  103.11
  4  14.1084
  5  17.5304
  6  0.00553781
  7  0.0376983
  8  0.00312207
  9  3.62055e-05
  10  0.00044372
  11  8547.58
  12  0.000453819
  13  0.00171393
  14  0.0400744
  15  56.9082
  16  0.00050327
  17  2.06659e-06
  18  5.34134e-06
  19  9.11838e-06
  20  2.16808e-05
  21  29.2515
  22  0.000141589
  23  8.3071
  24  0.000762631
  25  7.75515e-07
  26  7.68511e-06
  27  8.72188e-06
  28  7.14236e-06
  29  1.25857e-05
  30  5.10114e-06
  31  0.00033862
  32  10.1462
  33  0.609599
  34  0.492676
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  9.118e-06  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:  6.032e-01  4.927e-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:  6.163e-01  6.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 350.708 -49.273
Photon Flux Upper Limit: 1.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.87e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/192163/likelihoodResults_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.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) = 1015.11266534
delta logL = -6.65950279881e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1015.11260197
delta logL = -3.22176458667e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11253E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6040       1.0000          .0000       5.0000    
     3 'Normalizat'    .61653       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60296       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1015.113     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      289 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1067.8        .93234E-02** at limit **
   2  alpha         1.4265        2.8344        .16479        .23715E-08
   3  Normalizat    .61632        .82773E-01    .26196E-03    .17723E-04
   4  Prefactor     .60318        .86469E-01    .27420E-03    .17528E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.42652
  Normalizat = 0.616319
  Prefactor  = 0.603176
 **********
 **   18 **HESSE 
 **********

 FCN=   1015.113     FROM HESSE     STATUS=OK            23 CALLS      312 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.480        .12240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4265        2.8219        .65915E-02   -.44382    
   3  Normalizat    .61632        .43302        .10478E-04   -1.0730    
   4  Prefactor     .60318        .45213        .10968E-04   -1.0745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74485e-11
Minuit parameter uncertainties:
  1  0.000154188
  2  566.834
  3  0.435436
  4  0.454892
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192163': 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) = 1015.11259869
delta logL = 5.129550118e-08

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  1.542e-04  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  1.427e+00  5.668e+02  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:  6.032e-01  4.549e-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:  6.163e-01  4.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 350.708 -49.273

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/192163/cmap_HighResolution_680227201_680486401_4FGL_J2322.8-4916_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.87e-04', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2022-07-26 02:23:00.358771', job_id='192163', GAL2='0.60', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1658827380.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='5.13e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.61' WHERE bin_id='1701' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:23:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 192163: <4FGL_J2322.8-4916_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:10:35 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:13:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:13:59 2022
Terminated at Tue Jul 26 02:23:01 2022
Results reported at Tue Jul 26 02:23:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1701 350.708 -49.2725 680227201 680486401 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 :                                   451.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   541 sec.
    Turnaround time :                            746 sec.

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

