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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1706
RA = 350.708, Dec = -49.2725
tmin = 681523201, tmax = 681782401
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='507847', job_status='RUN', time_executed='2022-08-10 02:20:01.971216', time_epoch_executed='1660123201.97' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507847

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507847/ft1_4FGL_J2322.8-4916_daily_bin1706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507847/ft2_4FGL_J2322.8-4916_daily_bin1706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507847/ft1_4FGL_J2322.8-4916_daily_bin1706.fits outfile=/scratch/kocevski/507847/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1706.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=681523201.0 tmax=681782401.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.61
user 2.38
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/507847/ft2_4FGL_J2322.8-4916_daily_bin1706.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/507847/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1706.fits evtable="EVENTS" outfile="/scratch/kocevski/507847/ft1_filtered_4FGL_J2322.8-4916_daily_bin1706.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 199

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507847/ft1_filtered_4FGL_J2322.8-4916_daily_bin1706.fits" evtable="EVENTS" scfile=/scratch/kocevski/507847/ft2_4FGL_J2322.8-4916_daily_bin1706.fits sctable="SC_DATA" outfile=/scratch/kocevski/507847/ltcube_681523201_681782401_4FGL_J2322.8-4916_daily_bin1706.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/507847/ft2_4FGL_J2322.8-4916_daily_bin1706.fits
.....................!
real 13.18
user 12.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507847/ft1_filtered_4FGL_J2322.8-4916_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507847/ft2_4FGL_J2322.8-4916_daily_bin1706.fits sctable="SC_DATA" expcube=/scratch/kocevski/507847/ltcube_681523201_681782401_4FGL_J2322.8-4916_daily_bin1706.fits outfile=/scratch/kocevski/507847/expmap_681523201_681782401_4FGL_J2322.8-4916_daily_bin1706.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/507847/ltcube_681523201_681782401_4FGL_J2322.8-4916_daily_bin1706.fits
.....................!
real 192.34
user 186.16
sys 5.76

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/507847/ft1_filtered_4FGL_J2322.8-4916_daily_bin1706.fits scfile=/scratch/kocevski/507847/ft2_4FGL_J2322.8-4916_daily_bin1706.fits outfile=/scratch/kocevski/507847/cmap_681523201_681782401_4FGL_J2322.8-4916_daily_bin1706.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507847/ft1_filtered_4FGL_J2322.8-4916_daily_bin1706.fits scfile=/scratch/kocevski/507847/ft2_4FGL_J2322.8-4916_daily_bin1706.fits outfile=/scratch/kocevski/507847/cmap_HighResolution_681523201_681782401_4FGL_J2322.8-4916_daily_bin1706.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507847/ft1_filtered_4FGL_J2322.8-4916_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507847/ft2_4FGL_J2322.8-4916_daily_bin1706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507847/Model_4FGL_J2322.8-4916_daily_bin1706.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/507847/ft1_filtered_4FGL_J2322.8-4916_daily_bin1706.fits.......................!
real 24.97
user 23.58
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    88.245       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.282       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5739       1.0000         .10000E-03   10000.    
     7 'Prefactor '    767.54       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.722       1.0000         .10000E-03   10000.    
    10 'Prefactor '    68.728       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7997       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.384       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.735       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.9725       1.0000         .10000E-03   10000.    
    19 'norm      '    7.1270       1.0000         .10000E-03   10000.    
    20 'norm      '    11.769       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.6275       1.0000         .10000E-03   10000.    
    22 'Prefactor '    115.72       1.0000         .10000E-03   10000.    
    23 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    20.326       1.0000         .10000E-03   10000.    
    25 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    14.007       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    41.400       1.0000         .10000E-03   10000.    
    30 'norm      '    19.570       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1575       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .83539       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=   2227.973     FROM MIGRAD    STATUS=CONVERGED    891 CALLS     4844 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    87.172        .20689E-05** at limit **
   2  Prefactor     .10000E-03    15.560       -.30694E-06** at limit **
   3  Prefactor     88.229        83.259       -.39634E-05   -.11974E-03
   4  Prefactor     .10000E-03    40.033        .38549E-05** at limit **
   5  Prefactor     12.282        11.509       -.17072E-06   -.19411E-04
   6  Prefactor     3.5704        14.320        .10860E-04   -.29522E-03
   7  Prefactor     767.26        608.98       -.14224E-04   -.11466E-03
   8  norm          .10000E-03    8.6839        .17080E-06** at limit **
   9  Prefactor     21.722        19.397       -.19325E-07    .27689E-05
  10  Prefactor     68.668        195.08       -.81671E-05   -.73159E-04
  11  Prefactor     5.7985        17.115        .46466E-05   -.12980E-03
  12  Prefactor     .10000E-03    31.986       -.26930E-05** at limit **
  13  Prefactor     14.385        23.865        .87020E-06   -.28244E-04
  14  Prefactor     .10001E-03    94.207       -.28430E-05** at limit **
  15  Prefactor     23.735        32.522        .55704E-06   -.16729E-04
  16  Prefactor     .10000E-03    36.957       -.32382E-06** at limit **
  17  Prefactor     .10000E-03    23.632        .96745E-06** at limit **
  18  norm          5.9738        91.319        .19660E-05    .56157E-05
  19  norm          7.1268        9.5813       -.45962E-07   -.29305E-05
  20  norm          11.770        13.321        .42804E-06    .16293E-04
  21  Prefactor     9.6288        19.671        .95672E-06    .26849E-04
  22  Prefactor     115.69        108.25       -.26415E-05   -.13295E-03
  23  norm          .10000E-03    12.050       -.56779E-06** at limit **
  24  Prefactor     20.313        43.840       -.19287E-05   -.98277E-04
  25  norm          .10000E-03    1.4871       -.17969E-07** at limit **
  26  norm          .10000E-03    4.5460       -.61995E-07** at limit **
  27  Prefactor     14.002        25.842       -.22259E-07   -.32274E-04
  28  Prefactor     .10000E-03    4.9604       -.84816E-07** at limit **
  29  Prefactor     41.392        44.035       -.54763E-06   -.10285E-03
  30  norm          19.573        40.340        .11247E-05    .33161E-04
  31  Prefactor     .10000E-03    8.6227       -.11436E-06** at limit **
  32  Prefactor     .10000E-03    2.5121       -.51334E-07** at limit **
  33  Normalizat    1.1581        .36145        .29547E-05   -.12629E-03
  34  Prefactor     .83490        .35268       -.47871E-05    .24327E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 88.2286
  Prefactor  = 0.000100003
  Prefactor  = 12.2821
  Prefactor  = 3.57038
  Prefactor  = 767.256
  norm       = 0.0001
  Prefactor  = 21.7221
  Prefactor  = 68.6681
  Prefactor  = 5.79846
  Prefactor  = 0.000100004
  Prefactor  = 14.3849
  Prefactor  = 0.000100005
  Prefactor  = 23.7348
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 5.97383
  norm       = 7.12678
  norm       = 11.7695
  Prefactor  = 9.62882
  Prefactor  = 115.691
  norm       = 0.0001
  Prefactor  = 20.3129
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.0019
  Prefactor  = 0.0001
  Prefactor  = 41.3918
  norm       = 19.573
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15809
  Prefactor  = 0.834895
 **********
 **   18 **HESSE 
 **********

 FCN=   2227.973     FROM HESSE     STATUS=OK           724 CALLS     5568 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    87.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     88.229        83.746        .42771E-04   -1.3827    
   4  Prefactor     .10000E-03    40.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.282        11.509        .11430E-03   -1.5007    
   6  Prefactor     3.5704        15.292        .10689E-02   -1.5330    
   7  Prefactor     767.26        626.39        .75131E-04   -1.0095    
   8  norm          .10000E-03    8.6898        .13591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.722        19.411        .85941E-04   -1.4775    
  10  Prefactor     68.668        197.51        .24209E-03   -1.4049    
  11  Prefactor     5.7985        17.176        .83385E-03   -1.5226    
  12  Prefactor     .10000E-03    32.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.385        23.863        .52804E-03   -1.4949    
  14  Prefactor     .10001E-03    94.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.735        32.518        .82221E-04   -1.4733    
  16  Prefactor     .10000E-03    36.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.9738        91.086        .16431E-03   -1.5219    
  19  norm          7.1268        9.5840        .15026E-03   -1.5174    
  20  norm          11.770        13.320        .11677E-03   -1.5022    
  21  Prefactor     9.6288        19.585        .12915E-03   -1.5087    
  22  Prefactor     115.69        109.46        .18701E-03   -1.3553    
  23  norm          .10000E-03    12.080        .15931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     20.313        44.024        .88840E-04   -1.4806    
  25  norm          .10000E-03    1.5376        .11194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    4.5570        .98265E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     14.002        25.965        .10702E-03   -1.4959    
  28  Prefactor     .10000E-03    4.9959        .10242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     41.392        44.074        .62300E-04   -1.4420    
  30  norm          19.573        40.314        .90538E-04   -1.4823    
  31  Prefactor     .10000E-03    8.6794        .13502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.5144        .73058E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.1581        .44882        .26093E-03   -.87908    
  34  Prefactor     .83490        .43018        .30963E-03   -.98455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53989e-09
