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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1716
RA = 215.577, Dec = 32.3911
tmin = 684115201, tmax = 684374401
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='146742', job_status='RUN', time_executed='2022-09-16 18:21:21.771442', time_epoch_executed='1663377681.77' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/146742

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/146742/ft1_4FGL_J1422.3+3223_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/146742/ft2_4FGL_J1422.3+3223_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/146742/ft1_4FGL_J1422.3+3223_daily_bin1716.fits outfile=/scratch/kocevski/146742/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1716.fits ra=215.577 dec=32.3911 rad=12.0 tmin=684115201.0 tmax=684374401.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.10
user 3.87
sys 0.21

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

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

Number of photons that the gtmktime cut: 565

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/146742/ft1_filtered_4FGL_J1422.3+3223_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/146742/ft2_4FGL_J1422.3+3223_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/146742/ltcube_684115201_684374401_4FGL_J1422.3+3223_daily_bin1716.fits outfile=/scratch/kocevski/146742/expmap_684115201_684374401_4FGL_J1422.3+3223_daily_bin1716.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/146742/ltcube_684115201_684374401_4FGL_J1422.3+3223_daily_bin1716.fits
.....................!
real 191.02
user 185.73
sys 4.63

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/146742/ft1_filtered_4FGL_J1422.3+3223_daily_bin1716.fits scfile=/scratch/kocevski/146742/ft2_4FGL_J1422.3+3223_daily_bin1716.fits outfile=/scratch/kocevski/146742/cmap_684115201_684374401_4FGL_J1422.3+3223_daily_bin1716.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/146742/ft1_filtered_4FGL_J1422.3+3223_daily_bin1716.fits scfile=/scratch/kocevski/146742/ft2_4FGL_J1422.3+3223_daily_bin1716.fits outfile=/scratch/kocevski/146742/cmap_HighResolution_684115201_684374401_4FGL_J1422.3+3223_daily_bin1716.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.890       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18708E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5247       1.0000          .0000       .10000E+07
     4 'norm      '    17.513       1.0000          .0000       .10000E+07
     5 'norm      '    .52766E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14871E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.8015       1.0000          .0000       .10000E+07
     8 'Prefactor '    18.155       1.0000          .0000       .10000E+07
     9 'norm      '    .60557E-02   1.0000          .0000       .10000E+07
    10 'norm      '    6.1240       1.0000          .0000       .10000E+07
    11 'norm      '    .12071E-04   1.0000          .0000       .10000E+07
    12 'norm      '    7.6982       1.0000          .0000       .10000E+07
    13 'Prefactor '    43.375       1.0000          .0000       .10000E+07
    14 'norm      '    3.3628       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.016       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15764E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .60948       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1114       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .77991       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=   6031.496     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1391 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.014        2.9404        .52278E-06    .22232E-01
   2  Prefactor     .55511E-10    14.174       -.82586E-06** at limit **
   3  Prefactor     7.5189        4.0105        .23059E-06    .46492E-02
   4  norm          17.487        6.7672        .13285E-05    .12579    
   5  norm           .0000        2.2571       -.16858E-06** at limit **
   6  Prefactor     .41134E-07    23.312       -.12813E-05** at limit **
   7  Prefactor     8.8474        14.627       -.35842E-05    .35219E-01
   8  Prefactor     18.161        5.4538        .12158E-06   -.33395E-02
   9  norm          .21649E-08    5.2328        .83620E-06** at limit **
  10  norm          6.1225        2.5040       -.67347E-07   -.18624E-03
  11  norm           .0000        2.1462       -.44009E-06** at limit **
  12  norm          7.6859        5.7256       -.18713E-06    .34245E-02
  13  Prefactor     43.698        33.703        .45318E-05   -.24096E-01
  14  norm          3.2945        4.9284        .73160E-09   -.39688E-02
  15  Prefactor     10.010        9.2993        .22111E-05    .29109E-01
  16  Prefactor     .55511E-10    3.3520       -.47739E-06** at limit **
  17  norm          .60956        1.1634       -.29237E-06   -.18340E-03
  18  Normalizat    1.1108        .20540        .94634E-05   -.42480E-04
  19  Prefactor     .78028        .20816       -.24312E-04   -.53808E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0143
  Prefactor  = 5.55112e-11
  Prefactor  = 7.51887
  norm       = 17.487
  norm       = 0
  Prefactor  = 4.11338e-08
  Prefactor  = 8.84744
  Prefactor  = 18.161
  norm       = 2.16493e-09
  norm       = 6.12253
  norm       = 0
  norm       = 7.68587
  Prefactor  = 43.6978
  norm       = 3.29454
  Prefactor  = 10.0096
  Prefactor  = 5.55112e-11
  norm       = 0.609564
  Normalizat = 1.11081
  Prefactor  = 0.780284
 **********
 **   18 **HESSE 
 **********

 FCN=   6031.496     FROM HESSE     STATUS=OK           310 CALLS     1701 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.014        18.636        .30336E-03   -1.5642    
   2  Prefactor     .55511E-10    14.084        .17123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.5189        4.0108        .36536E-03   -1.5653    
   4  norm          17.487        12.229        .23906E-03   -1.5624    
   5  norm           .0000        2.2517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41134E-07    23.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.8474        15.797        .33762E-03   -1.5648    
   8  Prefactor     18.161        5.4417        .23479E-03   -1.5623    
   9  norm          .21649E-08    5.2415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.1225        2.5035        .40546E-03   -1.5658    
  11  norm           .0000        2.1440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.6859        5.7235        .36118E-03   -1.5653    
  13  Prefactor     43.698        34.602        .15185E-03   -1.5576    
  14  norm          3.2945        4.9339        .55160E-03   -1.5672    
  15  Prefactor     10.010        9.5490        .31637E-03   -1.5645    
  16  Prefactor     .55511E-10    3.3446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .60956        1.1819        .68383E-03   -1.5692    
  18  Normalizat    1.1108        .17851        .37555E-01   -.89406    
  19  Prefactor     .78028        .17860        .62918E-01   -1.0046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08908e-07
