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


Performing analysis on: 4FGL_J1010.2-3119_daily_bin1558
RA = 152.572, Dec = -31.3207
tmin = 643161601, tmax = 643420801
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='700898', job_status='RUN', time_executed='2021-09-01 12:13:06.614593', time_epoch_executed='1630523586.61' WHERE source_name='4FGL J1010.2-3119' and cadence='daily' and bin_id='1558'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700898

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700898/ft1_4FGL_J1010.2-3119_daily_bin1558.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700898/ft1_4FGL_J1010.2-3119_daily_bin1558.fits outfile=/scratch/kocevski/700898/ft1_filteredMKT_4FGL_J1010.2-3119_daily_bin1558.fits ra=152.572 dec=-31.3207 rad=12.0 tmin=643161601.0 tmax=643420801.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 5.98
user 3.22
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.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/700898/ft1_filteredMKT_4FGL_J1010.2-3119_daily_bin1558.fits evtable="EVENTS" outfile="/scratch/kocevski/700898/ft1_filtered_4FGL_J1010.2-3119_daily_bin1558.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.75
user 0.34
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700898/ft1_filtered_4FGL_J1010.2-3119_daily_bin1558.fits" evtable="EVENTS" scfile=/scratch/kocevski/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.fits sctable="SC_DATA" outfile=/scratch/kocevski/700898/ltcube_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.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/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.fits
.....................!
real 13.21
user 12.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700898/ft1_filtered_4FGL_J1010.2-3119_daily_bin1558.fits evtable="EVENTS" scfile=/scratch/kocevski/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.fits sctable="SC_DATA" expcube=/scratch/kocevski/700898/ltcube_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.fits outfile=/scratch/kocevski/700898/expmap_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.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/700898/ltcube_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.fits
.....................!
real 192.07
user 186.57
sys 4.76

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/700898/ft1_filtered_4FGL_J1010.2-3119_daily_bin1558.fits scfile=/scratch/kocevski/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.fits outfile=/scratch/kocevski/700898/cmap_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.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.61
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700898/ft1_filtered_4FGL_J1010.2-3119_daily_bin1558.fits scfile=/scratch/kocevski/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.fits outfile=/scratch/kocevski/700898/cmap_HighResolution_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/700898/ft1_filtered_4FGL_J1010.2-3119_daily_bin1558.fits evtable="EVENTS" scfile=/scratch/kocevski/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700898/Model_4FGL_J1010.2-3119_daily_bin1558.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/700898/ft1_filtered_4FGL_J1010.2-3119_daily_bin1558.fits.....................!
real 93.64
user 92.11
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/700898/ft1_filtered_4FGL_J1010.2-3119_daily_bin1558.fits', '/scratch/kocevski/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.fits', expMap='/scratch/kocevski/700898/expmap_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.fits', expCube='/scratch/kocevski/700898/ltcube_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/700898/Model_4FGL_J1010.2-3119_daily_bin1558.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  1.000e-04  1.000e+04 ( 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/700898/ft1_filtered_4FGL_J1010.2-3119_daily_bin1558.fits
Spacecraft file(s): /scratch/kocevski/700898/ft2_4FGL_J1010.2-3119_daily_bin1558.fits
Exposure map: /scratch/kocevski/700898/expmap_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.fits
Exposure cube: /scratch/kocevski/700898/ltcube_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/700898/Model_4FGL_J1010.2-3119_daily_bin1558.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) = 8375.57464725

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2228       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3323       1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.7932       1.0000         .10000E-03   10000.    
     6 'norm      '    .10169E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.485       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.8535       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.038       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.0070       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .20679E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.370       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2235       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0805       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8375.567     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1898 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2208        10.718        .17938E-05   -.93850E-03
   2  Prefactor     .10000E-03    43.970        .57114E-06** at limit **
   3  norm          1.3325        5.1243        .47118E-05    .32467E-03
   4  norm          .10000E-03    15.684       -.19607E-06** at limit **
   5  norm          6.7934        8.9040        .53048E-08   -.29859E-04
   6  norm          .10000E-03    .82349        .16918E-07** at limit **
   7  norm          .10000E-03    7.2174        .51708E-07** at limit **
   8  Prefactor     .10000E-03    8.5225       -.16259E-06** at limit **
   9  Prefactor     12.483        11.676       -.11235E-06   -.60189E-04
  10  norm          .10000E-03    10.481        .24338E-06** at limit **
  11  norm          3.8536        7.1466       -.66318E-07   -.21055E-03
  12  Prefactor     15.024        16.384        .53261E-06    .12092E-03
  13  Prefactor     6.0053        13.504       -.32403E-06   -.10578E-03
  14  norm          .10000E-03    1.2979       -.15485E-07** at limit **
  15  Prefactor     .10000E-03    75.901       -.14734E-05** at limit **
  16  Prefactor     .10000E-03    2.0633        .16331E-07** at limit **
  17  Prefactor     23.370        13.405        .94274E-07   -.25815E-04
  18  Normalizat    1.2234        .23632       -.53403E-06   -.59065E-04
  19  Prefactor     1.0805        .92911E-01   -.18158E-06   -.10945E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.22081
  Prefactor  = 0.0001
  norm       = 1.33252
  norm       = 0.0001
  norm       = 6.79342
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4834
  norm       = 0.0001
  norm       = 3.85364
  Prefactor  = 15.024
  Prefactor  = 6.00532
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 23.3698
  Normalizat = 1.22341
  Prefactor  = 1.08051
 **********
 **   18 **HESSE 
 **********

 FCN=   8375.567     FROM HESSE     STATUS=OK           268 CALLS     2166 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2208        16.291        .98048E-03   -1.5297    
   2  Prefactor     .10000E-03    44.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3325        5.1762        .38034E-03   -1.5477    
   4  norm          .10000E-03    15.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.7934        8.9005        .15394E-03   -1.5187    
   6  norm          .10000E-03    2.4483        .16040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.2554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.5288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.483        11.678        .11337E-03   -1.5001    
  10  norm          .10000E-03    10.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.8536        7.1504        .20558E-03   -1.5315    
  12  Prefactor     15.024        16.418        .10328E-03   -1.4933    
  13  Prefactor     6.0053        13.492        .16383E-03   -1.5218    
  14  norm          .10000E-03    1.3010        .10164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    78.144        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.0879        .12823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.370        13.425        .82858E-04   -1.4741    
  18  Normalizat    1.2234        .26462        .38709E-03   -.85882    
  19  Prefactor     1.0805        .10511        .16669E-03   -.90092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88199e-09
