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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1709
RA = 215.792, Dec = 37.6452
tmin = 682300801, tmax = 682560001
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='146753', job_status='RUN', time_executed='2022-09-16 18:23:34.257466', time_epoch_executed='1663377814.26' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/146753

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/146753/ft1_4FGL_J1423.1+3738_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/146753/ft1_4FGL_J1423.1+3738_daily_bin1709.fits outfile=/scratch/kocevski/146753/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1709.fits ra=215.792 dec=37.6452 rad=12.0 tmin=682300801.0 tmax=682560001.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.78
user 3.51
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.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/146753/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/146753/ft1_filtered_4FGL_J1423.1+3738_daily_bin1709.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.60
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 550

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/146753/ft1_filtered_4FGL_J1423.1+3738_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/146753/ltcube_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.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/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.fits
.....................!
real 14.79
user 14.17
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/146753/ft1_filtered_4FGL_J1423.1+3738_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/146753/ltcube_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.fits outfile=/scratch/kocevski/146753/expmap_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.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/146753/ltcube_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.fits
.....................!
real 192.19
user 185.81
sys 5.03

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/146753/ft1_filtered_4FGL_J1423.1+3738_daily_bin1709.fits scfile=/scratch/kocevski/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.fits outfile=/scratch/kocevski/146753/cmap_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/146753/ft1_filtered_4FGL_J1423.1+3738_daily_bin1709.fits scfile=/scratch/kocevski/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.fits outfile=/scratch/kocevski/146753/cmap_HighResolution_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.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.58
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/146753/ft1_filtered_4FGL_J1423.1+3738_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/146753/Model_4FGL_J1423.1+3738_daily_bin1709.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/146753/ft1_filtered_4FGL_J1423.1+3738_daily_bin1709.fits.....................!
real 50.25
user 48.63
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/146753/ft1_filtered_4FGL_J1423.1+3738_daily_bin1709.fits', '/scratch/kocevski/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.fits', expMap='/scratch/kocevski/146753/expmap_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.fits', expCube='/scratch/kocevski/146753/ltcube_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/146753/Model_4FGL_J1423.1+3738_daily_bin1709.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/146753/ft1_filtered_4FGL_J1423.1+3738_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/146753/ft2_4FGL_J1423.1+3738_daily_bin1709.fits
Exposure map: /scratch/kocevski/146753/expmap_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.fits
Exposure cube: /scratch/kocevski/146753/ltcube_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/146753/Model_4FGL_J1423.1+3738_daily_bin1709.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) = 6190.00828047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70166E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .20539E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.998       1.0000          .0000       .10000E+07
     4 'norm      '    15.624       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.5385       1.0000          .0000       .10000E+07
     6 'Prefactor '    19.326       1.0000          .0000       .10000E+07
     7 'norm      '    3.6589       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.8372       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30073E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    22.617       1.0000          .0000       .10000E+07
    11 'norm      '    .68606E-04   1.0000          .0000       .10000E+07
    12 'norm      '    7.2056       1.0000          .0000       .10000E+07
    13 'Prefactor '    147.80       1.0000          .0000       .10000E+07
    14 'norm      '    .17999E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3518       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.7483       1.0000          .0000       .10000E+07
    17 'norm      '    2.6326       1.0000          .0000       .10000E+07
    18 'Prefactor '    .16855E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .60675E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .37833E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2504       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .71853       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=   6190.008     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1835 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        31.534        .41149E-06** at limit **
   2  norm           .0000        .73001        .11941E-06** at limit **
   3  Prefactor     15.068        5.7703        .34392E-07   -.80221E-03
   4  norm          15.596        5.9077        .14255E-07   -.44683E-01
   5  Prefactor     3.5552        4.4544       -.66814E-07   -.38716E-04
   6  Prefactor     19.312        1.5990       -.42939E-08   -.57358E-02
   7  norm          3.6603        4.4221       -.47258E-07   -.20227E-03
   8  Prefactor     6.8860        11.419        .10471E-06    .56012E-02
   9  Prefactor     .26201E-07    9.0668       -.87414E-07** at limit **
  10  Prefactor     22.557        7.1304        .12786E-07   -.14824E-02
  11  norm          .55511E-10    7.4382       -.28633E-08** at limit **
  12  norm          7.2605        9.4592       -.13169E-07    .52123E-03
  13  Prefactor     148.24        55.137        .26501E-07   -.37458E-02
  14  norm           .0000        4.4076       -.90680E-07** at limit **
  15  Prefactor     4.3483        2.6195        .56161E-09   -.13328E-01
  16  Prefactor     6.7399        6.5192       -.74495E-07    .67549E-03
  17  norm          2.6334        1.7485        .16914E-07   -.16530E-04
  18  Prefactor      .0000        5.5024       -.23894E-06** at limit **
  19  Prefactor     .57732E-08    17.655       -.36586E-06** at limit **
  20  Prefactor     .14211E-07    9.1897        .51268E-07** at limit **
  21  Normalizat    1.2501        .22695        .12005E-05    .16421E-05
  22  Prefactor     .71848        .23718       -.26521E-05    .25580E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 15.068
  norm       = 15.5958
  Prefactor  = 3.55516
  Prefactor  = 19.3121
  norm       = 3.66031
  Prefactor  = 6.88597
  Prefactor  = 2.62013e-08
  Prefactor  = 22.5574
  norm       = 5.55112e-11
  norm       = 7.26047
  Prefactor  = 148.242
  norm       = 0
  Prefactor  = 4.34831
  Prefactor  = 6.73993
  norm       = 2.63336
  Prefactor  = 0
  Prefactor  = 5.77316e-09
  Prefactor  = 1.42109e-08
  Normalizat = 1.25012
  Prefactor  = 0.718479
 **********
 **   18 **HESSE 
 **********

 FCN=   6190.008     FROM HESSE     STATUS=OK           392 CALLS     2227 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        31.495        .14813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .72311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.068        5.7705        .25836E-03   -1.5630    
   4  norm          15.596        21.314        .25312E-03   -1.5629    
   5  Prefactor     3.5552        4.4994        .53711E-03   -1.5670    
   6  Prefactor     19.312        21.225        .22755E-03   -1.5620    
   7  norm          3.6603        4.4900        .52783E-03   -1.5670    
   8  Prefactor     6.8860        17.243        .38347E-03   -1.5655    
   9  Prefactor     .26201E-07    12.739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.557        7.1436        .21033E-03   -1.5613    
  11  norm          .55511E-10    7.4391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.2605        9.7508        .37344E-03   -1.5654    
  13  Prefactor     148.24        55.274        .82261E-04   -1.5464    
  14  norm           .0000        4.4059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.3483        17.166        .48260E-03   -1.5666    
  16  Prefactor     6.7399        6.5780        .38602E-03   -1.5656    
  17  norm          2.6334        1.7629        .62821E-03   -1.5676    
  18  Prefactor      .0000        5.4980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .57732E-08    17.854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .14211E-07    12.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2501        .19658        .53749E-01   -.85068    
  22  Prefactor     .71848        .20113        .74894E-01   -1.0281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90576e-08
