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


Performing analysis on: 4FGL_J2322.8-4916_daily_bin1771
RA = 350.708, Dec = -49.2725
tmin = 698371201, tmax = 698630401
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='573490', job_status='RUN', time_executed='2023-02-21 02:32:36.433666', time_epoch_executed='1676975556.43' WHERE source_name='4FGL J2322.8-4916' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/573490

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/573490/ft1_4FGL_J2322.8-4916_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/573490/ft2_4FGL_J2322.8-4916_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/573490/ft1_4FGL_J2322.8-4916_daily_bin1771.fits outfile=/scratch/kocevski/573490/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1771.fits ra=350.708 dec=-49.2725 rad=12.0 tmin=698371201.0 tmax=698630401.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.26
user 2.90
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/573490/ft2_4FGL_J2322.8-4916_daily_bin1771.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/573490/ft1_filteredMKT_4FGL_J2322.8-4916_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/573490/ft1_filtered_4FGL_J2322.8-4916_daily_bin1771.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.55
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/573490/ft1_filtered_4FGL_J2322.8-4916_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/573490/ft2_4FGL_J2322.8-4916_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/573490/ltcube_698371201_698630401_4FGL_J2322.8-4916_daily_bin1771.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/573490/ft2_4FGL_J2322.8-4916_daily_bin1771.fits
.....................!
real 12.43
user 12.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/573490/ft1_filtered_4FGL_J2322.8-4916_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/573490/ft2_4FGL_J2322.8-4916_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/573490/ltcube_698371201_698630401_4FGL_J2322.8-4916_daily_bin1771.fits outfile=/scratch/kocevski/573490/expmap_698371201_698630401_4FGL_J2322.8-4916_daily_bin1771.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/573490/ltcube_698371201_698630401_4FGL_J2322.8-4916_daily_bin1771.fits
.....................!
real 190.65
user 185.49
sys 4.79

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

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

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/573490/ft1_filtered_4FGL_J2322.8-4916_daily_bin1771.fits scfile=/scratch/kocevski/573490/ft2_4FGL_J2322.8-4916_daily_bin1771.fits outfile=/scratch/kocevski/573490/cmap_HighResolution_698371201_698630401_4FGL_J2322.8-4916_daily_bin1771.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.74
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/573490/ft1_filtered_4FGL_J2322.8-4916_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/573490/ft2_4FGL_J2322.8-4916_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/573490/Model_4FGL_J2322.8-4916_daily_bin1771.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/573490/ft1_filtered_4FGL_J2322.8-4916_daily_bin1771.fits.....................!
real 17.77
user 15.79
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12306E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .56638E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .27005E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .52863E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .31503E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19512E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.4384       1.0000          .0000       .10000E+07
     8 'norm      '    .15438E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11609E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    396.27       1.0000          .0000       .10000E+07
    11 'Prefactor '    .37250E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20844E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .99466E+06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .35711E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    56525.       1.0000          .0000       .10000E+07
    16 'norm      '    4.8585       1.0000          .0000       .10000E+07
    17 'norm      '    1.0690       1.0000          .0000       .10000E+07
    18 'norm      '    .38832E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .69813E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10429E-01   1.0000          .0000       .10000E+07
    21 'norm      '    .38936E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .12311E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .49366E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .48461E-06   1.0000          .0000       .10000E+07
    25 'Prefactor '    10.105       1.0000          .0000       .10000E+07
    26 'Prefactor '    7.6686       1.0000          .0000       .10000E+07
    27 'Prefactor '    .37164E-04   1.0000          .0000       .10000E+07
    28 'norm      '    21.094       1.0000          .0000       .10000E+07
    29 'Prefactor '    .62178E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    10.646       1.0000          .0000       .10000E+07
    31 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    32 'Prefactor '    .26115       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=   566.5468     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     4107 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        41.370       -.25123E-07** at limit **
   2  Prefactor     .16653E-09    19.216        .71459E-07** at limit **
   3  Prefactor     .11102E-09    21.428       -.28183E-07** at limit **
   4  Prefactor     .22204E-09    13.129        .88101E-07** at limit **
   5  Prefactor      .0000        4.2546       -.45792E-08** at limit **
   6  Prefactor      .0000        7.4829        .11718E-07** at limit **
   7  Prefactor     .55511E-10    99.095        .83849E-07** at limit **
   8  norm           .0000        11.645        .32119E-07** at limit **
   9  Prefactor     .16653E-09    16.682       -.71421E-07** at limit **
  10  Prefactor     .43368E-02    962.68       -.23877E-05** at limit **
  11  Prefactor     .55511E-10    10.373       -.43140E-07** at limit **
  12  Prefactor     .55511E-10    28.360       -.15362E-08** at limit **
  13  Prefactor     .99471E+06    72.419        .43660E-07   -2.0488    
  14  Prefactor     .11213E-07    186.67       -.22930E-06** at limit **
  15  Prefactor     56532.        10.548        .19562E-08   -.95061    
  16  norm          .20484E-06    790.75       -.63588E-06** at limit **
  17  norm          .37748E-08    776.66       -.26693E-06** at limit **
  18  norm          .11102E-09    20.077        .47218E-07** at limit **
  19  Prefactor     .37748E-08    136.15        .36588E-06** at limit **
  20  Prefactor     .14599E-07    74.668        .68349E-06** at limit **
  21  norm           .0000        7.2783       -.25613E-07** at limit **
  22  Prefactor     .22371E-07    81.171       -.82724E-06** at limit **
  23  norm           .0000        14.622       -.26369E-07** at limit **
  24  norm           .0000        4.6072       -.12592E-07** at limit **
  25  Prefactor     .67080E-06    682.80       -.33041E-05** at limit **
  26  Prefactor     8.4825        15.288        .39092E-06    .59190E-03
  27  Prefactor      .0000        27.476       -.74763E-07** at limit **
  28  norm          4.8132        483.62        .10983E-04    .60067E-03
  29  Prefactor      .0000        6.6731       -.28750E-07** at limit **
  30  Prefactor     10.662        9.1590        .12313E-08   -.21102E-03
  31  Normalizat    .10000E-01    .37349E-01    .94475E-07** at limit **
  32  Prefactor     .26293        .14774        .27057E-06   -.26273E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0.00433683
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 994709
  Prefactor  = 1.12133e-08
  Prefactor  = 56531.8
  norm       = 2.04836e-07
  norm       = 3.77476e-09
  norm       = 1.11022e-10
  Prefactor  = 3.77476e-09
  Prefactor  = 1.45994e-08
  norm       = 0
  Prefactor  = 2.2371e-08
  norm       = 0
  norm       = 0
  Prefactor  = 6.70797e-07
  Prefactor  = 8.48254
  Prefactor  = 0
  norm       = 4.81317
  Prefactor  = 0
  Prefactor  = 10.6623
  Normalizat = 0.01
  Prefactor  = 0.262934
 **********
 **   18 **HESSE 
 **********

 FCN=   566.5468     FROM HESSE     STATUS=OK           695 CALLS     4802 TOTAL
                     EDM=   .31E+00    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        41.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    19.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    21.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    13.178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        4.2621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        7.5021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    99.187        .65496E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        11.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    16.761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .43368E-02    974.52        .50245E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    10.415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    28.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .99471E+06    19129.        .13724E-04    1.4252    
  14  Prefactor     .11213E-07    187.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     56532.        31004.        .52009E-05   -1.0907    
  16  norm          .20484E-06    792.88        .45613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .37748E-08    785.37        .11757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .11102E-09    20.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .37748E-08    136.53        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .14599E-07    75.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        7.3089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .22371E-07    83.001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        14.635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        4.6090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .67080E-06    704.27        .31496E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     8.4825        15.216        .36189E-03   -1.5650    
  27  Prefactor      .0000        27.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          4.8132        503.82        .21780E-03   -1.5752    
  29  Prefactor      .0000        6.7214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     10.662        9.2106        .30683E-03   -1.5643    
  31  Normalizat    .10000E-01    .37432E-01    .64446E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .26293        .15220        .36207E-01   -1.2451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.306481
