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


Performing analysis on: 4FGL_J1422.3+3223_weekly_bin733
RA = 215.577, Dec = 32.3911
tmin = 682300801, tmax = 682905601
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='270816', job_status='RUN', time_executed='2022-09-17 01:18:08.791848', time_epoch_executed='1663402688.79' WHERE source_name='4FGL J1422.3+3223' and cadence='weekly' and bin_id='733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/270816

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/270816/ft1_4FGL_J1422.3+3223_weekly_bin733.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/270816/ft2_4FGL_J1422.3+3223_weekly_bin733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/270816/ft1_4FGL_J1422.3+3223_weekly_bin733.fits outfile=/scratch/kocevski/270816/ft1_filteredMKT_4FGL_J1422.3+3223_weekly_bin733.fits ra=215.577 dec=32.3911 rad=12.0 tmin=682300801.0 tmax=682905601.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.91
user 7.55
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/270816/ft2_4FGL_J1422.3+3223_weekly_bin733.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/270816/ft1_filteredMKT_4FGL_J1422.3+3223_weekly_bin733.fits evtable="EVENTS" outfile="/scratch/kocevski/270816/ft1_filtered_4FGL_J1422.3+3223_weekly_bin733.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.37
sys 0.16

Number of photons that the gtmktime cut: 1345

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/270816/ft1_filtered_4FGL_J1422.3+3223_weekly_bin733.fits" evtable="EVENTS" scfile=/scratch/kocevski/270816/ft2_4FGL_J1422.3+3223_weekly_bin733.fits sctable="SC_DATA" outfile=/scratch/kocevski/270816/ltcube_682300801_682905601_4FGL_J1422.3+3223_weekly_bin733.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/270816/ft2_4FGL_J1422.3+3223_weekly_bin733.fits
.....................!
real 31.78
user 31.18
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/270816/ft1_filtered_4FGL_J1422.3+3223_weekly_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/270816/ft2_4FGL_J1422.3+3223_weekly_bin733.fits sctable="SC_DATA" expcube=/scratch/kocevski/270816/ltcube_682300801_682905601_4FGL_J1422.3+3223_weekly_bin733.fits outfile=/scratch/kocevski/270816/expmap_682300801_682905601_4FGL_J1422.3+3223_weekly_bin733.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/270816/ltcube_682300801_682905601_4FGL_J1422.3+3223_weekly_bin733.fits
.....................!
real 194.01
user 186.47
sys 5.27

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/270816/ft1_filtered_4FGL_J1422.3+3223_weekly_bin733.fits scfile=/scratch/kocevski/270816/ft2_4FGL_J1422.3+3223_weekly_bin733.fits outfile=/scratch/kocevski/270816/cmap_682300801_682905601_4FGL_J1422.3+3223_weekly_bin733.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.61
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/270816/ft1_filtered_4FGL_J1422.3+3223_weekly_bin733.fits scfile=/scratch/kocevski/270816/ft2_4FGL_J1422.3+3223_weekly_bin733.fits outfile=/scratch/kocevski/270816/cmap_HighResolution_682300801_682905601_4FGL_J1422.3+3223_weekly_bin733.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24451E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    18.832       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.055       1.0000          .0000       .10000E+07
     4 'norm      '    3.3782       1.0000          .0000       .10000E+07
     5 'norm      '    4.7881       1.0000          .0000       .10000E+07
     6 'Prefactor '    .27025E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9153       1.0000          .0000       .10000E+07
     8 'Prefactor '    24.020       1.0000          .0000       .10000E+07
     9 'norm      '    .48706E-03   1.0000          .0000       .10000E+07
    10 'norm      '    7.6058       1.0000          .0000       .10000E+07
    11 'norm      '    .25606       1.0000          .0000       .10000E+07
    12 'norm      '    7.6963       1.0000          .0000       .10000E+07
    13 'Prefactor '    84.367       1.0000          .0000       .10000E+07
    14 'norm      '    .17928E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.4485       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.8467       1.0000          .0000       .10000E+07
    17 'norm      '    1.6224       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2085       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85112       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=   15164.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1387 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.2637        .21576E-05** at limit **
   2  Prefactor     19.209        16.626       -.33364E-05    .10246E-01
   3  Prefactor     10.057        3.3153       -.11027E-06   -.43286E-03
   4  norm          3.4178        4.1971       -.16662E-05   -.37684E-01
   5  norm          4.7862        2.6757       -.85513E-07   -.11476E-02
   6  Prefactor     .11546E-07    8.3593       -.50567E-06** at limit **
   7  Prefactor     1.9399        10.751       -.33546E-05    .15827E-01
   8  Prefactor     24.037        4.4486       -.16147E-06    .11164E-02
   9  norm          .55511E-10    2.7006        .82758E-06** at limit **
  10  norm          7.6070        2.0150       -.15303E-06   -.30912E-02
  11  norm          .29294        22.760        .59801E-05    .27894E-03
  12  norm          7.6987        3.2202       -.28276E-06   -.14202E-02
  13  Prefactor     84.900        32.007        .27079E-05    .87602E-03
  14  norm          .55511E-10    1.6602       -.10582E-05** at limit **
  15  Prefactor     5.4965        2.0918        .50236E-06    .48635E-01
  16  Prefactor     2.8381        3.0383        .10233E-06    .45164E-03
  17  norm          1.6244        1.0974       -.34061E-06   -.19507E-02
  18  Normalizat    1.2074        .15296        .54538E-06    .93937E-04
  19  Prefactor     .85133        .14457       -.23758E-05    .35974E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 19.2089
  Prefactor  = 10.057
  norm       = 3.41778
  norm       = 4.78625
  Prefactor  = 1.15463e-08
  Prefactor  = 1.9399
  Prefactor  = 24.0365
  norm       = 5.55112e-11
  norm       = 7.60696
  norm       = 0.29294
  norm       = 7.69865
  Prefactor  = 84.9005
  norm       = 5.55112e-11
  Prefactor  = 5.49649
  Prefactor  = 2.83808
  norm       = 1.62444
  Normalizat = 1.20742
  Prefactor  = 0.851333
 **********
 **   18 **HESSE 
 **********

 FCN=   15164.36     FROM HESSE     STATUS=OK           318 CALLS     1705 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.2695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.209        16.704        .23052E-03   -1.5620    
   3  Prefactor     10.057        3.3067        .31575E-03   -1.5645    
   4  norm          3.4178        9.6822        .55028E-03   -1.5671    
   5  norm          4.7862        2.6827        .45954E-03   -1.5664    
   6  Prefactor     .11546E-07    8.4504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9399        13.416        .75072E-03   -1.5680    
   8  Prefactor     24.037        4.4361        .20409E-03   -1.5610    
   9  norm          .55511E-10    2.7092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.6070        2.0129        .36339E-03   -1.5653    
  11  norm          .29294        3.2831        .65768E-02   -1.5697    
  12  norm          7.6987        3.2173        .36123E-03   -1.5652    
  13  Prefactor     84.900        31.969        .10888E-03   -1.5524    
  14  norm          .55511E-10    1.6596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.4965        10.238        .43024E-03   -1.5661    
  16  Prefactor     2.8381        3.0549        .60237E-03   -1.5674    
  17  norm          1.6244        1.1022        .83046E-04   -1.5682    
  18  Normalizat    1.2074        .12787        .56998E-01   -.86374    
  19  Prefactor     .85133        .12094        .66910E-01   -.97863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12402e-07
