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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1667
RA = 350.708, Dec = -49.2725
tmin = 671414401, tmax = 671673601
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='534393', job_status='RUN', time_executed='2022-04-15 03:46:14.530749', time_epoch_executed='1650019574.53' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534393

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534393/ft1_4FGL_J2322.8-4916_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534393/ft2_4FGL_J2322.8-4916_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534393/ft1_4FGL_J2322.8-4916_daily_bin1667.fits outfile=/scratch/kocevski/534393/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1667.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=671414401.0 tmax=671673601.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.51
user 3.28
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 594

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534393/ft1_filtered_4FGL_J2322.8-4916_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/534393/ft2_4FGL_J2322.8-4916_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/534393/ltcube_671414401_671673601_4FGL_J2322.8-4916_daily_bin1667.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/534393/ft2_4FGL_J2322.8-4916_daily_bin1667.fits
.....................!
real 13.17
user 12.81
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534393/ft1_filtered_4FGL_J2322.8-4916_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/534393/ft2_4FGL_J2322.8-4916_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/534393/ltcube_671414401_671673601_4FGL_J2322.8-4916_daily_bin1667.fits outfile=/scratch/kocevski/534393/expmap_671414401_671673601_4FGL_J2322.8-4916_daily_bin1667.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/534393/ltcube_671414401_671673601_4FGL_J2322.8-4916_daily_bin1667.fits
.....................!
real 191.53
user 185.42
sys 5.61

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/534393/ft1_filtered_4FGL_J2322.8-4916_daily_bin1667.fits scfile=/scratch/kocevski/534393/ft2_4FGL_J2322.8-4916_daily_bin1667.fits outfile=/scratch/kocevski/534393/cmap_671414401_671673601_4FGL_J2322.8-4916_daily_bin1667.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=350.708 yref=-49.2725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534393/ft1_filtered_4FGL_J2322.8-4916_daily_bin1667.fits scfile=/scratch/kocevski/534393/ft2_4FGL_J2322.8-4916_daily_bin1667.fits outfile=/scratch/kocevski/534393/cmap_HighResolution_671414401_671673601_4FGL_J2322.8-4916_daily_bin1667.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=350.708 yref=-49.2725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/534393/ft1_filtered_4FGL_J2322.8-4916_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/534393/ft2_4FGL_J2322.8-4916_daily_bin1667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/534393/Model_4FGL_J2322.8-4916_daily_bin1667.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/534393/ft1_filtered_4FGL_J2322.8-4916_daily_bin1667.fits.....................!
real 46.06
user 44.49
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7886       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.288       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7077       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.0215       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6492       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1462       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10524E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.589       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .84228E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.8553       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.2852       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.2918       1.0000         .10000E-03   10000.    
    29 'Prefactor '    7.0083       1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.2297       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .98076       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .88252       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=   6480.951     FROM MIGRAD    STATUS=CONVERGED    917 CALLS     4149 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7863        107.56        .70663E-06    .83970E-05
   2  Prefactor     .10000E-03    10.983        .16056E-06** at limit **
   3  Prefactor     30.292        28.445       -.44422E-06   -.36143E-04
   4  Prefactor     7.7077        6.5724       -.35853E-08    .30685E-04
   5  Prefactor     .10000E-03    7.8813       -.62733E-07** at limit **
   6  Prefactor     .10000E-03    3.0172       -.16148E-07** at limit **
   7  Prefactor     .10000E-03    38.325        .13775E-05** at limit **
   8  norm          3.0216        3.3832        .75854E-07   -.87102E-04
   9  Prefactor     .10000E-03    1.5444        .66169E-07** at limit **
  10  Prefactor     .10000E-03    19.436        .99849E-06** at limit **
  11  Prefactor     2.6503        3.2973       -.99716E-07   -.15638E-03
  12  Prefactor     1.1260        83.685       -.13061E-04    .13079E-03
  13  Prefactor     .10000E-03    6.1699       -.56249E-06** at limit **
  14  Prefactor     .10000E-03    26.469       -.23507E-05** at limit **
  15  Prefactor     .10000E-03    3.6187       -.15841E-05** at limit **
  16  Prefactor     .10000E-03    9.7438       -.47854E-06** at limit **
  17  Prefactor     11.590        12.653        .42006E-06    .68900E-03
  18  norm          .10000E-03    4.1482       -.11833E-07** at limit **
  19  norm          .10000E-03    1.9557        .19462E-07** at limit **
  20  norm          .10000E-03    3.4454        .13256E-05** at limit **
  21  Prefactor     4.8548        4.0164       -.11422E-06   -.18133E-03
  22  Prefactor     .10000E-03    8.9457       -.27168E-06** at limit **
  23  norm          1.2774        2.1802       -.91971E-06   -.10512E-02
  24  Prefactor     .10000E-03    6.9358        .32404E-06** at limit **
  25  norm          .10000E-03    .46072        .32572E-07** at limit **
  26  norm          .10000E-03    2.2151        .11969E-06** at limit **
  27  Prefactor     .10000E-03    7.5944        .13449E-06** at limit **
  28  Prefactor     1.2917        1.4907        .64014E-08    .15443E-03
  29  Prefactor     7.0084        8.0550       -.21496E-07   -.83177E-05
  30  norm          .10000E-03    7.8229        .11378E-06** at limit **
  31  Prefactor     2.2303        4.2875        .15168E-06    .51881E-03
  32  Prefactor     .10000E-03    1.8641       -.89759E-06** at limit **
  33  Normalizat    .98075        .15834        .23887E-06   -.19630E-03
  34  Prefactor     .88256        .16467        .13062E-06   -.15518E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.78626
  Prefactor  = 0.0001
  Prefactor  = 30.2923
  Prefactor  = 7.70766
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.02163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.65027
  Prefactor  = 1.12604
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.5902
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.8548
  Prefactor  = 0.0001
  norm       = 1.27743
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.29175
  Prefactor  = 7.00838
  norm       = 0.0001
  Prefactor  = 2.23032
  Prefactor  = 0.0001
  Normalizat = 0.980753
  Prefactor  = 0.882563
 **********
 **   18 **HESSE 
 **********

 FCN=   6480.951     FROM HESSE     STATUS=OK           738 CALLS     4887 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7863        108.44        .13521E-03   -1.5115    
   2  Prefactor     .10000E-03    11.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.292        28.459        .72801E-04   -1.4607    
   4  Prefactor     7.7077        6.5692        .14444E-03   -1.5153    
   5  Prefactor     .10000E-03    7.9833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.0361        .13655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    38.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0216        3.3824        .15270E-03   -1.5360    
   9  Prefactor     .10000E-03    3.0568        .19382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.6503        3.2816        .15406E-03   -1.5382    
  12  Prefactor     1.1260        104.53        .63149E-02   -1.5496    
  13  Prefactor     .10000E-03    6.2138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.045        .26117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.7486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.590        12.886        .58839E-03   -1.5027    
  18  norm          .10000E-03    4.1740        .16013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.9602        .10993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    13.438        .26206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.8548        3.9951        .14113E-03   -1.5267    
  22  Prefactor     .10000E-03    8.9393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.2774        2.2054        .15284E-03   -1.5482    
  24  Prefactor     .10000E-03    6.9974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.1428        .10458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    2.3180        .23395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    7.6226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.2917        1.4632        .10210E-03   -1.5481    
  29  Prefactor     7.0084        8.0481        .15154E-03   -1.5178    
  30  norm          .10000E-03    7.8253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     2.2303        4.3195        .21943E-03   -1.5409    
  32  Prefactor     .10000E-03    6.5365        .19731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .98075        .19587        .21317E-03   -.93678    
  34  Prefactor     .88256        .20308        .24193E-03   -.96753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02151e-09
