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


Performing analysis on: 4FGL_J2322.6-0735_daily_bin1669
RA = 350.658, Dec = -7.5907
tmin = 671932801, tmax = 672192001
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='693468', job_status='RUN', time_executed='2022-04-21 00:41:06.855132', time_epoch_executed='1650526866.86' WHERE source_name='4FGL J2322.6-0735' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693468

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693468/ft1_4FGL_J2322.6-0735_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693468/ft1_4FGL_J2322.6-0735_daily_bin1669.fits outfile=/scratch/kocevski/693468/ft1_filteredMKT_4FGL_J2322.6-0735_daily_bin1669.fits ra=350.658 dec=-7.5907 rad=12.0 tmin=671932801.0 tmax=672192001.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.74
user 3.51
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.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/693468/ft1_filteredMKT_4FGL_J2322.6-0735_daily_bin1669.fits evtable="EVENTS" outfile="/scratch/kocevski/693468/ft1_filtered_4FGL_J2322.6-0735_daily_bin1669.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 579

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/693468/ft1_filtered_4FGL_J2322.6-0735_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/693468/ltcube_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.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/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.fits
.....................!
real 12.19
user 11.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693468/ft1_filtered_4FGL_J2322.6-0735_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/693468/ltcube_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.fits outfile=/scratch/kocevski/693468/expmap_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.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/693468/ltcube_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.fits
.....................!
real 191.42
user 185.52
sys 5.57

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/693468/ft1_filtered_4FGL_J2322.6-0735_daily_bin1669.fits scfile=/scratch/kocevski/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.fits outfile=/scratch/kocevski/693468/cmap_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.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 0.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/693468/ft1_filtered_4FGL_J2322.6-0735_daily_bin1669.fits scfile=/scratch/kocevski/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.fits outfile=/scratch/kocevski/693468/cmap_HighResolution_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/693468/ft1_filtered_4FGL_J2322.6-0735_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/693468/Model_4FGL_J2322.6-0735_daily_bin1669.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/693468/ft1_filtered_4FGL_J2322.6-0735_daily_bin1669.fits.....................!
real 56.62
user 55.21
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/693468/ft1_filtered_4FGL_J2322.6-0735_daily_bin1669.fits', '/scratch/kocevski/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.fits', expMap='/scratch/kocevski/693468/expmap_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.fits', expCube='/scratch/kocevski/693468/ltcube_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/693468/Model_4FGL_J2322.6-0735_daily_bin1669.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/693468/ft1_filtered_4FGL_J2322.6-0735_daily_bin1669.fits
Spacecraft file(s): /scratch/kocevski/693468/ft2_4FGL_J2322.6-0735_daily_bin1669.fits
Exposure map: /scratch/kocevski/693468/expmap_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.fits
Exposure cube: /scratch/kocevski/693468/ltcube_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/693468/Model_4FGL_J2322.6-0735_daily_bin1669.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6467.20917559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6467.14243674

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13635E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.440       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.251       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.3243       1.0000         .10000E-03   10000.    
     5 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6103       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13485E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.2065       1.0000         .10000E-03   10000.    
     9 'norm      '    25.376       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20749E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12569E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .47201E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.7368       1.0000         .10000E-03   10000.    
    15 'norm      '    2.2831       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.7178       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.078       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.225       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.549       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.6092       1.0000         .10000E-03   10000.    
    21 'norm      '    .21549E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13703E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .81588E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    28.183       1.0000         .10000E-03   10000.    
    25 'norm      '    .28328E-01   1.0000         .10000E-03   10000.    
    26 'norm      '    8.2236       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .73795E-02   1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.6329       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .57789       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1609       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6467.131     FROM MIGRAD    STATUS=CONVERGED    245 CALLS     2926 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.9172        .69159E-06** at limit **
   2  Prefactor     37.138        36.558       -.52943E-05    .16096E-02
   3  Prefactor     23.832        56.805       -.21354E-04   -.34082E-02
   4  Prefactor     2.1234        11.136       -.82282E-05    .46838E-03
   5  norm          .10000E-03    .54502       -.17614E-06** at limit **
   6  Prefactor     2.0039        16.454        .48737E-05    .53027E-04
   7  Prefactor     .10000E-03    12.956       -.42366E-06** at limit **
   8  Prefactor     8.2255        7.3781       -.10025E-04   -.43331E-02
   9  norm          25.608        10.831        .40027E-05   -.11609E-02
  10  Prefactor     .10000E-03    22.287       -.71421E-05** at limit **
  11  Prefactor     .10000E-03    12.002        .63807E-06** at limit **
  12  Prefactor     .10000E-03    8.4943        .25774E-05** at limit **
  13  Prefactor     .10000E-03    2.0477        .12477E-06** at limit **
  14  norm          1.7284        .89560       -.28068E-06    .55800E-03
  15  norm          2.2812        3.0687       -.49711E-06   -.26562E-04
  16  Prefactor     5.6070        10.858        .40317E-05   -.58324E-02
  17  Prefactor     20.453        46.531       -.21875E-04    .44588E-02
  18  Prefactor     23.446        21.913        .88249E-05   -.66059E-03
  19  Prefactor     44.030        141.96        .56085E-05   -.78079E-04
  20  Prefactor     9.1156        11.360        .57948E-06    .16981E-02
  21  norm          .10000E-03    10.154       -.25296E-06** at limit **
  22  Prefactor     .10049E-03    18.861        .86055E-04** at limit **
  23  Prefactor     .10000E-03    11.786       -.32834E-05** at limit **
  24  Prefactor     28.902        35.249       -.60081E-05    .32738E-02
  25  norm          .29802E-01    1.9027        .15115E-05   -.25249E-03
  26  norm          8.2240        4.7037       -.10300E-05    .29515E-03
  27  Prefactor     .10000E-03    41.741       -.17765E-04** at limit **
  28  Prefactor     8.6567        6.4475       -.17132E-04   -.82760E-02
  29  Normalizat    .57894        .21499        .12424E-04   -.17032E-03
  30  Prefactor     1.1596        .16827       -.39439E-05   -.44428E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 37.1383
  Prefactor  = 23.8325
  Prefactor  = 2.12336
  norm       = 0.0001
  Prefactor  = 2.00392
  Prefactor  = 0.0001
  Prefactor  = 8.22555
  norm       = 25.6081
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.72843
  norm       = 2.2812
  Prefactor  = 5.60701
  Prefactor  = 20.4532
  Prefactor  = 23.4458
  Prefactor  = 44.0302
  Prefactor  = 9.11555
  norm       = 0.0001
  Prefactor  = 0.000100485
  Prefactor  = 0.0001
  Prefactor  = 28.9018
  norm       = 0.029802
  norm       = 8.22396
  Prefactor  = 0.000100001
  Prefactor  = 8.65667
  Normalizat = 0.578935
  Prefactor  = 1.15962
 **********
 **   18 **HESSE 
 **********

 FCN=   6467.131     FROM HESSE     STATUS=NOT POSDEF   672 CALLS     3598 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3282        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     37.138        36.586        .15956E-02   -1.4488    
   3  Prefactor     23.832        71.301        .21228E-02   -1.4731    
   4  Prefactor     2.1234        1835.8        .67257E-02   -1.5417    
   5  norm          .10000E-03    .62621        .25243E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0039        7881.6        .83451E-02   -1.5425    
   7  Prefactor     .10000E-03    12.837        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.2255        8.0511        .34987E-02   -1.5134    
   9  norm          25.608        10.733        .19880E-02   -1.4695    
  10  Prefactor     .10000E-03    20.679        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.398        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.0557        .10593E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.9419        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7284        .87402        .79604E-02   -1.5445    
  15  norm          2.2812        3.0025        .67928E-02   -1.5406    
  16  Prefactor     5.6070        47.276        .41994E-02   -1.5234    
  17  Prefactor     20.453        67.272        .22925E-02   -1.4803    
  18  Prefactor     23.446        25.833        .20346E-02   -1.4739    
  19  Prefactor     44.030        137.52        .19437E-02   -1.4380    
  20  Prefactor     9.1156        12.019        .32319E-02   -1.5104    
  21  norm          .10000E-03    9.7069        .10080E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10049E-03    29.797        .10270E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.3088        .69455E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     28.902        37.209        .18866E-02   -1.4632    
  25  norm          .29802E-01    .48419        .15043E-01   -1.5673    
  26  norm          8.2240        4.5929        .34951E-02   -1.5134    
  27  Prefactor     .10000E-03    7.7317        .93067E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     8.6567        8.1714        .34107E-02   -1.5119    
  29  Normalizat    .57894        .20195        .72691E-01   -1.0889    
  30  Prefactor     1.1596        .13690        .35629E-01   -.87583    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.66509e-06
