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


Performing analysis on: 4FGL_J1422.3+3223_weekly_bin751
RA = 215.577, Dec = 32.3911
tmin = 693187201, tmax = 693792001
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='676605', job_status='RUN', time_executed='2022-12-27 01:18:12.060063', time_epoch_executed='1672132692.06' WHERE source_name='4FGL J1422.3+3223' and cadence='weekly' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676605

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676605/ft1_4FGL_J1422.3+3223_weekly_bin751.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676605/ft1_4FGL_J1422.3+3223_weekly_bin751.fits outfile=/scratch/kocevski/676605/ft1_filteredMKT_4FGL_J1422.3+3223_weekly_bin751.fits ra=215.577 dec=32.3911 rad=12.0 tmin=693187201.0 tmax=693792001.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 7.73
user 7.33
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.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/676605/ft1_filteredMKT_4FGL_J1422.3+3223_weekly_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/676605/ft1_filtered_4FGL_J1422.3+3223_weekly_bin751.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.60
user 0.40
sys 0.14

Number of photons that the gtmktime cut: 1332

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676605/ft1_filtered_4FGL_J1422.3+3223_weekly_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/676605/ltcube_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.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/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.fits
.....................!
real 36.27
user 35.10
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676605/ft1_filtered_4FGL_J1422.3+3223_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/676605/ltcube_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.fits outfile=/scratch/kocevski/676605/expmap_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.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/676605/ltcube_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.fits
.....................!
real 193.16
user 186.44
sys 4.34

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/676605/ft1_filtered_4FGL_J1422.3+3223_weekly_bin751.fits scfile=/scratch/kocevski/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.fits outfile=/scratch/kocevski/676605/cmap_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.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.59
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676605/ft1_filtered_4FGL_J1422.3+3223_weekly_bin751.fits scfile=/scratch/kocevski/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.fits outfile=/scratch/kocevski/676605/cmap_HighResolution_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.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.59
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/676605/ft1_filtered_4FGL_J1422.3+3223_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/676605/Model_4FGL_J1422.3+3223_weekly_bin751.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/676605/ft1_filtered_4FGL_J1422.3+3223_weekly_bin751.fits.....................!
real 95.62
user 93.34
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/676605/ft1_filtered_4FGL_J1422.3+3223_weekly_bin751.fits', '/scratch/kocevski/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.fits', expMap='/scratch/kocevski/676605/expmap_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.fits', expCube='/scratch/kocevski/676605/ltcube_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/676605/Model_4FGL_J1422.3+3223_weekly_bin751.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/676605/ft1_filtered_4FGL_J1422.3+3223_weekly_bin751.fits
Spacecraft file(s): /scratch/kocevski/676605/ft2_4FGL_J1422.3+3223_weekly_bin751.fits
Exposure map: /scratch/kocevski/676605/expmap_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.fits
Exposure cube: /scratch/kocevski/676605/ltcube_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/676605/Model_4FGL_J1422.3+3223_weekly_bin751.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) = 14259.6890646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6451       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.696       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0489       1.0000          .0000       .10000E+07
     4 'norm      '    3.3554       1.0000          .0000       .10000E+07
     5 'norm      '    2.2082       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17900E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.293       1.0000          .0000       .10000E+07
     8 'Prefactor '    41.622       1.0000          .0000       .10000E+07
     9 'norm      '    .13294E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.0961       1.0000          .0000       .10000E+07
    11 'norm      '    .19773E-05   1.0000          .0000       .10000E+07
    12 'norm      '    5.0498       1.0000          .0000       .10000E+07
    13 'Prefactor '    57.633       1.0000          .0000       .10000E+07
    14 'norm      '    .24513       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28885E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.5782       1.0000          .0000       .10000E+07
    17 'norm      '    1.1518       1.0000          .0000       .10000E+07
    18 'Normalizat'    .86688       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0284       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=   14259.66     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1371 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6377        8.3765       -.12600E-05   -.79728E-03
   2  Prefactor     13.685        4.2358        .68157E-06   -.12354E-01
   3  Prefactor     4.0552        2.4952       -.23446E-07   -.96237E-03
   4  norm          3.3606        6.1604       -.12701E-06    .22065E-03
   5  norm          2.2080        1.9547       -.12631E-06    .14058E-01
   6  Prefactor     .13711E-07    5.0657       -.18185E-05** at limit **
   7  Prefactor     11.458        8.2858       -.75304E-06    .17423E-01
   8  Prefactor     41.624        4.7035       -.25204E-07   -.14632E-03
   9  norm          .14932E-07    2.9484       -.13820E-05** at limit **
  10  norm          4.0973        1.6307        .27526E-07    .90383E-02
  11  norm           .0000        10.687        .59887E-06** at limit **
  12  norm          5.0596        2.5260        .12255E-07    .61987E-02
  13  Prefactor     59.094        24.323        .54484E-07   -.36301E-02
  14  norm          .29702        17.443       -.27222E-05   -.29180E-02
  15  Prefactor     .24425E-08    4.1116        .22228E-05** at limit **
  16  Prefactor     1.5469        4.3628        .14704E-07   -.12438E-02
  17  norm          1.1577        1.0833       -.60593E-07   -.38522E-02
  18  Normalizat    .86551        .13772        .23033E-05    .24474E-03
  19  Prefactor     1.0286        .14171       -.25532E-06    .21242E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.63769
  Prefactor  = 13.6852
  Prefactor  = 4.05524
  norm       = 3.36055
  norm       = 2.20795
  Prefactor  = 1.37113e-08
  Prefactor  = 11.4577
  Prefactor  = 41.6241
  norm       = 1.49325e-08
  norm       = 4.09732
  norm       = 0
  norm       = 5.05958
  Prefactor  = 59.0942
  norm       = 0.297024
  Prefactor  = 2.44249e-09
  Prefactor  = 1.54691
  norm       = 1.15765
  Normalizat = 0.865508
  Prefactor  = 1.02858
 **********
 **   18 **HESSE 
 **********

 FCN=   14259.66     FROM HESSE     STATUS=OK           316 CALLS     1687 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6377        8.5630        .32243E-03   -1.5646    
   2  Prefactor     13.685        11.017        .27039E-03   -1.5634    
   3  Prefactor     4.0552        2.4933        .50087E-03   -1.5668    
   4  norm          3.3606        6.1695        .55223E-03   -1.5671    
   5  norm          2.2080        1.9615        .69196E-03   -1.5678    
   6  Prefactor     .13711E-07    6.3239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.458        11.182        .29786E-03   -1.5640    
   8  Prefactor     41.624        4.6972        .15502E-03   -1.5579    
   9  norm          .14932E-07    4.5464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.0973        1.6247        .49788E-03   -1.5667    
  11  norm           .0000        10.545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.0596        2.5245        .44723E-03   -1.5663    
  13  Prefactor     59.094        24.319        .13173E-03   -1.5554    
  14  norm          .29702        3.0289        .77598E-02   -1.5697    
  15  Prefactor     .24425E-08    4.6210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5469        4.5332        .84527E-03   -1.5683    
  17  norm          1.1577        1.1385        .10773E-02   -1.5686    
  18  Normalizat    .86551        .12041        .44477E-01   -.97683    
  19  Prefactor     1.0286        .12221        .41389E-01   -.91783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25389e-06
