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 173 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_J2322.8-4916_daily_bin1702
RA = 350.708, Dec = -49.2725
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='259056', job_status='RUN', time_executed='2022-07-29 01:39:54.166241', time_epoch_executed='1659083994.17' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259056

Creating custom pfile directory:
/scratch/kocevski/259056/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/259056/ft1_4FGL_J2322.8-4916_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/259056/ft2_4FGL_J2322.8-4916_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259056/ft1_4FGL_J2322.8-4916_daily_bin1702.fits outfile=/scratch/kocevski/259056/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1702.fits ra=350.708 dec=-49.2725 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 3.01
user 2.80
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259056/ft2_4FGL_J2322.8-4916_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/259056/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/259056/ft1_filtered_4FGL_J2322.8-4916_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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 200

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259056/ft1_filtered_4FGL_J2322.8-4916_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/259056/ft2_4FGL_J2322.8-4916_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/259056/ltcube_680486401_680745601_4FGL_J2322.8-4916_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/259056/ft2_4FGL_J2322.8-4916_daily_bin1702.fits
.....................!
real 15.43
user 15.01
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259056/ft1_filtered_4FGL_J2322.8-4916_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259056/ft2_4FGL_J2322.8-4916_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/259056/ltcube_680486401_680745601_4FGL_J2322.8-4916_daily_bin1702.fits outfile=/scratch/kocevski/259056/expmap_680486401_680745601_4FGL_J2322.8-4916_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/259056/ltcube_680486401_680745601_4FGL_J2322.8-4916_daily_bin1702.fits
.....................!
real 194.66
user 189.49
sys 4.36

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/259056/ft1_filtered_4FGL_J2322.8-4916_daily_bin1702.fits scfile=/scratch/kocevski/259056/ft2_4FGL_J2322.8-4916_daily_bin1702.fits outfile=/scratch/kocevski/259056/cmap_680486401_680745601_4FGL_J2322.8-4916_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.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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259056/ft1_filtered_4FGL_J2322.8-4916_daily_bin1702.fits scfile=/scratch/kocevski/259056/ft2_4FGL_J2322.8-4916_daily_bin1702.fits outfile=/scratch/kocevski/259056/cmap_HighResolution_680486401_680745601_4FGL_J2322.8-4916_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.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259056/ft1_filtered_4FGL_J2322.8-4916_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259056/ft2_4FGL_J2322.8-4916_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259056/Model_4FGL_J2322.8-4916_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/259056/ft1_filtered_4FGL_J2322.8-4916_daily_bin1702.fits....................!
real 25.18
user 23.84
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.688       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0240       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9928       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7806       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .22826E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    60.154       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.4117       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.719       1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.6784       1.0000         .10000E-03   10000.    
    26 'norm      '    11.415       1.0000         .10000E-03   10000.    
    27 'Prefactor '    29.994       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    40.364       1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    9.7332       1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.2293       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .87406       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .63511       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=   2256.277     FROM MIGRAD    STATUS=CONVERGED    921 CALLS     6645 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.698        85.124        .50156E-06   -.47647E-05
   2  Prefactor     .10000E-03    25.338        .54783E-07** at limit **
   3  Prefactor     2.0321        316.36       -.44862E-05   -.15648E-04
   4  Prefactor     5.9950        9.2832        .18949E-06   -.18594E-04
   5  Prefactor     6.7823        7.6957        .21108E-07   -.39493E-04
   6  Prefactor     .10000E-03    8.6124        .92160E-06** at limit **
   7  Prefactor    10000.0        6614.9        .62933E-05** at limit **
   8  norm          .10000E-03    56.460        .93925E-07** at limit **
   9  Prefactor     .10000E-03    12.288        .22467E-07** at limit **
  10  Prefactor     .10000E-03    131.10        .78408E-07** at limit **
  11  Prefactor     .10000E-03    19.256       -.58531E-07** at limit **
  12  Prefactor     .10000E-03    127.27       -.37781E-07** at limit **
  13  Prefactor     .10000E-03    214.89       -.63408E-06** at limit **
  14  Prefactor     60.141        460.19       -.61637E-06   -.19840E-06
  15  Prefactor     .10000E-03    12.902       -.72599E-07** at limit **
  16  Prefactor     .10000E-03    62.573       -.19248E-06** at limit **
  17  Prefactor     .10000E-03    12.260        .12479E-07** at limit **
  18  norm          6.4151        25.270        .54428E-05   -.10070E-04
  19  norm          .10000E-03    4.7240       -.19045E-07** at limit **
  20  norm          .10000E-03    3.7049       -.10000E-06** at limit **
  21  Prefactor     .10000E-03    6.0385       -.10052E-06** at limit **
  22  Prefactor     22.700        74.409        .69833E-06   -.12394E-05
  23  norm          .10000E-03    7.3006       -.69523E-06** at limit **
  24  Prefactor     .10000E-03    16.804       -.93506E-07** at limit **
  25  norm          1.6786        1.5553        .26926E-06   -.92467E-04
  26  norm          11.416        9.3013        .15780E-06    .29903E-05
  27  Prefactor     30.002        26.746       -.25184E-06   -.17780E-04
  28  Prefactor     .10000E-03    2.4780       -.12859E-06** at limit **
  29  Prefactor     40.369        32.933       -.55481E-06   -.33980E-04
  30  norm          .10000E-03    11.335       -.12881E-06** at limit **
  31  Prefactor     9.7341        9.4710        .23519E-05   -.64384E-04
  32  Prefactor     1.2308        7.9311        .21467E-05   -.24453E-05
  33  Normalizat    .87409        .29403       -.21565E-05   -.78586E-04
  34  Prefactor     .63499        .26931       -.10263E-05   -.93022E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.6985
  Prefactor  = 0.0001
  Prefactor  = 2.0321
  Prefactor  = 5.99502
  Prefactor  = 6.7823
  Prefactor  = 0.0001
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.1414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.41512
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.7005
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.67856
  norm       = 11.4164
  Prefactor  = 30.0021
  Prefactor  = 0.0001
  Prefactor  = 40.3693
  norm       = 0.0001
  Prefactor  = 9.73408
  Prefactor  = 1.23081
  Normalizat = 0.87409
  Prefactor  = 0.634994
 **********
 **   18 **HESSE 
 **********

 FCN=   2256.277     FROM HESSE     STATUS=OK           726 CALLS     7371 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.698        85.269        .48785E-04   -1.4061    
   2  Prefactor     .10000E-03    25.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.0321        306.22        .29085E-03   -1.5423    
   4  Prefactor     5.9950        9.2682        .16402E-03   -1.5218    
   5  Prefactor     6.7823        7.6667        .13213E-03   -1.5187    
   6  Prefactor     .10000E-03    18.354        .26577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        6619.2        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    56.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.293        .16266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    131.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    127.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    215.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     60.141        457.67        .51731E-04   -1.4155    
  15  Prefactor     .10000E-03    12.933        .16666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    62.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.269        .16246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.4151        25.214        .79254E-03   -1.5201    
  19  norm          .10000E-03    4.7265        .10083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.7056        .89278E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.0570        .11397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     22.700        74.536        .84035E-04   -1.4755    
  23  norm          .10000E-03    7.3276        .12442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    16.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.6786        1.5432        .27181E-03   -1.5449    
  26  norm          11.416        9.2985        .10772E-03   -1.5032    
  27  Prefactor     30.002        26.769        .73158E-04   -1.4612    
  28  Prefactor     .10000E-03    2.4888        .72864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     40.369        32.765        .63092E-04   -1.4436    
  30  norm          .10000E-03    11.341        .15623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     9.7341        9.5260        .61733E-03   -1.5084    
  32  Prefactor     1.2308        7.8694        .23383E-03   -1.5486    
  33  Normalizat    .87409        .35084        .22749E-03   -.97377    
  34  Prefactor     .63499        .32188        .27599E-03   -1.0613    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25608e-10
