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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1773
RA = 215.577, Dec = 32.3911
tmin = 698889601, tmax = 699148801
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='792255', job_status='RUN', time_executed='2023-02-27 09:53:56.413851', time_epoch_executed='1677520436.41' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792255

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792255/ft1_4FGL_J1422.3+3223_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792255/ft2_4FGL_J1422.3+3223_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792255/ft1_4FGL_J1422.3+3223_daily_bin1773.fits outfile=/scratch/kocevski/792255/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1773.fits ra=215.577 dec=32.3911 rad=12.0 tmin=698889601.0 tmax=699148801.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.95
user 2.69
sys 0.21

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

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

Number of photons that the gtmktime cut: 569

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792255/ft1_filtered_4FGL_J1422.3+3223_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/792255/ft2_4FGL_J1422.3+3223_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/792255/ltcube_698889601_699148801_4FGL_J1422.3+3223_daily_bin1773.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/792255/ft2_4FGL_J1422.3+3223_daily_bin1773.fits
.....................!
real 14.50
user 14.07
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792255/ft1_filtered_4FGL_J1422.3+3223_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/792255/ft2_4FGL_J1422.3+3223_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/792255/ltcube_698889601_699148801_4FGL_J1422.3+3223_daily_bin1773.fits outfile=/scratch/kocevski/792255/expmap_698889601_699148801_4FGL_J1422.3+3223_daily_bin1773.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/792255/ltcube_698889601_699148801_4FGL_J1422.3+3223_daily_bin1773.fits
.....................!
real 192.13
user 186.36
sys 5.26

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/792255/ft1_filtered_4FGL_J1422.3+3223_daily_bin1773.fits scfile=/scratch/kocevski/792255/ft2_4FGL_J1422.3+3223_daily_bin1773.fits outfile=/scratch/kocevski/792255/cmap_698889601_699148801_4FGL_J1422.3+3223_daily_bin1773.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792255/ft1_filtered_4FGL_J1422.3+3223_daily_bin1773.fits scfile=/scratch/kocevski/792255/ft2_4FGL_J1422.3+3223_daily_bin1773.fits outfile=/scratch/kocevski/792255/cmap_HighResolution_698889601_699148801_4FGL_J1422.3+3223_daily_bin1773.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13257E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    27.642       1.0000          .0000       .10000E+07
     3 'Prefactor '    .56146       1.0000          .0000       .10000E+07
     4 'norm      '    18.861       1.0000          .0000       .10000E+07
     5 'norm      '    .67722E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.017       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2470       1.0000          .0000       .10000E+07
     8 'Prefactor '    18.999       1.0000          .0000       .10000E+07
     9 'norm      '    .12249       1.0000          .0000       .10000E+07
    10 'norm      '    5.6650       1.0000          .0000       .10000E+07
    11 'norm      '    .70118E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .18763E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    126.46       1.0000          .0000       .10000E+07
    14 'norm      '    3.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    .46221E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21053E-04   1.0000          .0000       .10000E+07
    17 'norm      '    3.2383       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .82006       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=   6250.717     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1824 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.307        .96681E-06** at limit **
   2  Prefactor     26.158        32.952       -.39994E-06   -.91966E-02
   3  Prefactor     .52037        11.164       -.33156E-06    .89219E-03
   4  norm          18.760        1.8481        .36423E-07    .98259E-03
   5  norm          .15543E-08    9.4406        .11369E-05** at limit **
   6  Prefactor     10.335        12.122        .38034E-06    .42853E-02
   7  Prefactor     7.7287        12.500        .52155E-06    .56325E-02
   8  Prefactor     19.026        6.3223        .19789E-07    .61044E-03
   9  norm          .37230E-04    14.539       -.80853E-06** at limit **
  10  norm          5.6652        3.0136       -.13146E-07    .97331E-03
  11  norm          .55511E-10    3.1313        .14446E-06** at limit **
  12  norm          .55511E-10    2.7090        .24676E-06** at limit **
  13  Prefactor     128.21        40.110       -.16912E-06   -.18665E-01
  14  norm          3.9313        4.9875        .18647E-06   -.14594E-02
  15  Prefactor     .16265E-07    16.116        .34171E-06** at limit **
  16  Prefactor     .33307E-09    5.6771        .29774E-06** at limit **
  17  norm          3.2359        1.6740       -.30327E-09    .47646E-03
  18  Normalizat    1.1734        .22811       -.47512E-05    .56135E-04
  19  Prefactor     .81989        .21617        .29642E-05    .36428E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 26.1577
  Prefactor  = 0.52037
  norm       = 18.7599
  norm       = 1.55431e-09
  Prefactor  = 10.3346
  Prefactor  = 7.72868
  Prefactor  = 19.0264
  norm       = 3.72298e-05
  norm       = 5.66521
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 128.212
  norm       = 3.93129
  Prefactor  = 1.62648e-08
  Prefactor  = 3.33067e-10
  norm       = 3.23588
  Normalizat = 1.17344
  Prefactor  = 0.819885
 **********
 **   18 **HESSE 
 **********

 FCN=   6250.717     FROM HESSE     STATUS=OK           316 CALLS     2140 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.158        34.971        .19023E-03   -1.5606    
   3  Prefactor     .52037        10.896        .72753E-03   -1.5694    
   4  norm          18.760        15.689        .23034E-03   -1.5621    
   5  norm          .15543E-08    9.2947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.335        26.402        .30160E-03   -1.5644    
   7  Prefactor     7.7287        33.729        .37236E-03   -1.5652    
   8  Prefactor     19.026        6.2957        .22951E-03   -1.5621    
   9  norm          .37230E-04    12.389        .96948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.6652        3.0132        .42181E-03   -1.5660    
  11  norm          .55511E-10    3.1271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.6981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     128.21        40.922        .88931E-04   -1.5481    
  14  norm          3.9313        4.9909        .51016E-03   -1.5668    
  15  Prefactor     .16265E-07    16.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .33307E-09    5.6631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.2359        1.6737        .56262E-03   -1.5672    
  18  Normalizat    1.1734        .19074        .54709E-01   -.87428    
  19  Prefactor     .81989        .18061        .65246E-01   -.98999    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3096e-08
