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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1751
RA = 215.577, Dec = 32.3911
tmin = 693187201, tmax = 693446401
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='80282', job_status='RUN', time_executed='2022-12-23 00:51:23.625001', time_epoch_executed='1671785483.63' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/80282

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/80282/ft1_4FGL_J1422.3+3223_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/80282/ft2_4FGL_J1422.3+3223_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/80282/ft1_4FGL_J1422.3+3223_daily_bin1751.fits outfile=/scratch/kocevski/80282/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1751.fits ra=215.577 dec=32.3911 rad=12.0 tmin=693187201.0 tmax=693446401.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 3.62
user 3.40
sys 0.21

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

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

Number of photons that the gtmktime cut: 600

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/80282/ft1_filtered_4FGL_J1422.3+3223_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/80282/ft2_4FGL_J1422.3+3223_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/80282/ltcube_693187201_693446401_4FGL_J1422.3+3223_daily_bin1751.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/80282/ft2_4FGL_J1422.3+3223_daily_bin1751.fits
.....................!
real 12.10
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/80282/ft1_filtered_4FGL_J1422.3+3223_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/80282/ft2_4FGL_J1422.3+3223_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/80282/ltcube_693187201_693446401_4FGL_J1422.3+3223_daily_bin1751.fits outfile=/scratch/kocevski/80282/expmap_693187201_693446401_4FGL_J1422.3+3223_daily_bin1751.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/80282/ltcube_693187201_693446401_4FGL_J1422.3+3223_daily_bin1751.fits
.....................!
real 190.93
user 185.48
sys 5.13

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/80282/ft1_filtered_4FGL_J1422.3+3223_daily_bin1751.fits scfile=/scratch/kocevski/80282/ft2_4FGL_J1422.3+3223_daily_bin1751.fits outfile=/scratch/kocevski/80282/cmap_693187201_693446401_4FGL_J1422.3+3223_daily_bin1751.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/80282/ft1_filtered_4FGL_J1422.3+3223_daily_bin1751.fits scfile=/scratch/kocevski/80282/ft2_4FGL_J1422.3+3223_daily_bin1751.fits outfile=/scratch/kocevski/80282/cmap_HighResolution_693187201_693446401_4FGL_J1422.3+3223_daily_bin1751.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.52
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.262       1.0000          .0000       .10000E+07
     2 'Prefactor '    31.195       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.9785       1.0000          .0000       .10000E+07
     4 'norm      '    6.2457       1.0000          .0000       .10000E+07
     5 'norm      '    5.9903       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11958E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16154E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    38.916       1.0000          .0000       .10000E+07
     9 'norm      '    .47013E-04   1.0000          .0000       .10000E+07
    10 'norm      '    6.9663       1.0000          .0000       .10000E+07
    11 'norm      '    .17686       1.0000          .0000       .10000E+07
    12 'norm      '    .21562E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    113.85       1.0000          .0000       .10000E+07
    14 'norm      '    .16904E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .69212E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.9304       1.0000          .0000       .10000E+07
    17 'norm      '    .28207       1.0000          .0000       .10000E+07
    18 'Normalizat'    .88300       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98198       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=   6398.953     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1444 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.186        3.2532        .28364E-06   -.15176    
   2  Prefactor     31.201        6.6362        .22496E-06    .16600    
   3  Prefactor     4.9794        3.6388       -.44974E-07   -.65084E-03
   4  norm          6.2544        9.2331        .21039E-06    .10585E-01
   5  norm          5.9777        4.1878       -.26122E-06   -.55651E-02
   6  Prefactor     .77161E-08    13.879       -.23294E-06** at limit **
   7  Prefactor     .16653E-09    17.199       -.75645E-06** at limit **
   8  Prefactor     38.822        7.1597        .50100E-07    .43806E-02
   9  norm          .55511E-10    3.6910       -.43902E-06** at limit **
  10  norm          6.9657        2.9483        .49689E-07    .45855E-02
  11  norm          .20127        74.220        .16745E-04** at limit **
  12  norm          .11102E-09    3.2650       -.83612E-06** at limit **
  13  Prefactor     114.62        43.561        .73186E-06   -.70831E-01
  14  norm          .17403E-06    82.194        .80810E-05** at limit **
  15  Prefactor     .22204E-09    9.1931        .29556E-06** at limit **
  16  Prefactor     7.9487        7.7055       -.51393E-06   -.25683E-02
  17  norm          .27884        1.1687        .96776E-07   -.27090E-02
  18  Normalizat    .88327        .20468       -.12755E-04    .45779E-04
  19  Prefactor     .98167        .20847        .12104E-04    .67624E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.186
  Prefactor  = 31.2009
  Prefactor  = 4.97941
  norm       = 6.25445
  norm       = 5.97768
  Prefactor  = 7.71605e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 38.8217
  norm       = 5.55112e-11
  norm       = 6.96569
  norm       = 0.201268
  norm       = 1.11022e-10
  Prefactor  = 114.623
  norm       = 1.74027e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 7.94874
  norm       = 0.278835
  Normalizat = 0.883266
  Prefactor  = 0.981667
 **********
 **   18 **HESSE 
 **********

 FCN=   6398.953     FROM HESSE     STATUS=OK           318 CALLS     1762 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.186        13.350        .24810E-03   -1.5627    
   2  Prefactor     31.201        21.373        .17907E-03   -1.5596    
   3  Prefactor     4.9794        3.6467        .45048E-03   -1.5663    
   4  norm          6.2544        9.2436        .40144E-03   -1.5658    
   5  norm          5.9777        4.2166        .41002E-03   -1.5659    
   6  Prefactor     .77161E-08    13.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    9.1591        .81891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.822        7.1665        .16032E-03   -1.5583    
   9  norm          .55511E-10    3.7272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.9657        2.9512        .37986E-03   -1.5655    
  11  norm          .20127        3.8370        .96474E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11102E-09    3.2780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     114.62        46.132        .93725E-04   -1.5494    
  14  norm          .17403E-06    80.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    9.2429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.9487        8.0422        .35581E-03   -1.5652    
  17  norm          .27884        1.3127        .10466E-02   -1.5697    
  18  Normalizat    .88327        .17891        .44684E-01   -.97051    
  19  Prefactor     .98167        .17999        .46041E-01   -.93343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.20854e-07
