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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1712
RA = 215.577, Dec = 32.3911
tmin = 683078401, tmax = 683337601
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='146730', job_status='RUN', time_executed='2022-09-16 18:24:14.553191', time_epoch_executed='1663377854.55' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/146730

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/146730/ft1_4FGL_J1422.3+3223_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/146730/ft2_4FGL_J1422.3+3223_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/146730/ft1_4FGL_J1422.3+3223_daily_bin1712.fits outfile=/scratch/kocevski/146730/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1712.fits ra=215.577 dec=32.3911 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.79
user 4.50
sys 0.24

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

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

Number of photons that the gtmktime cut: 557

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/146730/ft1_filtered_4FGL_J1422.3+3223_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/146730/ft2_4FGL_J1422.3+3223_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/146730/ltcube_683078401_683337601_4FGL_J1422.3+3223_daily_bin1712.fits outfile=/scratch/kocevski/146730/expmap_683078401_683337601_4FGL_J1422.3+3223_daily_bin1712.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/146730/ltcube_683078401_683337601_4FGL_J1422.3+3223_daily_bin1712.fits
.....................!
real 192.75
user 186.16
sys 5.35

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/146730/ft1_filtered_4FGL_J1422.3+3223_daily_bin1712.fits scfile=/scratch/kocevski/146730/ft2_4FGL_J1422.3+3223_daily_bin1712.fits outfile=/scratch/kocevski/146730/cmap_683078401_683337601_4FGL_J1422.3+3223_daily_bin1712.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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/146730/ft1_filtered_4FGL_J1422.3+3223_daily_bin1712.fits scfile=/scratch/kocevski/146730/ft2_4FGL_J1422.3+3223_daily_bin1712.fits outfile=/scratch/kocevski/146730/cmap_HighResolution_683078401_683337601_4FGL_J1422.3+3223_daily_bin1712.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.916       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.967       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55273       1.0000          .0000       .10000E+07
     4 'norm      '    .65363E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .34495E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .37187E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    22.549       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.010       1.0000          .0000       .10000E+07
     9 'norm      '    .15697E-04   1.0000          .0000       .10000E+07
    10 'norm      '    5.2772       1.0000          .0000       .10000E+07
    11 'norm      '    6.2232       1.0000          .0000       .10000E+07
    12 'norm      '    5.6008       1.0000          .0000       .10000E+07
    13 'Prefactor '    156.67       1.0000          .0000       .10000E+07
    14 'norm      '    3.4162       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14873E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28532E-03   1.0000          .0000       .10000E+07
    17 'norm      '    2.6297       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0002       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99479       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=   6029.301     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1162 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.916        6.1921       -.42725E-06    .42310E-01
   2  Prefactor     18.029        2.1070        .19499E-06   -.41473E-01
   3  Prefactor     .57006        9.2988       -.30377E-06   -.66650E-04
   4  norm          .12768E-08    4.7437       -.18275E-05** at limit **
   5  norm           .0000        3.0388        .33931E-07** at limit **
   6  Prefactor     .55511E-09    10.887       -.80240E-06** at limit **
   7  Prefactor     22.434        16.901        .34828E-06    .14448E-01
   8  Prefactor     10.021        4.5784        .13895E-06    .13333E-02
   9  norm          .41633E-08    19.639        .13006E-05** at limit **
  10  norm          5.2850        3.2927        .13049E-06    .13903E-02
  11  norm          6.2663        7.3728       -.10693E-06   -.13366E-02
  12  norm          5.5965        4.7740       -.14913E-06   -.37510E-03
  13  Prefactor     160.81        49.324       -.11768E-06   -.44209E-03
  14  norm          3.4485        7.3932       -.76522E-06   -.36241E-03
  15  Prefactor      .0000        5.0927        .95492E-07** at limit **
  16  Prefactor     .32196E-08    4.9481        .17587E-05** at limit **
  17  norm          2.6297        1.6302        .30679E-07    .52810E-03
  18  Normalizat    .99757        .22167        .38923E-05    .20437E-04
  19  Prefactor     .99538        .22252       -.61411E-05   -.37853E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.9164
  Prefactor  = 18.0289
  Prefactor  = 0.570057
  norm       = 1.27676e-09
  norm       = 0
  Prefactor  = 5.55112e-10
  Prefactor  = 22.4339
  Prefactor  = 10.0212
  norm       = 4.16334e-09
  norm       = 5.28502
  norm       = 6.26633
  norm       = 5.59647
  Prefactor  = 160.812
  norm       = 3.44847
  Prefactor  = 0
  Prefactor  = 3.21965e-09
  norm       = 2.62974
  Normalizat = 0.997566
  Prefactor  = 0.995382
 **********
 **   18 **HESSE 
 **********

 FCN=   6029.301     FROM HESSE     STATUS=OK           308 CALLS     1470 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.916        22.754        .21872E-03   -1.5616    
   2  Prefactor     18.029        35.423        .23601E-03   -1.5623    
   3  Prefactor     .57006        9.2699        .73573E-03   -1.5693    
   4  norm          .12768E-08    4.7615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.0256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-09    10.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.434        17.654        .21064E-03   -1.5613    
   8  Prefactor     10.021        4.5650        .31646E-03   -1.5645    
   9  norm          .41633E-08    19.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.2850        3.2924        .43729E-03   -1.5662    
  11  norm          6.2663        7.3930        .40217E-03   -1.5658    
  12  norm          5.5965        4.7641        .42425E-03   -1.5661    
  13  Prefactor     160.81        49.230        .79900E-04   -1.5454    
  14  norm          3.4485        7.4090        .54706E-03   -1.5671    
  15  Prefactor      .0000        5.0756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .32196E-08    4.9542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.6297        1.6360        .62858E-03   -1.5676    
  18  Normalizat    .99757        .19289        .46169E-01   -.93112    
  19  Prefactor     .99538        .19059        .46202E-01   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83406e-06
