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


Performing analysis on: 4FGL_J1322.2+0842_weekly_bin734
RA = 200.551, Dec = 8.7036
tmin = 682905601, tmax = 683510401
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='253899', job_status='RUN', time_executed='2022-09-17 00:25:30.592695', time_epoch_executed='1663399530.59' WHERE source_name='4FGL J1322.2+0842' and cadence='weekly' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253899

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253899/ft1_4FGL_J1322.2+0842_weekly_bin734.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253899/ft1_4FGL_J1322.2+0842_weekly_bin734.fits outfile=/scratch/kocevski/253899/ft1_filteredMKT_4FGL_J1322.2+0842_weekly_bin734.fits ra=200.551 dec=8.7036 rad=12.0 tmin=682905601.0 tmax=683510401.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 9.68
user 9.33
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.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/253899/ft1_filteredMKT_4FGL_J1322.2+0842_weekly_bin734.fits evtable="EVENTS" outfile="/scratch/kocevski/253899/ft1_filtered_4FGL_J1322.2+0842_weekly_bin734.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.38
sys 0.16

Number of photons that the gtmktime cut: 1155

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253899/ft1_filtered_4FGL_J1322.2+0842_weekly_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/253899/ltcube_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.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/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits
.....................!
real 30.12
user 29.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253899/ft1_filtered_4FGL_J1322.2+0842_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/253899/ltcube_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.fits outfile=/scratch/kocevski/253899/expmap_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.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/253899/ltcube_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.fits
.....................!
real 193.39
user 187.48
sys 5.51

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

Setting source of interest to:
4FGL J1322.2+0842 @ 200.551 8.7036

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/253899/ft1_filtered_4FGL_J1322.2+0842_weekly_bin734.fits scfile=/scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits outfile=/scratch/kocevski/253899/cmap_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.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=200.551 yref=8.7036 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.59
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253899/ft1_filtered_4FGL_J1322.2+0842_weekly_bin734.fits scfile=/scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits outfile=/scratch/kocevski/253899/cmap_HighResolution_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.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=200.551 yref=8.7036 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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/253899/ft1_filtered_4FGL_J1322.2+0842_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253899/Model_4FGL_J1322.2+0842_weekly_bin734.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/253899/ft1_filtered_4FGL_J1322.2+0842_weekly_bin734.fits.....................!
real 91.65
user 90.21
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253899/ft1_filtered_4FGL_J1322.2+0842_weekly_bin734.fits', '/scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits', expMap='/scratch/kocevski/253899/expmap_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.fits', expCube='/scratch/kocevski/253899/ltcube_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253899/Model_4FGL_J1322.2+0842_weekly_bin734.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1322.2+0842'

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.652e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.262e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  1.418e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/253899/ft1_filtered_4FGL_J1322.2+0842_weekly_bin734.fits
Spacecraft file(s): /scratch/kocevski/253899/ft2_4FGL_J1322.2+0842_weekly_bin734.fits
Exposure map: /scratch/kocevski/253899/expmap_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.fits
Exposure cube: /scratch/kocevski/253899/ltcube_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253899/Model_4FGL_J1322.2+0842_weekly_bin734.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) = 13299.8443906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7700       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14513E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.933       1.0000          .0000       .10000E+07
     4 'Prefactor '    29.226       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.1609       1.0000          .0000       .10000E+07
     6 'Prefactor '    23.261       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45953E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .72997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .43798E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .30582E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .72745       1.0000          .0000       .10000E+07
    12 'Prefactor '    .50071E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72831E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    .96608       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0616       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13299.78     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      791 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7701        .92389       -.23683E-06    .43882E-02
   2  Prefactor     .17525E-06    37.934       -.92578E-06** at limit **
   3  Prefactor     14.769        10.982        .28813E-05    .43186E-01
   4  Prefactor     29.152        3.0981       -.25830E-06   -.27497E-02
   5  Prefactor     8.1186        6.9379        .25522E-06    .38770E-02
   6  Prefactor     23.534        5.8187       -.14821E-05    .16157    
   7  Prefactor     .18208E-07    2.9437       -.72368E-06** at limit **
   8  norm          .72164E-09    4.4089       -.34614E-06** at limit **
   9  Prefactor     .49960E-09    .98170        .11725E-07** at limit **
  10  Prefactor     .51514E-07    6.4722        .38489E-05** at limit **
  11  Prefactor     .73121        1.7154        .61385E-06    .41518E-02
  12  Prefactor     .12085E-06    5.8768       -.29286E-05** at limit **
  13  Prefactor     .55511E-10    3.3577       -.12132E-05** at limit **
  14  Normalizat    .96652        .16480       -.16524E-04   -.20688E-03
  15  Prefactor     1.0615        .12994        .89281E-05   -.19418E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.77015
  Prefactor  = 1.75249e-07
  Prefactor  = 14.7689
  Prefactor  = 29.1519
  Prefactor  = 8.11861
  Prefactor  = 23.5342
  Prefactor  = 1.82077e-08
  norm       = 7.21645e-10
  Prefactor  = 4.996e-10
  Prefactor  = 5.15143e-08
  Prefactor  = 0.731211
  Prefactor  = 1.20848e-07
  Prefactor  = 5.55112e-11
  Normalizat = 0.966524
  Prefactor  = 1.06151
 **********
 **   18 **HESSE 
 **********

 FCN=   13299.78     FROM HESSE     STATUS=OK           210 CALLS     1001 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7701        .93504        .78684E-03   -1.5681    
   2  Prefactor     .17525E-06    37.842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.769        11.606        .25892E-03   -1.5631    
   4  Prefactor     29.152        13.235        .18500E-03   -1.5600    
   5  Prefactor     8.1186        6.9453        .35071E-03   -1.5651    
   6  Prefactor     23.534        23.264        .20739E-03   -1.5611    
   7  Prefactor     .18208E-07    7.7126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .72164E-09    4.4258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .49960E-09    .98217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .51514E-07    8.1447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73121        1.7354        .58508E-03   -1.5691    
  12  Prefactor     .12085E-06    7.2146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    3.3872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .96652        .14117        .45741E-01   -.94161    
  15  Prefactor     1.0615        .10988        .39272E-01   -.90706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.53117e-07