Minuit parameter uncertainties:
  1  0.00091809
  2  3.7947e-05
  3  83.8588
  4  0.000730038
  5  11.5108
  6  14.7844
  7  632.321
  8  4.65079e-05
  9  19.4164
  10  199.442
  11  17.1906
  12  0.000714547
  13  23.8789
  14  0.00139874
  15  32.5424
  16  0.000104812
  17  0.000228032
  18  46.7381
  19  9.58607
  20  13.3238
  21  19.5979
  22  109.65
  23  7.01627e-05
  24  44.0941
  25  5.0187e-06
  26  8.49221e-06
  27  25.9861
  28  1.41527e-05
  29  44.1088
  30  40.37
  31  3.80799e-05
  32  3.60335e-07
  33  0.450314
  34  0.431936
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  7.127e+00  9.586e+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:  8.349e-01  4.319e-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.158e+00  4.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.29
Ra Dec: 350.708 -49.273
Photon Index (Fixed Index): 1.61 +/- 0.00
Photon Flux (Fixed Index): 1.12e-08 +/- 1.51e-08
Energy Flux (Fixed Index): 2.46e-05 +/- 3.30e-05

TS (Fixed Index): 1.29
Ra Dec: 350.708 -49.273
Photon Flux Upper Limit: 6.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.45e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507847/likelihoodResults_681523201_681782401_4FGL_J2322.8-4916_daily_bin1706.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) = 2227.73672376
delta logL = 0.236406014106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2227.59590548
delta logL = 0.377224294215

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24138E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .93481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0011       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=   2227.596     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      401 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24120E-01    .73281E-01    .91431E-03    .15732E-02
   2  alpha         5.0000        4.6631        .46268    ** at limit **
   3  Normalizat    .93521        .36273        .45345E-01    .46730E-05
   4  Prefactor     1.0006        .36609        .45313E-01    .38495E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0241199
  alpha      = 5
  Normalizat = 0.93521
  Prefactor  = 1.00063
 **********
 **   18 **HESSE 
 **********

 FCN=   2227.596     FROM HESSE     STATUS=OK            37 CALLS      438 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24120E-01    .21390E-01    .55244E-05   -1.5677    
   2  alpha         5.0000        .57406        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .93521        .43521        .28523E-03   -.95234    
   4  Prefactor     1.0006        .43459        .28570E-03   -.92709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07284e-12