Minuit parameter uncertainties:
  1  2.08578e-05
  2  0.000115255
  3  9.62917e-05
  4  0.000109598
  5  3.27911e-06
  6  7.5743e-06
  7  0.000129247
  8  3.34061e-05
  9  0.000108889
  10  4.11228
  11  3.90848e-05
  12  6.5069e-05
  13  19358.3
  14  0.00289551
  15  31097.5
  16  0.0254923
  17  0.0034342
  18  8.61611e-05
  19  0.00143641
  20  0.00210822
  21  2.4387e-05
  22  0.00272417
  23  2.94636e-05
  24  8.87974e-06
  25  0.0434754
  26  15.2161
  27  4.63424e-05
  28  98.4963
  29  2.20735e-05
  30  9.21061
  31  2.13244e-08
  32  0.152435
Done.

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

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  3.775e-09  3.434e-03  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:  2.629e-01  1.524e-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.000e-02  2.132e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 350.708 -49.273
Photon Flux Upper Limit: 6.86e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.51e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/573490/likelihoodResults_698371201_698630401_4FGL_J2322.8-4916_daily_bin1771.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) = 566.547359118
delta logL = -0.00060697711308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 566.546752141
delta logL = -4.56225279777e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89817E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    2.4423       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .26294       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=   566.5468     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      221 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24658E-06    821.46        .23640E-04** at limit **
   2  alpha         1.5122        4.2119       -.11339E-02    .13209E-09
   3  Normalizat    .10000E-01    .37435E-01    .81383E-05** at limit **
   4  Prefactor     .26293        .14654       -.12058E-04   -.14256E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.46581e-07
  alpha      = 1.51225
  Normalizat = 0.01
  Prefactor  = 0.262934
 **********
 **   18 **HESSE 
 **********

 FCN=   566.5468     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      254 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24658E-06    1067.5        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5122        2.9313        .41166       -.40618    
   3  Normalizat    .10000E-01    .97085E-04    .64446E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26293        .74752E-02    .36234E-01   -1.2451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.67727e-10
