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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1780
RA = 215.577, Dec = 32.3911
tmin = 700704001, tmax = 700963201
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='65309', job_status='RUN', time_executed='2023-03-20 01:01:51.056576', time_epoch_executed='1679299311.06' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/65309

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/65309/ft1_4FGL_J1422.3+3223_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/65309/ft2_4FGL_J1422.3+3223_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/65309/ft1_4FGL_J1422.3+3223_daily_bin1780.fits outfile=/scratch/kocevski/65309/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1780.fits ra=215.577 dec=32.3911 rad=12.0 tmin=700704001.0 tmax=700963201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.06
user 3.84
sys 0.21

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

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

Number of photons that the gtmktime cut: 636

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/65309/ft1_filtered_4FGL_J1422.3+3223_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/65309/ft2_4FGL_J1422.3+3223_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/65309/ltcube_700704001_700963201_4FGL_J1422.3+3223_daily_bin1780.fits outfile=/scratch/kocevski/65309/expmap_700704001_700963201_4FGL_J1422.3+3223_daily_bin1780.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/65309/ltcube_700704001_700963201_4FGL_J1422.3+3223_daily_bin1780.fits
.....................!
real 190.75
user 185.31
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/65309/ft1_filtered_4FGL_J1422.3+3223_daily_bin1780.fits scfile=/scratch/kocevski/65309/ft2_4FGL_J1422.3+3223_daily_bin1780.fits outfile=/scratch/kocevski/65309/cmap_700704001_700963201_4FGL_J1422.3+3223_daily_bin1780.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/65309/ft1_filtered_4FGL_J1422.3+3223_daily_bin1780.fits scfile=/scratch/kocevski/65309/ft2_4FGL_J1422.3+3223_daily_bin1780.fits outfile=/scratch/kocevski/65309/cmap_HighResolution_700704001_700963201_4FGL_J1422.3+3223_daily_bin1780.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/65309/ft1_filtered_4FGL_J1422.3+3223_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/65309/ft2_4FGL_J1422.3+3223_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/65309/Model_4FGL_J1422.3+3223_daily_bin1780.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/65309/ft1_filtered_4FGL_J1422.3+3223_daily_bin1780.fits.....................!
real 53.30
user 51.95
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11035E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.114       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.2989       1.0000          .0000       .10000E+07
     4 'norm      '    9.7226       1.0000          .0000       .10000E+07
     5 'norm      '    .17041E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    27.986       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11071E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    13.167       1.0000          .0000       .10000E+07
     9 'norm      '    .10562E-03   1.0000          .0000       .10000E+07
    10 'norm      '    4.9871       1.0000          .0000       .10000E+07
    11 'norm      '    .46865E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .13690E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    153.15       1.0000          .0000       .10000E+07
    14 'norm      '    9.1159       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.554       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4135       1.0000          .0000       .10000E+07
    17 'norm      '    .81936       1.0000          .0000       .10000E+07
    18 'Normalizat'    .92502       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .83422       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=   7168.583     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1437 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11152E-06    14.861       -.81505E-06** at limit **
   2  Prefactor     11.144        15.879       -.40522E-05    .77636E-01
   3  Prefactor     7.3254        4.7809        .41058E-06    .17266E-02
   4  norm          9.7189        4.3976        .91894E-06    .24770E-01
   5  norm          .22204E-08    5.4813        .62734E-06** at limit **
   6  Prefactor     28.040        12.405        .10953E-05    .14695    
   7  Prefactor     .55511E-10    10.705        .14057E-05** at limit **
   8  Prefactor     13.136        5.0077       -.10303E-06    .59265E-03
   9  norm          .41078E-08    4.6811        .13233E-06** at limit **
  10  norm          4.9868        2.7634       -.30412E-06   -.25573E-02
  11  norm           .0000        2.0021        .55278E-07** at limit **
  12  norm          .55511E-10    1.2835        .14593E-06** at limit **
  13  Prefactor     153.77        44.890        .10659E-05   -.48797E-01
  14  norm          9.1288        6.9171        .17867E-06    .49771E-02
  15  Prefactor     14.518        10.588       -.23800E-05   -.81092E-01
  16  Prefactor     4.4665        4.5583        .23026E-07    .91232E-03
  17  norm          .81643        1.0999       -.10800E-06    .84995E-03
  18  Normalizat    .92454        .19002       -.79976E-05    .54797E-04
  19  Prefactor     .83428        .18412        .66845E-05   -.25456E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11522e-07
  Prefactor  = 11.1437
  Prefactor  = 7.32544
  norm       = 9.71887
  norm       = 2.22045e-09
  Prefactor  = 28.0399
  Prefactor  = 5.55112e-11
  Prefactor  = 13.1359
  norm       = 4.10783e-09
  norm       = 4.98678
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 153.771
  norm       = 9.12885
  Prefactor  = 14.5175
  Prefactor  = 4.46648
  norm       = 0.816435
  Normalizat = 0.924543
  Prefactor  = 0.834276
 **********
 **   18 **HESSE 
 **********

 FCN=   7168.583     FROM HESSE     STATUS=OK           308 CALLS     1745 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11152E-06    15.045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.144        22.997        .30026E-03   -1.5641    
   3  Prefactor     7.3254        4.7632        .37102E-03   -1.5654    
   4  norm          9.7189        12.486        .32113E-03   -1.5646    
   5  norm          .22204E-08    5.4421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.040        14.726        .18906E-03   -1.5602    
   7  Prefactor     .55511E-10    10.704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.136        5.0001        .27579E-03   -1.5635    
   9  norm          .41078E-08    4.6842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.9868        2.7606        .45008E-03   -1.5663    
  11  norm           .0000        2.0002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.2806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     153.77        45.427        .80812E-04   -1.5460    
  14  norm          9.1288        6.9278        .33171E-03   -1.5648    
  15  Prefactor     14.518        12.109        .26228E-03   -1.5632    
  16  Prefactor     4.4665        4.5795        .47913E-03   -1.5666    
  17  norm          .81643        1.1121        .51503E-03   -1.5690    
  18  Normalizat    .92454        .16665        .45221E-01   -.95603    
  19  Prefactor     .83428        .15911        .44161E-01   -.98477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54443e-07
