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


Performing analysis on: 4FGL_J0010.6+2043_daily_bin1762
RA = 2.6502, Dec = 20.7332
tmin = 696038401, tmax = 696297601
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='105190', job_status='RUN', time_executed='2023-01-25 00:42:33.201254', time_epoch_executed='1674636153.2' WHERE source_name='4FGL J0010.6+2043' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105190

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105190/ft1_4FGL_J0010.6+2043_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105190/ft2_4FGL_J0010.6+2043_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105190/ft1_4FGL_J0010.6+2043_daily_bin1762.fits outfile=/scratch/kocevski/105190/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1762.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=696038401.0 tmax=696297601.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.06
user 2.82
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105190/ft2_4FGL_J0010.6+2043_daily_bin1762.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/105190/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/105190/ft1_filtered_4FGL_J0010.6+2043_daily_bin1762.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.46
user 0.30
sys 0.15

Number of photons that the gtmktime cut: 625

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105190/ft1_filtered_4FGL_J0010.6+2043_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/105190/ft2_4FGL_J0010.6+2043_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/105190/ltcube_696038401_696297601_4FGL_J0010.6+2043_daily_bin1762.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/105190/ft2_4FGL_J0010.6+2043_daily_bin1762.fits
.....................!
real 13.82
user 13.48
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105190/ft1_filtered_4FGL_J0010.6+2043_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/105190/ft2_4FGL_J0010.6+2043_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/105190/ltcube_696038401_696297601_4FGL_J0010.6+2043_daily_bin1762.fits outfile=/scratch/kocevski/105190/expmap_696038401_696297601_4FGL_J0010.6+2043_daily_bin1762.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/105190/ltcube_696038401_696297601_4FGL_J0010.6+2043_daily_bin1762.fits
.....................!
real 160.16
user 155.10
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/105190/ft1_filtered_4FGL_J0010.6+2043_daily_bin1762.fits scfile=/scratch/kocevski/105190/ft2_4FGL_J0010.6+2043_daily_bin1762.fits outfile=/scratch/kocevski/105190/cmap_696038401_696297601_4FGL_J0010.6+2043_daily_bin1762.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.49
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105190/ft1_filtered_4FGL_J0010.6+2043_daily_bin1762.fits scfile=/scratch/kocevski/105190/ft2_4FGL_J0010.6+2043_daily_bin1762.fits outfile=/scratch/kocevski/105190/cmap_HighResolution_696038401_696297601_4FGL_J0010.6+2043_daily_bin1762.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.48
user 0.32
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.726       1.0000          .0000       .10000E+07
     3 'Prefactor '    .33806E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45697E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    19.321       1.0000          .0000       .10000E+07
     6 'norm      '    7.2862       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.996       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.628       1.0000          .0000       .10000E+07
     9 'norm      '    .59175E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .39241E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .41329E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10101E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .29310E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .83267E-09   1.0000          .0000       .10000E+07
    15 'Prefactor '    .25057E-05   1.0000          .0000       .10000E+07
    16 'Normalizat'    .96754       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0385       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=   6669.221     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1400 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.4019       -.20185E-06** at limit **
   2  Prefactor     12.729        8.7339        .32925E-06    .35589E-02
   3  Prefactor      .0000        2.6096        .31218E-06** at limit **
   4  Prefactor     .27756E-09    5.4849       -.27567E-06** at limit **
   5  Prefactor     19.321        5.4380        .89817E-07   -.22640E-02
   6  norm          7.2905        5.5318        .15114E-05    .12490    
   7  Prefactor     13.998        1.4461        .18245E-06   -.41207E-03
   8  Prefactor     29.632        16.076        .22103E-05   -.84939E-01
   9  norm          .55511E-10    2.4151        .11731E-06** at limit **
  10  Prefactor     .13989E-07    4.7331        .10099E-06** at limit **
  11  Prefactor      .0000        14.706        .25152E-06** at limit **
  12  Prefactor     .13167E-06    323.19       -.58645E-05** at limit **
  13  norm          .15044E-07    4.6177        .16424E-06** at limit **
  14  Prefactor     .55511E-10    2.6121       -.46211E-06** at limit **
  15  Prefactor     .38303E-08    46.865       -.21210E-05** at limit **
  16  Normalizat    .96735        .22321       -.79316E-05   -.60924E-04
  17  Prefactor     1.0385        .15267       -.91522E-05   -.19883E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 12.7289
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 19.3209
  norm       = 7.29047
  Prefactor  = 13.9981
  Prefactor  = 29.6317
  norm       = 5.55112e-11
  Prefactor  = 1.39888e-08
  Prefactor  = 0
  Prefactor  = 1.31672e-07
  norm       = 1.50435e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 3.83027e-09
  Normalizat = 0.967348
  Prefactor  = 1.03849
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.221     FROM HESSE     STATUS=OK           259 CALLS     1659 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.729        8.7459        .28054E-03   -1.5637    
   3  Prefactor      .0000        2.6120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27756E-09    5.4698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.321        5.5233        .22758E-03   -1.5620    
   6  norm          7.2905        9.7214        .37135E-03   -1.5654    
   7  Prefactor     13.998        20.977        .26747E-03   -1.5633    
   8  Prefactor     29.632        20.145        .18375E-03   -1.5599    
   9  norm          .55511E-10    2.4168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13989E-07    4.7897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        14.642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .13167E-06    20.450        .78309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .15044E-07    4.6684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    2.6108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38303E-08    47.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .96735        .19156        .66202E-01   -.94132    
  17  Prefactor     1.0385        .13012        .40637E-01   -.91457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28511e-07
