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


Performing analysis on: 4FGL_J1422.3+3223_weekly_bin736
RA = 215.577, Dec = 32.3911
tmin = 684115201, tmax = 684720001
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='270821', job_status='RUN', time_executed='2022-09-17 01:16:49.308905', time_epoch_executed='1663402609.31' WHERE source_name='4FGL J1422.3+3223' and cadence='weekly' and bin_id='736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/270821

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/270821/ft1_4FGL_J1422.3+3223_weekly_bin736.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/270821/ft2_4FGL_J1422.3+3223_weekly_bin736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/270821/ft1_4FGL_J1422.3+3223_weekly_bin736.fits outfile=/scratch/kocevski/270821/ft1_filteredMKT_4FGL_J1422.3+3223_weekly_bin736.fits ra=215.577 dec=32.3911 rad=12.0 tmin=684115201.0 tmax=684720001.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.50
user 9.13
sys 0.31

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

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

Number of photons that the gtmktime cut: 1273

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/270821/ft1_filtered_4FGL_J1422.3+3223_weekly_bin736.fits" evtable="EVENTS" scfile=/scratch/kocevski/270821/ft2_4FGL_J1422.3+3223_weekly_bin736.fits sctable="SC_DATA" outfile=/scratch/kocevski/270821/ltcube_684115201_684720001_4FGL_J1422.3+3223_weekly_bin736.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/270821/ft2_4FGL_J1422.3+3223_weekly_bin736.fits
.....................!
real 30.83
user 30.32
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/270821/ft1_filtered_4FGL_J1422.3+3223_weekly_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/270821/ft2_4FGL_J1422.3+3223_weekly_bin736.fits sctable="SC_DATA" expcube=/scratch/kocevski/270821/ltcube_684115201_684720001_4FGL_J1422.3+3223_weekly_bin736.fits outfile=/scratch/kocevski/270821/expmap_684115201_684720001_4FGL_J1422.3+3223_weekly_bin736.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/270821/ltcube_684115201_684720001_4FGL_J1422.3+3223_weekly_bin736.fits
.....................!
real 191.71
user 185.63
sys 5.52

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/270821/ft1_filtered_4FGL_J1422.3+3223_weekly_bin736.fits scfile=/scratch/kocevski/270821/ft2_4FGL_J1422.3+3223_weekly_bin736.fits outfile=/scratch/kocevski/270821/cmap_684115201_684720001_4FGL_J1422.3+3223_weekly_bin736.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.58
user 0.43
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/270821/ft1_filtered_4FGL_J1422.3+3223_weekly_bin736.fits scfile=/scratch/kocevski/270821/ft2_4FGL_J1422.3+3223_weekly_bin736.fits outfile=/scratch/kocevski/270821/cmap_HighResolution_684115201_684720001_4FGL_J1422.3+3223_weekly_bin736.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/270821/ft1_filtered_4FGL_J1422.3+3223_weekly_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/270821/ft2_4FGL_J1422.3+3223_weekly_bin736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/270821/Model_4FGL_J1422.3+3223_weekly_bin736.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/270821/ft1_filtered_4FGL_J1422.3+3223_weekly_bin736.fits.....................!
real 89.66
user 88.13
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45725E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12796E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.072       1.0000          .0000       .10000E+07
     4 'norm      '    18.821       1.0000          .0000       .10000E+07
     5 'norm      '    .26844E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.1738       1.0000          .0000       .10000E+07
     7 'Prefactor '    .25677E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    27.396       1.0000          .0000       .10000E+07
     9 'norm      '    .15136E-04   1.0000          .0000       .10000E+07
    10 'norm      '    3.9038       1.0000          .0000       .10000E+07
    11 'norm      '    .75445E-05   1.0000          .0000       .10000E+07
    12 'norm      '    7.9748       1.0000          .0000       .10000E+07
    13 'Prefactor '    48.671       1.0000          .0000       .10000E+07
    14 'norm      '    4.8443       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9977       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.1110       1.0000          .0000       .10000E+07
    17 'norm      '    .32924       1.0000          .0000       .10000E+07
    18 'Normalizat'    .95828       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94783       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=   13520.23     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1126 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        13.310       -.30393E-06** at limit **
   2  Prefactor      .0000        6.5018       -.12811E-08** at limit **
   3  Prefactor     10.094        3.1391       -.25665E-07    .32323E-03
   4  norm          18.803        9.5642       -.12171E-07    .41942E-04
   5  norm           .0000        .70708       -.13719E-07** at limit **
   6  Prefactor     6.2342        8.3653        .58659E-08    .53266E-04
   7  Prefactor      .0000        60.962       -.63886E-06** at limit **
   8  Prefactor     27.454        4.0890        .11059E-07   -.20906E-03
   9  norm           .0000        3.4581        .18297E-06** at limit **
  10  norm          3.9029        1.4526       -.13490E-07   -.38245E-04
  11  norm           .0000        1.6131        .16481E-07** at limit **
  12  norm          7.9656        3.2525        .87693E-08    .12340E-03
  13  Prefactor     48.508        22.232        .61878E-07   -.24311E-04
  14  norm          4.8559        4.2452        .62694E-07   -.43080E-04
  15  Prefactor     3.0046        4.1432       -.12978E-06    .18683E-03
  16  Prefactor     3.1148        3.5088        .36252E-08   -.12236E-03
  17  norm          .33048        .83948        .69844E-07   -.51078E-03
  18  Normalizat    .95749        .13873        .29910E-06    .12304E-04
  19  Prefactor     .94831        .14022       -.11958E-05    .16027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.0944
  norm       = 18.8027
  norm       = 0
  Prefactor  = 6.23422
  Prefactor  = 0
  Prefactor  = 27.4539
  norm       = 0
  norm       = 3.90295
  norm       = 0
  norm       = 7.96564
  Prefactor  = 48.5077
  norm       = 4.8559
  Prefactor  = 3.00462
  Prefactor  = 3.11484
  norm       = 0.330483
  Normalizat = 0.95749
  Prefactor  = 0.948311
 **********
 **   18 **HESSE 
 **********

 FCN=   13520.23     FROM HESSE     STATUS=OK           310 CALLS     1436 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        13.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.5132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.094        3.1426        .31548E-03   -1.5644    
   4  norm          18.803        9.5448        .23058E-03   -1.5621    
   5  norm           .0000        .70832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.2342        8.4025        .40380E-03   -1.5658    
   7  Prefactor      .0000        60.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.454        4.0800        .19109E-03   -1.5603    
   9  norm           .0000        3.4654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.9029        1.4507        .51040E-03   -1.5668    
  11  norm           .0000        1.6225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.9656        3.2553        .35481E-03   -1.5652    
  13  Prefactor     48.508        22.208        .14335E-03   -1.5569    
  14  norm          4.8559        4.2543        .45681E-03   -1.5664    
  15  Prefactor     3.0046        4.1586        .58603E-03   -1.5673    
  16  Prefactor     3.1148        3.6130        .57463E-03   -1.5673    
  17  norm          .33048        .86807        .98190E-03   -1.5696    
  18  Normalizat    .95749        .11906        .45642E-01   -.94468    
  19  Prefactor     .94831        .12055        .45612E-01   -.94473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10282e-08
