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


Performing analysis on: 4FGL_J0010.6+2043_daily_bin1723
RA = 2.6502, Dec = 20.7332
tmin = 685929601, tmax = 686188801
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='430026', job_status='RUN', time_executed='2022-09-30 00:05:12.195539', time_epoch_executed='1664521512.2' WHERE source_name='4FGL J0010.6+2043' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430026

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430026/ft1_4FGL_J0010.6+2043_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430026/ft2_4FGL_J0010.6+2043_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430026/ft1_4FGL_J0010.6+2043_daily_bin1723.fits outfile=/scratch/kocevski/430026/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1723.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=685929601.0 tmax=686188801.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.67
user 3.39
sys 0.20

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

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

Number of photons that the gtmktime cut: 615

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430026/ft1_filtered_4FGL_J0010.6+2043_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430026/ft2_4FGL_J0010.6+2043_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430026/ltcube_685929601_686188801_4FGL_J0010.6+2043_daily_bin1723.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/430026/ft2_4FGL_J0010.6+2043_daily_bin1723.fits
.....................!
real 17.29
user 16.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430026/ft1_filtered_4FGL_J0010.6+2043_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430026/ft2_4FGL_J0010.6+2043_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430026/ltcube_685929601_686188801_4FGL_J0010.6+2043_daily_bin1723.fits outfile=/scratch/kocevski/430026/expmap_685929601_686188801_4FGL_J0010.6+2043_daily_bin1723.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/430026/ltcube_685929601_686188801_4FGL_J0010.6+2043_daily_bin1723.fits
.....................!
real 191.66
user 185.93
sys 5.30

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/430026/ft1_filtered_4FGL_J0010.6+2043_daily_bin1723.fits scfile=/scratch/kocevski/430026/ft2_4FGL_J0010.6+2043_daily_bin1723.fits outfile=/scratch/kocevski/430026/cmap_685929601_686188801_4FGL_J0010.6+2043_daily_bin1723.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.70
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430026/ft1_filtered_4FGL_J0010.6+2043_daily_bin1723.fits scfile=/scratch/kocevski/430026/ft2_4FGL_J0010.6+2043_daily_bin1723.fits outfile=/scratch/kocevski/430026/cmap_HighResolution_685929601_686188801_4FGL_J0010.6+2043_daily_bin1723.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30248E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18483E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11105E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24800E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    10.378       1.0000          .0000       .10000E+07
     6 'norm      '    11.709       1.0000          .0000       .10000E+07
     7 'Prefactor '    .96292E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .35373E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .19695E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .81807E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.4997       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.737       1.0000          .0000       .10000E+07
    13 'norm      '    .24961E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .90787E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10591E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2180       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94470       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=   6810.432     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      934 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.2312        .47282E-08** at limit **
   2  Prefactor     .27756E-09    1.8138       -.28033E-06** at limit **
   3  Prefactor     .38858E-09    1.9373       -.29371E-06** at limit **
   4  Prefactor     .12462E-06    11.411       -.82529E-06** at limit **
   5  Prefactor     10.418        4.3037       -.27262E-06   -.13240E-01
   6  norm          11.704        1.1431        .22698E-06    .24977E-01
   7  Prefactor     .27400E-06    26.187       -.44015E-05** at limit **
   8  Prefactor      .0000        3.7844        .15644E-06** at limit **
   9  norm          .11102E-09    5.5860       -.79184E-06** at limit **
  10  Prefactor      .0000        4.1521        .24560E-06** at limit **
  11  Prefactor     6.2377        3.2620        .15330E-05    .14333E-01
  12  Prefactor     11.382        8.6620        .34206E-05    .90607E-01
  13  norm          .58403E-06    14.290       -.35047E-05** at limit **
  14  Prefactor     .55511E-10    2.3534       -.10986E-06** at limit **
  15  Prefactor     .11771E-05    17.288        .91270E-05** at limit **
  16  Normalizat    1.2187        .22614        .81865E-05   -.55293E-03
  17  Prefactor     .94462        .14931       -.33524E-05   -.71957E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 3.88578e-10
  Prefactor  = 1.24623e-07
  Prefactor  = 10.4179
  norm       = 11.7044
  Prefactor  = 2.74003e-07
  Prefactor  = 0
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 6.23767
  Prefactor  = 11.3817
  norm       = 5.84033e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.17711e-06
  Normalizat = 1.21872
  Prefactor  = 0.944619
 **********
 **   18 **HESSE 
 **********

 FCN=   6810.432     FROM HESSE     STATUS=OK           249 CALLS     1183 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.2252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .27756E-09    1.8148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .38858E-09    1.9392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12462E-06    11.860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.418        4.3077        .31078E-03   -1.5643    
   6  norm          11.704        8.9700        .29252E-03   -1.5640    
   7  Prefactor     .27400E-06    27.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11102E-09    5.5727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.1505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.2377        14.470        .39342E-03   -1.5658    
  12  Prefactor     11.382        14.075        .29216E-03   -1.5640    
  13  norm          .58403E-06    16.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    2.3525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11771E-05    21.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2187        .19364        .62489E-01   -.86026    
  17  Prefactor     .94462        .12615        .45572E-01   -.94599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70412e-07