Minuit parameter uncertainties:
  1  22.7539
  2  35.4234
  3  4.59756
  4  0.000156578
  5  1.0276e-05
  6  0.000152569
  7  17.6538
  8  4.56504
  9  0.000571048
  10  3.29244
  11  7.39296
  12  4.76412
  13  49.2302
  14  7.40904
  15  2.20144e-05
  16  0.000253051
  17  1.63598
  18  0.193025
  19  0.190717
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.002e+01  4.565e+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.954e-01  1.907e-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.976e-01  1.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.34
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 9.03e-08 +/- 4.11e-08
Energy Flux (Fixed Index): 2.96e-05 +/- 1.35e-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) = 6029.29486272
delta logL = 0.00631759831867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6029.29279318
delta logL = 0.00838713188023

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.289       1.0000          .0000       .10000E+07
     2 'Index     '    2.3417       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99158       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=   6029.293     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      193 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.289        89.228        .31213E-03   -.10845E-02
   2  Index         2.3417        6.1696        .16360        .79867E-04
   3  Normalizat    1.0033        .12655        .46208E-01    .24399E-04
   4  Prefactor     .99159        .92641E-01    .46162E-01   -.47919E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2888
  Index      = 2.34174
  Normalizat = 1.0033
  Prefactor  = 0.991586
 **********
 **   18 **HESSE 
 **********

 FCN=   6029.293     FROM HESSE     STATUS=OK            33 CALLS      226 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.289        5.1744        .10957E-04   -1.5644    
   2  Index         2.3417        .46231        .59813E-02   -.56055    
   3  Normalizat    1.0033        .20965        .24983E-03   -.92920    
   4  Prefactor     .99159        .21735        .26562E-03   -.93011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38755e-11
Minuit parameter uncertainties:
  1  5.17445
  2  0.463231
  3  0.209817
  4  0.217538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/146730': 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) = 6029.29279318
delta logL = 0.0083871359011

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.029e+01  5.174e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.342e+00  4.632e-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.916e-01  2.175e-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.003e+00  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.32
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.34 +/- 0.46
Photon Flux (Free Index): 8.59e-08 +/- 5.19e-08
Energy Flux (Free Index): 3.05e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/146730/cmap_HighResolution_683078401_683337601_4FGL_J1422.3+3223_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.03e-08', energy_flux2='3.05e-05', photon_flux_error='4.11e-08', dlogl='8.39e-03', energy_flux='2.96e-05', photon_flux2='8.59e-08', job_status='DONE', time_completed='2022-09-16 18:32:15.908529', photon_index_error2='0.46', photon_index2='2.34', ts='13.34', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='1.00', time_epoch_completed='1663378335.91', return_code='0', job_id='146730', GAL2='0.99', EG2='1.00', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='5.19e-08', ts2='13.32', photon_index='2.40' WHERE bin_id='1712' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:32:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 146730: <4FGL_J1422.3+3223_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1712> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:20:22 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:20:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:20:34 2022
Terminated at Fri Sep 16 18:32:16 2022
Results reported at Fri Sep 16 18:32:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1712 215.577 32.3911 683078401 683337601 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 :                                   481.55 sec.
    Max Memory :                                 1197 MB
    Average Memory :                             287.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            714 sec.

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