Minuit parameter uncertainties:
  1  0.0213905
  2  8.34061e-06
  3  0.43687
  4  0.436121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507847': 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) = 2227.59590227
delta logL = 0.37722750038

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  2.412e-02  2.139e-02  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  5.000e+00  8.341e-06  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:  1.001e+00  4.361e-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:  9.352e-01  4.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.22
Ra Dec: 350.708 -49.273
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.65e-07 +/- 1.46e-07
Energy Flux (Free Index): 2.43e-05 +/- 2.15e-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/507847/cmap_HighResolution_681523201_681782401_4FGL_J2322.8-4916_daily_bin1706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-04', comment='SUCCESS', photon_flux='1.12e-08', energy_flux2='2.43e-05', photon_flux_error='1.51e-08', dlogl='3.77e-01', energy_flux='2.46e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2022-08-10 02:29:12.350480', photon_index_error2='0.00', photon_index2='5.00', ts='1.29', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='6.60e-08', energy_flux_error2='2.15e-05', EG='1.16', time_epoch_completed='1660123752.35', return_code='0', job_id='507847', GAL2='1.00', EG2='0.94', return_code2='0', energy_flux_error='3.30e-05', photon_flux_error2='1.46e-07', ts2='2.22', photon_index='1.61' WHERE bin_id='1706' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 10 02:29:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 507847: <4FGL_J2322.8-4916_daily_bin1706> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin1706> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Aug 10 02:15:36 2022
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 10 02:18:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 10 02:18:35 2022
Terminated at Wed Aug 10 02:29:13 2022
Results reported at Wed Aug 10 02:29:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1706 350.708 -49.2725 681523201 681782401 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 :                                   552.57 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             296.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            817 sec.

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

