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


Performing analysis on: 4FGL_J1010.2-3119_daily_bin1715
RA = 152.572, Dec = -31.3207
tmin = 683856001, tmax = 684115201
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='88979', job_status='RUN', time_executed='2022-09-16 15:10:42.643268', time_epoch_executed='1663366242.64' WHERE source_name='4FGL J1010.2-3119' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88979

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88979/ft1_4FGL_J1010.2-3119_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88979/ft1_4FGL_J1010.2-3119_daily_bin1715.fits outfile=/scratch/kocevski/88979/ft1_filteredMKT_4FGL_J1010.2-3119_daily_bin1715.fits ra=152.572 dec=-31.3207 rad=12.0 tmin=683856001.0 tmax=684115201.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.56
user 3.28
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.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/88979/ft1_filteredMKT_4FGL_J1010.2-3119_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/88979/ft1_filtered_4FGL_J1010.2-3119_daily_bin1715.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.36
sys 0.16

Number of photons that the gtmktime cut: 933

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88979/ft1_filtered_4FGL_J1010.2-3119_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/88979/ltcube_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.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/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits
.....................!
real 16.70
user 16.21
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88979/ft1_filtered_4FGL_J1010.2-3119_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/88979/ltcube_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.fits outfile=/scratch/kocevski/88979/expmap_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.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/88979/ltcube_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.fits
.....................!
real 192.41
user 187.23
sys 4.67

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
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 185 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1010.2-3119 @ 152.572 -31.3207

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/88979/ft1_filtered_4FGL_J1010.2-3119_daily_bin1715.fits scfile=/scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits outfile=/scratch/kocevski/88979/cmap_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.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=152.572 yref=-31.3207 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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88979/ft1_filtered_4FGL_J1010.2-3119_daily_bin1715.fits scfile=/scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits outfile=/scratch/kocevski/88979/cmap_HighResolution_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.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=152.572 yref=-31.3207 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.59
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88979/ft1_filtered_4FGL_J1010.2-3119_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88979/Model_4FGL_J1010.2-3119_daily_bin1715.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
adding source Vela Junior
Working on...
/scratch/kocevski/88979/ft1_filtered_4FGL_J1010.2-3119_daily_bin1715.fits.....................!
real 104.57
user 102.63
sys 1.55

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88979/ft1_filtered_4FGL_J1010.2-3119_daily_bin1715.fits', '/scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits', expMap='/scratch/kocevski/88979/expmap_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.fits', expCube='/scratch/kocevski/88979/ltcube_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88979/Model_4FGL_J1010.2-3119_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1010.2-3119'

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  2.205e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
335        Index:  1.764e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  5.749e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/88979/ft1_filtered_4FGL_J1010.2-3119_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/88979/ft2_4FGL_J1010.2-3119_daily_bin1715.fits
Exposure map: /scratch/kocevski/88979/expmap_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.fits
Exposure cube: /scratch/kocevski/88979/ltcube_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88979/Model_4FGL_J1010.2-3119_daily_bin1715.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) = 9766.33630951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16348E-04   1.0000          .0000       .10000E+07
     2 'norm      '    3.7817       1.0000          .0000       .10000E+07
     3 'norm      '    .12246E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.3021       1.0000          .0000       .10000E+07
     5 'norm      '    .26349E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .28070E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.007       1.0000          .0000       .10000E+07
     8 'norm      '    .40032E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .15408E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .37765E-04   1.0000          .0000       .10000E+07
    11 'norm      '    3.6199       1.0000          .0000       .10000E+07
    12 'Prefactor '    .72802E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17342E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    10.963       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0258       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0604       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9766.315     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      854 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35805E-07    3.1859       -.18503E-05** at limit **
   2  norm          3.7315        4.7111        .19624E-06    .50024E-02
   3  norm          .27756E-09    2.8038       -.41213E-06** at limit **
   4  norm          1.3024        1.2718       -.19492E-06   -.40203E-01
   5  norm           .0000        2.4506        .50807E-08** at limit **
   6  Prefactor     .88818E-09    20.926       -.56015E-05** at limit **
   7  Prefactor     16.387        14.676        .51760E-05   -.11603E-01
   8  norm           .0000        3.0814        .52627E-06** at limit **
   9  norm          .23592E-07    3.9955        .14219E-05** at limit **
  10  Prefactor     .83267E-08    18.478        .56357E-05** at limit **
  11  norm          3.6169        2.9061        .63257E-07   -.54301E-02
  12  Prefactor     .12534E-06    1.7281        .10818E-05** at limit **
  13  Prefactor     .55511E-10    1.5038       -.75174E-07** at limit **
  14  Prefactor     10.977        1.3752       -.17226E-06   -.21845E-01
  15  Normalizat    1.0253        .23089       -.71196E-05   -.10380E-03
  16  Prefactor     1.0604        .96161E-01    .17997E-06   -.22484E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.58047e-08
  norm       = 3.73148
  norm       = 2.77556e-10
  norm       = 1.30244
  norm       = 0
  Prefactor  = 8.88178e-10
  Prefactor  = 16.3866
  norm       = 0
  norm       = 2.35922e-08
  Prefactor  = 8.32667e-09
  norm       = 3.61689
  Prefactor  = 1.25344e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 10.9774
  Normalizat = 1.02532
  Prefactor  = 1.06043
 **********
 **   18 **HESSE 
 **********

 FCN=   9766.315     FROM HESSE     STATUS=OK           229 CALLS     1083 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35805E-07    4.1215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7315        4.7212        .51887E-03   -1.5669    
   3  norm          .27756E-09    2.8077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3024        1.2827        .96760E-03   -1.5685    
   5  norm           .0000        2.4593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    20.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.387        14.898        .25007E-03   -1.5627    
   8  norm           .0000        3.0963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .23592E-07    4.6271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .83267E-08    18.496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6169        2.9141        .53079E-03   -1.5670    
  12  Prefactor     .12534E-06    4.2528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    1.5010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.977        9.0678        .30234E-03   -1.5642    
  15  Normalizat    1.0253        .20533        .86848E-01   -.92187    
  16  Prefactor     1.0604        .84337E-01    .39337E-01   -.90741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10686e-08
