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


Performing analysis on: 4FGL_J0010.6+2043_daily_bin1703
RA = 2.6502, Dec = 20.7332
tmin = 680745601, tmax = 681004801
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='302299', job_status='RUN', time_executed='2022-08-01 00:06:37.356988', time_epoch_executed='1659337597.36' WHERE source_name='4FGL J0010.6+2043' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/302299

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/302299/ft1_4FGL_J0010.6+2043_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/302299/ft2_4FGL_J0010.6+2043_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/302299/ft1_4FGL_J0010.6+2043_daily_bin1703.fits outfile=/scratch/kocevski/302299/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1703.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=680745601.0 tmax=681004801.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.04
user 2.76
sys 0.19

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

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

Number of photons that the gtmktime cut: 818

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/302299/ft1_filtered_4FGL_J0010.6+2043_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/302299/ft2_4FGL_J0010.6+2043_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/302299/ltcube_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.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/302299/ft2_4FGL_J0010.6+2043_daily_bin1703.fits
.....................!
real 16.32
user 15.83
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/302299/ft1_filtered_4FGL_J0010.6+2043_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/302299/ft2_4FGL_J0010.6+2043_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/302299/ltcube_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.fits outfile=/scratch/kocevski/302299/expmap_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.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/302299/ltcube_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.fits
.....................!
real 193.25
user 186.83
sys 5.83

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/302299/ft1_filtered_4FGL_J0010.6+2043_daily_bin1703.fits scfile=/scratch/kocevski/302299/ft2_4FGL_J0010.6+2043_daily_bin1703.fits outfile=/scratch/kocevski/302299/cmap_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/302299/ft1_filtered_4FGL_J0010.6+2043_daily_bin1703.fits scfile=/scratch/kocevski/302299/ft2_4FGL_J0010.6+2043_daily_bin1703.fits outfile=/scratch/kocevski/302299/cmap_HighResolution_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.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.56
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/302299/ft1_filtered_4FGL_J0010.6+2043_daily_bin1703.fits', '/scratch/kocevski/302299/ft2_4FGL_J0010.6+2043_daily_bin1703.fits', expMap='/scratch/kocevski/302299/expmap_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.fits', expCube='/scratch/kocevski/302299/ltcube_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/302299/Model_4FGL_J0010.6+2043_daily_bin1703.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  1.000e-04  1.000e+04 ( 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/302299/ft1_filtered_4FGL_J0010.6+2043_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/302299/ft2_4FGL_J0010.6+2043_daily_bin1703.fits
Exposure map: /scratch/kocevski/302299/expmap_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.fits
Exposure cube: /scratch/kocevski/302299/ltcube_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/302299/Model_4FGL_J0010.6+2043_daily_bin1703.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) = 9154.95483239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0890       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21584E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.6224       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12784E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0837       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .44941E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.0683       1.0000         .10000E-03   10000.    
    14 'norm      '    10.224       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.9448       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .96501       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1358       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9154.880     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1771 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .70464       -.23309E-08** at limit **
   2  Prefactor     6.0937        8.0633       -.60509E-07   -.80939E-03
   3  Prefactor     .10000E-03    3.8261       -.19943E-07** at limit **
   4  Prefactor     .10000E-03    11.424       -.15911E-05** at limit **
   5  Prefactor     .10000E-03    13.122        .16850E-05** at limit **
   6  Prefactor     .10000E-03    2.6068       -.17524E-07** at limit **
   7  norm          1.6393        4.2982        .20301E-05   -.17250E-02
   8  Prefactor     .10000E-03    5.9891       -.70789E-08** at limit **
   9  Prefactor     .10000E-03    8.6030        .92167E-07** at limit **
  10  norm          .10000E-03    6.7102       -.20835E-07** at limit **
  11  Prefactor     8.0888        5.6516        .23047E-06    .44850E-04
  12  Prefactor     .10001E-03    4.2889       -.38757E-06** at limit **
  13  Prefactor     9.0828        20.892       -.17767E-04   -.14908E-03
  14  norm          10.219        9.9538       -.12772E-06    .20031E-05
  15  Prefactor     .10000E-03    1.7079        .15915E-07** at limit **
  16  Prefactor     5.0101        59.488        .19954E-04    .35811E-04
  17  Normalizat    .96485        .17012        .11363E-06    .94134E-04
  18  Prefactor     1.1357        .11446        .20404E-06    .81469E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 6.09367
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.63929
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.0888
  Prefactor  = 0.000100008
  Prefactor  = 9.08281
  norm       = 10.2193
  Prefactor  = 0.0001
  Prefactor  = 5.01011
  Normalizat = 0.964854
  Prefactor  = 1.13571
 **********
 **   18 **HESSE 
 **********

 FCN=   9154.880     FROM HESSE     STATUS=OK           244 CALLS     2015 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .71280        .78370E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0937        8.2321        .81353E-03   -1.5214    
   3  Prefactor     .10000E-03    3.8409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.977        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.7179        .30123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6393        14.669        .16611E-02   -1.5452    
   8  Prefactor     .10000E-03    5.9969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.7093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    7.0035        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.0888        5.6549        .14102E-03   -1.5139    
  12  Prefactor     .10001E-03    31.412        .37946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.0828        20.989        .13309E-03   -1.5105    
  14  norm          10.219        9.9552        .12531E-03   -1.5069    
  15  Prefactor     .10000E-03    1.7128        .12211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.0101        59.312        .18086E-03   -1.5260    
  17  Normalizat    .96485        .19770        .30201E-03   -.94217    
  18  Prefactor     1.1357        .13503        .19084E-03   -.88333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86124e-08