Minuit parameter uncertainties:
  1  85.4232
  2  8.69569e-06
  3  50.1524
  4  9.27046
  5  7.66778
  6  0.00015625
  7  0.049386
  8  8.21726e-05
  9  1.26675e-05
  10  0.000105419
  11  1.38609e-05
  12  9.2863e-05
  13  0.000216423
  14  335.446
  15  1.28941e-05
  16  0.000114917
  17  8.58864e-06
  18  25.2554
  19  2.34904e-06
  20  5.42541e-07
  21  1.22531e-05
  22  74.8445
  23  4.80876e-06
  24  7.67274e-06
  25  1.54322
  26  9.29963
  27  26.78
  28  1.07067e-05
  29  32.7795
  30  2.27848e-05
  31  9.52748
  32  6.22534
  33  0.351763
  34  0.322827
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  2.349e-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.350e-01  3.228e-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:  8.741e-01  3.518e-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: 4.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259056/likelihoodResults_680486401_680745601_4FGL_J2322.8-4916_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): 0
logL (Free Index) = 2256.27732916
delta logL = -0.000818939107376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2256.27651023
delta logL = -6.84485712554e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6107       1.0000          .0000       5.0000    
     3 'Normalizat'    .87408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63499       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=   2256.277     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      223 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    9.3970        .10084E-02** at limit **
   2  alpha         1.5789        3.2377        .18021        .67949E-06
   3  Normalizat    .87409        .29743        .22749E-03    .60541E-03
   4  Prefactor     .63500        .31276        .27600E-03    .45922E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100044
  alpha      = 1.57892
  Normalizat = 0.874093
  Prefactor  = 0.634996
 **********
 **   18 **HESSE 
 **********

 FCN=   2256.277     FROM HESSE     STATUS=OK            23 CALLS      246 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    4.7367        .20168E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5789        3.7010        .72084E-02   -.37732    
   3  Normalizat    .87409        .29767        .45498E-04   -.97377    
   4  Prefactor     .63500        .31301        .55199E-04   -1.0613    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05442e-08
Minuit parameter uncertainties:
  1  0.000910855
  2  358.37
  3  0.298228
  4  0.313878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259056': 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) = 2256.27651021
delta logL = 8.65748006618e-09

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  9.109e-04  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  1.579e+00  3.584e+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.350e-01  3.139e-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:  8.741e-01  2.982e-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/259056/cmap_HighResolution_680486401_680745601_4FGL_J2322.8-4916_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.94e-05', job_status='DONE', photon_flux_upper_limit='4.07e-08', time_completed='2022-07-29 01:50:08.980120', job_id='259056', GAL2='0.63', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1659084608.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='8.66e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.61' WHERE bin_id='1702' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:50:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 259056: <4FGL_J2322.8-4916_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:27 2022
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:36:52 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:52 2022
Terminated at Fri Jul 29 01:50:10 2022
Results reported at Fri Jul 29 01:50:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1702 350.708 -49.2725 680486401 680745601 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 :                                   617.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             258.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            883 sec.

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

