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


Performing analysis on: 4FGL_J0010.6+2043_daily_bin1752
RA = 2.6502, Dec = 20.7332
tmin = 693446401, tmax = 693705601
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='248099', job_status='RUN', time_executed='2022-12-26 00:09:04.362087', time_epoch_executed='1672042144.36' WHERE source_name='4FGL J0010.6+2043' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248099

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248099/ft1_4FGL_J0010.6+2043_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248099/ft2_4FGL_J0010.6+2043_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248099/ft1_4FGL_J0010.6+2043_daily_bin1752.fits outfile=/scratch/kocevski/248099/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1752.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=693446401.0 tmax=693705601.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.60
user 3.24
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248099/ft2_4FGL_J0010.6+2043_daily_bin1752.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/248099/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/248099/ft1_filtered_4FGL_J0010.6+2043_daily_bin1752.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.60
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 617

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248099/ft1_filtered_4FGL_J0010.6+2043_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/248099/ft2_4FGL_J0010.6+2043_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/248099/ltcube_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.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/248099/ft2_4FGL_J0010.6+2043_daily_bin1752.fits
.....................!
real 14.45
user 13.70
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248099/ft1_filtered_4FGL_J0010.6+2043_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/248099/ft2_4FGL_J0010.6+2043_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/248099/ltcube_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.fits outfile=/scratch/kocevski/248099/expmap_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.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/248099/ltcube_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.fits
.....................!
real 191.18
user 186.07
sys 4.64

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/248099/ft1_filtered_4FGL_J0010.6+2043_daily_bin1752.fits scfile=/scratch/kocevski/248099/ft2_4FGL_J0010.6+2043_daily_bin1752.fits outfile=/scratch/kocevski/248099/cmap_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.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.62
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248099/ft1_filtered_4FGL_J0010.6+2043_daily_bin1752.fits scfile=/scratch/kocevski/248099/ft2_4FGL_J0010.6+2043_daily_bin1752.fits outfile=/scratch/kocevski/248099/cmap_HighResolution_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.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.58
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248099/ft1_filtered_4FGL_J0010.6+2043_daily_bin1752.fits', '/scratch/kocevski/248099/ft2_4FGL_J0010.6+2043_daily_bin1752.fits', expMap='/scratch/kocevski/248099/expmap_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.fits', expCube='/scratch/kocevski/248099/ltcube_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248099/Model_4FGL_J0010.6+2043_daily_bin1752.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/248099/ft1_filtered_4FGL_J0010.6+2043_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/248099/ft2_4FGL_J0010.6+2043_daily_bin1752.fits
Exposure map: /scratch/kocevski/248099/expmap_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.fits
Exposure cube: /scratch/kocevski/248099/ltcube_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248099/Model_4FGL_J0010.6+2043_daily_bin1752.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) = 7007.33653543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4088       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14547E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .21855E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13465E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.5501       1.0000          .0000       .10000E+07
     6 'norm      '    .39396E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .14242E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20357E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .51464E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    .57625E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .40365E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .20038E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .48295E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85573E-05   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2641       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .92378       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=   7007.294     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1175 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4097        3.8807        .66053E-06   -.60262E-02
   2  Prefactor     .29976E-08    9.4217       -.28502E-05** at limit **
   3  Prefactor      .0000        3.7634        .24805E-05** at limit **
   4  Prefactor     .44964E-07    4.1968        .27211E-05** at limit **
   5  Prefactor     3.5526        3.7635        .80593E-07    .16928E-03
   6  norm          .55511E-10    2.7791       -.10866E-06** at limit **
   7  Prefactor     .72720E-08    5.7834        .30839E-05** at limit **
   8  Prefactor     .59008E-07    207.00       -.14967E-04** at limit **
   9  norm          .11102E-09    2.9081        .48068E-06** at limit **
  10  Prefactor     .26645E-08    5.2764       -.20746E-05** at limit **
  11  Prefactor     .38858E-09    4.5011        .18135E-05** at limit **
  12  Prefactor     .12873E-06    4.2026       -.18135E-05** at limit **
  13  norm          .16892E-06    3.3174       -.11344E-05** at limit **
  14  Prefactor     .77716E-09    1.6653        .66966E-07** at limit **
  15  Prefactor     .23870E-08    38.811        .60483E-05** at limit **
  16  Normalizat    1.2642        .23508       -.27832E-04   -.11089E-03
  17  Prefactor     .92387        .14922       -.22057E-04   -.47594E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.4097
  Prefactor  = 2.9976e-09
  Prefactor  = 0
  Prefactor  = 4.4964e-08
  Prefactor  = 3.55258
  norm       = 5.55112e-11
  Prefactor  = 7.27196e-09
  Prefactor  = 5.90084e-08
  norm       = 1.11022e-10
  Prefactor  = 2.66454e-09
  Prefactor  = 3.88578e-10
  Prefactor  = 1.2873e-07
  norm       = 1.6892e-07
  Prefactor  = 7.77156e-10
  Prefactor  = 2.38698e-09
  Normalizat = 1.26419
  Prefactor  = 0.923866
 **********
 **   18 **HESSE 
 **********

 FCN=   7007.294     FROM HESSE     STATUS=OK           253 CALLS     1428 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4097        3.8778        .39623E-03   -1.5657    
   2  Prefactor     .29976E-08    9.4818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        8.2159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44964E-07    8.3092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.5526        3.7713        .53619E-03   -1.5670    
   6  norm          .55511E-10    2.7866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .72720E-08    5.9378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .59008E-07    14.239        .74819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11102E-09    2.9117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .26645E-08    5.3289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .38858E-09    4.5041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12873E-06    6.7849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16892E-06    7.2615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .77716E-09    1.6752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .23870E-08    38.935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2642        .19732        .63226E-01   -.84642    
  17  Prefactor     .92387        .12540        .45307E-01   -.95312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06671e-08