Minuit parameter uncertainties:
  1  2.83995e-07
  2  8.23363
  3  2.48478e-08
  4  0.000100667
  5  1.95915e-05
  6  3.37494e-06
  7  9.81035
  8  1.44309e-06
  9  7.53239e-06
  10  2.7346e-07
  11  5.65528
  12  0.00101571
  13  21.0063
  14  9.95685
  15  2.16503e-06
  16  34.5191
  17  0.197846
  18  0.135071
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  6.094e+00  8.234e+00  1.000e-04  1.000e+04 ( 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.136e+00  1.351e-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.649e-01  1.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/302299/likelihoodResults_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.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) = 9154.8553834
delta logL = 0.0247429996652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9154.84269344
delta logL = 0.0374329597653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6838       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5613       1.0000          .0000       10.000    
     3 'Normalizat'    .95845       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1385       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9154.843     FROM MIGRAD    STATUS=FAILED       101 CALLS      266 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6819        11.143        .92972E-03   -.30570E-04
   2  Index         2.5614        1.1925        .96313E-02    .53736E-03
   3  Normalizat    .95843        .19922        .30292E-03   -.33027E-05
   4  Prefactor     1.1385        .13495        .19064E-03    .11927E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9154.843     FROM SIMPLEX   STATUS=UNCHANGED     80 CALLS      346 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6819        11.143        .16100E-03   -1.5275    
   2  Index         2.5614        1.1925        .77313E-03   -.50947    
   3  Normalizat    .95843        .19922        .20171E-03   -.94436    
   4  Prefactor     1.1385        .13495        .12264E-03   -.88246    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9154.843     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      385 TOTAL
                     EDM=   .34E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6819        8.8352        .37189E-04   -.26902E-04
   2  Index         2.5614        .94971        .19263E-02    .39779E-05
   3  Normalizat    .95843        .19903        .12117E-04   -.15012E-05
   4  Prefactor     1.1385        .13478        .38128E-04   -.14312E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.68189
  Index      = 2.56143
  Normalizat = 0.958434
  Prefactor  = 1.13848
 **********
 **   18 **HESSE 
 **********

 FCN=   9154.843     FROM HESSE     STATUS=OK            23 CALLS      408 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6819        8.5821        .14876E-05   -1.5275    
   2  Index         2.5614        .92307        .77050E-04   -.50947    
   3  Normalizat    .95843        .19880        .24233E-05   -.94436    
   4  Prefactor     1.1385        .13464        .76255E-05   -.88246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68245e-12
Minuit parameter uncertainties:
  1  8.5844
  2  0.930094
  3  0.198957
  4  0.134684
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/302299': 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) = 9154.84269341
delta logL = 0.0374329908227

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  4.682e+00  8.584e+00  1.000e-04  1.000e+04 ( 1.000e-13)
46         Index:  2.561e+00  9.301e-01  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.138e+00  1.347e-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.584e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.69
Ra Dec: 2.650 20.733

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/302299/cmap_HighResolution_680745601_681004801_4FGL_J0010.6+2043_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.44e-03', job_status='DONE', photon_flux_upper_limit='8.37e-08', time_completed='2022-08-01 00:18:07.548914', job_id='302299', GAL2='1.14', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1659338287.55', return_code2='0', ts='0.69', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='3.74e-02', ts2='0.77', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1703' AND source_name='4FGL J0010.6+2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 00:18:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 302299: <4FGL_J0010.6+2043_daily_bin1703> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1703> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug  1 00:04:56 2022
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 00:05:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 00:05:01 2022
Terminated at Mon Aug  1 00:18:08 2022
Results reported at Mon Aug  1 00:18:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1703 2.6502 20.7332 680745601 681004801 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 :                                   688.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            792 sec.

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

