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


Performing analysis on: 4FGL_J0010.6+2043_daily_bin1692
RA = 2.6502, Dec = 20.7332
tmin = 677894401, tmax = 678153601
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='403384', job_status='RUN', time_executed='2022-06-29 00:06:54.465888', time_epoch_executed='1656486414.47' WHERE source_name='4FGL J0010.6+2043' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403384

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403384/ft1_4FGL_J0010.6+2043_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403384/ft2_4FGL_J0010.6+2043_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403384/ft1_4FGL_J0010.6+2043_daily_bin1692.fits outfile=/scratch/kocevski/403384/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1692.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=677894401.0 tmax=678153601.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.49
user 4.12
sys 0.26

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

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

Number of photons that the gtmktime cut: 680

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/403384/ft1_filtered_4FGL_J0010.6+2043_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/403384/ft2_4FGL_J0010.6+2043_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/403384/ltcube_677894401_678153601_4FGL_J0010.6+2043_daily_bin1692.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/403384/ft2_4FGL_J0010.6+2043_daily_bin1692.fits
.....................!
real 15.16
user 14.65
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403384/ft1_filtered_4FGL_J0010.6+2043_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403384/ft2_4FGL_J0010.6+2043_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/403384/ltcube_677894401_678153601_4FGL_J0010.6+2043_daily_bin1692.fits outfile=/scratch/kocevski/403384/expmap_677894401_678153601_4FGL_J0010.6+2043_daily_bin1692.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/403384/ltcube_677894401_678153601_4FGL_J0010.6+2043_daily_bin1692.fits
.....................!
real 193.47
user 186.56
sys 6.13

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/403384/ft1_filtered_4FGL_J0010.6+2043_daily_bin1692.fits scfile=/scratch/kocevski/403384/ft2_4FGL_J0010.6+2043_daily_bin1692.fits outfile=/scratch/kocevski/403384/cmap_677894401_678153601_4FGL_J0010.6+2043_daily_bin1692.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/403384/ft1_filtered_4FGL_J0010.6+2043_daily_bin1692.fits scfile=/scratch/kocevski/403384/ft2_4FGL_J0010.6+2043_daily_bin1692.fits outfile=/scratch/kocevski/403384/cmap_HighResolution_677894401_678153601_4FGL_J0010.6+2043_daily_bin1692.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8437       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.241       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9075       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.5989       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.9059       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.412       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10359E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1748       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.942       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0578       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95260       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=   7298.457     FROM MIGRAD    STATUS=CONVERGED    369 CALLS     1511 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8425        3.1982        .13021E-06    .88154E-05
   2  Prefactor     10.236        10.073       -.14797E-06    .85916E-05
   3  Prefactor     .10000E-03    4.6723        .26329E-07** at limit **
   4  Prefactor     9.9072        7.6031       -.16351E-06    .10575E-04
   5  Prefactor     .10000E-03    28.641        .78027E-06** at limit **
   6  Prefactor     .10000E-03    1.6547        .74567E-07** at limit **
   7  norm          2.5997        9.3174        .92295E-06    .21710E-04
   8  Prefactor     6.8922        21.072       -.12710E-05    .64696E-05
   9  Prefactor     19.389        16.142       -.18977E-05    .30022E-04
  10  norm          .10000E-03    2.0197        .38862E-07** at limit **
  11  Prefactor     .10000E-03    11.471        .12424E-05** at limit **
  12  Prefactor     3.1701        10.288        .40901E-05   -.95163E-05
  13  Prefactor     .10000E-03    25.421       -.78169E-06** at limit **
  14  norm          .10000E-03    6.6618       -.55514E-07** at limit **
  15  Prefactor     .10000E-03    2.1254       -.36818E-07** at limit **
  16  Prefactor     13.751        34.284        .14560E-05   -.34236E-05
  17  Normalizat    1.0584        .18377       -.86641E-06    .20199E-04
  18  Prefactor     .95222        .11874        .55784E-06   -.20218E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.84245
  Prefactor  = 10.2355
  Prefactor  = 0.0001
  Prefactor  = 9.90723
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.59968
  Prefactor  = 6.89216
  Prefactor  = 19.3893
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.17012
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7515
  Normalizat = 1.05838
  Prefactor  = 0.952219
 **********
 **   18 **HESSE 
 **********

 FCN=   7298.457     FROM HESSE     STATUS=OK           246 CALLS     1757 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8425        3.1769        .14350E-03   -1.5371    
   2  Prefactor     10.236        10.018        .12521E-03   -1.5068    
   3  Prefactor     .10000E-03    4.7192        .18021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.9072        7.6043        .12731E-03   -1.5078    
   5  Prefactor     .10000E-03    28.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.7059        .21441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5997        9.3091        .25308E-03   -1.5385    
   8  Prefactor     6.8922        21.089        .15267E-03   -1.5183    
   9  Prefactor     19.389        16.161        .90906E-04   -1.4827    
  10  norm          .10000E-03    2.0204        .11858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1701        10.299        .11372E-02   -1.5352    
  13  Prefactor     .10000E-03    25.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.7078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.1365        .12162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.751        34.358        .10727E-03   -1.4966    
  17  Normalizat    1.0584        .21775        .27221E-03   -.91099    
  18  Prefactor     .95222        .14121        .19492E-03   -.94340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50261e-10
