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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1764
RA = 350.708, Dec = -49.2725
tmin = 696556801, tmax = 696816001
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='467398', job_status='RUN', time_executed='2023-01-31 02:10:04.722563', time_epoch_executed='1675159804.72' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467398

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467398/ft1_4FGL_J2322.8-4916_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467398/ft2_4FGL_J2322.8-4916_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467398/ft1_4FGL_J2322.8-4916_daily_bin1764.fits outfile=/scratch/kocevski/467398/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1764.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=696556801.0 tmax=696816001.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.75
user 3.50
sys 0.22

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

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

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

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

Number of photons that the gtmktime cut: 379

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467398/ft1_filtered_4FGL_J2322.8-4916_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/467398/ft2_4FGL_J2322.8-4916_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/467398/ltcube_696556801_696816001_4FGL_J2322.8-4916_daily_bin1764.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/467398/ft2_4FGL_J2322.8-4916_daily_bin1764.fits
.....................!
real 15.73
user 15.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467398/ft1_filtered_4FGL_J2322.8-4916_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/467398/ft2_4FGL_J2322.8-4916_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/467398/ltcube_696556801_696816001_4FGL_J2322.8-4916_daily_bin1764.fits outfile=/scratch/kocevski/467398/expmap_696556801_696816001_4FGL_J2322.8-4916_daily_bin1764.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/467398/ltcube_696556801_696816001_4FGL_J2322.8-4916_daily_bin1764.fits
.....................!
real 192.21
user 186.67
sys 5.03

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/467398/ft1_filtered_4FGL_J2322.8-4916_daily_bin1764.fits scfile=/scratch/kocevski/467398/ft2_4FGL_J2322.8-4916_daily_bin1764.fits outfile=/scratch/kocevski/467398/cmap_696556801_696816001_4FGL_J2322.8-4916_daily_bin1764.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.55
user 0.40
sys 0.14

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

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/467398/ft1_filtered_4FGL_J2322.8-4916_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/467398/ft2_4FGL_J2322.8-4916_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/467398/Model_4FGL_J2322.8-4916_daily_bin1764.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/467398/ft1_filtered_4FGL_J2322.8-4916_daily_bin1764.fits......................!
real 35.77
user 34.44
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76739E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    39.348       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53420E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .81262E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.0960       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.1521       1.0000          .0000       .10000E+07
     7 'Prefactor '    .62347       1.0000          .0000       .10000E+07
     8 'norm      '    .25578E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10531E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17004E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9753       1.0000          .0000       .10000E+07
    12 'Prefactor '    .82229E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48760E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    22.589       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.2493       1.0000          .0000       .10000E+07
    16 'norm      '    .49154E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .11946E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .10436E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    12.766       1.0000          .0000       .10000E+07
    20 'Prefactor '    .64154E-02   1.0000          .0000       .10000E+07
    21 'norm      '    8.0347       1.0000          .0000       .10000E+07
    22 'Prefactor '    .91527       1.0000          .0000       .10000E+07
    23 'norm      '    .89817E-07   1.0000          .0000       .10000E+07
    24 'norm      '    .30342E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    14.259       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.7880       1.0000          .0000       .10000E+07
    27 'Prefactor '    41.821       1.0000          .0000       .10000E+07
    28 'norm      '    .97622E-06   1.0000          .0000       .10000E+07
    29 'Prefactor '    .11958E-02   1.0000          .0000       .10000E+07
    30 'Prefactor '    2.3020       1.0000          .0000       .10000E+07
    31 'Normalizat'    .93509       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .89196       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=   4219.543     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     3110 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65448E-07    24.560        .70084E-06** at limit **
   2  Prefactor     39.492        1.3005        .20876E-07   -.70075E-02
   3  Prefactor     .14344E-06    10.881       -.87751E-06** at limit **
   4  Prefactor     .10103E-07    2.5936       -.14160E-05** at limit **
   5  Prefactor     4.2705        7.7060       -.63170E-07   -.89853E-03
   6  Prefactor     6.2096        8.3927        .76147E-07    .17963E-02
   7  Prefactor     .27084E-06    52.054       -.24815E-05** at limit **
   8  norm          .52977E-05    11.931       -.22606E-06** at limit **
   9  Prefactor     .15464E-05    14.626        .13736E-05** at limit **
  10  Prefactor     .93475E-06    11.095        .37639E-06** at limit **
  11  Prefactor     1.9734        2.7207       -.12936E-06    .52494E-02
  12  Prefactor     .10625E-06    13.087       -.83365E-06** at limit **
  13  Prefactor     .38841E-06    6.2470       -.29108E-08** at limit **
  14  Prefactor     24.062        24.336        .11934E-05   -.66005E-01
  15  Prefactor     4.2659        2.1143        .12624E-07    .11728E-01
  16  norm          .11824E-07    7.5272        .46894E-06** at limit **
  17  norm          .55511E-10    2.6517       -.10359E-06** at limit **
  18  norm          .57176E-08    2.6167        .15863E-05** at limit **
  19  Prefactor     12.604        8.6849        .22484E-06   -.80592E-02
  20  Prefactor     .60635E-05    25.678       -.36609E-06** at limit **
  21  norm          8.0360        4.7116       -.14993E-06    .93136E-02
  22  Prefactor     .92478        .74956       -.24483E-07    .54127E-03
  23  norm           .0000        .53067       -.43070E-07** at limit **
  24  norm           .0000        1.6349       -.72815E-07** at limit **
  25  Prefactor     14.148        1.4674       -.18767E-08   -.58780E-02
  26  Prefactor     1.7633        3.5650       -.10695E-06    .17469E-02
  27  Prefactor     42.415        2.7265        .33904E-07    .10622E-02
  28  norm          .48295E-08    8.5610        .52622E-06** at limit **
  29  Prefactor     .66613E-09    4.6000       -.20905E-07** at limit **
  30  Prefactor     2.2948        3.8124        .83274E-07   -.36805E-02
  31  Normalizat    .93504        .23753        .11318E-04   -.42887E-03
  32  Prefactor     .89118        .24544       -.95845E-05   -.13696E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.54476e-08
  Prefactor  = 39.4917
  Prefactor  = 1.43441e-07
  Prefactor  = 1.0103e-08
  Prefactor  = 4.2705
  Prefactor  = 6.20959
  Prefactor  = 2.70839e-07
  norm       = 5.29771e-06
  Prefactor  = 1.54643e-06
  Prefactor  = 9.34752e-07
  Prefactor  = 1.97343
  Prefactor  = 1.06248e-07
  Prefactor  = 3.88412e-07
  Prefactor  = 24.0618
  Prefactor  = 4.26592
  norm       = 1.18239e-08
  norm       = 5.55112e-11
  norm       = 5.71765e-09
  Prefactor  = 12.6036
  Prefactor  = 6.06348e-06
  norm       = 8.03604
  Prefactor  = 0.924783
  norm       = 0
  norm       = 0
  Prefactor  = 14.148
  Prefactor  = 1.76328
  Prefactor  = 42.4147
  norm       = 4.82947e-09
  Prefactor  = 6.66134e-10
  Prefactor  = 2.2948
  Normalizat = 0.935035
  Prefactor  = 0.891184
 **********
 **   18 **HESSE 
 **********

 FCN=   4219.543     FROM HESSE     STATUS=OK           719 CALLS     3829 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65448E-07    42.240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.492        26.948        .15944E-03   -1.5582    
   3  Prefactor     .14344E-06    25.894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10103E-07    2.6090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2705        7.7244        .49789E-03   -1.5667    
   6  Prefactor     6.2096        8.4302        .40452E-03   -1.5658    
   7  Prefactor     .27084E-06    154.65        .67151E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .52977E-05    34.842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15464E-05    3.3621        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .93475E-06    22.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9734        2.7376        .73734E-03   -1.5680    
  12  Prefactor     .10625E-06    13.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38841E-06    25.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.062        41.904        .21046E-03   -1.5610    
  15  Prefactor     4.2659        15.939        .48856E-03   -1.5667    
  16  norm          .11824E-07    7.5439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    2.6551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .57176E-08    2.6269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.604        12.028        .28010E-03   -1.5637    
  20  Prefactor     .60635E-05    52.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          8.0360        4.7192        .35348E-03   -1.5651    
  22  Prefactor     .92478        132.20        .44710E-03   -1.5689    
  23  norm           .0000        .52847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        1.6330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     14.148        20.967        .26499E-03   -1.5633    
  26  Prefactor     1.7633        3.9919        .78204E-03   -1.5681    
  27  Prefactor     42.415        34.673        .15465E-03   -1.5578    
  28  norm          .48295E-08    8.5863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .66613E-09    4.5908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     2.2948        3.8852        .67610E-03   -1.5678    
  31  Normalizat    .93504        .20689        .45348E-01   -.95240    
  32  Prefactor     .89118        .20763        .44903E-01   -.96450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1671e-07
