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 114 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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).
nnumber of points = 7334
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0001.5+2113_daily_bin1668
RA = 0.3815, Dec = 21.2183
tmin = 671673601, tmax = 671932801
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='552967', job_status='RUN', time_executed='2022-04-18 00:07:39.896906', time_epoch_executed='1650265659.9' WHERE source_name='4FGL J0001.5+2113' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552967

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552967/ft1_4FGL_J0001.5+2113_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552967/ft2_4FGL_J0001.5+2113_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552967/ft1_4FGL_J0001.5+2113_daily_bin1668.fits outfile=/scratch/kocevski/552967/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1668.fits ra=0.3815 dec=21.2183 rad=12.0 tmin=671673601.0 tmax=671932801.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.59
user 3.33
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/552967/ft2_4FGL_J0001.5+2113_daily_bin1668.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/552967/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/552967/ft1_filtered_4FGL_J0001.5+2113_daily_bin1668.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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552967/ft1_filtered_4FGL_J0001.5+2113_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/552967/ft2_4FGL_J0001.5+2113_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/552967/ltcube_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.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/552967/ft2_4FGL_J0001.5+2113_daily_bin1668.fits
.....................!
real 14.54
user 14.11
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552967/ft1_filtered_4FGL_J0001.5+2113_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/552967/ft2_4FGL_J0001.5+2113_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/552967/ltcube_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.fits outfile=/scratch/kocevski/552967/expmap_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.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/552967/ltcube_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.fits
.....................!
real 192.65
user 187.17
sys 5.05

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/552967/ft1_filtered_4FGL_J0001.5+2113_daily_bin1668.fits scfile=/scratch/kocevski/552967/ft2_4FGL_J0001.5+2113_daily_bin1668.fits outfile=/scratch/kocevski/552967/cmap_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552967/ft1_filtered_4FGL_J0001.5+2113_daily_bin1668.fits scfile=/scratch/kocevski/552967/ft2_4FGL_J0001.5+2113_daily_bin1668.fits outfile=/scratch/kocevski/552967/cmap_HighResolution_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/552967/ft1_filtered_4FGL_J0001.5+2113_daily_bin1668.fits', '/scratch/kocevski/552967/ft2_4FGL_J0001.5+2113_daily_bin1668.fits', expMap='/scratch/kocevski/552967/expmap_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.fits', expCube='/scratch/kocevski/552967/ltcube_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/552967/Model_4FGL_J0001.5+2113_daily_bin1668.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  1.000e-04  1.000e+04 ( 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  0.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/552967/ft1_filtered_4FGL_J0001.5+2113_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/552967/ft2_4FGL_J0001.5+2113_daily_bin1668.fits
Exposure map: /scratch/kocevski/552967/expmap_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.fits
Exposure cube: /scratch/kocevski/552967/ltcube_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/552967/Model_4FGL_J0001.5+2113_daily_bin1668.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) = 8154.24052496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6234       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.5574       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6605       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .59911E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7070       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6712       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.679       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1557       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1027       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.

 FCN=   8154.240     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1588 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5096        .15246E-07** at limit **
   2  Prefactor     4.6233        4.8747       -.35203E-06    .71330E-05
   3  Prefactor     1.5577        6.3504       -.48045E-07   -.27187E-04
   4  Prefactor     2.6627        2.5103        .80050E-07   -.26163E-03
   5  Prefactor     .10000E-03    116.85       -.27654E-05** at limit **
   6  Prefactor     2.7068        2.2783        .31674E-08    .42078E-05
   7  norm          .10000E-03    5.5535        .21347E-05** at limit **
   8  Prefactor     .10000E-03    7.6666        .57981E-07** at limit **
   9  norm          .10000E-03    12.058       -.31531E-06** at limit **
  10  Prefactor     .10000E-03    17.434       -.19606E-06** at limit **
  11  Prefactor     .10000E-03    5.5836       -.11957E-05** at limit **
  12  Prefactor     4.6786        18.912       -.35623E-05    .20904E-04
  13  norm          .10000E-03    5.8919       -.98452E-06** at limit **
  14  Prefactor     .10000E-03    2.6057        .45235E-07** at limit **
  15  Prefactor     33.681        43.778        .17810E-05    .17049E-05
  16  Normalizat    1.1556        .19885        .37393E-06    .20721E-04
  17  Prefactor     1.1027        .12452       -.15966E-06    .64683E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.62334
  Prefactor  = 1.55767
  Prefactor  = 2.66274
  Prefactor  = 0.0001
  Prefactor  = 2.70677
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.67858
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.6812
  Normalizat = 1.15556
  Prefactor  = 1.10269
 **********
 **   18 **HESSE 
 **********

 FCN=   8154.240     FROM HESSE     STATUS=OK           223 CALLS     1811 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.6126        .21331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.6233        4.8710        .18718E-03   -1.5278    
   3  Prefactor     1.5577        6.3635        .34108E-03   -1.5458    
   4  Prefactor     2.6627        10.002        .12495E-02   -1.5382    
   5  Prefactor     .10000E-03    121.52        .42130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.7068        2.2762        .12130E-03   -1.5379    
   7  norm          .10000E-03    5.6171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.6726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    12.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.5011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6786        18.676        .18620E-03   -1.5275    
  13  norm          .10000E-03    5.9106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.6254        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.681        44.029        .69049E-04   -1.4547    
  16  Normalizat    1.1556        .23388        .30953E-03   -.87987    
  17  Prefactor     1.1027        .14604        .20215E-03   -.89381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60639e-10
