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


Performing analysis on: 4FGL_J0001.5+2113_daily_bin1737
RA = 0.3815, Dec = 21.2183
tmin = 689558401, tmax = 689817601
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='147027', job_status='RUN', time_executed='2022-11-11 00:07:24.762335', time_epoch_executed='1668154044.76' WHERE source_name='4FGL J0001.5+2113' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147027

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147027/ft1_4FGL_J0001.5+2113_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147027/ft1_4FGL_J0001.5+2113_daily_bin1737.fits outfile=/scratch/kocevski/147027/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1737.fits ra=0.3815 dec=21.2183 rad=12.0 tmin=689558401.0 tmax=689817601.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.26
user 3.03
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.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/147027/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1737.fits evtable="EVENTS" outfile="/scratch/kocevski/147027/ft1_filtered_4FGL_J0001.5+2113_daily_bin1737.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.46
user 0.30
sys 0.15

Number of photons that the gtmktime cut: 1055

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147027/ft1_filtered_4FGL_J0001.5+2113_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/147027/ltcube_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.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/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits
.....................!
real 15.38
user 15.06
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147027/ft1_filtered_4FGL_J0001.5+2113_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/147027/ltcube_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.fits outfile=/scratch/kocevski/147027/expmap_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.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/147027/ltcube_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.fits
.....................!
real 167.06
user 162.13
sys 4.55

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

Setting source of interest to:
4FGL J0001.5+2113 @ 0.3815 21.2183

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/147027/ft1_filtered_4FGL_J0001.5+2113_daily_bin1737.fits scfile=/scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits outfile=/scratch/kocevski/147027/cmap_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.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=0.3815 yref=21.2183 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/147027/ft1_filtered_4FGL_J0001.5+2113_daily_bin1737.fits scfile=/scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits outfile=/scratch/kocevski/147027/cmap_HighResolution_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.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=0.3815 yref=21.2183 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.51
user 0.35
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/147027/ft1_filtered_4FGL_J0001.5+2113_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/147027/Model_4FGL_J0001.5+2113_daily_bin1737.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/147027/ft1_filtered_4FGL_J0001.5+2113_daily_bin1737.fits.....................!
real 107.56
user 106.08
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/147027/ft1_filtered_4FGL_J0001.5+2113_daily_bin1737.fits', '/scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits', expMap='/scratch/kocevski/147027/expmap_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.fits', expCube='/scratch/kocevski/147027/ltcube_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/147027/Model_4FGL_J0001.5+2113_daily_bin1737.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0001.5+2113'

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  4.533e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
4          alpha:  2.548e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
5           beta:  1.588e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
6             Eb:  3.558e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/147027/ft1_filtered_4FGL_J0001.5+2113_daily_bin1737.fits
Spacecraft file(s): /scratch/kocevski/147027/ft2_4FGL_J0001.5+2113_daily_bin1737.fits
Exposure map: /scratch/kocevski/147027/expmap_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.fits
Exposure cube: /scratch/kocevski/147027/ltcube_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/147027/Model_4FGL_J0001.5+2113_daily_bin1737.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) = 11609.8885464

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5766       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36631E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .65842E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .32915E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .15399E-06   1.0000          .0000       .10000E+07
     6 'norm      '    2.5359       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12063E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .50180E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22927E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .32271E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    23.949       1.0000          .0000       .10000E+07
    12 'norm      '    3.4247       1.0000          .0000       .10000E+07
    13 'Prefactor '    .31631E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10839E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    .26464       1.0000         .10000E-01   10.000    
    16 'Prefactor '    2.6552       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11609.85     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1124 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5795        3.4736       -.52681E-07   -.82785E-02
   2  Prefactor     .85043E-07    6.3598       -.12786E-05** at limit **
   3  Prefactor     .55511E-10    2.7478        .21365E-06** at limit **
   4  Prefactor     .11269E-06    6.4183        .10874E-05** at limit **
   5  Prefactor     .16653E-09    1.1236       -.71732E-08** at limit **
   6  norm          2.5634        4.3481       -.86761E-08   -.10331E-01
   7  Prefactor     .74274E-07    11.685       -.17302E-05** at limit **
   8  norm          .55511E-10    5.4997        .81635E-07** at limit **
   9  Prefactor     .55511E-09    3.4027       -.80519E-07** at limit **
  10  Prefactor     .11102E-09    2.6213       -.15678E-06** at limit **
  11  Prefactor     24.034        5.6905        .52176E-06   -.30278E-01
  12  norm          3.4269        7.1176       -.12299E-05   -.24686E-02
  13  Prefactor     .83267E-09    1.5728       -.40339E-07** at limit **
  14  Prefactor     .95479E-07    11.145        .16835E-05** at limit **
  15  Normalizat    .26428        .27095        .88886E-07   -.14724E-03
  16  Prefactor     2.6553        .19088       -.56352E-06   -.61185E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.57954
  Prefactor  = 8.50431e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 1.12688e-07
  Prefactor  = 1.66533e-10
  norm       = 2.56337
  Prefactor  = 7.42739e-08
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 24.0344
  norm       = 3.42685
  Prefactor  = 8.32667e-10
  Prefactor  = 9.54792e-08
  Normalizat = 0.264284
  Prefactor  = 2.65531
 **********
 **   18 **HESSE 
 **********

 FCN=   11609.85     FROM HESSE     STATUS=OK           229 CALLS     1353 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5795        3.9303        .84583E-03   -1.5683    
   2  Prefactor     .85043E-07    8.3977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    2.7489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11269E-06    8.8519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    1.1233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.5634        4.3821        .64108E-03   -1.5676    
   7  Prefactor     .74274E-07    15.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    5.4827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-09    3.4060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    2.6214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.034        23.920        .20439E-03   -1.5610    
  12  norm          3.4269        7.1461        .54635E-03   -1.5671    
  13  Prefactor     .83267E-09    1.5765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .95479E-07    15.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .26428        .49203        .19851       -1.2503    
  16  Prefactor     2.6553        .34153        .50563E-01   -.48809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89745e-06