Minuit parameter uncertainties:
  1  0.000768146
  2  4.72119
  3  5.6071e-05
  4  1.28274
  5  8.4452e-06
  6  0.000275821
  7  14.898
  8  8.77043e-07
  9  0.000660885
  10  0.00078411
  11  2.91407
  12  0.0014601
  13  1.95679e-05
  14  9.06777
  15  0.20549
  16  0.0843474
Done.

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

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  1.639e+01  1.490e+01  0.000e+00  1.000e+06 ( 1.000e-14)
335        Index:  1.764e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  5.749e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.060e+00  8.435e-02  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.025e+00  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.78
Ra Dec: 152.572 -31.321
Photon Index (Fixed Index): 1.76 +/- 0.00
Photon Flux (Fixed Index): 2.71e-08 +/- 2.46e-08
Energy Flux (Fixed Index): 3.62e-05 +/- 3.29e-05

TS (Fixed Index): 1.78
Ra Dec: 152.572 -31.321
Photon Flux Upper Limit: 8.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88979/likelihoodResults_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.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) = 9765.80337842
delta logL = 0.512107382201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9765.79497166
delta logL = 0.520514146443

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8509       1.0000          .0000       .10000E+07
     2 'Index     '    2.2862       1.0000          .0000       10.000    
     3 'Normalizat'    .99565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0651       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9765.795     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      262 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8530        104.65        .38308E-03    .34322E-02
   2  Index         2.2864        2.1148        .82938E-01    .32128E-03
   3  Normalizat    .99562        .89632E-01    .87965E-01    .25989E-04
   4  Prefactor     1.0651        .32025E-01    .39095E-01   -.31926E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.85295
  Index      = 2.28644
  Normalizat = 0.995617
  Prefactor  = 1.06515
 **********
 **   18 **HESSE 
 **********

 FCN=   9765.795     FROM HESSE     STATUS=OK            33 CALLS      295 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8530        15.927        .15323E-04   -1.5656    
   2  Index         2.2864        .80981        .45058E-02   -.57366    
   3  Normalizat    .99562        .23036        .38950E-03   -.93177    
   4  Prefactor     1.0651        .96259E-01    .15947E-03   -.90588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.22508e-08
Minuit parameter uncertainties:
  1  15.9266
  2  0.814911
  3  0.230593
  4  0.0962746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88979': 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) = 9765.79497052
delta logL = 0.520515288374

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  6.853e+00  1.593e+01  0.000e+00  1.000e+06 ( 1.000e-14)
335        Index:  2.286e+00  8.149e-01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  5.749e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.065e+00  9.627e-02  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  9.956e-01  2.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.84
Ra Dec: 152.572 -31.321
Photon Index (Free Index): 2.29 +/- 0.81
Photon Flux (Free Index): 5.62e-08 +/- 4.73e-08
Energy Flux (Free Index): 2.17e-05 +/- 2.41e-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/88979/cmap_HighResolution_683856001_684115201_4FGL_J1010.2-3119_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-03', comment='SUCCESS', photon_flux='2.71e-08', energy_flux2='2.17e-05', photon_flux_error='2.46e-08', dlogl='5.21e-01', energy_flux='3.62e-05', photon_flux2='5.62e-08', job_status='DONE', time_completed='2022-09-16 15:21:20.485059', photon_index_error2='0.81', photon_index2='2.29', ts='1.78', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='8.33e-08', energy_flux_error2='2.41e-05', EG='1.03', time_epoch_completed='1663366880.49', return_code='0', job_id='88979', GAL2='1.07', EG2='1.00', return_code2='0', energy_flux_error='3.29e-05', photon_flux_error2='4.73e-08', ts2='2.84', photon_index='1.76' WHERE bin_id='1715' AND source_name='4FGL J1010.2-3119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:21:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 88979: <4FGL_J1010.2-3119_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1010.2-3119_daily_bin1715> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 15:05:31 2022
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:07:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:07:42 2022
Terminated at Fri Sep 16 15:21:20 2022
Results reported at Fri Sep 16 15:21:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.2-3119_daily_bin1715 152.572 -31.3207 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1010.2-3119 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   639.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            949 sec.

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

