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


Performing analysis on: 4FGL_J0010.6+2043_daily_bin1739
RA = 2.6502, Dec = 20.7332
tmin = 690076801, tmax = 690336001
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='635585', job_status='RUN', time_executed='2022-11-17 00:10:00.085981', time_epoch_executed='1668672600.09' WHERE source_name='4FGL J0010.6+2043' and cadence='daily' and bin_id='1739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635585

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635585/ft1_4FGL_J0010.6+2043_daily_bin1739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635585/ft1_4FGL_J0010.6+2043_daily_bin1739.fits outfile=/scratch/kocevski/635585/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1739.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=690076801.0 tmax=690336001.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 4.33
user 4.05
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.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/635585/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1739.fits evtable="EVENTS" outfile="/scratch/kocevski/635585/ft1_filtered_4FGL_J0010.6+2043_daily_bin1739.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.32
sys 0.16

Number of photons that the gtmktime cut: 585

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635585/ft1_filtered_4FGL_J0010.6+2043_daily_bin1739.fits" evtable="EVENTS" scfile=/scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits sctable="SC_DATA" outfile=/scratch/kocevski/635585/ltcube_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.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/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits
.....................!
real 11.94
user 11.60
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635585/ft1_filtered_4FGL_J0010.6+2043_daily_bin1739.fits evtable="EVENTS" scfile=/scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits sctable="SC_DATA" expcube=/scratch/kocevski/635585/ltcube_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.fits outfile=/scratch/kocevski/635585/expmap_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.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/635585/ltcube_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.fits
.....................!
real 190.78
user 185.78
sys 4.66

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

Setting source of interest to:
4FGL J0010.6+2043 @ 2.6502 20.7332

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/635585/ft1_filtered_4FGL_J0010.6+2043_daily_bin1739.fits scfile=/scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits outfile=/scratch/kocevski/635585/cmap_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.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.6502 yref=20.7332 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/635585/ft1_filtered_4FGL_J0010.6+2043_daily_bin1739.fits scfile=/scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits outfile=/scratch/kocevski/635585/cmap_HighResolution_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.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.6502 yref=20.7332 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/635585/ft1_filtered_4FGL_J0010.6+2043_daily_bin1739.fits evtable="EVENTS" scfile=/scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/635585/Model_4FGL_J0010.6+2043_daily_bin1739.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/635585/ft1_filtered_4FGL_J0010.6+2043_daily_bin1739.fits.....................!
real 76.44
user 74.19
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/635585/ft1_filtered_4FGL_J0010.6+2043_daily_bin1739.fits', '/scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits', expMap='/scratch/kocevski/635585/expmap_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.fits', expCube='/scratch/kocevski/635585/ltcube_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/635585/Model_4FGL_J0010.6+2043_daily_bin1739.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0010.6+2043'

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.069e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/635585/ft1_filtered_4FGL_J0010.6+2043_daily_bin1739.fits
Spacecraft file(s): /scratch/kocevski/635585/ft2_4FGL_J0010.6+2043_daily_bin1739.fits
Exposure map: /scratch/kocevski/635585/expmap_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.fits
Exposure cube: /scratch/kocevski/635585/ltcube_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/635585/Model_4FGL_J0010.6+2043_daily_bin1739.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) = 6646.31398391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11933E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .23467E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .15293E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22333E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .80684E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.0273       1.0000          .0000       .10000E+07
     7 'Prefactor '    32.120       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.9512       1.0000          .0000       .10000E+07
     9 'norm      '    .80800E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1233       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13093E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.965       1.0000          .0000       .10000E+07
    13 'norm      '    10.461       1.0000          .0000       .10000E+07
    14 'Prefactor '    .31427E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .64454E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .92202       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2628       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6646.303     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1193 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96034E-08    2.9544       -.93252E-07** at limit **
   2  Prefactor     .38858E-09    4.5362       -.34774E-06** at limit **
   3  Prefactor     .27034E-07    5.6518        .11337E-06** at limit **
   4  Prefactor     .32641E-07    4.1211       -.32419E-06** at limit **
   5  Prefactor     .52569E-07    9.4507       -.35517E-07** at limit **
   6  norm          1.0264        8.4987        .17061E-07   -.23422E-03
   7  Prefactor     32.301        16.309       -.56297E-07   -.36561E-01
   8  Prefactor     6.9665        1.9605       -.87622E-08    .11536E-01
   9  norm          .93814E-08    2.2652       -.96200E-07** at limit **
  10  Prefactor     3.1668        4.4770        .91342E-08    .59947E-01
  11  Prefactor     .12768E-08    4.5136       -.18129E-06** at limit **
  12  Prefactor     10.699        21.686        .15979E-06   -.12257E-01
  13  norm          10.447        5.0975        .34727E-07   -.12483E-01
  14  Prefactor     .68279E-07    6.0114       -.18844E-07** at limit **
  15  Prefactor     .13878E-08    23.785        .34336E-06** at limit **
  16  Normalizat    .92183        .25439        .77626E-06    .36121E-04
  17  Prefactor     1.2630        .17243       -.24529E-06    .47025E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.60343e-09
  Prefactor  = 3.88578e-10
  Prefactor  = 2.70339e-08
  Prefactor  = 3.26406e-08
  Prefactor  = 5.25691e-08
  norm       = 1.02643
  Prefactor  = 32.3011
  Prefactor  = 6.96648
  norm       = 9.38138e-09
  Prefactor  = 3.16684
  Prefactor  = 1.27676e-09
  Prefactor  = 10.6988
  norm       = 10.447
  Prefactor  = 6.82787e-08
  Prefactor  = 1.38778e-09
  Normalizat = 0.921833
  Prefactor  = 1.263
 **********
 **   18 **HESSE 
 **********

 FCN=   6646.303     FROM HESSE     STATUS=OK           253 CALLS     1446 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96034E-08    3.0152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .38858E-09    8.4861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27034E-07    6.0001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .32641E-07    8.8424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .52569E-07    11.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0264        8.5224        .12586E-02   -1.5688    
   7  Prefactor     32.301        29.136        .17647E-03   -1.5594    
   8  Prefactor     6.9665        11.949        .38028E-03   -1.5655    
   9  norm          .93814E-08    2.3550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.1668        8.0618        .57344E-03   -1.5672    
  11  Prefactor     .12768E-08    4.5244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.699        27.051        .30230E-03   -1.5643    
  13  norm          10.447        16.126        .30954E-03   -1.5643    
  14  Prefactor     .68279E-07    6.8091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    23.708        .15005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .92183        .21996        .75670E-01   -.95697    
  17  Prefactor     1.2630        .14861        .33291E-01   -.84414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61673e-07