Minuit parameter uncertainties:
  1  8.56298
  2  11.0169
  3  2.49332
  4  6.16956
  5  1.96153
  6  0.00058846
  7  11.1821
  8  4.69723
  9  0.000520845
  10  1.62469
  11  2.41764e-05
  12  2.52447
  13  24.3193
  14  1.89699
  15  0.000212813
  16  4.53319
  17  1.13852
  18  0.120447
  19  0.122246
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  4.162e+01  4.697e+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:  1.029e+00  1.222e-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:  8.655e-01  1.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 250.61
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 3.75e-07 +/- 4.23e-08
Energy Flux (Fixed Index): 1.23e-04 +/- 1.39e-05

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) = 14259.3208914
delta logL = 0.335200731803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14259.1069035
delta logL = 0.549188602663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.613       1.0000          .0000       .10000E+07
     2 'Index     '    2.2846       1.0000          .0000       10.000    
     3 'Normalizat'    .88907       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0109       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=   14259.11     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.613        9.9724        .14808E-03   -.22934E-01
   2  Index         2.2846        .17072        .54110E-01    .20736E-03
   3  Normalizat    .88908        .11509        .44762E-01    .34721E-04
   4  Prefactor     1.0109        .12095        .43193E-01    .21082E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.6126
  Index      = 2.28462
  Normalizat = 0.889078
  Prefactor  = 1.01094
 **********
 **   18 **HESSE 
 **********

 FCN=   14259.11     FROM HESSE     STATUS=OK            29 CALLS      234 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.613        6.2818        .59232E-05   -1.5573    
   2  Index         2.2846        .10894        .23629E-03   -.57410    
   3  Normalizat    .88908        .13263        .25435E-03   -.96845    
   4  Prefactor     1.0109        .13934        .25604E-03   -.92366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61529e-10
Minuit parameter uncertainties:
  1  6.28181
  2  0.108953
  3  0.132677
  4  0.139394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676605': 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) = 14259.1069035
delta logL = 0.54918860402

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  4.561e+01  6.282e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.285e+00  1.090e-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:  1.011e+00  1.394e-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:  8.891e-01  1.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 250.22
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.28 +/- 0.11
Photon Flux (Free Index): 3.55e-07 +/- 4.52e-08
Energy Flux (Free Index): 1.38e-04 +/- 2.26e-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/676605/cmap_HighResolution_693187201_693792001_4FGL_J1422.3+3223_weekly_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.75e-07', energy_flux2='1.38e-04', photon_flux_error='4.23e-08', dlogl='5.49e-01', energy_flux='1.23e-04', photon_flux2='3.55e-07', job_status='DONE', time_completed='2022-12-27 01:31:08.781292', photon_index_error2='0.11', photon_index2='2.28', ts='250.61', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.26e-05', EG='0.87', time_epoch_completed='1672133468.78', return_code='0', job_id='676605', GAL2='1.01', EG2='0.89', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='4.52e-08', ts2='250.22', photon_index='2.40' WHERE bin_id='751' AND source_name='4FGL J1422.3+3223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 27 01:31:08 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 676605: <4FGL_J1422.3+3223_weekly_bin751> in cluster <slac> Done

Job <4FGL_J1422.3+3223_weekly_bin751> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Dec 27 01:15:26 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 27 01:17:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 27 01:17:07 2022
Terminated at Tue Dec 27 01:31:09 2022
Results reported at Tue Dec 27 01:31:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_weekly_bin751 215.577 32.3911 693187201 693792001 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 :                                   769.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             346.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            943 sec.

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

