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 64 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7529
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2322.6-0735_daily_bin1676
RA = 350.658, Dec = -7.5907
tmin = 673747201, tmax = 674006401
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='68790', job_status='RUN', time_executed='2022-05-12 01:32:11.290611', time_epoch_executed='1652344331.29' WHERE source_name='4FGL J2322.6-0735' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68790

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68790/ft1_4FGL_J2322.6-0735_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68790/ft1_4FGL_J2322.6-0735_daily_bin1676.fits outfile=/scratch/kocevski/68790/ft1_filteredMKT_4FGL_J2322.6-0735_daily_bin1676.fits ra=350.658 dec=-7.5907 rad=12.0 tmin=673747201.0 tmax=674006401.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.91
user 3.64
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.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/68790/ft1_filteredMKT_4FGL_J2322.6-0735_daily_bin1676.fits evtable="EVENTS" outfile="/scratch/kocevski/68790/ft1_filtered_4FGL_J2322.6-0735_daily_bin1676.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.34
sys 0.16

Number of photons that the gtmktime cut: 503

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68790/ft1_filtered_4FGL_J2322.6-0735_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/68790/ltcube_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.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/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits
.....................!
real 15.70
user 15.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68790/ft1_filtered_4FGL_J2322.6-0735_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/68790/ltcube_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.fits outfile=/scratch/kocevski/68790/expmap_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.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/68790/ltcube_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.fits
.....................!
real 192.78
user 186.59
sys 5.82

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J2322.6-0735 @ 350.658 -7.5907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/68790/ft1_filtered_4FGL_J2322.6-0735_daily_bin1676.fits scfile=/scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits outfile=/scratch/kocevski/68790/cmap_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.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.658 yref=-7.5907 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 5.90
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68790/ft1_filtered_4FGL_J2322.6-0735_daily_bin1676.fits scfile=/scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits outfile=/scratch/kocevski/68790/cmap_HighResolution_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.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.658 yref=-7.5907 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.60
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/68790/ft1_filtered_4FGL_J2322.6-0735_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/68790/Model_4FGL_J2322.6-0735_daily_bin1676.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/68790/ft1_filtered_4FGL_J2322.6-0735_daily_bin1676.fits.....................!
real 51.73
user 50.40
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/68790/ft1_filtered_4FGL_J2322.6-0735_daily_bin1676.fits', '/scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits', expMap='/scratch/kocevski/68790/expmap_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.fits', expCube='/scratch/kocevski/68790/ltcube_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/68790/Model_4FGL_J2322.6-0735_daily_bin1676.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2322.6-0735'

4FGL J2322.6-0735
   Spectrum: PowerLaw
