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


Performing analysis on: 4FGL_J0011.4+0057_daily_bin1701
RA = 2.8551, Dec = 0.9646
tmin = 680227201, tmax = 680486401
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='157770', job_status='RUN', time_executed='2022-07-26 00:06:30.175689', time_epoch_executed='1658819190.18' WHERE source_name='4FGL J0011.4+0057' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/157770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/157770/ft1_4FGL_J0011.4+0057_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/157770/ft1_4FGL_J0011.4+0057_daily_bin1701.fits outfile=/scratch/kocevski/157770/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1701.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=680227201.0 tmax=680486401.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.95
user 2.66
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.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/157770/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/157770/ft1_filtered_4FGL_J0011.4+0057_daily_bin1701.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.35
sys 0.15

Number of photons that the gtmktime cut: 523

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/157770/ft1_filtered_4FGL_J0011.4+0057_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/157770/ltcube_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.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/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits
.....................!
real 15.69
user 15.20
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/157770/ft1_filtered_4FGL_J0011.4+0057_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/157770/ltcube_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.fits outfile=/scratch/kocevski/157770/expmap_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.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/157770/ltcube_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.fits
.....................!
real 193.23
user 187.15
sys 5.54

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

Setting source of interest to:
4FGL J0011.4+0057 @ 2.8551 0.9646

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/157770/ft1_filtered_4FGL_J0011.4+0057_daily_bin1701.fits scfile=/scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits outfile=/scratch/kocevski/157770/cmap_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.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=2.8551 yref=0.9646 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/157770/ft1_filtered_4FGL_J0011.4+0057_daily_bin1701.fits scfile=/scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits outfile=/scratch/kocevski/157770/cmap_HighResolution_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.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=2.8551 yref=0.9646 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/157770/ft1_filtered_4FGL_J0011.4+0057_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/157770/Model_4FGL_J0011.4+0057_daily_bin1701.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/157770/ft1_filtered_4FGL_J0011.4+0057_daily_bin1701.fits.....................!
real 62.67
user 60.63
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/157770/ft1_filtered_4FGL_J0011.4+0057_daily_bin1701.fits', '/scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits', expMap='/scratch/kocevski/157770/expmap_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.fits', expCube='/scratch/kocevski/157770/ltcube_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/157770/Model_4FGL_J0011.4+0057_daily_bin1701.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0011.4+0057'

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.882e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/157770/ft1_filtered_4FGL_J0011.4+0057_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/157770/ft2_4FGL_J0011.4+0057_daily_bin1701.fits
Exposure map: /scratch/kocevski/157770/expmap_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.fits
Exposure cube: /scratch/kocevski/157770/ltcube_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/157770/Model_4FGL_J0011.4+0057_daily_bin1701.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) = 5906.68265731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.350       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.7524       1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.311       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10868E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.273       1.0000         .10000E-03   10000.    
     7 'norm      '    8.5245       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.6682       1.0000         .10000E-03   10000.    
    10 'norm      '    6.2085       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7291       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3934       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.087       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15074E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.743       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .22711       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.627       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10326E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.765       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81952       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95491       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5906.675     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2773 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.349        9.0610        .72210E-05    .95604E-06
   2  Prefactor     9.7734        33.501       -.21378E-06   -.16544E-04
   3  Prefactor     33.303        19.031       -.49298E-05   -.52930E-03
   4  Prefactor     .10000E-03    6.1555        .33008E-08** at limit **
   5  norm          .10000E-03    1.9005        .13837E-05** at limit **
   6  Prefactor     10.276        16.714       -.57344E-05   -.79431E-04
   7  norm          8.5254        5.0547        .61170E-06   -.48370E-03
   8  norm          .10000E-03    1.1871        .81085E-08** at limit **
   9  Prefactor     2.6676        7.5561       -.10591E-05   -.37770E-03
  10  norm          6.2046        9.2163       -.13090E-05   -.28331E-03
  11  Prefactor     5.7290        3.0421       -.18295E-06   -.21820E-03
  12  Prefactor     1.3944        3.1253       -.83382E-06   -.92556E-03
  13  Prefactor     25.103        45.850       -.23885E-04    .52504E-05
  14  Prefactor     .10000E-03    229.41        .33076E-05** at limit **
  15  Prefactor     16.770        16.977        .36562E-06    .19066E-03
  16  Prefactor     .10000E-03    7.9044       -.79760E-07** at limit **
  17  norm          .95014E-01    33.578       -.13938E-05    .12545E-03
  18  Prefactor     .10000E-03    3.5040        .85462E-07** at limit **
  19  Prefactor     11.622        42.474       -.65403E-07    .79840E-05
  20  Prefactor     .10000E-03    26.132       -.51674E-08** at limit **
  21  Prefactor     15.764        14.477       -.68323E-05   -.59125E-04
  22  Prefactor     .10000E-03    2.2930       -.10210E-07** at limit **
  23  Normalizat    .81955        .19849        .23216E-05   -.23149E-03
  24  Prefactor     .95483        .13822        .53159E-06   -.11577E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3491
  Prefactor  = 9.77337
  Prefactor  = 33.3029
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 10.2762
  norm       = 8.52538
  norm       = 0.0001
  Prefactor  = 2.66765
  norm       = 6.20464
  Prefactor  = 5.72903
  Prefactor  = 1.39438
  Prefactor  = 25.1028
  Prefactor  = 0.0001
  Prefactor  = 16.7696
  Prefactor  = 0.0001
  norm       = 0.0950139
  Prefactor  = 0.0001
  Prefactor  = 11.6223
  Prefactor  = 0.0001
  Prefactor  = 15.764
  Prefactor  = 0.0001
  Normalizat = 0.819551
  Prefactor  = 0.954833
 **********
 **   18 **HESSE 
 **********

 FCN=   5906.675     FROM HESSE     STATUS=OK           411 CALLS     3184 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.349        9.0083        .10963E-03   -1.4977    
   2  Prefactor     9.7734        33.478        .12832E-03   -1.5083    
   3  Prefactor     33.303        18.535        .69429E-04   -1.4553    
   4  Prefactor     .10000E-03    6.1806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.0953        .19468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.276        16.682        .12501E-03   -1.5067    
   7  norm          8.5254        5.0323        .11278E-03   -1.5124    
   8  norm          .10000E-03    1.1931        .81759E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.6676        7.5504        .24950E-03   -1.5381    
  10  norm          6.2046        9.2140        .16111E-03   -1.5210    
  11  Prefactor     5.7290        3.0574        .91590E-04   -1.5229    
  12  Prefactor     1.3944        3.1186        .19339E-03   -1.5472    
  13  Prefactor     25.103        45.632        .79977E-04   -1.4705    
  14  Prefactor     .10000E-03    229.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.770        17.482        .97881E-04   -1.4889    
  16  Prefactor     .10000E-03    7.9087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .95014E-01    41.435        .11576       -1.5646    
  18  Prefactor     .10000E-03    3.5298        .14026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.622        42.453        .11749E-03   -1.5026    
  20  Prefactor     .10000E-03    26.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.764        14.467        .10087E-03   -1.4914    
  22  Prefactor     .10000E-03    2.2936        .11366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .81955        .22523        .29968E-03   -.99348    
  24  Prefactor     .95483        .15769        .21273E-03   -.94251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21629e-09