Minuit parameter uncertainties:
  1  0.00332469
  2  26.9479
  3  0.00385466
  4  0.000324749
  5  7.7244
  6  8.43021
  7  0.0129443
  8  0.0271724
  9  0.00456033
  10  0.0091913
  11  2.73756
  12  0.00238513
  13  0.00630711
  14  41.904
  15  15.9393
  16  0.000596818
  17  2.63405e-05
  18  0.000245379
  19  12.0282
  20  0.0355344
  21  4.71919
  22  22.1147
  23  5.35656e-06
  24  3.23594e-06
  25  20.9676
  26  3.99194
  27  34.6735
  28  0.000406449
  29  0.000110342
  30  3.88525
  31  0.207067
  32  0.207819
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  5.551e-11  2.634e-05  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:  8.912e-01  2.078e-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.350e-01  2.071e-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: 2.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/467398/likelihoodResults_696556801_696816001_4FGL_J2322.8-4916_daily_bin1764.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4219.54349805
delta logL = -6.79167796989e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4219.54343671
delta logL = -6.58352564642e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58065E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    .89498E-01   1.0000          .0000       5.0000    
     3 'Normalizat'    .93496       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89166       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4219.543     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      238 TOTAL
                     EDM=   .28E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.8003        .42118E-03** at limit **
   2  alpha         2.5380        1.1647        .42213E-04     .0000    
   3  Normalizat    .93504        1.2686       -.78571E-05   -.57890E-04
   4  Prefactor     .89118        1.2367        .10835E-04   -.51898E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.53799
  Normalizat = 0.935041
  Prefactor  = 0.89118
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4219.543     FROM HESSE     STATUS=FAILED         9 CALLS      247 TOTAL
                     EDM=   .28E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.8003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3129        1.2208        .42213E-04    .15195E-01
   3  Normalizat    .93504        1.2686       -.78571E-05   -.95240    
   4  Prefactor     .89118        1.2367        .10835E-04   -.96450    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.79173e-12
Minuit parameter uncertainties:
  1  1.5169e-06
  2  1.21158
  3  1.31314
  4  1.27922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467398': 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): 101
logL (Free Index) = 4219.54343013
delta logL = 3.10137693305e-10

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  0.000e+00  1.517e-06  0.000e+00  1.000e+06 ( 1.000e-13)
435        alpha:  2.538e+00  1.212e+00  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:  8.912e-01  1.279e+00  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.350e-01  1.313e+00  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/467398/cmap_HighResolution_696556801_696816001_4FGL_J2322.8-4916_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-05', job_status='DONE', photon_flux_upper_limit='2.41e-08', time_completed='2023-01-31 02:20:41.523221', job_id='467398', GAL2='0.89', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1675160441.52', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.10e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.61' WHERE bin_id='1764' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:20:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 467398: <4FGL_J2322.8-4916_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 02:05:19 2023
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:06:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:06:17 2023
Terminated at Tue Jan 31 02:20:42 2023
Results reported at Tue Jan 31 02:20:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1764 350.708 -49.2725 696556801 696816001 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 :                                   638.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            923 sec.

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