382    Prefactor:  1.363e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
383        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
384        Scale:  1.470e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/68790/ft1_filtered_4FGL_J2322.6-0735_daily_bin1676.fits
Spacecraft file(s): /scratch/kocevski/68790/ft2_4FGL_J2322.6-0735_daily_bin1676.fits
Exposure map: /scratch/kocevski/68790/expmap_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.fits
Exposure cube: /scratch/kocevski/68790/ltcube_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/68790/Model_4FGL_J2322.6-0735_daily_bin1676.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) = 5567.33033686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    80.525       1.0000         .10000E-03   10000.    
     3 'Prefactor '    63.862       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .84457E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6904       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .15922E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.806       1.0000         .10000E-03   10000.    
    11 'Prefactor '    60.355       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.914       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .37822       1.0000         .10000E-03   10000.    
    15 'norm      '    2.3893       1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.406       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.579       1.0000         .10000E-03   10000.    
    21 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.684       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    24.514       1.0000         .10000E-03   10000.    
    25 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    23.327       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0925       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5567.315     FROM MIGRAD    STATUS=CONVERGED    774 CALLS     3948 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6644       -.30884E-07** at limit **
   2  Prefactor     80.512        61.631        .15700E-05    .37532E-04
   3  Prefactor     63.792        116.08        .10913E-04    .75910E-04
   4  Prefactor     .10000E-03    9.6111       -.11298E-06** at limit **
   5  norm          .10000E-03    .48798        .12082E-06** at limit **
   6  Prefactor     .10000E-03    19.011        .79282E-06** at limit **
   7  Prefactor     2.6900        8.3016        .42125E-05    .49069E-03
   8  Prefactor     .10000E-03    20.977       -.83536E-07** at limit **
   9  norm          .10096E-03    15.924       -.49770E-05** at limit **
  10  Prefactor     14.807        14.643        .13736E-06    .29318E-04
  11  Prefactor     60.324        60.957        .34125E-05    .97215E-04
  12  Prefactor     12.914        21.447        .26654E-06   -.37553E-05
  13  Prefactor     .10000E-03    4.2988       -.49548E-06** at limit **
  14  norm          .37936        .72326       -.69833E-07   -.40922E-03
  15  norm          2.3894        3.3792       -.10931E-06   -.42527E-04
  16  Prefactor     39.405        34.824        .23617E-06    .10328E-04
  17  Prefactor     .10000E-03    16.623       -.12644E-06** at limit **
  18  Prefactor     .10000E-03    6.2129        .33513E-07** at limit **
  19  Prefactor     .10000E-03    66.614       -.17965E-05** at limit **
  20  Prefactor     20.573        12.334        .27557E-06    .93139E-04
  21  norm          .10000E-03    20.050       -.45115E-07** at limit **
  22  Prefactor     21.658        51.958        .40352E-05    .51098E-04
  23  Prefactor     .10000E-03    2.3609        .23002E-07** at limit **
  24  Prefactor     24.514        28.748        .29833E-06    .24335E-05
  25  norm          .10000E-03    .23535       -.14763E-07** at limit **
  26  norm          23.325        7.1637        .11183E-06    .59642E-04
  27  Prefactor     .10000E-03    4.9991        .24562E-07** at limit **
  28  Prefactor     .10000E-03    5.9212        .52904E-07** at limit **
  29  Normalizat    1.0927        .21039        .23776E-06    .16843E-03
  30  Prefactor     .93939        .16063       -.21415E-05    .94707E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 80.5116
  Prefactor  = 63.792
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.68996
  Prefactor  = 0.0001
  norm       = 0.000100956
  Prefactor  = 14.8072
  Prefactor  = 60.3236
  Prefactor  = 12.9135
  Prefactor  = 0.0001
  norm       = 0.37936
  norm       = 2.38935
  Prefactor  = 39.4049
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.5734
  norm       = 0.0001
  Prefactor  = 21.6581
  Prefactor  = 0.0001
  Prefactor  = 24.5137
  norm       = 0.0001
  norm       = 23.3245
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09274
  Prefactor  = 0.939389
 **********
 **   18 **HESSE 
 **********

 FCN=   5567.315     FROM HESSE     STATUS=OK           596 CALLS     4544 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.6763        .15735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     80.512        61.653        .44757E-04   -1.3911    
   3  Prefactor     63.792        116.18        .25108E-03   -1.4109    
   4  Prefactor     .10000E-03    13.152        .67107E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .76052        .94927E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6900        8.5097        .12420E-02   -1.5380    
   8  Prefactor     .10000E-03    21.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10096E-03    67.869        .42931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.807        14.645        .10409E-03   -1.4938    
  11  Prefactor     60.324        61.441        .51645E-04   -1.4153    
  12  Prefactor     12.914        21.442        .11146E-03   -1.4989    
  13  Prefactor     .10000E-03    4.3142        .15111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .37936        .61130        .83197E-03   -1.5585    
  15  norm          2.3894        3.3605        .15750E-03   -1.5399    
  16  Prefactor     39.405        34.823        .63851E-04   -1.4452    
  17  Prefactor     .10000E-03    16.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.2257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    66.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.573        12.236        .44146E-03   -1.4800    
  21  norm          .10000E-03    20.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     21.658        52.067        .86017E-04   -1.4777    
  23  Prefactor     .10000E-03    2.3988        .11166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     24.514        28.744        .80905E-04   -1.4717    
  25  norm          .10000E-03    .26398        .68586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          23.325        6.9881        .82935E-04   -1.4742    
  27  Prefactor     .10000E-03    5.0047        .16293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    6.0030        .17725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0927        .24873        .26943E-03   -.89985    
  30  Prefactor     .93939        .18712        .22648E-03   -.94778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46488e-08