Minuit parameter uncertainties:
  1  3.17707
  2  10.0197
  3  2.55983e-06
  4  7.60501
  5  3.58455e-05
  6  2.78929e-06
  7  9.31424
  8  21.1118
  9  16.1648
  10  6.39311e-09
  11  0.00015704
  12  10.3044
  13  1.33672e-05
  14  4.00616e-06
  15  1.49558e-06
  16  34.4073
  17  0.217934
  18  0.141268
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.024e+01  1.002e+01  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:  9.522e-01  1.413e-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.058e+00  2.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.67
Ra Dec: 2.650 20.733
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 3.44e-08 +/- 3.37e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.24e-05

TS (Fixed Index): 1.67
Ra Dec: 2.650 20.733
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/403384/likelihoodResults_677894401_678153601_4FGL_J0010.6+2043_daily_bin1692.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) = 7298.19015119
delta logL = 0.267036297652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7298.17921046
delta logL = 0.277977029834

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4380       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0012       1.0000          .0000       10.000    
     3 'Normalizat'    1.0215       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96888       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7298.179     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      288 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4385        123.88        .13063E-03    .15310E-02
   2  Index         3.0012        6.4985        .56395E-02    .30738E-03
   3  Normalizat    1.0215        .27940        .27637E-03    .24620E-03
   4  Prefactor     .96887        .17902        .19343E-03    .28681E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.43851
  Index      = 3.00122
  Normalizat = 1.02149
  Prefactor  = 0.968875
 **********
 **   18 **HESSE 
 **********

 FCN=   7298.179     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4385        9.1180        .52253E-05   -1.5287    
   2  Index         3.0012        1.0570        .22558E-03   -.41125    
   3  Normalizat    1.0215        .21274        .11055E-04   -.92314    
   4  Prefactor     .96887        .14291        .38686E-04   -.93774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81617e-10
Minuit parameter uncertainties:
  1  9.12087
  2  1.06657
  3  0.212914
  4  0.142965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403384': 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) = 7298.17921045
delta logL = 0.277977036598

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  4.439e+00  9.121e+00  1.000e-04  1.000e+04 ( 1.000e-13)
46         Index:  3.001e+00  1.067e+00  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.689e-01  1.430e-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.021e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 2.650 20.733
Photon Index (Free Index): 3.00 +/- 1.07
Photon Flux (Free Index): 5.94e-08 +/- 5.06e-08
Energy Flux (Free Index): 1.18e-05 +/- 9.32e-06

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/403384/cmap_HighResolution_677894401_678153601_4FGL_J0010.6+2043_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', comment='SUCCESS', photon_flux='3.44e-08', energy_flux2='1.18e-05', photon_flux_error='3.37e-08', dlogl='2.78e-01', energy_flux='1.27e-05', photon_flux2='5.94e-08', job_status='DONE', time_completed='2022-06-29 00:16:58.928081', photon_index_error2='1.07', photon_index2='3.00', ts='1.67', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='9.32e-06', EG='1.06', time_epoch_completed='1656487018.93', return_code='0', job_id='403384', GAL2='0.97', EG2='1.02', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='5.06e-08', ts2='2.28', photon_index='2.32' WHERE bin_id='1692' AND source_name='4FGL J0010.6+2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 00:16:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 403384: <4FGL_J0010.6+2043_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:04:39 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 00:06:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 00:06:01 2022
Terminated at Wed Jun 29 00:16:59 2022
Results reported at Wed Jun 29 00:16:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1692 2.6502 20.7332 677894401 678153601 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 :                                   602.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            740 sec.

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

