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 231 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).

number of points = 7505
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0001.5+2113_daily_bin1687
RA = 0.3815, Dec = 21.2183
tmin = 676598401, tmax = 676857601
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='674013', job_status='RUN', time_executed='2022-06-14 00:08:51.001578', time_epoch_executed='1655190531.0' WHERE source_name='4FGL J0001.5+2113' and cadence='daily' and bin_id='1687'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674013

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674013/ft1_4FGL_J0001.5+2113_daily_bin1687.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674013/ft2_4FGL_J0001.5+2113_daily_bin1687.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674013/ft1_4FGL_J0001.5+2113_daily_bin1687.fits outfile=/scratch/kocevski/674013/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1687.fits ra=0.3815 dec=21.2183 rad=12.0 tmin=676598401.0 tmax=676857601.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 2.97
user 2.71
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/674013/ft2_4FGL_J0001.5+2113_daily_bin1687.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/674013/ft1_filteredMKT_4FGL_J0001.5+2113_daily_bin1687.fits evtable="EVENTS" outfile="/scratch/kocevski/674013/ft1_filtered_4FGL_J0001.5+2113_daily_bin1687.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 943

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/674013/ft1_filtered_4FGL_J0001.5+2113_daily_bin1687.fits" evtable="EVENTS" scfile=/scratch/kocevski/674013/ft2_4FGL_J0001.5+2113_daily_bin1687.fits sctable="SC_DATA" outfile=/scratch/kocevski/674013/ltcube_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.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/674013/ft2_4FGL_J0001.5+2113_daily_bin1687.fits
.....................!
real 16.60
user 16.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674013/ft1_filtered_4FGL_J0001.5+2113_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/674013/ft2_4FGL_J0001.5+2113_daily_bin1687.fits sctable="SC_DATA" expcube=/scratch/kocevski/674013/ltcube_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.fits outfile=/scratch/kocevski/674013/expmap_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.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/674013/ltcube_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.fits
.....................!
real 195.00
user 188.91
sys 5.52

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/674013/ft1_filtered_4FGL_J0001.5+2113_daily_bin1687.fits scfile=/scratch/kocevski/674013/ft2_4FGL_J0001.5+2113_daily_bin1687.fits outfile=/scratch/kocevski/674013/cmap_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674013/ft1_filtered_4FGL_J0001.5+2113_daily_bin1687.fits scfile=/scratch/kocevski/674013/ft2_4FGL_J0001.5+2113_daily_bin1687.fits outfile=/scratch/kocevski/674013/cmap_HighResolution_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.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.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/674013/ft1_filtered_4FGL_J0001.5+2113_daily_bin1687.fits', '/scratch/kocevski/674013/ft2_4FGL_J0001.5+2113_daily_bin1687.fits', expMap='/scratch/kocevski/674013/expmap_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.fits', expCube='/scratch/kocevski/674013/ltcube_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/674013/Model_4FGL_J0001.5+2113_daily_bin1687.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/674013/ft1_filtered_4FGL_J0001.5+2113_daily_bin1687.fits
Spacecraft file(s): /scratch/kocevski/674013/ft2_4FGL_J0001.5+2113_daily_bin1687.fits
Exposure map: /scratch/kocevski/674013/expmap_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.fits
Exposure cube: /scratch/kocevski/674013/ltcube_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/674013/Model_4FGL_J0001.5+2113_daily_bin1687.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) = 10273.9892975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6858       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .53676       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0860       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9836       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4549       1.0000         .10000E-03   10000.    
     7 'norm      '    .47869       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.622       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.714       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    61.236       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .96955       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0266       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=   10273.98     FROM MIGRAD    STATUS=CONVERGED    340 CALLS     1641 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6860        1.9174       -.72990E-07   -.17630E-03
   2  Prefactor     .50784        4.3258       -.52708E-06   -.82568E-04
   3  Prefactor     5.0879        6.2295        .11082E-05    .13972E-03
   4  Prefactor     3.9819        3.0946        .77510E-06   -.25109E-02
   5  Prefactor     .10000E-03    32.388       -.30953E-07** at limit **
   6  Prefactor     4.4547        2.7276       -.12876E-06   -.15176E-04
   7  norm          .52543        4.0647       -.39300E-06    .45159E-04
   8  Prefactor     .10000E-03    6.3282       -.80042E-07** at limit **
   9  norm          .10000E-03    2.6065       -.11418E-07** at limit **
  10  Prefactor     20.622        11.618       -.14902E-06    .65422E-05
  11  Prefactor     .10000E-03    1.4668       -.54679E-08** at limit **
  12  Prefactor     21.715        14.305       -.27881E-07    .98706E-05
  13  norm          .10000E-03    3.6554        .33482E-08** at limit **
  14  Prefactor     .10000E-03    1.5407       -.96955E-08** at limit **
  15  Prefactor     61.226        34.168       -.67508E-05   -.25236E-03
  16  Normalizat    .96973        .15888        .99233E-06    .46816E-04
  17  Prefactor     1.0264        .10249       -.90876E-07    .19298E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.68601
  Prefactor  = 0.507844
  Prefactor  = 5.08791
  Prefactor  = 3.98193
  Prefactor  = 0.0001
  Prefactor  = 4.45467
  norm       = 0.525431
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.6219
  Prefactor  = 0.0001
  Prefactor  = 21.7145
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.2262
  Normalizat = 0.969729
  Prefactor  = 1.02641
 **********
 **   18 **HESSE 
 **********

 FCN=   10273.98     FROM HESSE     STATUS=OK           227 CALLS     1868 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6860        1.8921        .14134E-03   -1.5448    
   2  Prefactor     .50784        16.577        .39429E-02   -1.5565    
   3  Prefactor     5.0879        6.2141        .17828E-03   -1.5257    
   4  Prefactor     3.9819        6.4299        .10104E-02   -1.5309    
   5  Prefactor     .10000E-03    32.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4547        2.7273        .12562E-03   -1.5286    
   7  norm          .52543        24.845        .39581E-02   -1.5563    
   8  Prefactor     .10000E-03    6.3363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.6109        .15978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.622        11.633        .88201E-04   -1.4799    
  11  Prefactor     .10000E-03    1.4734        .11983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.715        14.311        .85956E-04   -1.4776    
  13  norm          .10000E-03    3.6675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5492        .12285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     61.226        34.221        .51275E-04   -1.4141    
  16  Normalizat    .96973        .18671        .29851E-03   -.94052    
  17  Prefactor     1.0264        .12094        .19267E-03   -.91854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30891e-08
