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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1774
RA = 215.577, Dec = 32.3911
tmin = 699148801, tmax = 699408001
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='684000', job_status='RUN', time_executed='2023-03-02 00:52:34.544436', time_epoch_executed='1677747154.54' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/684000

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/684000/ft1_4FGL_J1422.3+3223_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/684000/ft2_4FGL_J1422.3+3223_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/684000/ft1_4FGL_J1422.3+3223_daily_bin1774.fits outfile=/scratch/kocevski/684000/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1774.fits ra=215.577 dec=32.3911 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.78
user 2.58
sys 0.19

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

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

Number of photons that the gtmktime cut: 497

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/684000/ft1_filtered_4FGL_J1422.3+3223_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/684000/ft2_4FGL_J1422.3+3223_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/684000/ltcube_699148801_699408001_4FGL_J1422.3+3223_daily_bin1774.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/684000/ft2_4FGL_J1422.3+3223_daily_bin1774.fits
.....................!
real 12.36
user 11.91
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/684000/ft1_filtered_4FGL_J1422.3+3223_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/684000/ft2_4FGL_J1422.3+3223_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/684000/ltcube_699148801_699408001_4FGL_J1422.3+3223_daily_bin1774.fits outfile=/scratch/kocevski/684000/expmap_699148801_699408001_4FGL_J1422.3+3223_daily_bin1774.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/684000/ltcube_699148801_699408001_4FGL_J1422.3+3223_daily_bin1774.fits
.....................!
real 189.55
user 184.77
sys 4.47

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/684000/ft1_filtered_4FGL_J1422.3+3223_daily_bin1774.fits scfile=/scratch/kocevski/684000/ft2_4FGL_J1422.3+3223_daily_bin1774.fits outfile=/scratch/kocevski/684000/cmap_699148801_699408001_4FGL_J1422.3+3223_daily_bin1774.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/684000/ft1_filtered_4FGL_J1422.3+3223_daily_bin1774.fits scfile=/scratch/kocevski/684000/ft2_4FGL_J1422.3+3223_daily_bin1774.fits outfile=/scratch/kocevski/684000/cmap_HighResolution_699148801_699408001_4FGL_J1422.3+3223_daily_bin1774.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39068E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    99.158       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.3416       1.0000          .0000       .10000E+07
     4 'norm      '    20.358       1.0000          .0000       .10000E+07
     5 'norm      '    .27933E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    21.276       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26543E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48992       1.0000          .0000       .10000E+07
     9 'norm      '    .78362E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .96029       1.0000          .0000       .10000E+07
    11 'norm      '    3.5416       1.0000          .0000       .10000E+07
    12 'norm      '    7.3049       1.0000          .0000       .10000E+07
    13 'Prefactor '    145.81       1.0000          .0000       .10000E+07
    14 'norm      '    .83692E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    26.018       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.2340       1.0000          .0000       .10000E+07
    17 'norm      '    .38554E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1722       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .75117       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=   5461.289     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1484 TOTAL
                     EDM=   .53E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        35.838        .24010E-06** at limit **
   2  Prefactor     101.52        58.806        .16069E-06   -.36019E-04
   3  Prefactor     4.3844        6.5236       -.56705E-07    .68818E-04
   4  norm          20.504        16.953       -.29883E-07   -.83087E-03
   5  norm           .0000        1.5532       -.88916E-08** at limit **
   6  Prefactor     21.295        13.762        .40077E-08    .37776E-03
   7  Prefactor      .0000        9.7966        .81512E-07** at limit **
   8  Prefactor     .48921        2.0534       -.86158E-07    .10934E-03
   9  norm           .0000        12.451        .25292E-06** at limit **
  10  norm          .96560        2.1226        .23073E-07    .10995E-03
  11  norm          3.5431        4.7303       -.14666E-07   -.31677E-04
  12  norm          7.3183        4.5224        .31407E-07   -.43061E-04
  13  Prefactor     150.68        46.849       -.61173E-07    .32699E-03
  14  norm           .0000        3.3789        .13539E-07** at limit **
  15  Prefactor     25.819        4.4280       -.26833E-08    .42347E-02
  16  Prefactor     7.2175        6.2545        .37618E-09   -.15155E-03
  17  norm           .0000        1.2411        .11704E-07** at limit **
  18  Normalizat    1.1677        .22587       -.14117E-06    .86955E-05
  19  Prefactor     .75258        .22107       -.49070E-06    .57629E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 101.523
  Prefactor  = 4.3844
  norm       = 20.5042
  norm       = 0
  Prefactor  = 21.2954
  Prefactor  = 0
  Prefactor  = 0.489213
  norm       = 0
  norm       = 0.9656
  norm       = 3.54309
  norm       = 7.31835
  Prefactor  = 150.68
  norm       = 0
  Prefactor  = 25.8187
  Prefactor  = 7.21747
  norm       = 0
  Normalizat = 1.16767
  Prefactor  = 0.752579
 **********
 **   18 **HESSE 
 **********

 FCN=   5461.289     FROM HESSE     STATUS=OK           314 CALLS     1798 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        35.439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     101.52        58.788        .10043E-03   -1.5506    
   3  Prefactor     4.3844        6.5121        .48319E-03   -1.5666    
   4  norm          20.504        17.308        .22170E-03   -1.5617    
   5  norm           .0000        1.5532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.295        13.801        .21686E-03   -1.5616    
   7  Prefactor      .0000        9.8498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .48921        2.1048        .79730E-03   -1.5694    
   9  norm           .0000        12.467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .96560        2.1139        .42354E-03   -1.5688    
  11  norm          3.5431        4.7462        .53687E-03   -1.5670    
  12  norm          7.3183        4.5149        .37087E-03   -1.5654    
  13  Prefactor     150.68        46.691        .82821E-04   -1.5462    
  14  norm           .0000        3.3760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.819        15.982        .19609E-03   -1.5606    
  16  Prefactor     7.2175        6.3699        .37270E-03   -1.5654    
  17  norm           .0000        1.2100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1677        .18956        .53099E-01   -.87608    
  19  Prefactor     .75258        .18598        .64820E-01   -1.0150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45892e-09