Minuit parameter uncertainties:
  1  61.8728
  2  2.52452e-05
  3  28.4718
  4  6.56982
  5  1.44228e-05
  6  2.22795e-06
  7  0.000214954
  8  3.38263
  9  3.54892e-05
  10  0.000105489
  11  3.28182
  12  21.7366
  13  3.41562e-05
  14  0.000301291
  15  2.70173e-05
  16  3.29091e-05
  17  12.8892
  18  5.66189e-07
  19  1.58937e-06
  20  0.000109679
  21  3.9953
  22  1.74577e-06
  23  2.20552
  24  3.33117e-05
  25  6.23439e-08
  26  1.21295e-05
  27  3.6823e-06
  28  1.46323
  29  8.04933
  30  5.78693e-06
  31  4.32007
  32  3.38246e-06
  33  0.196013
  34  0.203256
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  1.589e-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:  8.826e-01  2.033e-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.808e-01  1.960e-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.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534393/likelihoodResults_671414401_671673601_4FGL_J2322.8-4916_daily_bin1667.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) = 6480.95283832
delta logL = -0.00233567366013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6480.95050265
delta logL = -2.2555468604e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6137       1.0000          .0000       5.0000    
     3 'Normalizat'    .98076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88255       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=   6480.951     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      233 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    233.02        .10994E-02** at limit **
   2  alpha         1.7120        3.9480        .50000       -.27967E-08
   3  Normalizat    .98075        .46729E-01    .21317E-03    .13514E-03
   4  Prefactor     .88256        .50841E-01    .24193E-03    .11945E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.71203
  Normalizat = 0.980753
  Prefactor  = 0.882564
 **********
 **   18 **HESSE 
 **********

 FCN=   6480.951     FROM HESSE     STATUS=OK            29 CALLS      262 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3004        .21989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7120        3.2405        .50000       -.32065    
   3  Normalizat    .98075        .18547        .85267E-05   -.93678    
   4  Prefactor     .88256        .20176        .96772E-05   -.96753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43941e-11
Minuit parameter uncertainties:
  1  2.37977e-06
  2  227.604
  3  0.185593
  4  0.201928
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534393': 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) = 6480.95050254
delta logL = 1.02024387161e-07

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  1.000e-04  2.380e-06  1.000e-04  1.000e+04 ( 1.000e-13)
435        alpha:  1.712e+00  2.276e+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:  8.826e-01  2.019e-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.808e-01  1.856e-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/534393/cmap_HighResolution_671414401_671673601_4FGL_J2322.8-4916_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-05', job_status='DONE', photon_flux_upper_limit='1.62e-08', time_completed='2022-04-15 04:01:45.792697', job_id='534393', GAL2='0.88', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1650020505.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.61' WHERE bin_id='1667' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 04:01:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 534393: <4FGL_J2322.8-4916_daily_bin1667> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin1667> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Apr 15 03:45:13 2022
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:45:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:45:14 2022
Terminated at Fri Apr 15 04:01:46 2022
Results reported at Fri Apr 15 04:01:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1667 350.708 -49.2725 671414401 671673601 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 :                                   933.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            993 sec.

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