Minuit parameter uncertainties:
  1  1.89212
  2  5.80418
  3  6.21493
  4  6.43104
  5  2.01678e-05
  6  2.72735
  7  7.22864
  8  3.76947e-06
  9  2.85474e-07
  10  11.634
  11  1.2736e-06
  12  14.3135
  13  1.58176e-06
  14  1.65178e-06
  15  34.2324
  16  0.186837
  17  0.120968
Done.

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

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.686e+00  1.892e+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

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.026e+00  1.210e-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:  9.697e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 0.382 21.218
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 6.07e-06 +/- 6.81e-06

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

Saving results to:
/scratch/kocevski/674013/likelihoodResults_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.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) = 10273.6902007
delta logL = 0.290503952778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10273.6897234
delta logL = 0.290981236431

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7421       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8353       1.0000          .0000       5.0000    
     3 'Normalizat'    .98503       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0176       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.

 FCN=   10273.69     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7419        1.7127        .79456E-02    .41027E-03
   2  alpha         1.8352        .59673        .43160       -.48763E-04
   3  Normalizat    .98501        .15351        .67000E-01    .27310E-04
   4  Prefactor     1.0176        .10212        .42386E-01    .37681E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74191
  alpha      = 1.83523
  Normalizat = 0.985005
  Prefactor  = 1.01763
 **********
 **   18 **HESSE 
 **********

 FCN=   10273.69     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7419        1.8118        .12559E-03   -1.5444    
   2  alpha         1.8352        .75446        .24382E-01   -.26915    
   3  Normalizat    .98501        .18059        .29636E-03   -.93534    
   4  Prefactor     1.0176        .12011        .19334E-03   -.92144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13783e-09
Minuit parameter uncertainties:
  1  1.81187
  2  0.767356
  3  0.180697
  4  0.120146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674013': 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) = 10273.6897234
delta logL = 0.290981251503

Extracting fit parameters...

4FGL J0001.5+2113
   Spectrum: LogParabola
3           norm:  1.742e+00  1.812e+00  1.000e-04  1.000e+04 ( 1.000e-11)
4          alpha:  1.835e+00  7.674e-01  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.018e+00  1.201e-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:  9.850e-01  1.807e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 0.382 21.218
Photon Index (Free Index): 1.84 +/- 0.77
Photon Flux (Free Index): 1.83e-08 +/- 2.06e-08
Energy Flux (Free Index): 8.61e-06 +/- 8.91e-06

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/674013/cmap_HighResolution_676598401_676857601_4FGL_J0001.5+2113_daily_bin1687.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.12e-05', comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='8.61e-06', photon_flux_error='2.75e-08', dlogl='2.91e-01', energy_flux='6.07e-06', photon_flux2='1.83e-08', job_status='DONE', time_completed='2022-06-14 00:20:43.461233', photon_index_error2='0.77', photon_index2='1.84', ts='1.09', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='8.57e-08', energy_flux_error2='8.91e-06', EG='0.97', time_epoch_completed='1655191243.46', return_code='0', job_id='674013', GAL2='1.02', EG2='0.99', return_code2='0', energy_flux_error='6.81e-06', photon_flux_error2='2.06e-08', ts2='1.67', photon_index='2.55' WHERE bin_id='1687' AND source_name='4FGL J0001.5+2113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun 14 00:20:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 674013: <4FGL_J0001.5+2113_daily_bin1687> in cluster <slac> Done

Job <4FGL_J0001.5+2113_daily_bin1687> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jun 14 00:04:42 2022
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 14 00:04:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 14 00:04:44 2022
Terminated at Tue Jun 14 00:20:44 2022
Results reported at Tue Jun 14 00:20:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0001.5+2113_daily_bin1687 0.3815 21.2183 676598401 676857601 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 :                                   709.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            962 sec.

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