Minuit parameter uncertainties:
  1  3.93034
  2  0.00168998
  3  2.43141e-05
  4  0.00199761
  5  2.7491e-05
  6  4.38213
  7  0.00217563
  8  3.19988e-05
  9  8.70863e-05
  10  3.37517e-05
  11  23.9201
  12  7.14608
  13  7.14664e-05
  14  0.00240646
  15  0.500426
  16  0.341876
Done.

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

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.580e+00  3.930e+00  0.000e+00  1.000e+06 ( 1.000e-11)
4          alpha:  2.548e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
5           beta:  1.588e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
6             Eb:  3.558e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  2.655e+00  3.419e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  2.643e-01  5.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 0.382 21.218
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/147027/likelihoodResults_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.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): 0
logL (Free Index) = 11606.9206058
delta logL = 2.93403647459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11606.876786
delta logL = 2.97785629605

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4321       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .53631E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    2.7481       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+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=   11606.88     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      263 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4330        .73632        .58979E-05    .34242E-01
   2  alpha         5.0000        .86925        .66557E-01** at limit **
   3  Normalizat    .54071E-01    .68622        .13947E-01    .83556E-04
   4  Prefactor     2.7477        .24312        .22064E-03    .74402E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.43305
  alpha      = 5
  Normalizat = 0.054071
  Prefactor  = 2.74771
 **********
 **   18 **HESSE 
 **********

 FCN=   11606.88     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4330        .70850        .23592E-06   -1.5684    
   2  alpha         5.0000        .87060        .13311E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .54071E-01    .45120        .55790E-03   -1.4379    
   4  Prefactor     2.7477        .19709        .88257E-05   -.46728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16588e-09
Minuit parameter uncertainties:
  1  0.708505
  2  4.6311e-05
  3  0.284847
  4  0.19715
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147027': 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) = 11606.876772
delta logL = 2.97787028236

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.433e+00  7.085e-01  0.000e+00  1.000e+06 ( 1.000e-11)
4          alpha:  5.000e+00  4.631e-05  0.000e+00  5.000e+00 ( 1.000e+00)
5           beta:  1.588e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
6             Eb:  3.558e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  2.748e+00  1.972e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  5.407e-02  2.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.28
Ra Dec: 0.382 21.218
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.73e-07 +/- 8.50e-08
Energy Flux (Free Index): 2.34e-05 +/- 1.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/147027/cmap_HighResolution_689558401_689817601_4FGL_J0001.5+2113_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', comment='SUCCESS', energy_flux2='2.34e-05', dlogl='2.98e+00', photon_flux2='1.73e-07', job_status='DONE', time_completed='2022-11-11 00:17:13.243051', photon_index_error2='0.00', photon_index2='5.00', ts='0.25', fit_tolerance='1e-08', GAL='2.66', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='1.15e-05', EG='0.26', time_epoch_completed='1668154633.24', return_code='0', job_id='147027', GAL2='2.75', EG2='0.05', return_code2='0', photon_flux_error2='8.50e-08', ts2='7.28', photon_index='2.55' WHERE bin_id='1737' AND source_name='4FGL J0001.5+2113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 00:17:13 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 147027: <4FGL_J0001.5+2113_daily_bin1737> in cluster <slac> Done

Job <4FGL_J0001.5+2113_daily_bin1737> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Nov 11 00:05:02 2022
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 00:05:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 00:05:20 2022
Terminated at Fri Nov 11 00:17:14 2022
Results reported at Fri Nov 11 00:17:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_daily_bin1737 0.3815 21.2183 689558401 689817601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0001.5+2113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   585.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            732 sec.

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

