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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1752
RA = 215.792, Dec = 37.6452
tmin = 693446401, tmax = 693705601
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='265030', job_status='RUN', time_executed='2022-12-26 01:02:55.283377', time_epoch_executed='1672045375.28' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/265030

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/265030/ft1_4FGL_J1423.1+3738_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/265030/ft1_4FGL_J1423.1+3738_daily_bin1752.fits outfile=/scratch/kocevski/265030/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1752.fits ra=215.792 dec=37.6452 rad=12.0 tmin=693446401.0 tmax=693705601.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.48
user 3.23
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.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/265030/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/265030/ft1_filtered_4FGL_J1423.1+3738_daily_bin1752.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.33
sys 0.17

Number of photons that the gtmktime cut: 478

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/265030/ft1_filtered_4FGL_J1423.1+3738_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/265030/ltcube_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.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/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits
.....................!
real 14.25
user 13.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/265030/ft1_filtered_4FGL_J1423.1+3738_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/265030/ltcube_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.fits outfile=/scratch/kocevski/265030/expmap_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.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/265030/ltcube_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.fits
.....................!
real 192.97
user 187.85
sys 4.45

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1423.1+3738 @ 215.792 37.6452

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/265030/ft1_filtered_4FGL_J1423.1+3738_daily_bin1752.fits scfile=/scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits outfile=/scratch/kocevski/265030/cmap_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.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.792 yref=37.6452 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/265030/ft1_filtered_4FGL_J1423.1+3738_daily_bin1752.fits scfile=/scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits outfile=/scratch/kocevski/265030/cmap_HighResolution_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.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.792 yref=37.6452 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/265030/ft1_filtered_4FGL_J1423.1+3738_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/265030/Model_4FGL_J1423.1+3738_daily_bin1752.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/265030/ft1_filtered_4FGL_J1423.1+3738_daily_bin1752.fits.....................!
real 43.47
user 42.16
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/265030/ft1_filtered_4FGL_J1423.1+3738_daily_bin1752.fits', '/scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits', expMap='/scratch/kocevski/265030/expmap_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.fits', expCube='/scratch/kocevski/265030/ltcube_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/265030/Model_4FGL_J1423.1+3738_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1423.1+3738'

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  3.465e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/265030/ft1_filtered_4FGL_J1423.1+3738_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/265030/ft2_4FGL_J1423.1+3738_daily_bin1752.fits
Exposure map: /scratch/kocevski/265030/expmap_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.fits
Exposure cube: /scratch/kocevski/265030/ltcube_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/265030/Model_4FGL_J1423.1+3738_daily_bin1752.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) = 5162.19923126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.524       1.0000          .0000       .10000E+07
     2 'norm      '    .76676       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.3184       1.0000          .0000       .10000E+07
     4 'norm      '    .80665E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11277E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.3540       1.0000          .0000       .10000E+07
     7 'norm      '    .60132       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25775E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    55.362       1.0000          .0000       .10000E+07
    10 'Prefactor '    48.537       1.0000          .0000       .10000E+07
    11 'norm      '    3.3535       1.0000          .0000       .10000E+07
    12 'norm      '    .53393E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    35.753       1.0000          .0000       .10000E+07
    14 'norm      '    3.4727       1.0000          .0000       .10000E+07
    15 'Prefactor '    .43401E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24305E-02   1.0000          .0000       .10000E+07
    17 'norm      '    2.6066       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34802E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.502       1.0000          .0000       .10000E+07
    20 'Prefactor '    .48030E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    .46981       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2250       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5161.949     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1782 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.894        43.250        .73824E-06    .10754E-01
   2  norm          .76708        .74749        .12863E-07   -.19236E-02
   3  Prefactor     4.3074        4.1390       -.43169E-06   -.77634E-03
   4  norm          .12212E-08    10.717        .51959E-06** at limit **
   5  Prefactor      .0000        3.3175        .96428E-07** at limit **
   6  Prefactor     9.4455        13.632        .81744E-06   -.58145E-02
   7  norm          .60822        3.4664       -.12366E-06    .37380E-03
   8  Prefactor     .11874E-06    9.8378        .99728E-07** at limit **
   9  Prefactor     54.190        4.4572       -.11767E-07   -.17279E-02
  10  Prefactor     48.618        7.5343        .40138E-07   -.41631E-03
  11  norm          3.6080        5.4576       -.62582E-06   -.13451E-01
  12  norm          .38858E-09    6.6769       -.81457E-06** at limit **
  13  Prefactor     34.872        28.104       -.13919E-06   -.57180E-03
  14  norm          3.3843        7.6756       -.52190E-06   -.34729E-03
  15  Prefactor      .0000        5.2907       -.34431E-06** at limit **
  16  Prefactor      .0000        3.5777       -.28694E-06** at limit **
  17  norm          2.5816        1.8840       -.11152E-06    .11807E-02
  18  Prefactor      .0000        5.0117       -.11974E-06** at limit **
  19  Prefactor     21.987        46.807        .13524E-05   -.56890E-02
  20  Prefactor     .12940E-06    10.882        .32286E-06** at limit **
  21  Normalizat    .47190        .20671       -.20511E-05    .10082E-04
  22  Prefactor     1.2228        .24226       -.71672E-06    .12710E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.8939
  norm       = 0.767076
  Prefactor  = 4.30745
  norm       = 1.22125e-09
  Prefactor  = 0
  Prefactor  = 9.4455
  norm       = 0.608218
  Prefactor  = 1.18738e-07
  Prefactor  = 54.1904
  Prefactor  = 48.6175
  norm       = 3.60798
  norm       = 3.88578e-10
  Prefactor  = 34.8724
  norm       = 3.38426
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.58163
  Prefactor  = 0
  Prefactor  = 21.9871
  Prefactor  = 1.29396e-07
  Normalizat = 0.471897
  Prefactor  = 1.22284
 **********
 **   18 **HESSE 
 **********

 FCN=   5161.949     FROM HESSE     STATUS=OK           392 CALLS     2174 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.894        62.147        .13186E-03   -1.5552    
   2  norm          .76708        .74104        .55446E-03   -1.5690    
   3  Prefactor     4.3074        4.1497        .48452E-03   -1.5666    
   4  norm          .12212E-08    10.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.3208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.4455        14.942        .32744E-03   -1.5646    
   7  norm          .60822        3.5725        .69110E-03   -1.5692    
   8  Prefactor     .11874E-06    21.240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     54.190        24.171        .13441E-03   -1.5561    
  10  Prefactor     48.618        7.5409        .14355E-03   -1.5569    
  11  norm          3.6080        14.056        .55239E-03   -1.5670    
  12  norm          .38858E-09    6.6716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     34.872        28.181        .16726E-03   -1.5590    
  14  norm          3.3843        7.6905        .54239E-03   -1.5671    
  15  Prefactor      .0000        5.2853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.5779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5816        1.9323        .63159E-03   -1.5676    
  18  Prefactor      .0000        5.0110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.987        64.398        .23257E-03   -1.5614    
  20  Prefactor     .12940E-06    20.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .47190        .18289        .68071E-01   -1.1374    
  22  Prefactor     1.2228        .20685        .52324E-01   -.85631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.5065e-08