Minuit parameter uncertainties:
  1  1.13317e-05
  2  3.7108e-07
  3  5.77055
  4  21.3145
  5  4.49937
  6  21.2253
  7  4.49004
  8  17.2432
  9  0.00115503
  10  7.14362
  11  3.70433e-05
  12  9.75086
  13  55.2737
  14  2.87152e-06
  15  17.1662
  16  6.57803
  17  1.76295
  18  5.06761e-06
  19  0.000642454
  20  0.000828438
  21  0.196701
  22  0.201333
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  5.551e-11  3.704e-05  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:  7.185e-01  2.013e-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:  1.250e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/146753/likelihoodResults_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.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) = 6190.00793001
delta logL = -0.000286705758299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6189.77777356
delta logL = 0.229869743722

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58058       1.0000          .0000       .10000E+07
     2 'alpha     '    4.0458       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74429       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=   6189.778     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      276 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57815        18.465        .70986E-03    .13784E-01
   2  alpha         4.0475        4.5114        .50000        .58592E-04
   3  Normalizat    1.2083        .36301E-01    .54474E-01   -.34907E-04
   4  Prefactor     .74442        .39675E-01    .73661E-01   -.23238E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.578148
  alpha      = 4.04749
  Normalizat = 1.20831
  Prefactor  = 0.744416
 **********
 **   18 **HESSE 
 **********

 FCN=   6189.778     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      309 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57815        67.991        .88590E-05   -1.5693    
   2  alpha         4.0475        2.8088        .21623E-01    .66746    
   3  Normalizat    1.2083        .18798        .24086E-03   -.86346    
   4  Prefactor     .74442        .20390        .32603E-03   -1.0181    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.34761e-06
Minuit parameter uncertainties:
  1  12.5395
  2  9.53525
  3  0.188082
  4  0.204107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/146753': 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): 102
logL (Free Index) = 6189.77777285
delta logL = 0.229870457531

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  5.781e-01  1.254e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  4.047e+00  9.535e+00  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:  7.444e-01  2.041e-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:  1.208e+00  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/146753/cmap_HighResolution_682300801_682560001_4FGL_J1423.1+3738_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-05', job_status='DONE', photon_flux_upper_limit='3.79e-08', time_completed='2022-09-16 18:33:46.629885', job_id='146753', GAL2='0.74', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1663378426.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='2.30e-01', ts2='0.49', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1709' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:33:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 146753: <4FGL_J1423.1+3738_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1423.1+3738_daily_bin1709> 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) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:20:39 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:39 2022
Terminated at Fri Sep 16 18:33:47 2022
Results reported at Fri Sep 16 18:33:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1709 215.792 37.6452 682300801 682560001 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 :                                   612.51 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            804 sec.

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