Minuit parameter uncertainties:
  1  0.935037
  2  0.00515006
  3  11.6057
  4  13.2347
  5  6.94534
  6  23.2641
  7  0.000749561
  8  0.000113658
  9  4.49037e-05
  10  0.00129583
  11  1.73542
  12  0.00186755
  13  3.29145e-05
  14  0.141223
  15  0.109906
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  8.119e+00  6.945e+00  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.262e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  1.418e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.062e+00  1.099e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  9.665e-01  1.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.22
Ra Dec: 200.551 8.704
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 2.59e-08 +/- 2.22e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 8.94e-06

TS (Fixed Index): 2.22
Ra Dec: 200.551 8.704
Photon Flux Upper Limit: 7.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253899/likelihoodResults_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.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): 0
logL (Free Index) = 13299.7794338
delta logL = 8.64541580086e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13299.7794046
delta logL = 0.000115658784125

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0642       1.0000          .0000       .10000E+07
     2 'Index     '    2.2721       1.0000          .0000       10.000    
     3 'Normalizat'    .96612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0616       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13299.78     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      231 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0555        184.09        .35283E-03    .13409E-02
   2  Index         2.2709        3.5191        .16975        .15290E-03
   3  Normalizat    .96624        .59027E-01    .45741E-01    .23912E-04
   4  Prefactor     1.0616        .37470E-01    .39274E-01   -.24221E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.05551
  Index      = 2.27095
  Normalizat = 0.966245
  Prefactor  = 1.06164
 **********
 **   18 **HESSE 
 **********

 FCN=   13299.78     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0555        8.4145        .14113E-04   -1.5651    
   2  Index         2.2709        .59145        .98171E-02   -.57736    
   3  Normalizat    .96624        .16314        .28359E-03   -.94170    
   4  Prefactor     1.0616        .12947        .21554E-03   -.90702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.58301e-09
Minuit parameter uncertainties:
  1  8.4145
  2  0.593434
  3  0.163223
  4  0.129511
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253899': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13299.7793977
delta logL = 0.000122510691654

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  8.056e+00  8.415e+00  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.271e+00  5.934e-01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  1.418e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.062e+00  1.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  9.662e-01  1.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.22
Ra Dec: 200.551 8.704
Photon Index (Free Index): 2.27 +/- 0.59
Photon Flux (Free Index): 2.62e-08 +/- 2.60e-08
Energy Flux (Free Index): 1.04e-05 +/- 1.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/253899/cmap_HighResolution_682905601_683510401_4FGL_J1322.2+0842_weekly_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', comment='SUCCESS', photon_flux='2.59e-08', energy_flux2='1.04e-05', photon_flux_error='2.22e-08', dlogl='1.23e-04', energy_flux='1.04e-05', photon_flux2='2.62e-08', job_status='DONE', time_completed='2022-09-17 00:36:53.264483', photon_index_error2='0.59', photon_index2='2.27', ts='2.22', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='7.45e-08', energy_flux_error2='1.01e-05', EG='0.97', time_epoch_completed='1663400213.26', return_code='0', job_id='253899', GAL2='1.06', EG2='0.97', return_code2='0', energy_flux_error='8.94e-06', photon_flux_error2='2.60e-08', ts2='2.22', photon_index='2.26' WHERE bin_id='734' AND source_name='4FGL J1322.2+0842' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:36:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 253899: <4FGL_J1322.2+0842_weekly_bin734> in cluster <slac> Done

Job <4FGL_J1322.2+0842_weekly_bin734> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:44 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:22:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:22:18 2022
Terminated at Sat Sep 17 00:36:54 2022
Results reported at Sat Sep 17 00:36:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_weekly_bin734 200.551 8.7036 682905601 683510401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1322.2+0842 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   678.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            970 sec.

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

