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


Performing analysis on: 4FGL_J0010.6+2043_daily_bin1699
RA = 2.6502, Dec = 20.7332
tmin = 679708801, tmax = 679968001
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='990950', job_status='RUN', time_executed='2022-07-20 00:05:56.222430', time_epoch_executed='1658300756.22' WHERE source_name='4FGL J0010.6+2043' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/990950

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/990950/ft1_4FGL_J0010.6+2043_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/990950/ft2_4FGL_J0010.6+2043_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/990950/ft1_4FGL_J0010.6+2043_daily_bin1699.fits outfile=/scratch/kocevski/990950/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1699.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=679708801.0 tmax=679968001.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.99
user 3.58
sys 0.23

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

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

Number of photons that the gtmktime cut: 725

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/990950/ft1_filtered_4FGL_J0010.6+2043_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/990950/ft2_4FGL_J0010.6+2043_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/990950/ltcube_679708801_679968001_4FGL_J0010.6+2043_daily_bin1699.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/990950/ft2_4FGL_J0010.6+2043_daily_bin1699.fits
.....................!
real 12.78
user 11.95
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/990950/ft1_filtered_4FGL_J0010.6+2043_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/990950/ft2_4FGL_J0010.6+2043_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/990950/ltcube_679708801_679968001_4FGL_J0010.6+2043_daily_bin1699.fits outfile=/scratch/kocevski/990950/expmap_679708801_679968001_4FGL_J0010.6+2043_daily_bin1699.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/990950/ltcube_679708801_679968001_4FGL_J0010.6+2043_daily_bin1699.fits
.....................!
real 191.37
user 185.43
sys 4.62

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/990950/ft1_filtered_4FGL_J0010.6+2043_daily_bin1699.fits scfile=/scratch/kocevski/990950/ft2_4FGL_J0010.6+2043_daily_bin1699.fits outfile=/scratch/kocevski/990950/cmap_679708801_679968001_4FGL_J0010.6+2043_daily_bin1699.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 1.17
user 0.37
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89355E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4694       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.309       1.0000         .10000E-03   10000.    
     5 'Prefactor '    90.635       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1977       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9765       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.3864       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .60169E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.3131       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.285       1.0000         .10000E-03   10000.    
    14 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.153       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .97564       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0808       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=   8146.201     FROM MIGRAD    STATUS=CONVERGED    357 CALLS     1745 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75085E-01    1.6509       -.83240E-06    .37992E-03
   2  Prefactor     2.4763        13.847        .91697E-06    .11565E-04
   3  Prefactor     .10000E-03    3.7171       -.21289E-06** at limit **
   4  Prefactor     12.308        7.9962       -.38449E-08   -.65327E-04
   5  Prefactor     90.633        52.575        .13449E-07   -.60050E-04
   6  Prefactor     3.1977        4.2113       -.25852E-06   -.81764E-03
   7  norm          .10000E-03    4.0997       -.13970E-06** at limit **
   8  Prefactor     2.9677        57.367        .12312E-05   -.64816E-04
   9  Prefactor     .10000E-03    10.890        .85953E-07** at limit **
  10  norm          4.3863        4.3580       -.29920E-06   -.81551E-04
  11  Prefactor     .10000E-03    4.6136        .46074E-06** at limit **
  12  Prefactor     2.3122        12.066        .82232E-05   -.10564E-04
  13  Prefactor     14.284        17.600        .30290E-06   -.10013E-04
  14  norm          .10000E-03    16.500        .32824E-06** at limit **
  15  Prefactor     .10000E-03    3.2845        .14608E-06** at limit **
  16  Prefactor     17.145        35.113        .14157E-05   -.13364E-04
  17  Normalizat    .97560        .18735       -.12422E-05   -.15882E-03
  18  Prefactor     1.0809        .11837       -.36319E-07   -.35446E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.075085
  Prefactor  = 2.47626
  Prefactor  = 0.0001
  Prefactor  = 12.3083
  Prefactor  = 90.6329
  Prefactor  = 3.19774
  norm       = 0.0001
  Prefactor  = 2.96766
  Prefactor  = 0.0001
  norm       = 4.38632
  Prefactor  = 0.0001
  Prefactor  = 2.31217
  Prefactor  = 14.2843
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.1449
  Normalizat = 0.975596
  Prefactor  = 1.0809
 **********
 **   18 **HESSE 
 **********

 FCN=   8146.201     FROM HESSE     STATUS=OK           250 CALLS     1995 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75085E-01    42.882        .18727E-02   -1.5653    
   2  Prefactor     2.4763        15.942        .26021E-03   -1.5393    
   3  Prefactor     .10000E-03    3.7284        .16992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.308        7.9997        .11418E-03   -1.5006    
   5  Prefactor     90.633        52.601        .42208E-04   -1.3801    
   6  Prefactor     3.1977        4.1611        .18887E-03   -1.5350    
   7  norm          .10000E-03    4.1141        .17851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.9677        56.153        .23533E-03   -1.5363    
   9  Prefactor     .10000E-03    11.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.3863        4.3659        .18240E-03   -1.5289    
  11  Prefactor     .10000E-03    46.473        .37301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.3122        12.232        .13488E-02   -1.5404    
  13  Prefactor     14.284        17.609        .10597E-03   -1.4952    
  14  norm          .10000E-03    16.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.3105        .15975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.145        35.212        .96704E-04   -1.4880    
  17  Normalizat    .97560        .21784        .30367E-03   -.93853    
  18  Prefactor     1.0809        .13813        .19491E-03   -.90079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87651e-09