Minuit parameter uncertainties:
  1  1.6641e-05
  2  34.9717
  3  4.76238
  4  15.689
  5  0.00023961
  6  26.4019
  7  32.2916
  8  6.29568
  9  0.0429531
  10  3.01325
  11  2.23728e-05
  12  2.50745e-05
  13  40.9226
  14  4.99088
  15  0.00102358
  16  8.86368e-05
  17  1.6737
  18  0.190854
  19  0.180743
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.903e+01  6.296e+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.199e-01  1.807e-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  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.56
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.71e-07 +/- 5.67e-08
Energy Flux (Fixed Index): 5.61e-05 +/- 1.86e-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) = 6250.36700803
delta logL = 0.350396857606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6250.35399295
delta logL = 0.363411935113

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.216       1.0000          .0000       .10000E+07
     2 'Index     '    2.6854       1.0000          .0000       10.000    
     3 'Normalizat'    1.1317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85072       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=   6250.354     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      282 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.216        7.4508        .90357E-05   -.16218E-02
   2  Index         2.6854        .36628        .36454E-02   -.75567E-04
   3  Normalizat    1.1317        .21791        .24553E-03    .46766E-04
   4  Prefactor     .85071        .21591        .28393E-03    .54135E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2161
  Index      = 2.68544
  Normalizat = 1.1317
  Prefactor  = 0.850713
 **********
 **   18 **HESSE 
 **********

 FCN=   6250.354     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.216        7.1347        .36143E-06   -1.5630    
   2  Index         2.6854        .35044        .14582E-03   -.48128    
   3  Normalizat    1.1317        .21798        .98211E-05   -.88740    
   4  Prefactor     .85071        .21594        .11357E-04   -.97885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83548e-11
Minuit parameter uncertainties:
  1  7.13475
  2  0.350803
  3  0.218154
  4  0.216154
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792255': 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) = 6250.35399294
delta logL = 0.363411944619

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.522e+01  7.135e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.685e+00  3.508e-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.507e-01  2.162e-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.132e+00  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.36
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.69 +/- 0.35
Photon Flux (Free Index): 2.02e-07 +/- 7.11e-08
Energy Flux (Free Index): 4.93e-05 +/- 1.68e-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/792255/cmap_HighResolution_698889601_699148801_4FGL_J1422.3+3223_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.71e-07', energy_flux2='4.93e-05', photon_flux_error='5.67e-08', dlogl='3.63e-01', energy_flux='5.61e-05', photon_flux2='2.02e-07', job_status='DONE', time_completed='2023-02-27 10:02:41.999580', photon_index_error2='0.35', photon_index2='2.69', ts='18.56', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='1.17', time_epoch_completed='1677520962.0', return_code='0', job_id='792255', GAL2='0.85', EG2='1.13', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='7.11e-08', ts2='19.36', photon_index='2.40' WHERE bin_id='1773' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:02:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 792255: <4FGL_J1422.3+3223_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1773> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 27 09:50:20 2023
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:50:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:50:23 2023
Terminated at Mon Feb 27 10:02:43 2023
Results reported at Mon Feb 27 10:02:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1773 215.577 32.3911 698889601 699148801 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 :                                   523.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            743 sec.

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