Minuit parameter uncertainties:
  1  0.000157525
  2  36.6079
  3  71.558
  4  129.058
  5  1.66822e-06
  6  248.086
  7  4.27235e-05
  8  8.05211
  9  10.734
  10  0.000243796
  11  0.000154473
  12  7.62475e-06
  13  1.19945e-05
  14  0.874031
  15  3.00273
  16  32.5969
  17  67.5229
  18  25.8453
  19  138.528
  20  12.0222
  21  7.26809e-05
  22  0.00760814
  23  3.05063e-05
  24  37.2386
  25  0.239847
  26  4.59311
  27  0.000208718
  28  8.17249
  29  0.20221
  30  0.136937
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6467.13110344

Extracting fit parameters...

4FGL J2322.6-0735
   Spectrum: PowerLaw
382    Prefactor:  1.000e-04  1.199e-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:  1.160e+00  1.369e-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:  5.789e-01  2.022e-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: 4.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/693468/likelihoodResults_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.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) = 6467.1333851
delta logL = -0.00228166680608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6467.13110306
delta logL = 3.77473043045e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3244       1.0000          .0000       10.000    
     3 'Normalizat'    .57895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1596       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6467.131     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      238 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10684E-03    2.0480        .11447E-01** at limit **
   2  Index         2.1143        7.9805        .50000        .62531E-04
   3  Normalizat    .57893        .38554E-02    .32180E-03   -.38649E-04
   4  Prefactor     1.1596        .32310E-02    .19457E-03    .22238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000106836
  Index      = 2.11427
  Normalizat = 0.578933
  Prefactor  = 1.15962
 **********
 **   18 **HESSE 
 **********

 FCN=   6467.131     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10684E-03    68.522        .12338E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1143        5.4113        .50000       -.61523    
   3  Normalizat    .57893        .22970E-01    .12872E-04   -1.0889    
   4  Prefactor     1.1596        .19248E-01    .38914E-04   -.87583    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.78279e-07