Minuit parameter uncertainties:
  1  3.58896
  2  12.5706
  3  2.95642e-05
  4  8.00037
  5  52.6276
  6  4.16148
  7  1.90619e-05
  8  25.8458
  9  1.84993e-05
  10  4.36619
  11  0.000263234
  12  10.6394
  13  17.6156
  14  0.000106912
  15  2.19317e-05
  16  35.2547
  17  0.218038
  18  0.138175
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  2.476e+00  1.257e+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:  1.081e+00  1.382e-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.756e-01  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/990950/likelihoodResults_679708801_679968001_4FGL_J0010.6+2043_daily_bin1699.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) = 8145.63769088
delta logL = 0.563555001501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8145.57404832
delta logL = 0.6271975659

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95090       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7194       1.0000          .0000       10.000    
     3 'Normalizat'    .91031       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1057       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=   8145.574     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      229 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94988        14.601        .12991E-01    .12861E-02
   2  Index         3.7199        2.5954        .10456        .22594E-03
   3  Normalizat    .91035        .41815E-01    .70769E-01    .22604E-04
   4  Prefactor     1.1057        .28132E-01    .37373E-01   -.15180E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.949881
  Index      = 3.71988
  Normalizat = 0.910352
  Prefactor  = 1.1057
 **********
 **   18 **HESSE 
 **********

 FCN=   8145.574     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      260 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94988        40.227        .80461E-04   -1.5513    
   2  Index         3.7199        6.8431        .59648E-02   -.25891    
   3  Normalizat    .91035        .18835        .31312E-03   -.96097    
   4  Prefactor     1.1057        .12565        .19292E-03   -.89284    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.18575e-06
Minuit parameter uncertainties:
  1  12.3713
  2  5.77962
  3  0.188484
  4  0.125679
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/990950': 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) = 8145.57404823
delta logL = 0.627197649407

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  9.499e-01  1.237e+01  1.000e-04  1.000e+04 ( 1.000e-13)
46         Index:  3.720e+00  5.780e+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:  1.106e+00  1.257e-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.104e-01  1.885e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 2.650 20.733
Photon Index (Free Index): 3.72 +/- 5.78
Photon Flux (Free Index): 6.19e-08 +/- 5.86e-08
Energy Flux (Free Index): 9.78e-06 +/- 1.46e-05

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/990950/cmap_HighResolution_679708801_679968001_4FGL_J0010.6+2043_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', comment='SUCCESS', energy_flux2='9.78e-06', dlogl='6.27e-01', photon_flux2='6.19e-08', job_status='DONE', time_completed='2022-07-20 00:16:43.328276', photon_index_error2='5.78', photon_index2='3.72', ts='0.06', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='9.20e-08', energy_flux_error2='1.46e-05', EG='0.98', time_epoch_completed='1658301403.33', return_code='0', job_id='990950', GAL2='1.11', EG2='0.91', return_code2='102', photon_flux_error2='5.86e-08', ts2='1.41', photon_index='2.32' WHERE bin_id='1699' AND source_name='4FGL J0010.6+2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:16:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 990950: <4FGL_J0010.6+2043_daily_bin1699> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1699> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jul 20 00:05:00 2022
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:05:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:05:01 2022
Terminated at Wed Jul 20 00:16:44 2022
Results reported at Wed Jul 20 00:16:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1699 2.6502 20.7332 679708801 679968001 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 :                                   617.24 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             327.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