Minuit parameter uncertainties:
  1  18.6356
  2  5.36031e-05
  3  4.01076
  4  12.2291
  5  1.20979e-05
  6  0.00196342
  7  15.7967
  8  5.44169
  9  0.00021343
  10  2.50355
  11  3.87126e-06
  12  5.72355
  13  34.6018
  14  4.93389
  15  9.54903
  16  1.96889e-05
  17  1.18192
  18  0.178608
  19  0.178733
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.816e+01  5.442e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.401e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.500e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  7.803e-01  1.787e-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.111e+00  1.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 26.54
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.64e-07 +/- 4.90e-08
Energy Flux (Fixed Index): 5.36e-05 +/- 1.60e-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) = 6031.49337729
delta logL = 0.00278564060773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6031.49160841
delta logL = 0.004554522935

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.817       1.0000          .0000       .10000E+07
     2 'Index     '    2.4291       1.0000          .0000       10.000    
     3 'Normalizat'    1.1069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78299       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=   6031.492     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.818        6.6046        .92064E-05   -.22621E-01
   2  Index         2.4291        .30226        .38435E-02   -.58397E-03
   3  Normalizat    1.1069        .19926        .22589E-03    .10136E-03
   4  Prefactor     .78298        .20483        .27787E-03    .12827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.8176
  Index      = 2.42911
  Normalizat = 1.10694
  Prefactor  = 0.782978
 **********
 **   18 **HESSE 
 **********

 FCN=   6031.492     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.818        6.4757        .18413E-05   -1.5624    
   2  Index         2.4291        .29614        .15374E-03   -.54005    
   3  Normalizat    1.1069        .19940        .90357E-05   -.89529    
   4  Prefactor     .78298        .20499        .11115E-04   -1.0036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33185e-09
Minuit parameter uncertainties:
  1  6.47568
  2  0.296379
  3  0.199539
  4  0.205185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/146742': 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) = 6031.49160839
delta logL = 0.00455454259736

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.782e+01  6.476e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.429e+00  2.964e-01  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  7.500e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  7.830e-01  2.052e-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.107e+00  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.40
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.43 +/- 0.30
Photon Flux (Free Index): 1.67e-07 +/- 5.82e-08
Energy Flux (Free Index): 5.26e-05 +/- 1.86e-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/146742/cmap_HighResolution_684115201_684374401_4FGL_J1422.3+3223_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.64e-07', energy_flux2='5.26e-05', photon_flux_error='4.90e-08', dlogl='4.55e-03', energy_flux='5.36e-05', photon_flux2='1.67e-07', job_status='DONE', time_completed='2022-09-16 18:29:32.207539', photon_index_error2='0.30', photon_index2='2.43', ts='26.54', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='1.11', time_epoch_completed='1663378172.21', return_code='0', job_id='146742', GAL2='0.78', EG2='1.11', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='5.82e-08', ts2='26.40', photon_index='2.40' WHERE bin_id='1716' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:29:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 146742: <4FGL_J1422.3+3223_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1716> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:20:23 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:20:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:20:35 2022
Terminated at Fri Sep 16 18:29:33 2022
Results reported at Fri Sep 16 18:29:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1716 215.577 32.3911 684115201 684374401 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 :                                   492.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             343.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   537 sec.
    Turnaround time :                            550 sec.

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