Minuit parameter uncertainties:
  1  4.23223e-06
  2  4.87143
  3  6.2977
  4  10.008
  5  0.00013487
  6  2.27623
  7  1.15026e-06
  8  5.11279e-07
  9  1.36317e-08
  10  6.41946e-07
  11  3.69276e-05
  12  18.6989
  13  1.79147e-06
  14  4.11823e-07
  15  44.0715
  16  0.23409
  17  0.146093
Done.

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

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.000e-04  4.232e-06  1.000e-04  1.000e+04 ( 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  0.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:  1.103e+00  1.461e-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:  1.156e+00  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 0.382 21.218
Photon Flux Upper Limit: 8.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/552967/likelihoodResults_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.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) = 8154.24088821
delta logL = -0.0013177881583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8154.23957118
delta logL = -7.57376255933e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10736E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5755       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1556       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1027       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=   8154.240     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      266 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1135.5        .21606E-02** at limit **
   2  alpha         3.3864        4.0830        .16470       -.64539E-07
   3  Normalizat    1.1556        .11415        .30953E-03   -.21224E-02
   4  Prefactor     1.1027        .70325E-01    .20215E-03   -.33766E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 3.38641
  Normalizat = 1.15556
  Prefactor  = 1.10269
 **********
 **   18 **HESSE 
 **********

 FCN=   8154.240     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.1051        .43212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3864        4.0722        .65881E-02    .36245    
   3  Normalizat    1.1556        .22656        .61906E-04   -.87988    
   4  Prefactor     1.1027        .14585        .40429E-04   -.89381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.26321e-09
Minuit parameter uncertainties:
  1  4.88937e-05
  2  297.231
  3  0.226752
  4  0.145902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552967': 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) = 8154.23956487
delta logL = 5.5515429267e-06

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.000e-04  4.889e-05  1.000e-04  1.000e+04 ( 1.000e-11)
4          alpha:  3.386e+00  2.972e+02  0.000e+00  5.000e+00 ( 1.000e+00)
5           beta:  1.588e-01  0.000e+00  0.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:  1.103e+00  1.459e-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:  1.156e+00  2.268e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 0.382 21.218

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/552967/cmap_HighResolution_671673601_671932801_4FGL_J0001.5+2113_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-05', job_status='DONE', photon_flux_upper_limit='8.00e-08', time_completed='2022-04-18 00:17:56.224696', job_id='552967', GAL2='1.10', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1650266276.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='5.55e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1668' AND source_name='4FGL J0001.5+2113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 00:17:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 552974: <4FGL_J0001.5+2113_daily_bin1668> in cluster <slac> Done

Job <4FGL_J0001.5+2113_daily_bin1668> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Apr 18 00:05:33 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 00:05:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 00:05:43 2022
Terminated at Mon Apr 18 00:17:36 2022
Results reported at Mon Apr 18 00:17:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_daily_bin1668 0.3815 21.2183 671673601 671932801 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 :                                   611.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            723 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 552967: <4FGL_J0001.5+2113_daily_bin1668> in cluster <slac> Done

Job <4FGL_J0001.5+2113_daily_bin1668> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Apr 18 00:05:33 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 00:05:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 00:05:35 2022
Terminated at Mon Apr 18 00:17:57 2022
Results reported at Mon Apr 18 00:17:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_daily_bin1668 0.3815 21.2183 671673601 671932801 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 :                                   617.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            744 sec.

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