Minuit parameter uncertainties:
  1  2.47551e-06
  2  61.7017
  3  116.599
  4  4.38586e-05
  5  1.3114e-06
  6  6.68736e-05
  7  8.51351
  8  7.53316e-05
  9  0.0161249
  10  14.6482
  11  61.506
  12  21.4551
  13  5.34851e-05
  14  0.611314
  15  3.36074
  16  34.8407
  17  2.86494e-06
  18  4.91399e-06
  19  0.000228654
  20  12.2379
  21  1.45123e-06
  22  52.1766
  23  1.78249e-06
  24  28.7598
  25  1.86169e-07
  26  6.98835
  27  3.59405e-06
  28  1.14806e-05
  29  0.248999
  30  0.187253
Done.

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

Extracting fit parameters...

4FGL J2322.6-0735
   Spectrum: PowerLaw
382    Prefactor:  1.000e-04  5.349e-05  1.000e-04  1.000e+04 ( 1.000e-13)
383        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
384        Scale:  1.470e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.394e-01  1.873e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  1.093e+00  2.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 350.658 -7.591
Photon Flux Upper Limit: 7.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/68790/likelihoodResults_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.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) = 5567.31561343
delta logL = -0.00110262757153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5567.31451079
delta logL = 1.66319296113e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3379       1.0000          .0000       10.000    
     3 'Normalizat'    1.0927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93940       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5567.315     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    160.61        .90712E-02** at limit **
   2  Index         2.3299        5.3700        .50000        .15598E-04
   3  Normalizat    1.0927        .32685E-01    .60918E-01   -.40902E-04
   4  Prefactor     .93939        .25812E-01    .45505E-01   -.11981E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.32994
  Normalizat = 1.09274
  Prefactor  = 0.939391
 **********
 **   18 **HESSE 
 **********

 FCN=   5567.315     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    708.83        .15153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3299        5.6968        .50000       -.56334    
   3  Normalizat    1.0927        .90475E-01    .26943E-03   -.89985    
   4  Prefactor     .93939        .71483E-01    .22649E-03   -.94778    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.47444e-08
Minuit parameter uncertainties:
  1  0.000389055
  2  54.7525
  3  0.0904876
  4  0.0714897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68790': 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) = 5567.31451075
delta logL = 5.9611920733e-08

Extracting fit parameters...

4FGL J2322.6-0735
   Spectrum: PowerLaw
382    Prefactor:  1.000e-04  3.891e-04  1.000e-04  1.000e+04 ( 1.000e-13)
383        Index:  2.330e+00  5.475e+01  0.000e+00  1.000e+01 (-1.000e+00)
384        Scale:  1.470e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.394e-01  7.149e-02  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  1.093e+00  9.049e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 350.658 -7.591

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/68790/cmap_HighResolution_673747201_674006401_4FGL_J2322.6-0735_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2022-05-12 01:44:59.618642', job_id='68790', GAL2='0.94', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1652345099.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.96e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1676' AND source_name='4FGL J2322.6-0735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:44:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 68790: <4FGL_J2322.6-0735_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2322.6-0735_daily_bin1676> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu May 12 01:30:28 2022
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:30:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:30:49 2022
Terminated at Thu May 12 01:45:00 2022
Results reported at Thu May 12 01:45:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.6-0735_daily_bin1676 350.658 -7.5907 673747201 674006401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2322.6-0735 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   765.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            872 sec.

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