Minuit parameter uncertainties:
  1  0.00259075
  2  22.9976
  3  4.76318
  4  12.4855
  5  0.000220214
  6  14.7259
  7  5.96662e-05
  8  5.00014
  9  0.000277545
  10  2.76059
  11  1.12851e-05
  12  1.67851e-05
  13  45.4268
  14  6.92779
  15  12.1094
  16  4.57953
  17  1.11207
  18  0.166744
  19  0.159195
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.314e+01  5.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

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  8.343e-01  1.592e-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.245e-01  1.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.95
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.18e-07 +/- 4.50e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.47e-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) = 7168.5121397
delta logL = 0.0708247720522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7168.50659095
delta logL = 0.0763735246037

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.280       1.0000          .0000       .10000E+07
     2 'Index     '    2.5413       1.0000          .0000       10.000    
     3 'Normalizat'    .90714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84543       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=   7168.507     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      259 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.280        5.3663        .10097E-04   -.34859E-02
   2  Index         2.5416        .37206        .48796E-02   -.11426E-03
   3  Normalizat    .90695        .18358        .24826E-03    .53853E-04
   4  Prefactor     .84548        .18199        .26200E-03    .66261E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2797
  Index      = 2.54158
  Normalizat = 0.906949
  Prefactor  = 0.845478
 **********
 **   18 **HESSE 
 **********

 FCN=   7168.507     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.280        5.2380        .40388E-06   -1.5638    
   2  Index         2.5416        .36268        .19518E-03   -.51402    
   3  Normalizat    .90695        .18366        .99304E-05   -.96216    
   4  Prefactor     .84548        .18207        .10480E-04   -.98073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00952e-10
Minuit parameter uncertainties:
  1  5.23803
  2  0.363099
  3  0.183791
  4  0.182201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/65309': 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) = 7168.50658948
delta logL = 0.0763749920507

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.228e+01  5.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.542e+00  3.631e-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.455e-01  1.822e-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.069e-01  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.14
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.54 +/- 0.36
Photon Flux (Free Index): 1.34e-07 +/- 6.11e-08
Energy Flux (Free Index): 3.71e-05 +/- 1.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/65309/cmap_HighResolution_700704001_700963201_4FGL_J1422.3+3223_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.18e-07', energy_flux2='3.71e-05', photon_flux_error='4.50e-08', dlogl='7.64e-02', energy_flux='3.87e-05', photon_flux2='1.34e-07', job_status='DONE', time_completed='2023-03-20 01:10:18.463624', photon_index_error2='0.36', photon_index2='2.54', ts='14.95', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.40e-05', EG='0.92', time_epoch_completed='1679299818.46', return_code='0', job_id='65309', GAL2='0.85', EG2='0.91', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='6.11e-08', ts2='15.14', photon_index='2.40' WHERE bin_id='1780' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:10:18 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 65309: <4FGL_J1422.3+3223_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1780> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Mar 20 01:00:30 2023
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:00:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:00:32 2023
Terminated at Mon Mar 20 01:10:19 2023
Results reported at Mon Mar 20 01:10:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1780 215.577 32.3911 700704001 700963201 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 :                                   510.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   586 sec.
    Turnaround time :                            589 sec.

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

