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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1758
RA = 215.577, Dec = 32.3911
tmin = 695001601, tmax = 695260801
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='367787', job_status='RUN', time_executed='2023-01-13 00:55:55.345405', time_epoch_executed='1673600155.35' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/367787

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/367787/ft1_4FGL_J1422.3+3223_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/367787/ft2_4FGL_J1422.3+3223_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/367787/ft1_4FGL_J1422.3+3223_daily_bin1758.fits outfile=/scratch/kocevski/367787/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1758.fits ra=215.577 dec=32.3911 rad=12.0 tmin=695001601.0 tmax=695260801.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.79
user 2.56
sys 0.20

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

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

Number of photons that the gtmktime cut: 941

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/367787/ft1_filtered_4FGL_J1422.3+3223_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/367787/ft2_4FGL_J1422.3+3223_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/367787/ltcube_695001601_695260801_4FGL_J1422.3+3223_daily_bin1758.fits outfile=/scratch/kocevski/367787/expmap_695001601_695260801_4FGL_J1422.3+3223_daily_bin1758.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/367787/ltcube_695001601_695260801_4FGL_J1422.3+3223_daily_bin1758.fits
.....................!
real 192.16
user 186.63
sys 5.12

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/367787/ft1_filtered_4FGL_J1422.3+3223_daily_bin1758.fits scfile=/scratch/kocevski/367787/ft2_4FGL_J1422.3+3223_daily_bin1758.fits outfile=/scratch/kocevski/367787/cmap_695001601_695260801_4FGL_J1422.3+3223_daily_bin1758.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/367787/ft1_filtered_4FGL_J1422.3+3223_daily_bin1758.fits scfile=/scratch/kocevski/367787/ft2_4FGL_J1422.3+3223_daily_bin1758.fits outfile=/scratch/kocevski/367787/cmap_HighResolution_695001601_695260801_4FGL_J1422.3+3223_daily_bin1758.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.55
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65281E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.179       1.0000          .0000       .10000E+07
     3 'Prefactor '    .82492E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .25147E-07   1.0000          .0000       .10000E+07
     5 'norm      '    .10149E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.159       1.0000          .0000       .10000E+07
     7 'Prefactor '    .16676E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    69.225       1.0000          .0000       .10000E+07
     9 'norm      '    .25339E-02   1.0000          .0000       .10000E+07
    10 'norm      '    6.8924       1.0000          .0000       .10000E+07
    11 'norm      '    1.7997       1.0000          .0000       .10000E+07
    12 'norm      '    5.1877       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.311       1.0000          .0000       .10000E+07
    14 'norm      '    10.287       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.9518       1.0000          .0000       .10000E+07
    16 'Prefactor '    .56846E-05   1.0000          .0000       .10000E+07
    17 'norm      '    2.7106       1.0000          .0000       .10000E+07
    18 'Normalizat'    .86131       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0126       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=   9932.955     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1089 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    11.066       -.57292E-06** at limit **
   2  Prefactor     46.200        2.9170       -.34003E-07    .13778E-01
   3  Prefactor      .0000        2.9306        .45310E-06** at limit **
   4  norm          .13323E-08    3.2386        .56799E-06** at limit **
   5  norm          .16653E-09    1.7981       -.78089E-07** at limit **
   6  Prefactor     12.034        2.8709        .44254E-07   -.39334E-01
   7  Prefactor     .48850E-08    4.2606        .51289E-06** at limit **
   8  Prefactor     69.157        5.1778        .41034E-08   -.17776    
   9  norm          .55511E-10    6.0929       -.43457E-06** at limit **
  10  norm          6.8890        2.6297        .44406E-07   -.58739E-03
  11  norm          1.8004        3.9678        .29954E-07   -.22813E-02
  12  norm          5.1898        3.6746       -.13978E-07    .19771E-03
  13  Prefactor     12.959        21.916        .43608E-06    .16233E-02
  14  norm          10.312        4.3822        .23010E-07    .75049E-01
  15  Prefactor     6.9824        1.4242       -.98901E-08    .30128E-01
  16  Prefactor      .0000        1.5765        .33068E-07** at limit **
  17  norm          2.7082        1.2492       -.36465E-07   -.66406E-03
  18  Normalizat    .86305        .16687       -.26247E-05   -.57917E-06
  19  Prefactor     1.0120        .17698        .36131E-05   -.18188E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 46.2003
  Prefactor  = 0
  norm       = 1.33227e-09
  norm       = 1.66533e-10
  Prefactor  = 12.0336
  Prefactor  = 4.88498e-09
  Prefactor  = 69.157
  norm       = 5.55112e-11
  norm       = 6.88897
  norm       = 1.80044
  norm       = 5.1898
  Prefactor  = 12.9589
  norm       = 10.3125
  Prefactor  = 6.9824
  Prefactor  = 0
  norm       = 2.70824
  Normalizat = 0.863052
  Prefactor  = 1.01196
 **********
 **   18 **HESSE 
 **********

 FCN=   9932.955     FROM HESSE     STATUS=OK           306 CALLS     1395 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    11.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.200        25.008        .14717E-03   -1.5572    
   3  Prefactor      .0000        2.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .13323E-08    3.3279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-09    1.7918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.034        9.2682        .28702E-03   -1.5639    
   7  Prefactor     .48850E-08    4.4865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     69.157        6.8425        .12020E-03   -1.5542    
   9  norm          .55511E-10    6.1004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.8890        2.6248        .38192E-03   -1.5655    
  11  norm          1.8004        4.0095        .77898E-03   -1.5681    
  12  norm          5.1898        3.6691        .44112E-03   -1.5662    
  13  Prefactor     12.959        22.182        .26450E-03   -1.5636    
  14  norm          10.312        6.7347        .31216E-03   -1.5644    
  15  Prefactor     6.9824        8.6378        .38026E-03   -1.5655    
  16  Prefactor      .0000        1.5747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7082        1.2570        .61840E-03   -1.5675    
  18  Normalizat    .86305        .14668        .44405E-01   -.97771    
  19  Prefactor     1.0120        .15290        .42978E-01   -.92332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.91459e-07
