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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1778
RA = 215.577, Dec = 32.3911
tmin = 700185601, tmax = 700444801
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='966991', job_status='RUN', time_executed='2023-03-14 01:16:37.809231', time_epoch_executed='1678781797.81' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/966991

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/966991/ft1_4FGL_J1422.3+3223_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/966991/ft2_4FGL_J1422.3+3223_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/966991/ft1_4FGL_J1422.3+3223_daily_bin1778.fits outfile=/scratch/kocevski/966991/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1778.fits ra=215.577 dec=32.3911 rad=12.0 tmin=700185601.0 tmax=700444801.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.92
user 3.70
sys 0.20

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

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

Number of photons that the gtmktime cut: 619

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/966991/ft1_filtered_4FGL_J1422.3+3223_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/966991/ft2_4FGL_J1422.3+3223_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/966991/ltcube_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.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/966991/ft2_4FGL_J1422.3+3223_daily_bin1778.fits
.....................!
real 12.07
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/966991/ft1_filtered_4FGL_J1422.3+3223_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/966991/ft2_4FGL_J1422.3+3223_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/966991/ltcube_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.fits outfile=/scratch/kocevski/966991/expmap_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.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/966991/ltcube_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.fits
.....................!
real 191.15
user 186.35
sys 4.47

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/966991/ft1_filtered_4FGL_J1422.3+3223_daily_bin1778.fits scfile=/scratch/kocevski/966991/ft2_4FGL_J1422.3+3223_daily_bin1778.fits outfile=/scratch/kocevski/966991/cmap_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.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/966991/ft1_filtered_4FGL_J1422.3+3223_daily_bin1778.fits scfile=/scratch/kocevski/966991/ft2_4FGL_J1422.3+3223_daily_bin1778.fits outfile=/scratch/kocevski/966991/cmap_HighResolution_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=215.577 yref=32.3911 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/966991/ft1_filtered_4FGL_J1422.3+3223_daily_bin1778.fits', '/scratch/kocevski/966991/ft2_4FGL_J1422.3+3223_daily_bin1778.fits', expMap='/scratch/kocevski/966991/expmap_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.fits', expCube='/scratch/kocevski/966991/ltcube_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/966991/Model_4FGL_J1422.3+3223_daily_bin1778.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/966991/ft1_filtered_4FGL_J1422.3+3223_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/966991/ft2_4FGL_J1422.3+3223_daily_bin1778.fits
Exposure map: /scratch/kocevski/966991/expmap_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.fits
Exposure cube: /scratch/kocevski/966991/ltcube_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/966991/Model_4FGL_J1422.3+3223_daily_bin1778.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6953.89532368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.858       1.0000          .0000       .10000E+07
     2 'Prefactor '    .39119E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .73689       1.0000          .0000       .10000E+07
     4 'norm      '    .88543E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .77827E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .95590E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .34215E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    13.208       1.0000          .0000       .10000E+07
     9 'norm      '    .21311E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.9122       1.0000          .0000       .10000E+07
    11 'norm      '    1.3813       1.0000          .0000       .10000E+07
    12 'norm      '    .68177       1.0000          .0000       .10000E+07
    13 'Prefactor '    324.36       1.0000          .0000       .10000E+07
    14 'norm      '    .28268E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    29.238       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.7112       1.0000          .0000       .10000E+07
    17 'norm      '    .50515E-06   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2118       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .80914       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=   6952.319     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      972 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.919        1.2540        .22052E-07   -.21559    
   2  Prefactor     .32657E-04    1.2010       -.27944E-07** at limit **
   3  Prefactor     .74190        1.0091       -.52056E-08    .50065E-01
   4  norm          .17764E-08    4.3185       -.26112E-07** at limit **
   5  norm           .0000        1.7584       -.14110E-06** at limit **
   6  Prefactor     .55511E-10    16.434        .40010E-06** at limit **
   7  Prefactor     .13101E-07    12.634       -.35886E-06** at limit **
   8  Prefactor     13.204        5.0732        .49171E-08    .53116E-03
   9  norm          .24980E-08    3.9574       -.19539E-06** at limit **
  10  norm          4.9136        2.3773        .10105E-06   -.17508E-02
  11  norm          1.3809        4.2151        .89335E-07    .16099E-03
  12  norm          .67882        2.5873        .87360E-06    .11608E-03
  13  Prefactor     326.22        64.456       -.12540E-06   -.11563E-01
  14  norm          .16653E-09    6.5734       -.16781E-06** at limit **
  15  Prefactor     29.250        2.5019       -.64698E-08    .23914E-01
  16  Prefactor     8.7286        8.0285       -.82468E-07    .83921E-02
  17  norm           .0000        1.4541       -.10030E-06** at limit **
  18  Normalizat    1.2106        .21273       -.15703E-05   -.32539E-04
  19  Prefactor     .80940        .21057        .39227E-05   -.37269E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.9191
  Prefactor  = 3.26571e-05
  Prefactor  = 0.741899
  norm       = 1.77636e-09
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.31006e-08
  Prefactor  = 13.2042
  norm       = 2.498e-09
  norm       = 4.91362
  norm       = 1.38094
  norm       = 0.67882
  Prefactor  = 326.22
  norm       = 1.66533e-10
  Prefactor  = 29.2502
  Prefactor  = 8.72856
  norm       = 0
  Normalizat = 1.21062
  Prefactor  = 0.809398
 **********
 **   18 **HESSE 
 **********

 FCN=   6952.319     FROM HESSE     STATUS=OK           310 CALLS     1282 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.919        27.675        .21395E-03   -1.5614    
   2  Prefactor     .32657E-04    32.002        .16004E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .74190        7.9050        .57763E-03   -1.5691    
   4  norm          .17764E-08    4.3546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.7575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    16.489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13101E-07    12.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.204        5.0669        .27536E-03   -1.5635    
   9  norm          .24980E-08    4.0077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.9136        2.3791        .45357E-03   -1.5664    
  11  norm          1.3809        4.2720        .92567E-03   -1.5684    
  12  norm          .67882        2.6049        .62201E-03   -1.5691    
  13  Prefactor     326.22        64.490        .55534E-04   -1.5347    
  14  norm          .16653E-09    6.5779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.250        19.181        .18497E-03   -1.5600    
  16  Prefactor     8.7286        8.4805        .33938E-03   -1.5649    
  17  norm           .0000        1.4347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2106        .18391        .56171E-01   -.86275    
  19  Prefactor     .80940        .17602        .66980E-01   -.99383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15285e-06