Minuit parameter uncertainties:
  1  9.00916
  2  33.5423
  3  18.5384
  4  1.84684e-06
  5  0.000235798
  6  16.6894
  7  5.03259
  8  9.22797e-07
  9  7.55313
  10  9.21614
  11  3.05753
  12  3.119
  13  45.6959
  14  1.04039e-05
  15  17.4872
  16  2.1985e-06
  17  3.96901
  18  1.29417e-05
  19  42.5639
  20  2.15138e-05
  21  14.4701
  22  5.77483e-06
  23  0.225491
  24  0.157769
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.330e+01  1.854e+01  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.548e-01  1.578e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.196e-01  2.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.69
Ra Dec: 2.855 0.965
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 7.96e-08 +/- 4.43e-08
Energy Flux (Fixed Index): 2.86e-05 +/- 1.59e-05

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) = 5906.55723982
delta logL = 0.117316417029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5906.54917052
delta logL = 0.125385716849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.792       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0515       1.0000          .0000       10.000    
     3 'Normalizat'    .83870       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94689       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5906.549     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      274 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.840        584.89        .15690E-02   -.21693E-04
   2  Index         2.0529        5.8106        .13844        .69155E-04
   3  Normalizat    .83855        .18085        .67053E-01   -.30460E-05
   4  Prefactor     .94684        .78289E-01    .45600E-01   -.10296E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.8401
  Index      = 2.05294
  Normalizat = 0.838545
  Prefactor  = 0.946842
 **********
 **   18 **HESSE 
 **********

 FCN=   5906.549     FROM HESSE     STATUS=OK            31 CALLS      305 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.840        26.740        .62761E-04   -1.4429    
   2  Index         2.0529        .57367        .75327E-02   -.63033    
   3  Normalizat    .83855        .20654        .29665E-03   -.98654    
   4  Prefactor     .94684        .15501        .21354E-03   -.94523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29136e-09
Minuit parameter uncertainties:
  1  26.7483
  2  0.575614
  3  0.206736
  4  0.155086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/157770': 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) = 5906.54916212
delta logL = 0.125394112874

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  4.084e+01  2.675e+01  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.053e+00  5.756e-01  0.000e+00  1.000e+01 (-1.000e+00)
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.468e-01  1.551e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.385e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.89
Ra Dec: 2.855 0.965
Photon Index (Free Index): 2.05 +/- 0.58
Photon Flux (Free Index): 6.17e-08 +/- 5.11e-08
Energy Flux (Free Index): 3.76e-05 +/- 3.54e-05

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/157770/cmap_HighResolution_680227201_680486401_4FGL_J0011.4+0057_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.96e-08', energy_flux2='3.76e-05', photon_flux_error='4.43e-08', dlogl='1.25e-01', energy_flux='2.86e-05', photon_flux2='6.17e-08', job_status='DONE', time_completed='2022-07-26 00:16:40.170891', photon_index_error2='0.58', photon_index2='2.05', ts='7.69', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.54e-05', EG='0.82', time_epoch_completed='1658819800.17', return_code='0', job_id='157770', GAL2='0.95', EG2='0.84', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='5.11e-08', ts2='7.89', photon_index='2.33' WHERE bin_id='1701' AND source_name='4FGL J0011.4+0057' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 00:16:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 157770: <4FGL_J0011.4+0057_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1701> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jul 26 00:04:28 2022
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 00:05:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 00:05:51 2022
Terminated at Tue Jul 26 00:16:41 2022
Results reported at Tue Jul 26 00:16:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1701 2.8551 0.9646 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0011.4+0057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   609.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            733 sec.

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