Minuit parameter uncertainties:
  1  0.00034036
  2  0.000117548
  3  0.000805575
  4  0.0010746
  5  0.0015279
  6  5.91528
  7  29.1362
  8  11.9492
  9  0.000297628
  10  8.06179
  11  0.000152932
  12  27.0515
  13  16.1261
  14  0.00136393
  15  0.000362065
  16  0.220179
  17  0.148658
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  3.886e-10  1.175e-04  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.263e+00  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.218e-01  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 2.650 20.733
Photon Flux Upper Limit: 8.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/635585/likelihoodResults_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.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) = 6646.3610569
delta logL = -0.0578420242809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 6645.07088098
delta logL = 1.23233390016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25074E-06   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    .81103       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3165       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6646.303     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      629 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11657E-08    .39135        .42118E-03** at limit **
   2  Index         1.3986        5.3047        .50000       -.47748E-09
   3  Normalizat    .92183        .15323E-02    .75666E-01   -.28787E-03
   4  Prefactor     1.2630        .10322E-02    .32327E-01    .40398E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16573e-09
  Index      = 1.3986
  Normalizat = 0.921834
  Prefactor  = 1.263
 **********
 **   18 **HESSE 
 **********

 FCN=   6646.303     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      660 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11657E-08    1.8996        .84235E-04   -26.704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3986        5.6850        .50000       -21163.    
   3  Normalizat    .92183        .33695E-02    .33488E-03    22.948    
   4  Prefactor     1.2630        .22741E-02    .19537E-03    156.24    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.04152e-11
Minuit parameter uncertainties:
  1  9.46926e-05
  2  30642.8
  3  0.00336952
  4  0.00227413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635585': 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): 102
logL (Free Index) = 6646.30321488
delta logL = -1.58252078108e-10

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.166e-09  9.469e-05  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  1.399e+00  3.064e+04  0.000e+00  1.000e+01 (-1.000e+00)
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.263e+00  2.274e-03  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.218e-01  3.370e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 2.650 20.733

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/635585/cmap_HighResolution_690076801_690336001_4FGL_J0010.6+2043_daily_bin1739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-03', job_status='DONE', photon_flux_upper_limit='8.67e-08', time_completed='2022-11-17 00:19:14.419474', job_id='635585', GAL2='1.26', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1668673154.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='-1.58e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1739' AND source_name='4FGL J0010.6+2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Nov 17 00:19:14 PST 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 635636: <4FGL_J0010.6+2043_daily_bin1739> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1739> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Nov 17 00:06:21 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Nov 17 00:07:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Nov 17 00:07:34 2022
Terminated at Thu Nov 17 00:17:37 2022
Results reported at Thu Nov 17 00:17:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1739 2.6502 20.7332 690076801 690336001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0010.6+2043 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   467.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             243.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            676 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 635585: <4FGL_J0010.6+2043_daily_bin1739> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1739> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Nov 17 00:06:18 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Nov 17 00:06:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Nov 17 00:06:20 2022
Terminated at Thu Nov 17 00:19:15 2022
Results reported at Thu Nov 17 00:19:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1739 2.6502 20.7332 690076801 690336001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0010.6+2043 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   552.33 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             324.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            777 sec.

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