Minuit parameter uncertainties:
  1  3.87777
  2  0.000338236
  3  2.28033e-05
  4  0.00122268
  5  3.77128
  6  1.96527e-05
  7  0.000414961
  8  0.00183283
  9  3.62746e-05
  10  0.000238006
  11  8.16631e-05
  12  0.00186927
  13  0.00221521
  14  7.26196e-05
  15  0.000611375
  16  0.197433
  17  0.12544
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  2.998e-09  3.382e-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:  9.239e-01  1.254e-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:  1.264e+00  1.974e-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.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248099/likelihoodResults_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.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) = 7007.34562182
delta logL = -0.0519621054073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7007.29366211
delta logL = -2.4034661692e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29038E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .94804       1.0000          .0000       10.000    
     3 'Normalizat'    1.2645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92382       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=   7007.294     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      194 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-08    8.9015       -.40223E-05** at limit **
   2  Index         2.0107        2.9812       -.11784E-03   -.57355E-09
   3  Normalizat    1.2642        .22865       -.10659E-04    .35268E-03
   4  Prefactor     .92387        .14840        .14616E-04    .23728E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-09
  Index      = 2.01074
  Normalizat = 1.26419
  Prefactor  = 0.923867
 **********
 **   18 **HESSE 
 **********

 FCN=   7007.294     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      229 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-08    .64563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0107        8.2751        .45614       -.64082    
   3  Normalizat    1.2642        .13626E-02    .63226E-01   -.84642    
   4  Prefactor     .92387        .88328E-03    .45308E-01   -.95312    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.51807e-11
Minuit parameter uncertainties:
  1  0.000119742
  2  5528.32
  3  0.00136261
  4  0.000883276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248099': 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) = 7007.29365971
delta logL = -1.01863406599e-10

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  5.551e-09  1.197e-04  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.011e+00  5.528e+03  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:  9.239e-01  8.833e-04  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:  1.264e+00  1.363e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/248099/cmap_HighResolution_693446401_693705601_4FGL_J0010.6+2043_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.80e-08', time_completed='2022-12-26 00:17:55.083045', job_id='248099', GAL2='0.92', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1672042675.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.02e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1752' AND source_name='4FGL J0010.6+2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:17:55 PST 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 248100: <4FGL_J0010.6+2043_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1752> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:08 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:06:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:06:59 2022
Terminated at Mon Dec 26 00:17:08 2022
Results reported at Mon Dec 26 00:17:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1752 2.6502 20.7332 693446401 693705601 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 :                                   524.20 sec.
    Max Memory :                                 617 MB
    Average Memory :                             290.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            660 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 248099: <4FGL_J0010.6+2043_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:08 2022
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:07:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:07:00 2022
Terminated at Mon Dec 26 00:17:55 2022
Results reported at Mon Dec 26 00:17:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1752 2.6502 20.7332 693446401 693705601 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 :                                   526.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            707 sec.

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