Minuit parameter uncertainties:
  1  4.04704e-06
  2  8.74588
  3  1.58597e-05
  4  7.45392e-05
  5  5.52327
  6  9.7214
  7  20.9767
  8  20.1446
  9  1.96576e-05
  10  0.000517559
  11  2.29764e-05
  12  0.00328218
  13  0.000530149
  14  1.79526e-05
  15  0.000849289
  16  0.191691
  17  0.130156
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.273e+01  8.746e+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

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.038e+00  1.302e-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.673e-01  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.33
Ra Dec: 2.650 20.733
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 4.28e-08 +/- 2.94e-08
Energy Flux (Fixed Index): 1.58e-05 +/- 1.08e-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) = 6667.97969669
delta logL = 1.24177370353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6667.88056674
delta logL = 1.34090364727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.175       1.0000          .0000       .10000E+07
     2 'Index     '    1.4822       1.0000          .0000       10.000    
     3 'Normalizat'    .99723       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0271       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=   6667.881     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      207 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.175        13.916        .23465E-03    .24498E-01
   2  Index         1.4821        .41482        .21783       -.37609E-04
   3  Normalizat    .99719        .19021        .46132E-01    .20167E-04
   4  Prefactor     1.0271        .13151        .41499E-01    .17838E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1752
  Index      = 1.48212
  Normalizat = 0.997187
  Prefactor  = 1.0271
 **********
 **   18 **HESSE 
 **********

 FCN=   6667.881     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.175        13.583        .93862E-05   -1.5623    
   2  Index         1.4821        .45823        .84763E-02   -.78042    
   3  Normalizat    .99719        .21954        .28868E-03   -.93125    
   4  Prefactor     1.0271        .15220        .19655E-03   -.91832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.44391e-09
Minuit parameter uncertainties:
  1  13.5832
  2  0.459506
  3  0.219738
  4  0.152267
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105190': 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) = 6667.88056668
delta logL = 1.34090370793

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.818e+01  1.358e+01  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  1.482e+00  4.595e-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.027e+00  1.523e-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.972e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.02
Ra Dec: 2.650 20.733
Photon Index (Free Index): 1.48 +/- 0.46
Photon Flux (Free Index): 1.79e-08 +/- 1.69e-08
Energy Flux (Free Index): 6.01e-05 +/- 6.90e-05

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/105190/cmap_HighResolution_696038401_696297601_4FGL_J0010.6+2043_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.28e-08', energy_flux2='6.01e-05', photon_flux_error='2.94e-08', dlogl='1.34e+00', energy_flux='1.58e-05', photon_flux2='1.79e-08', job_status='DONE', time_completed='2023-01-25 00:49:47.997780', photon_index_error2='0.46', photon_index2='1.48', ts='7.33', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.90e-05', EG='0.97', time_epoch_completed='1674636588.0', return_code='0', job_id='105190', GAL2='1.03', EG2='1.00', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='1.69e-08', ts2='10.02', photon_index='2.32' WHERE bin_id='1762' AND source_name='4FGL J0010.6+2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 00:49:48 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 105190: <4FGL_J0010.6+2043_daily_bin1762> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:40:11 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:40:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:40:17 2023
Terminated at Wed Jan 25 00:49:48 2023
Results reported at Wed Jan 25 00:49:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1762 2.6502 20.7332 696038401 696297601 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 :                                   436.57 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            577 sec.

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