Minuit parameter uncertainties:
  1  62.1474
  2  0.741035
  3  4.14967
  4  0.000231611
  5  8.05721e-06
  6  14.9419
  7  2.94815
  8  0.00317611
  9  24.171
  10  7.54087
  11  14.0561
  12  0.000103199
  13  28.1811
  14  7.69054
  15  5.19783e-06
  16  6.65166e-06
  17  1.93227
  18  1.5673e-05
  19  64.4
  20  0.00325277
  21  0.183118
  22  0.206987
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  3.608e+00  1.406e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.223e+00  2.070e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  4.719e-01  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 215.792 37.645
Photon Flux Upper Limit: 5.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/265030/likelihoodResults_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.txt

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): 102
logL (Free Index) = 5161.91598632
delta logL = 0.0326795630699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5161.6229296
delta logL = 0.325736284369

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77991E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .41473       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2717       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5161.623     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      329 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78009E-01    3.8864        .52497E-03** at limit **
   2  alpha         5.0000        2.6237        .46423    ** at limit **
   3  Normalizat    .41464        .68412E-01    .72234E-01    .15944E-03
   4  Prefactor     1.2718        .74434E-01    .51407E-01    .16754E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0780094
  alpha      = 5
  Normalizat = 0.41464
  Prefactor  = 1.27182
 **********
 **   18 **HESSE 
 **********

 FCN=   5161.623     FROM HESSE     STATUS=OK            33 CALLS      362 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78009E-01    .10533        .23453E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.2388        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .41464        .21440        .31983E-03   -1.1655    
   4  Prefactor     1.2718        .24972        .22726E-03   -.84149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3161e-11
Minuit parameter uncertainties:
  1  0.105333
  2  6.94029e-07
  3  0.214826
  4  0.249953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/265030': 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) = 5161.62292948
delta logL = 0.325736405068

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  7.801e-02  1.053e-01  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  5.000e+00  6.940e-07  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.272e+00  2.500e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  4.146e-01  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 215.792 37.645

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/265030/cmap_HighResolution_693446401_693705601_4FGL_J1423.1+3738_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-05', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2022-12-26 01:12:03.707405', job_id='265030', GAL2='1.27', fit_tolerance='1e-08', EG2='0.41', EG='0.47', time_epoch_completed='1672045923.71', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='3.26e-01', ts2='0.80', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1752' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:12:03 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 265030: <4FGL_J1423.1+3738_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1423.1+3738_daily_bin1752> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Dec 26 01:00:27 2022
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:01:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:01:04 2022
Terminated at Mon Dec 26 01:12:04 2022
Results reported at Mon Dec 26 01:12:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1752 215.792 37.6452 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1423.1+3738 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   550.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            697 sec.

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

