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 112 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1761
RA = 350.708, Dec = -49.2725
tmin = 695779201, tmax = 696038401
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='936502', job_status='RUN', time_executed='2023-01-22 01:48:20.870506', time_epoch_executed='1674380900.87' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/936502

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/936502/ft1_4FGL_J2322.8-4916_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/936502/ft2_4FGL_J2322.8-4916_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/936502/ft1_4FGL_J2322.8-4916_daily_bin1761.fits outfile=/scratch/kocevski/936502/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1761.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.07
user 4.80
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/936502/ft2_4FGL_J2322.8-4916_daily_bin1761.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/936502/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/936502/ft1_filtered_4FGL_J2322.8-4916_daily_bin1761.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.33
sys 0.16

Number of photons that the gtmktime cut: 410

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/936502/ft1_filtered_4FGL_J2322.8-4916_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/936502/ft2_4FGL_J2322.8-4916_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/936502/ltcube_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.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/936502/ft2_4FGL_J2322.8-4916_daily_bin1761.fits
.....................!
real 13.58
user 13.18
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/936502/ft1_filtered_4FGL_J2322.8-4916_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936502/ft2_4FGL_J2322.8-4916_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/936502/ltcube_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.fits outfile=/scratch/kocevski/936502/expmap_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.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/936502/ltcube_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.fits
.....................!
real 192.90
user 187.47
sys 5.08

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

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/936502/ft1_filtered_4FGL_J2322.8-4916_daily_bin1761.fits scfile=/scratch/kocevski/936502/ft2_4FGL_J2322.8-4916_daily_bin1761.fits outfile=/scratch/kocevski/936502/cmap_HighResolution_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.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.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/936502/ft1_filtered_4FGL_J2322.8-4916_daily_bin1761.fits', '/scratch/kocevski/936502/ft2_4FGL_J2322.8-4916_daily_bin1761.fits', expMap='/scratch/kocevski/936502/expmap_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.fits', expCube='/scratch/kocevski/936502/ltcube_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/936502/Model_4FGL_J2322.8-4916_daily_bin1761.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  0.000e+00  1.000e+06 ( 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 -5.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/936502/ft1_filtered_4FGL_J2322.8-4916_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/936502/ft2_4FGL_J2322.8-4916_daily_bin1761.fits
Exposure map: /scratch/kocevski/936502/expmap_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.fits
Exposure cube: /scratch/kocevski/936502/ltcube_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/936502/Model_4FGL_J2322.8-4916_daily_bin1761.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) = 4566.52926224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10503       1.0000          .0000       .10000E+07
     2 'Prefactor '    20.017       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34074E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15861E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0337       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.5199       1.0000          .0000       .10000E+07
     7 'Prefactor '    .65114E-03   1.0000          .0000       .10000E+07
     8 'norm      '    2.2530       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30324E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12528E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    17.789       1.0000          .0000       .10000E+07
    12 'Prefactor '    .23603E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .36790E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    34.751       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20031E-02   1.0000          .0000       .10000E+07
    16 'norm      '    7.8535       1.0000          .0000       .10000E+07
    17 'norm      '    5.2184       1.0000          .0000       .10000E+07
    18 'norm      '    .10472E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .72387E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .57235E-02   1.0000          .0000       .10000E+07
    21 'norm      '    6.4693       1.0000          .0000       .10000E+07
    22 'Prefactor '    .70188E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .94731       1.0000          .0000       .10000E+07
    24 'norm      '    .13819E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .14268E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    8.0436       1.0000          .0000       .10000E+07
    27 'Prefactor '    .53745       1.0000          .0000       .10000E+07
    28 'norm      '    .12335E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .21004E-05   1.0000          .0000       .10000E+07
    30 'Prefactor '    .46216E-03   1.0000          .0000       .10000E+07
    31 'Normalizat'    1.0695       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .74978       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4566.475     FROM MIGRAD    STATUS=CONVERGED    222 CALLS     2467 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10599E-05    42.145        .81219E-05** at limit **
   2  Prefactor     20.309        2.2887       -.19391E-06    .91524E-02
   3  Prefactor     .11827E-04    56.935        .49235E-06** at limit **
   4  Prefactor     .41078E-08    6.3992       -.22788E-06** at limit **
   5  Prefactor     8.0405        8.0072       -.61402E-06   -.55344E-02
   6  Prefactor     4.5019        3.3921       -.61874E-07    .11042E-02
   7  Prefactor     .10030E-04    184.45       -.29014E-05** at limit **
   8  norm          2.2551        4.8338        .24320E-05    .29134E-01
   9  Prefactor      .0000        4.0530       -.13347E-06** at limit **
  10  Prefactor     .13487E-05    22.463        .69732E-06** at limit **
  11  Prefactor     17.773        8.0271       -.13953E-06   -.11941E-02
  12  Prefactor     .20711E-06    20.979       -.23588E-06** at limit **
  13  Prefactor     .55511E-10    1.6795       -.74473E-07** at limit **
  14  Prefactor     35.680        7.2466        .15398E-06   -.38464E-01
  15  Prefactor     .19057E-06    9.9097        .83529E-06** at limit **
  16  norm          7.8512        1.1799        .57040E-07   -.11257E-02
  17  norm          5.2101        5.1795       -.19766E-07    .10282E-02
  18  norm          .61062E-09    2.9949       -.66209E-07** at limit **
  19  Prefactor     .51070E-08    4.3338       -.84067E-06** at limit **
  20  Prefactor     .76389E-06    17.209        .10014E-05** at limit **
  21  norm          6.4703        4.8318        .53159E-07   -.20940E-02
  22  Prefactor     .11657E-08    3.9562        .43203E-06** at limit **
  23  norm          .94823        .96352       -.84773E-08    .25080E-02
  24  norm           .0000        1.9439       -.56056E-08** at limit **
  25  Prefactor     .11346E-06    9.5795       -.13972E-05** at limit **
  26  Prefactor     8.1111        5.4482        .83154E-07    .27746E-02
  27  Prefactor     .55254E-03    55.523        .61065E-05** at limit **
  28  norm          .77716E-08    6.7414        .23851E-06** at limit **
  29  Prefactor     .11053E-05    16.890       -.12839E-05** at limit **
  30  Prefactor     .55511E-10    2.4280        .15055E-06** at limit **
  31  Normalizat    1.0691        .24730        .33006E-05    .33968E-03
  32  Prefactor     .74980        .24879       -.48007E-05    .19459E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05993e-06
  Prefactor  = 20.3087
  Prefactor  = 1.18271e-05
  Prefactor  = 4.10783e-09
  Prefactor  = 8.04054
  Prefactor  = 4.50193
  Prefactor  = 1.00304e-05
  norm       = 2.25514
  Prefactor  = 0
  Prefactor  = 1.3487e-06
  Prefactor  = 17.7734
  Prefactor  = 2.07112e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 35.6795
  Prefactor  = 1.9057e-07
  norm       = 7.85118
  norm       = 5.21009
  norm       = 6.10623e-10
  Prefactor  = 5.10703e-09
  Prefactor  = 7.63889e-07
  norm       = 6.47027
  Prefactor  = 1.16573e-09
  norm       = 0.948234
  norm       = 0
  Prefactor  = 1.13465e-07
  Prefactor  = 8.11114
  Prefactor  = 0.000552542
  norm       = 7.77156e-09
  Prefactor  = 1.10534e-06
  Prefactor  = 5.55112e-11
  Normalizat = 1.0691
  Prefactor  = 0.749799
 **********
 **   18 **HESSE 
 **********

 FCN=   4566.475     FROM HESSE     STATUS=OK           719 CALLS     3186 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10599E-05    49.914        .13796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.309        26.855        .22358E-03   -1.5618    
   3  Prefactor     .11827E-04    65.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .41078E-08    6.3879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.0405        9.2147        .35350E-03   -1.5651    
   6  Prefactor     4.5019        9.9594        .47331E-03   -1.5666    
   7  Prefactor     .10030E-04    188.15        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2551        9.0073        .68423E-03   -1.5678    
   9  Prefactor      .0000        3.9994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13487E-05    42.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.773        8.0794        .23719E-03   -1.5624    
  12  Prefactor     .20711E-06    43.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    1.6786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.680        37.483        .16965E-03   -1.5588    
  15  Prefactor     .19057E-06    9.9940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.8512        9.8745        .35757E-03   -1.5652    
  17  norm          5.2101        5.1765        .43980E-03   -1.5662    
  18  norm          .61062E-09    2.9939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .51070E-08    4.3907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .76389E-06    17.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          6.4703        4.8387        .39435E-03   -1.5657    
  22  Prefactor     .11657E-08    4.0632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .94823        .96934        .42543E-03   -1.5688    
  24  norm           .0000        1.9431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .11346E-06    9.6413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     8.1111        6.1175        .35328E-03   -1.5651    
  27  Prefactor     .55254E-03    40.566        .10167E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .77716E-08    6.7472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .11053E-05    17.223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .55511E-10    2.4252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.0691        .20789        .39407E-01   -.90750    
  32  Prefactor     .74980        .21126        .43060E-01   -1.0161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.10445e-07