Minuit parameter uncertainties:
  1  1.85159e-05
  2  16.7037
  3  3.30673
  4  9.68224
  5  2.68266
  6  0.00062459
  7  10.2033
  8  4.43615
  9  2.86031e-05
  10  2.01288
  11  1.96139
  12  3.2173
  13  31.9693
  14  2.15666e-05
  15  10.2378
  16  3.05488
  17  1.10225
  18  0.127903
  19  0.120981
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  2.404e+01  4.436e+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:  8.513e-01  1.210e-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.207e+00  1.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 76.36
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 2.17e-07 +/- 3.99e-08
Energy Flux (Fixed Index): 7.09e-05 +/- 1.31e-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) = 15164.1644911
delta logL = 0.193204663179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15164.105267
delta logL = 0.252428704393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.045       1.0000          .0000       .10000E+07
     2 'Index     '    2.5263       1.0000          .0000       10.000    
     3 'Normalizat'    1.1879       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86499       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15164.11     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      282 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.045        5.1400        .85215E-05   -.35381E-02
   2  Index         2.5263        .18309        .35676E-02    .97305E-03
   3  Normalizat    1.1879        .14519        .25368E-03    .14430E-04
   4  Prefactor     .86499        .14313        .29388E-03    .17563E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0454
  Index      = 2.52626
  Normalizat = 1.1879
  Prefactor  = 0.864989
 **********
 **   18 **HESSE 
 **********

 FCN=   15164.11     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.045        5.0515        .34086E-06   -1.5614    
   2  Index         2.5263        .17984        .71352E-03   -.51754    
   3  Normalizat    1.1879        .14531        .10147E-04   -.86978    
   4  Prefactor     .86499        .14324        .11755E-04   -.97375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92036e-12
Minuit parameter uncertainties:
  1  5.05151
  2  0.179895
  3  0.145361
  4  0.143297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/270816': 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) = 15164.105267
delta logL = 0.252428764563

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  2.205e+01  5.052e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.526e+00  1.799e-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:  8.650e-01  1.433e-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.188e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 76.75
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.53 +/- 0.18
Photon Flux (Free Index): 2.35e-07 +/- 4.88e-08
Energy Flux (Free Index): 6.62e-05 +/- 1.33e-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/270816/cmap_HighResolution_682300801_682905601_4FGL_J1422.3+3223_weekly_bin733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.17e-07', energy_flux2='6.62e-05', photon_flux_error='3.99e-08', dlogl='2.52e-01', energy_flux='7.09e-05', photon_flux2='2.35e-07', job_status='DONE', time_completed='2022-09-17 01:31:30.080862', photon_index_error2='0.18', photon_index2='2.53', ts='76.36', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='1.21', time_epoch_completed='1663403490.08', return_code='0', job_id='270816', GAL2='0.86', EG2='1.19', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='4.88e-08', ts2='76.75', photon_index='2.40' WHERE bin_id='733' AND source_name='4FGL J1422.3+3223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 01:31:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 270816: <4FGL_J1422.3+3223_weekly_bin733> in cluster <slac> Done

Job <4FGL_J1422.3+3223_weekly_bin733> 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) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 01:15:42 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:42 2022
Terminated at Sat Sep 17 01:31:30 2022
Results reported at Sat Sep 17 01:31:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_weekly_bin733 215.577 32.3911 682300801 682905601 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 :                                   793.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            966 sec.

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