Minuit parameter uncertainties:
  1  13.3496
  2  21.3726
  3  3.64674
  4  9.24358
  5  4.21657
  6  0.000655807
  7  7.24405e-05
  8  7.16654
  9  2.54007e-05
  10  2.95119
  11  1.75757
  12  3.93839e-05
  13  46.1324
  14  0.00747053
  15  9.41492e-05
  16  8.0422
  17  1.20999
  18  0.179033
  19  0.180099
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  3.882e+01  7.167e+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.817e-01  1.801e-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:  8.833e-01  1.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 78.39
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 3.50e-07 +/- 6.45e-08
Energy Flux (Fixed Index): 1.15e-04 +/- 2.11e-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) = 6398.48878318
delta logL = 0.464093882443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6398.46608846
delta logL = 0.486788595877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.685       1.0000          .0000       .10000E+07
     2 'Index     '    2.5912       1.0000          .0000       10.000    
     3 'Normalizat'    .84840       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0081       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=   6398.466     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      262 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.684        8.8501        .69975E-05    .28961E-01
   2  Index         2.5912        .19970        .22094E-03    .94135E-03
   3  Normalizat    .84818        .19941        .26103E-03   -.48867E-04
   4  Prefactor     1.0083        .20833        .25683E-03   -.94196E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.6841
  Index      = 2.59118
  Normalizat = 0.848177
  Prefactor  = 1.00828
 **********
 **   18 **HESSE 
 **********

 FCN=   6398.466     FROM HESSE     STATUS=OK            23 CALLS      285 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.684        8.8244        .13995E-05   -1.5594    
   2  Index         2.5912        .19912        .88375E-05   -.50267    
   3  Normalizat    .84818        .19963        .10441E-04   -.98306    
   4  Prefactor     1.0083        .20856        .10273E-04   -.92454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90954e-10
Minuit parameter uncertainties:
  1  8.82437
  2  0.199187
  3  0.199801
  4  0.208724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/80282': 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) = 6398.46608756
delta logL = 0.486789497953

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  3.268e+01  8.824e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.591e+00  1.992e-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:  1.008e+00  2.087e-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:  8.482e-01  1.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.56
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.59 +/- 0.20
Photon Flux (Free Index): 3.81e-07 +/- 7.39e-08
Energy Flux (Free Index): 1.01e-04 +/- 2.14e-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/80282/cmap_HighResolution_693187201_693446401_4FGL_J1422.3+3223_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-07', energy_flux2='1.01e-04', photon_flux_error='6.45e-08', dlogl='4.87e-01', energy_flux='1.15e-04', photon_flux2='3.81e-07', job_status='DONE', time_completed='2022-12-23 00:59:38.464927', photon_index_error2='0.20', photon_index2='2.59', ts='78.39', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.14e-05', EG='0.88', time_epoch_completed='1671785978.46', return_code='0', job_id='80282', GAL2='1.01', EG2='0.85', return_code2='0', energy_flux_error='2.11e-05', photon_flux_error2='7.39e-08', ts2='79.56', photon_index='2.40' WHERE bin_id='1751' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:59:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 80282: <4FGL_J1422.3+3223_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:50:13 2022
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:50:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:50:14 2022
Terminated at Fri Dec 23 00:59:38 2022
Results reported at Fri Dec 23 00:59:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1751 215.577 32.3911 693187201 693446401 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 :                                   497.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   564 sec.
    Turnaround time :                            565 sec.

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