Minuit parameter uncertainties:
  1  0.0145475
  2  26.8553
  3  0.0557271
  4  0.000324134
  5  9.21469
  6  9.9594
  7  0.0868869
  8  9.00735
  9  1.07822e-05
  10  0.0151715
  11  8.07944
  12  0.00602335
  13  1.4502e-05
  14  37.4835
  15  0.00276024
  16  9.87457
  17  5.17651
  18  8.53742e-05
  19  0.000299151
  20  0.00732054
  21  4.83867
  22  0.00013606
  23  0.969342
  24  6.80609e-07
  25  0.00209177
  26  6.11755
  27  0.299429
  28  0.000458521
  29  0.00872648
  30  2.77404e-05
  31  0.208052
  32  0.211484
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  5.210e+00  5.177e+00  0.000e+00  1.000e+06 ( 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 -5.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:  7.498e-01  2.115e-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.069e+00  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.48
Ra Dec: 350.708 -49.273
Photon Index (Fixed Index): 1.61 +/- 0.00
Photon Flux (Fixed Index): 8.19e-09 +/- 8.13e-09
Energy Flux (Fixed Index): 1.80e-05 +/- 1.78e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4566.38368356
delta logL = 0.0915551927892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4566.38142626
delta logL = 0.0938124896848

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8691       1.0000          .0000       .10000E+07
     2 'alpha     '    1.1979       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75199       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=   4566.381     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      197 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8691        6.0175        .45562E-03    .45441E-01
   2  alpha         1.1979        .92202        .50000        .83149E-05
   3  Normalizat    1.0693        .19874        .39416E-01    .37017E-05
   4  Prefactor     .75198        .20669        .43089E-01    .15570E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.8691
  alpha      = 1.19792
  Normalizat = 1.06929
  Prefactor  = 0.751985
 **********
 **   18 **HESSE 
 **********

 FCN=   4566.381     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8691        5.2108        .14654E-04   -1.5664    
   2  alpha         1.1979        .89620        .23895E-01   -.54783    
   3  Normalizat    1.0693        .23496        .22162E-03   -.90744    
   4  Prefactor     .75198        .24444        .26906E-03   -1.0152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27988e-08
Minuit parameter uncertainties:
  1  5.21083
  2  0.924884
  3  0.235187
  4  0.244794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/936502': 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) = 4566.38142626
delta logL = 0.093812492124

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  4.869e+00  5.211e+00  0.000e+00  1.000e+06 ( 1.000e-13)
435        alpha:  1.198e+00  9.249e-01  0.000e+00  5.000e+00 ( 1.000e+00)
436         beta:  1.751e-01  0.000e+00 -5.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:  7.520e-01  2.448e-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.069e+00  2.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.66
Ra Dec: 350.708 -49.273
Photon Index (Free Index): 1.20 +/- 0.92
Photon Flux (Free Index): 5.45e-09 +/- 6.79e-09
Energy Flux (Free Index): 2.87e-05 +/- 4.45e-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/936502/cmap_HighResolution_695779201_696038401_4FGL_J2322.8-4916_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.19e-09', energy_flux2='2.87e-05', photon_flux_error='8.13e-09', dlogl='9.38e-02', energy_flux='1.80e-05', photon_flux2='5.45e-09', job_status='DONE', time_completed='2023-01-22 01:57:39.878715', photon_index_error2='0.92', photon_index2='1.20', ts='6.48', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='4.45e-05', EG='1.07', time_epoch_completed='1674381459.88', return_code='0', job_id='936502', GAL2='0.75', EG2='1.07', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='6.79e-09', ts2='6.66', photon_index='1.61' WHERE bin_id='1761' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:57:39 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 936502: <4FGL_J2322.8-4916_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin1761> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan 22 01:45:17 2023
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:46:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:46:18 2023
Terminated at Sun Jan 22 01:57:40 2023
Results reported at Sun Jan 22 01:57:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1761 350.708 -49.2725 695779201 696038401 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 :                                   561.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            743 sec.

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

