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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1714
RA = 215.792, Dec = 37.6452
tmin = 683596801, tmax = 683856001
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='146760', job_status='RUN', time_executed='2022-09-16 18:24:30.725261', time_epoch_executed='1663377870.73' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/146760

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/146760/ft1_4FGL_J1423.1+3738_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/146760/ft2_4FGL_J1423.1+3738_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/146760/ft1_4FGL_J1423.1+3738_daily_bin1714.fits outfile=/scratch/kocevski/146760/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1714.fits ra=215.792 dec=37.6452 rad=12.0 tmin=683596801.0 tmax=683856001.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.53
user 3.29
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/146760/ft2_4FGL_J1423.1+3738_daily_bin1714.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/146760/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/146760/ft1_filtered_4FGL_J1423.1+3738_daily_bin1714.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 563

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/146760/ft1_filtered_4FGL_J1423.1+3738_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/146760/ft2_4FGL_J1423.1+3738_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/146760/ltcube_683596801_683856001_4FGL_J1423.1+3738_daily_bin1714.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/146760/ft2_4FGL_J1423.1+3738_daily_bin1714.fits
.....................!
real 14.23
user 13.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/146760/ft1_filtered_4FGL_J1423.1+3738_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/146760/ft2_4FGL_J1423.1+3738_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/146760/ltcube_683596801_683856001_4FGL_J1423.1+3738_daily_bin1714.fits outfile=/scratch/kocevski/146760/expmap_683596801_683856001_4FGL_J1423.1+3738_daily_bin1714.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/146760/ltcube_683596801_683856001_4FGL_J1423.1+3738_daily_bin1714.fits
.....................!
real 191.66
user 185.74
sys 5.10

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/146760/ft1_filtered_4FGL_J1423.1+3738_daily_bin1714.fits scfile=/scratch/kocevski/146760/ft2_4FGL_J1423.1+3738_daily_bin1714.fits outfile=/scratch/kocevski/146760/cmap_683596801_683856001_4FGL_J1423.1+3738_daily_bin1714.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/146760/ft1_filtered_4FGL_J1423.1+3738_daily_bin1714.fits scfile=/scratch/kocevski/146760/ft2_4FGL_J1423.1+3738_daily_bin1714.fits outfile=/scratch/kocevski/146760/cmap_HighResolution_683596801_683856001_4FGL_J1423.1+3738_daily_bin1714.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73134       1.0000          .0000       .10000E+07
     2 'norm      '    1.1947       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5802       1.0000          .0000       .10000E+07
     4 'norm      '    .56917E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .97650E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .34248E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .48476E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .42775E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.6585       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.116       1.0000          .0000       .10000E+07
    11 'norm      '    1.0050       1.0000          .0000       .10000E+07
    12 'norm      '    .68031E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    48.200       1.0000          .0000       .10000E+07
    14 'norm      '    .38496E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.1116       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.3973       1.0000          .0000       .10000E+07
    17 'norm      '    .13098E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    3.3284       1.0000          .0000       .10000E+07
    19 'Prefactor '    73.495       1.0000          .0000       .10000E+07
    20 'Prefactor '    .99418E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .96263       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94041       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=   6096.827     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     1804 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11882E-05    95.606       -.15701E-06** at limit **
   2  norm          1.1953        1.0983       -.19000E-07   -.16450E-02
   3  Prefactor     3.5547        4.0579       -.40577E-07   -.65419E-03
   4  norm           .0000        20.441        .37590E-07** at limit **
   5  Prefactor      .0000        1.1766        .16777E-09** at limit **
   6  Prefactor      .0000        5.6690        .11321E-06** at limit **
   7  norm           .0000        1.9023       -.67846E-07** at limit **
   8  Prefactor     .88818E-09    16.330        .39864E-07** at limit **
   9  Prefactor     7.8036        13.215        .36814E-07    .13137E-01
  10  Prefactor     13.115        4.7397        .39625E-08   -.52790E-03
  11  norm          1.0413        3.0550        .21397E-07   -.10931E-01
  12  norm           .0000        3.0581       -.80617E-07** at limit **
  13  Prefactor     48.987        20.078        .16324E-07    .12603    
  14  norm           .0000        3.5287       -.17255E-07** at limit **
  15  Prefactor     7.1974        13.461        .71847E-07   -.20885E-02
  16  Prefactor     2.3891        3.8413        .22643E-07    .33760E-03
  17  norm          .55511E-10    4.0861       -.18166E-06** at limit **
  18  Prefactor     3.3280        3.9052        .28461E-08    .46537E-04
  19  Prefactor     73.976        47.166        .25515E-07   -.65553E-01
  20  Prefactor      .0000        4.7752        .22028E-08** at limit **
  21  Normalizat    .96225        .19104        .20240E-07   -.79125E-04
  22  Prefactor     .94003        .21540       -.13503E-05   -.77456E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.18822e-06
  norm       = 1.19532
  Prefactor  = 3.55472
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 8.88178e-10
  Prefactor  = 7.80363
  Prefactor  = 13.1147
  norm       = 1.04132
  norm       = 0
  Prefactor  = 48.9871
  norm       = 0
  Prefactor  = 7.19738
  Prefactor  = 2.38914
  norm       = 5.55112e-11
  Prefactor  = 3.32802
  Prefactor  = 73.9761
  Prefactor  = 0
  Normalizat = 0.962247
  Prefactor  = 0.940034
 **********
 **   18 **HESSE 
 **********

 FCN=   6096.827     FROM HESSE     STATUS=OK           388 CALLS     2192 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11882E-05    97.553        .58200E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1953        1.1213        .10402E-02   -1.5686    
   3  Prefactor     3.5547        4.0605        .53384E-03   -1.5670    
   4  norm           .0000        20.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.1766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.6688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.8998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .88818E-09    16.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.8036        15.434        .36213E-03   -1.5652    
  10  Prefactor     13.115        4.7354        .27633E-03   -1.5636    
  11  norm          1.0413        17.581        .43942E-03   -1.5688    
  12  norm           .0000        3.0540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     48.987        38.605        .14405E-03   -1.5568    
  14  norm           .0000        3.5269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.1974        13.543        .37592E-03   -1.5654    
  16  Prefactor     2.3891        3.8835        .66110E-03   -1.5677    
  17  norm          .55511E-10    .83198        .22259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.3280        3.9060        .55457E-03   -1.5671    
  19  Prefactor     73.976        54.271        .11665E-03   -1.5536    
  20  Prefactor      .0000        4.7744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96225        .16153        .45697E-01   -.94306    
  22  Prefactor     .94003        .18199        .45518E-01   -.94756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.77976e-07
