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 37 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_J1422.3+3223_weekly_bin734
RA = 215.577, Dec = 32.3911
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='270818', job_status='RUN', time_executed='2022-09-17 01:16:30.957001', time_epoch_executed='1663402590.96' WHERE source_name='4FGL J1422.3+3223' and cadence='weekly' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/270818

Creating custom pfile directory:
/scratch/kocevski/270818/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/270818/ft1_4FGL_J1422.3+3223_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/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/270818/ft1_4FGL_J1422.3+3223_weekly_bin734.fits outfile=/scratch/kocevski/270818/ft1_filteredMKT_4FGL_J1422.3+3223_weekly_bin734.fits ra=215.577 dec=32.3911 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.77
user 9.38
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/270818/ft2_4FGL_J1422.3+3223_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/270818/ft1_filteredMKT_4FGL_J1422.3+3223_weekly_bin734.fits evtable="EVENTS" outfile="/scratch/kocevski/270818/ft1_filtered_4FGL_J1422.3+3223_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.56
user 0.39
sys 0.17

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/270818/ft1_filtered_4FGL_J1422.3+3223_weekly_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/270818/ltcube_682905601_683510401_4FGL_J1422.3+3223_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/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits
.....................!
real 33.76
user 32.55
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/270818/ft1_filtered_4FGL_J1422.3+3223_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/270818/ltcube_682905601_683510401_4FGL_J1422.3+3223_weekly_bin734.fits outfile=/scratch/kocevski/270818/expmap_682905601_683510401_4FGL_J1422.3+3223_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/270818/ltcube_682905601_683510401_4FGL_J1422.3+3223_weekly_bin734.fits
.....................!
real 194.33
user 186.09
sys 6.55

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

Setting source of interest to:
4FGL J1422.3+3223 @ 215.577 32.3911

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/270818/ft1_filtered_4FGL_J1422.3+3223_weekly_bin734.fits scfile=/scratch/kocevski/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits outfile=/scratch/kocevski/270818/cmap_682905601_683510401_4FGL_J1422.3+3223_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=215.577 yref=32.3911 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.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/270818/ft1_filtered_4FGL_J1422.3+3223_weekly_bin734.fits scfile=/scratch/kocevski/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits outfile=/scratch/kocevski/270818/cmap_HighResolution_682905601_683510401_4FGL_J1422.3+3223_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=215.577 yref=32.3911 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.42
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/270818/ft1_filtered_4FGL_J1422.3+3223_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/270818/Model_4FGL_J1422.3+3223_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/270818/ft1_filtered_4FGL_J1422.3+3223_weekly_bin734.fits.....................!
real 93.22
user 91.34
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/270818/ft1_filtered_4FGL_J1422.3+3223_weekly_bin734.fits', '/scratch/kocevski/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits', expMap='/scratch/kocevski/270818/expmap_682905601_683510401_4FGL_J1422.3+3223_weekly_bin734.fits', expCube='/scratch/kocevski/270818/ltcube_682905601_683510401_4FGL_J1422.3+3223_weekly_bin734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/270818/Model_4FGL_J1422.3+3223_weekly_bin734.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1422.3+3223'

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.864e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.401e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.500e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/270818/ft1_filtered_4FGL_J1422.3+3223_weekly_bin734.fits
Spacecraft file(s): /scratch/kocevski/270818/ft2_4FGL_J1422.3+3223_weekly_bin734.fits
Exposure map: /scratch/kocevski/270818/expmap_682905601_683510401_4FGL_J1422.3+3223_weekly_bin734.fits
Exposure cube: /scratch/kocevski/270818/ltcube_682905601_683510401_4FGL_J1422.3+3223_weekly_bin734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/270818/Model_4FGL_J1422.3+3223_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) = 13925.5037382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3780       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27039E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .45815       1.0000          .0000       .10000E+07
     4 'norm      '    1.1497       1.0000          .0000       .10000E+07
     5 'norm      '    1.9283       1.0000          .0000       .10000E+07
     6 'Prefactor '    .82545E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    18.286       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.675       1.0000          .0000       .10000E+07
     9 'norm      '    .12569E-03   1.0000          .0000       .10000E+07
    10 'norm      '    5.3227       1.0000          .0000       .10000E+07
    11 'norm      '    .95425       1.0000          .0000       .10000E+07
    12 'norm      '    4.1290       1.0000          .0000       .10000E+07
    13 'Prefactor '    88.147       1.0000          .0000       .10000E+07
    14 'norm      '    10.144       1.0000          .0000       .10000E+07
    15 'Prefactor '    .67104E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1654       1.0000          .0000       .10000E+07
    17 'norm      '    1.8026       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0886       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96979       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13925.44     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1156 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4116        7.1125        .14429E-05    .12725E-01
   2  Prefactor     .81546E-07    13.311       -.18884E-05** at limit **
   3  Prefactor     .45251        5.3805       -.55584E-06   -.15003E-02
   4  norm          1.1821        4.3336       -.90727E-07    .11260E-03
   5  norm          1.9311        1.8118       -.77193E-07   -.22621E-02
   6  Prefactor     .33862E-08    5.9340        .27713E-06** at limit **
   7  Prefactor     18.228        10.529        .14343E-05    .39681E-01
   8  Prefactor     11.661        3.2576        .35494E-07    .23085E-02
   9  norm          .24647E-07    4.4841       -.98790E-06** at limit **
  10  norm          5.3221        2.0522        .69376E-07    .10244E-02
  11  norm          .94160        3.5069       -.25575E-06   -.11576E-02
  12  norm          4.1327        2.4857       -.58459E-07   -.49996E-02
  13  Prefactor     88.003        8.8382       -.71820E-06    .22445    
  14  norm          10.217        5.0528       -.29167E-06   -.73318E-03
  15  Prefactor     .32890E-06    12.479        .22437E-05** at limit **
  16  Prefactor     1.1867        3.9235        .89832E-06   -.78266E-03
  17  norm          1.8008        .99644       -.76606E-07    .14207E-02
  18  Normalizat    1.0888        .14433       -.57611E-05    .81383E-03
  19  Prefactor     .96973        .14493        .52671E-05    .59230E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.41163
  Prefactor  = 8.15459e-08
  Prefactor  = 0.452506
  norm       = 1.18209
  norm       = 1.93106
  Prefactor  = 3.38618e-09
  Prefactor  = 18.2281
  Prefactor  = 11.6606
  norm       = 2.4647e-08
  norm       = 5.32213
  norm       = 0.941603
  norm       = 4.13267
  Prefactor  = 88.0033
  norm       = 10.2166
  Prefactor  = 3.28904e-07
  Prefactor  = 1.18667
  norm       = 1.80077
  Normalizat = 1.08879
  Prefactor  = 0.969734
 **********
 **   18 **HESSE 
 **********

 FCN=   13925.44     FROM HESSE     STATUS=OK           314 CALLS     1470 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4116        12.009        .32701E-03   -1.5647    
   2  Prefactor     .81546E-07    13.475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .45251        1.9057        .48012E-02   -1.5695    
   4  norm          1.1821        4.3776        .10793E-02   -1.5686    
   5  norm          1.9311        1.8147        .74776E-03   -1.5680    
   6  Prefactor     .33862E-08    6.5094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.228        11.850        .23394E-03   -1.5623    
   8  Prefactor     11.661        3.2488        .29294E-03   -1.5640    
   9  norm          .24647E-07    4.8343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3221        2.0576        .43539E-03   -1.5662    
  11  norm          .94160        3.5204        .42138E-03   -1.5689    
  12  norm          4.1327        2.4924        .49583E-03   -1.5667    
  13  Prefactor     88.003        27.100        .10652E-03   -1.5520    
  14  norm          10.217        5.0556        .31437E-03   -1.5644    
  15  Prefactor     .32890E-06    12.910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.1867        4.0016        .10648E-02   -1.5686    
  17  norm          1.8008        1.0150        .77821E-03   -1.5681    
  18  Normalizat    1.0888        .12782        .38486E-01   -.90112    
  19  Prefactor     .96973        .12541        .45888E-01   -.93745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67515e-06