Minuit parameter uncertainties:
  1  0.0433366
  2  563.646
  3  0.0229705
  4  0.0192478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693468': 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) = 6467.13110063
delta logL = 2.80677249975e-06

Extracting fit parameters...

4FGL J2322.6-0735
   Spectrum: PowerLaw
382    Prefactor:  1.068e-04  4.334e-02  1.000e-04  1.000e+04 ( 1.000e-13)
383        Index:  2.114e+00  5.636e+02  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:  1.160e+00  1.925e-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:  5.789e-01  2.297e-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/693468/cmap_HighResolution_671932801_672192001_4FGL_J2322.6-0735_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-03', job_status='DONE', photon_flux_upper_limit='4.37e-08', time_completed='2022-04-21 00:54:23.450779', job_id='693468', GAL2='1.16', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1650527663.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='102', GAL='1.16', dlogl='2.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1669' AND source_name='4FGL J2322.6-0735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:54:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 693468: <4FGL_J2322.6-0735_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2322.6-0735_daily_bin1669> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Apr 21 00:40:15 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:40:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:40:16 2022
Terminated at Thu Apr 21 00:54:24 2022
Results reported at Thu Apr 21 00:54:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.6-0735_daily_bin1669 350.658 -7.5907 671932801 672192001 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 :                                   799.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            849 sec.

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