Minuit parameter uncertainties:
  1  0.0215332
  2  1.12125
  3  4.06046
  4  3.36298e-06
  5  4.5919e-07
  6  1.01235e-05
  7  5.7418e-06
  8  0.000239968
  9  15.4336
  10  4.73537
  11  8.55758
  12  6.76513e-06
  13  38.6054
  14  5.34967e-07
  15  13.5432
  16  3.88348
  17  1.21645e-05
  18  3.90598
  19  54.2709
  20  7.45547e-06
  21  0.161617
  22  0.182113
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.041e+00  8.558e+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

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.400e-01  1.821e-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:  9.622e-01  1.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/146760/likelihoodResults_683596801_683856001_4FGL_J1423.1+3738_daily_bin1714.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) = 6095.79826744
delta logL = 1.02909104192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6095.69427871
delta logL = 1.13307977998

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11669       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .86393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0144       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6095.694     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      320 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11672        .89761E-01    .18718E-05** at limit **
   2  alpha         5.0000        3.2901        .46259E-01** at limit **
   3  Normalizat    .86391        .19255        .22943E-03   -.22893E-04
   4  Prefactor     1.0144        .22020        .25060E-03   -.40331E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.116721
  alpha      = 5
  Normalizat = 0.863913
  Prefactor  = 1.01435
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.694     FROM HESSE     STATUS=OK            25 CALLS      345 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11672        .87915E-01    .74871E-07   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.2903        .18504E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .86391        .19276        .91773E-05   -.97740    
   4  Prefactor     1.0144        .22044        .10024E-04   -.92253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63217e-10
Minuit parameter uncertainties:
  1  0.0879146
  2  4.50265e-05
  3  0.192911
  4  0.22064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/146760': 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) = 6095.69427815
delta logL = 1.13308033756

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.167e-01  8.791e-02  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  5.000e+00  4.503e-05  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.014e+00  2.206e-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:  8.639e-01  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.50
Ra Dec: 215.792 37.645
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.02e-08 +/- 5.27e-08
Energy Flux (Free Index): 9.89e-06 +/- 7.43e-06

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/146760/cmap_HighResolution_683596801_683856001_4FGL_J1423.1+3738_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.72e-05', comment='SUCCESS', energy_flux2='9.89e-06', dlogl='1.13e+00', photon_flux2='7.02e-08', job_status='DONE', time_completed='2022-09-16 18:34:19.389533', photon_index_error2='0.00', photon_index2='5.00', ts='0.02', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='3.50e-08', energy_flux_error2='7.43e-06', EG='0.96', time_epoch_completed='1663378459.39', return_code='0', job_id='146760', GAL2='1.01', EG2='0.86', return_code2='0', photon_flux_error2='5.27e-08', ts2='2.50', photon_index='1.93' WHERE bin_id='1714' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:34:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 146760: <4FGL_J1423.1+3738_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1423.1+3738_daily_bin1714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:20:24 2022
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:20:41 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:41 2022
Terminated at Fri Sep 16 18:34:20 2022
Results reported at Fri Sep 16 18:34:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1714 215.792 37.6452 683596801 683856001 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 :                                   590.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            836 sec.

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