Minuit parameter uncertainties:
  1  12.0093
  2  0.00209631
  3  1.85724
  4  4.37757
  5  1.81469
  6  0.000297917
  7  11.8504
  8  3.24884
  9  0.00069033
  10  2.05765
  11  3.52037
  12  2.49243
  13  27.1003
  14  5.05563
  15  0.00412129
  16  4.0016
  17  1.01497
  18  0.127858
  19  0.12545
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.166e+01  3.249e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.401e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.500e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  9.697e-01  1.254e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.089e+00  1.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.73
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.05e-07 +/- 2.93e-08
Energy Flux (Fixed Index): 3.44e-05 +/- 9.58e-06

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) = 13925.4150157
delta logL = 0.0242746679451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13925.4036917
delta logL = 0.0355986400409

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13925.40     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.156        44.799        .28705E-03    .49502E-02
   2  Index         2.3287        2.5538        .14190        .17396E-03
   3  Normalizat    1.0958        .89988E-01    .38175E-01   -.14059E-05
   4  Prefactor     .96472        .72376E-01    .45825E-01    .30436E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1564
  Index      = 2.3287
  Normalizat = 1.0958
  Prefactor  = 0.964723
 **********
 **   18 **HESSE 
 **********

 FCN=   13925.40     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.156        3.8741        .11004E-04   -1.5638    
   2  Index         2.3287        .27266        .55064E-02   -.56363    
   3  Normalizat    1.0958        .13666        .24065E-03   -.89887    
   4  Prefactor     .96472        .14198        .26897E-03   -.93915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12534e-11
Minuit parameter uncertainties:
  1  3.87412
  2  0.272851
  3  0.136706
  4  0.142032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/270818': 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) = 13925.4036915
delta logL = 0.0355988655556

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.216e+01  3.874e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.329e+00  2.729e-01  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  7.500e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  9.647e-01  1.420e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.096e+00  1.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.70
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.33 +/- 0.27
Photon Flux (Free Index): 9.98e-08 +/- 3.41e-08
Energy Flux (Free Index): 3.62e-05 +/- 1.28e-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/270818/cmap_HighResolution_682905601_683510401_4FGL_J1422.3+3223_weekly_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.05e-07', energy_flux2='3.62e-05', photon_flux_error='2.93e-08', dlogl='3.56e-02', energy_flux='3.44e-05', photon_flux2='9.98e-08', job_status='DONE', time_completed='2022-09-17 01:28:53.074232', photon_index_error2='0.27', photon_index2='2.33', ts='29.73', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='1.09', time_epoch_completed='1663403333.07', return_code='0', job_id='270818', GAL2='0.96', EG2='1.10', return_code2='0', energy_flux_error='9.58e-06', photon_flux_error2='3.41e-08', ts2='29.70', photon_index='2.40' WHERE bin_id='734' AND source_name='4FGL J1422.3+3223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 01:28:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 270818: <4FGL_J1422.3+3223_weekly_bin734> in cluster <slac> Done

Job <4FGL_J1422.3+3223_weekly_bin734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 17 01:15:24 2022
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 01:15:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 01:15:45 2022
Terminated at Sat Sep 17 01:28:53 2022
Results reported at Sat Sep 17 01:28:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_weekly_bin734 215.577 32.3911 682905601 683510401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1422.3+3223 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   731.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             341.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            809 sec.

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