Minuit parameter uncertainties:
  1  0.000130879
  2  25.0083
  3  2.28723e-06
  4  0.000134248
  5  3.56401e-05
  6  9.26817
  7  0.000296533
  8  6.84246
  9  3.46328e-05
  10  2.62484
  11  4.00955
  12  3.66915
  13  22.1819
  14  6.73468
  15  8.63783
  16  4.27227e-07
  17  1.257
  18  0.146748
  19  0.15297
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  6.916e+01  6.842e+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:  1.012e+00  1.530e-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.631e-01  1.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 376.61
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 6.23e-07 +/- 6.16e-08
Energy Flux (Fixed Index): 2.04e-04 +/- 2.02e-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) = 9931.20631547
delta logL = 1.74865372078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9931.14323684
delta logL = 1.81173234595

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    80.767       1.0000          .0000       .10000E+07
     2 'Index     '    2.2087       1.0000          .0000       10.000    
     3 'Normalizat'    .92085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96616       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=   9931.143     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     80.771        12.250        .11128E-03   -.12130E-02
   2  Index         2.2087        .12115        .41136E-01    .13236E-03
   3  Normalizat    .92090        .14380        .45167E-01    .22400E-04
   4  Prefactor     .96608        .15058        .45843E-01    .18103E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 80.7707
  Index      = 2.20872
  Normalizat = 0.920897
  Prefactor  = 0.966081
 **********
 **   18 **HESSE 
 **********

 FCN=   9931.143     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .58E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     80.771        9.7679        .22256E-04   -1.5528    
   2  Index         2.2087        .97493E-01    .18090E-03   -.59228    
   3  Normalizat    .92090        .16728        .26099E-03   -.95730    
   4  Prefactor     .96608        .17495        .27099E-03   -.93869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79834e-15
Minuit parameter uncertainties:
  1  9.76791
  2  0.0975015
  3  0.167376
  4  0.175048
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/367787': 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) = 9931.14323662
delta logL = 1.81173256149

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  8.077e+01  9.768e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.209e+00  9.750e-02  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.661e-01  1.750e-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.209e-01  1.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 375.74
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.21 +/- 0.10
Photon Flux (Free Index): 5.73e-07 +/- 6.39e-08
Energy Flux (Free Index): 2.53e-04 +/- 4.14e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/367787/cmap_HighResolution_695001601_695260801_4FGL_J1422.3+3223_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.23e-07', energy_flux2='2.53e-04', photon_flux_error='6.16e-08', dlogl='1.81e+00', energy_flux='2.04e-04', photon_flux2='5.73e-07', job_status='DONE', time_completed='2023-01-13 01:05:25.709450', photon_index_error2='0.10', photon_index2='2.21', ts='376.61', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='4.14e-05', EG='0.86', time_epoch_completed='1673600725.71', return_code='0', job_id='367787', GAL2='0.97', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='6.39e-08', ts2='375.74', photon_index='2.40' WHERE bin_id='1758' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 01:05:25 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 367787: <4FGL_J1422.3+3223_daily_bin1758> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1758> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jan 13 00:50:20 2023
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:53:00 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:53:00 2023
Terminated at Fri Jan 13 01:05:26 2023
Results reported at Fri Jan 13 01:05:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1758 215.577 32.3911 695001601 695260801 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 :                                   572.22 sec.
    Max Memory :                                 1058 MB
    Average Memory :                             287.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            906 sec.

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