Minuit parameter uncertainties:
  1  8.7827e-06
  2  4.32512e-05
  3  5.61708e-05
  4  0.00243138
  5  4.30769
  6  8.96999
  7  0.00547211
  8  5.04527e-06
  9  4.31299e-05
  10  7.90469e-06
  11  14.4697
  12  14.0747
  13  0.00617477
  14  1.72781e-05
  15  0.0100803
  16  0.193759
  17  0.126188
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  2.776e-10  4.325e-05  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.446e-01  1.262e-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.219e+00  1.938e-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: 3.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430026/likelihoodResults_685929601_686188801_4FGL_J0010.6+2043_daily_bin1723.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): 102
logL (Free Index) = 6810.43621029
delta logL = -0.00397968892776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6810.43223937
delta logL = -8.77421734913e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14904E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .78194       1.0000          .0000       10.000    
     3 'Normalizat'    1.2193       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94425       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=   6810.432     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      264 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .72049E-02    .42118E-03** at limit **
   2  Index         2.4458        6.8389        .43482        .23531E-09
   3  Normalizat    1.2187        .34425E-03    .62489E-01    .36845E-03
   4  Prefactor     .94462        .22926E-03    .45566E-01    .53068E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 2.44578
  Normalizat = 1.21872
  Prefactor  = 0.94462
 **********
 **   18 **HESSE 
 **********

 FCN=   6810.432     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      293 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .25246E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4458        8.6335        .50000       -.53617    
   3  Normalizat    1.2187        .64359E-03    .27640E-03   -.86026    
   4  Prefactor     .94462        .42885E-03    .20505E-03   -.94599    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.99741e-13
Minuit parameter uncertainties:
  1  3.70523e-06
  2  4310.67
  3  0.000643594
  4  0.000428847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430026': 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) = 6810.4322306
delta logL = 1.36424205266e-10

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.110e-10  3.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.446e+00  4.311e+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.446e-01  4.288e-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.219e+00  6.436e-04  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/430026/cmap_HighResolution_685929601_686188801_4FGL_J0010.6+2043_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-03', job_status='DONE', photon_flux_upper_limit='3.55e-08', time_completed='2022-09-30 00:14:15.357608', job_id='430026', GAL2='0.94', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1664522055.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.36e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1723' AND source_name='4FGL J0010.6+2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:14:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 430026: <4FGL_J0010.6+2043_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:04:46 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:04:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:04:47 2022
Terminated at Fri Sep 30 00:14:16 2022
Results reported at Fri Sep 30 00:14:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1723 2.6502 20.7332 685929601 686188801 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 :                                   511.26 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             396.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   568 sec.
    Turnaround time :                            570 sec.

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