Minuit parameter uncertainties:
  1  1.41792e-05
  2  58.7879
  3  6.51209
  4  17.308
  5  1.04147e-07
  6  13.8013
  7  1.07582e-05
  8  2.02948
  9  8.23986e-06
  10  2.1139
  11  4.74623
  12  4.51494
  13  46.6916
  14  4.54499e-07
  15  15.9817
  16  6.3699
  17  9.99824e-08
  18  0.189676
  19  0.18613
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  4.892e-01  2.029e+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:  7.526e-01  1.861e-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.168e+00  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 215.577 32.391
Photon Flux Upper Limit: 6.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/684000/likelihoodResults_699148801_699408001_4FGL_J1422.3+3223_daily_bin1774.txt

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) = 5461.07754569
delta logL = 0.211638693304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5461.07744411
delta logL = 0.21174026969

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1058       1.0000          .0000       .10000E+07
     2 'Index     '    1.6054       1.0000          .0000       10.000    
     3 'Normalizat'    1.1731       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74522       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=   5461.077     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      290 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1058        355.96        .32232E-02    .67068E-03
   2  Index         1.6054        7.8102        .28708        .46742E-04
   3  Normalizat    1.1731        .16724        .52982E-01   -.40447E-04
   4  Prefactor     .74522        .20534        .65078E-01    .53351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.10584
  Index      = 1.60542
  Normalizat = 1.17311
  Prefactor  = 0.745222
 **********
 **   18 **HESSE 
 **********

 FCN=   5461.077     FROM HESSE     STATUS=OK            35 CALLS      325 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1058        2.1187        .17532E-03   -1.5687    
   2  Index         1.6054        .91088        .13302E-01   -.74629    
   3  Normalizat    1.1731        .21079        .23426E-03   -.87438    
   4  Prefactor     .74522        .21213        .28790E-03   -1.0178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05868e-10
Minuit parameter uncertainties:
  1  2.11873
  2  0.920494
  3  0.210947
  4  0.212362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/684000': 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) = 5461.07744411
delta logL = 0.211740269829

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.106e+00  2.119e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  1.605e+00  9.205e-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:  7.452e-01  2.124e-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.173e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 215.577 32.391

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/684000/cmap_HighResolution_699148801_699408001_4FGL_J1422.3+3223_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.03e-03', job_status='DONE', photon_flux_upper_limit='6.51e-08', time_completed='2023-03-02 01:00:55.614509', job_id='684000', GAL2='0.75', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1677747655.61', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='2.12e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1774' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:00:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0284>
Subject: Job 684000: <4FGL_J1422.3+3223_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1774> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Mar  2 00:50:20 2023
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:50:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:50:22 2023
Terminated at Thu Mar  2 01:00:56 2023
Results reported at Thu Mar  2 01:00:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1774 215.577 32.3911 699148801 699408001 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 :                                   503.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             318.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            636 sec.

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