Minuit parameter uncertainties:
  1  16.3083
  2  0.000160819
  3  5.17795
  4  3.43913e-05
  5  8.90222
  6  5.42503e-06
  7  1.00095e-05
  8  2.37436e-05
  9  11.6801
  10  5.19151e-05
  11  7.15198
  12  16.4233
  13  13.4983
  14  7.30964e-07
  15  0.000705851
  16  3.06909e-06
  17  13.4266
  18  0.264907
  19  0.105128
Done.

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

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  1.248e+01  1.168e+01  1.000e-04  1.000e+04 ( 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.081e+00  1.051e-01  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.223e+00  2.649e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.32
Ra Dec: 152.572 -31.321
Photon Index (Fixed Index): 1.76 +/- 0.00
Photon Flux (Fixed Index): 2.06e-08 +/- 1.93e-08
Energy Flux (Fixed Index): 2.76e-05 +/- 2.58e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8373.14821896
delta logL = 2.41862146042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8372.91826263
delta logL = 2.64857779224

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9013       1.0000         .10000E-03   10000.    
     2 'Index     '    .89059E-07   1.0000          .0000       10.000    
     3 'Normalizat'    1.2370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0798       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=   8372.918     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      238 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9077        4.8449        .51068E-02   -.26328E-03
   2  Index         .14165E-10    .68534        .50000    ** at limit **
   3  Normalizat    1.2367        .22509        .87013E-01    .54309E-04
   4  Prefactor     1.0800        .92264E-01    .38409E-01    .56185E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.90775
  Index      = 1.41653e-11
  Normalizat = 1.23666
  Prefactor  = 1.07995
 **********
 **   18 **HESSE 
 **********

 FCN=   8372.918     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9077        3.9787        .17600E-03   -1.5313    
   2  Index         .14165E-10    6.2539        .38031E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2367        .25298        .38530E-03   -.85477    
   4  Prefactor     1.0800        .10393        .16673E-03   -.90110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23465e-11
Minuit parameter uncertainties:
  1  3.97896
  2  1.24847e-05
  3  0.253233
  4  0.103946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700898': 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) = 8372.91826031
delta logL = 2.64858010934

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  3.908e+00  3.979e+00  1.000e-04  1.000e+04 ( 1.000e-14)
335        Index:  1.417e-11  1.248e-05  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.080e+00  1.039e-01  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.237e+00  2.532e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.61
Ra Dec: 152.572 -31.321
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 3.91e-09 +/- 3.97e-09
Energy Flux (Free Index): 1.96e-04 +/- 1.99e-04

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/700898/cmap_HighResolution_643161601_643420801_4FGL_J1010.2-3119_daily_bin1558.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.06e-08', energy_flux2='1.96e-04', photon_flux_error='1.93e-08', dlogl='2.65e+00', energy_flux='2.76e-05', photon_flux2='3.91e-09', job_status='DONE', time_completed='2021-09-01 12:24:18.060063', photon_index_error2='0.00', photon_index2='0.00', ts='11.32', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.99e-04', EG='1.22', time_epoch_completed='1630524258.06', return_code='0', job_id='700898', GAL2='1.08', EG2='1.24', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='3.97e-09', ts2='16.61', photon_index='1.76' WHERE bin_id='1558' AND source_name='4FGL J1010.2-3119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:24:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 700898: <4FGL_J1010.2-3119_daily_bin1558> in cluster <slac> Done

Job <4FGL_J1010.2-3119_daily_bin1558> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Sep  1 12:10:54 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:12:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 12:12:03 2021
Terminated at Wed Sep  1 12:24:18 2021
Results reported at Wed Sep  1 12:24:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.2-3119_daily_bin1558 152.572 -31.3207 643161601 643420801 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 :                                   666.20 sec.
    Max Memory :                                 1224 MB
    Average Memory :                             292.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            804 sec.

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