Minuit parameter uncertainties:
  1  9.69045e-06
  2  3.50817e-06
  3  3.14264
  4  9.54483
  5  2.11699e-07
  6  8.40252
  7  5.35183e-05
  8  4.08002
  9  2.20404e-06
  10  1.45067
  11  6.39785e-07
  12  3.25532
  13  22.2079
  14  4.25427
  15  4.15862
  16  3.61303
  17  0.868066
  18  0.119092
  19  0.120584
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  2.745e+01  4.080e+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.483e-01  1.206e-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:  9.575e-01  1.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 117.28
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 2.47e-07 +/- 3.67e-08
Energy Flux (Fixed Index): 8.10e-05 +/- 1.20e-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) = 13520.0153038
delta logL = 0.214195383189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13520.0040459
delta logL = 0.225453309376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.180       1.0000          .0000       .10000E+07
     2 'Index     '    2.5059       1.0000          .0000       10.000    
     3 'Normalizat'    .94069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96055       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=   13520.00     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      231 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.180        50.564        .19933E-03    .11276E-01
   2  Index         2.5059        1.4928        .64349E-01    .15080E-03
   3  Normalizat    .94069        .11838        .45419E-01   -.35236E-03
   4  Prefactor     .96056        .10894        .45772E-01   -.37496E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.1795
  Index      = 2.50592
  Normalizat = 0.940695
  Prefactor  = 0.960557
 **********
 **   18 **HESSE 
 **********

 FCN=   13520.00     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.180        5.2419        .79731E-05   -1.5608    
   2  Index         2.5059        .16261        .27826E-02   -.52223    
   3  Normalizat    .94069        .13381        .24506E-03   -.95045    
   4  Prefactor     .96056        .13952        .25784E-03   -.94056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64098e-10
Minuit parameter uncertainties:
  1  5.24193
  2  0.162645
  3  0.13386
  4  0.139568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/270821': 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) = 13520.0040458
delta logL = 0.225453337296

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  2.518e+01  5.242e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.506e+00  1.626e-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.606e-01  1.396e-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:  9.407e-01  1.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 117.27
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.51 +/- 0.16
Photon Flux (Free Index): 2.61e-07 +/- 4.26e-08
Energy Flux (Free Index): 7.52e-05 +/- 1.36e-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/270821/cmap_HighResolution_684115201_684720001_4FGL_J1422.3+3223_weekly_bin736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.47e-07', energy_flux2='7.52e-05', photon_flux_error='3.67e-08', dlogl='2.25e-01', energy_flux='8.10e-05', photon_flux2='2.61e-07', job_status='DONE', time_completed='2022-09-17 01:28:56.916627', photon_index_error2='0.16', photon_index2='2.51', ts='117.28', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='0.96', time_epoch_completed='1663403336.92', return_code='0', job_id='270821', GAL2='0.96', EG2='0.94', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.26e-08', ts2='117.27', photon_index='2.40' WHERE bin_id='736' AND source_name='4FGL J1422.3+3223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 01:28:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 270821: <4FGL_J1422.3+3223_weekly_bin736> in cluster <slac> Done

Job <4FGL_J1422.3+3223_weekly_bin736> 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) <bullet0283>, 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:57 2022
Results reported at Sat Sep 17 01:28:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_weekly_bin736 215.577 32.3911 684115201 684720001 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 :                                   724.18 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             311.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            813 sec.

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