Minuit parameter uncertainties:
  1  0.0324562
  2  58979.5
  3  1.85821e-09
  4  0.00747527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/573490': 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): 102
logL (Free Index) = 566.546752141
delta logL = -1.45405465446e-10

Extracting fit parameters...

4FGL J2322.8-4916
   Spectrum: LogParabola
434         norm:  2.466e-07  3.246e-02  0.000e+00  1.000e+06 ( 1.000e-13)
435        alpha:  1.512e+00  5.898e+04  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:  2.629e-01  7.475e-03  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.000e-02  1.858e-09  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/573490/cmap_HighResolution_698371201_698630401_4FGL_J2322.8-4916_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-02', job_status='DONE', photon_flux_upper_limit='6.86e-06', time_completed='2023-02-21 02:39:00.420058', job_id='573490', GAL2='0.26', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1676975940.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.26', dlogl='-1.45e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.61' WHERE bin_id='1771' AND source_name='4FGL J2322.8-4916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 02:39:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0284>
Subject: Job 573490: <4FGL_J2322.8-4916_daily_bin1771> in cluster <slac> Done

Job <4FGL_J2322.8-4916_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 02:30:14 2023
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:30:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:30:15 2023
Terminated at Tue Feb 21 02:39:00 2023
Results reported at Tue Feb 21 02:39:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.8-4916_daily_bin1771 350.708 -49.2725 698371201 698630401 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 :                                   385.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   525 sec.
    Turnaround time :                            526 sec.

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