Minuit parameter uncertainties:
  1  27.6751
  2  0.0646566
  3  4.84343
  4  0.000174843
  5  1.54983e-06
  6  4.91611e-05
  7  0.000814564
  8  5.06686
  9  0.000200258
  10  2.37907
  11  4.272
  12  2.60492
  13  64.4906
  14  7.08811e-05
  15  19.1812
  16  8.48051
  17  5.05168e-07
  18  0.184004
  19  0.176138
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.320e+01  5.067e+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.094e-01  1.761e-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.211e+00  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.86
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 4.56e-08
Energy Flux (Fixed Index): 3.89e-05 +/- 1.49e-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) = 6951.2937062
delta logL = 1.02541096352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6951.29173641
delta logL = 1.02738075305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.525       1.0000          .0000       .10000E+07
     2 'Index     '    1.8739       1.0000          .0000       10.000    
     3 'Normalizat'    1.2684       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77512       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.

 FCN=   6951.292     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.524        6.4292       -.96232E-07   -.17802E-02
   2  Index         1.8738        .36347       -.80020E-05    .42033E-04
   3  Normalizat    1.2683        .17843        .12352E-05    .20229E-03
   4  Prefactor     .77518        .17444       -.45991E-06    .18188E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5238
  Index      = 1.87377
  Normalizat = 1.26833
  Prefactor  = 0.775177
 **********
 **   18 **HESSE 
 **********

 FCN=   6951.292     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.524        6.3787        .10884E-04   -1.5634    
   2  Index         1.8738        .35954        .60998E-02   -.67545    
   3  Normalizat    1.2683        .21061        .24380E-03   -.84517    
   4  Prefactor     .77518        .20696        .30233E-03   -1.0065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.01302e-11
Minuit parameter uncertainties:
  1  6.37871
  2  0.360047
  3  0.210748
  4  0.207163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/966991': 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) = 6951.29173632
delta logL = 1.02738084042

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.352e+01  6.379e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  1.874e+00  3.600e-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.752e-01  2.072e-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.268e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.84
Ra Dec: 215.577 32.391
Photon Index (Free Index): 1.87 +/- 0.36
Photon Flux (Free Index): 6.74e-08 +/- 4.51e-08
Energy Flux (Free Index): 6.50e-05 +/- 4.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/966991/cmap_HighResolution_700185601_700444801_4FGL_J1422.3+3223_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='6.50e-05', photon_flux_error='4.56e-08', dlogl='1.03e+00', energy_flux='3.89e-05', photon_flux2='6.74e-08', job_status='DONE', time_completed='2023-03-14 01:24:31.680005', photon_index_error2='0.36', photon_index2='1.87', ts='19.86', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='4.30e-05', EG='1.21', time_epoch_completed='1678782271.68', return_code='0', job_id='966991', GAL2='0.78', EG2='1.27', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='4.51e-08', ts2='21.84', photon_index='2.40' WHERE bin_id='1778' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:24:31 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 966991: <4FGL_J1422.3+3223_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1778> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Mar 14 01:15:18 2023
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 01:15:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 01:15:20 2023
Terminated at Tue Mar 14 01:24:32 2023
Results reported at Tue Mar 14 01:24:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1778 215.577 32.3911 700185601 700444801 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 :                                   476.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   552 sec.
    Turnaround time :                            554 sec.

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

