/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 194 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 = 7393
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1010.8-0158_daily_bin307
RA = 152.704, Dec = -1.9817
tmin = 318902401, tmax = 319161601
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='702556', job_status='RUN', time_executed='2021-09-01 12:19:23.202823', time_epoch_executed='1630523963.2' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/702556

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/702556/ft1_4FGL_J1010.8-0158_daily_bin307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/702556/ft1_4FGL_J1010.8-0158_daily_bin307.fits outfile=/scratch/kocevski/702556/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin307.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=318902401.0 tmax=319161601.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.48
user 3.20
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.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/702556/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin307.fits evtable="EVENTS" outfile="/scratch/kocevski/702556/ft1_filtered_4FGL_J1010.8-0158_daily_bin307.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/702556/ft1_filtered_4FGL_J1010.8-0158_daily_bin307.fits" evtable="EVENTS" scfile=/scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits sctable="SC_DATA" outfile=/scratch/kocevski/702556/ltcube_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.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/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits
.....................!
real 16.00
user 15.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/702556/ft1_filtered_4FGL_J1010.8-0158_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits sctable="SC_DATA" expcube=/scratch/kocevski/702556/ltcube_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.fits outfile=/scratch/kocevski/702556/expmap_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.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/702556/ltcube_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.fits
.....................!
real 191.66
user 186.30
sys 3.97

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1010.8-0158 @ 152.704 -1.9817

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/702556/ft1_filtered_4FGL_J1010.8-0158_daily_bin307.fits scfile=/scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits outfile=/scratch/kocevski/702556/cmap_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.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.704 yref=-1.9817 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.41
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/702556/ft1_filtered_4FGL_J1010.8-0158_daily_bin307.fits scfile=/scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits outfile=/scratch/kocevski/702556/cmap_HighResolution_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.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.704 yref=-1.9817 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.62
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/702556/ft1_filtered_4FGL_J1010.8-0158_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/702556/Model_4FGL_J1010.8-0158_daily_bin307.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/702556/ft1_filtered_4FGL_J1010.8-0158_daily_bin307.fits.....................!
real 48.99
user 47.32
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/702556/ft1_filtered_4FGL_J1010.8-0158_daily_bin307.fits', '/scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits', expMap='/scratch/kocevski/702556/expmap_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.fits', expCube='/scratch/kocevski/702556/ltcube_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/702556/Model_4FGL_J1010.8-0158_daily_bin307.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1010.8-0158'

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  9.399e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  7.428e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/702556/ft1_filtered_4FGL_J1010.8-0158_daily_bin307.fits
Spacecraft file(s): /scratch/kocevski/702556/ft2_4FGL_J1010.8-0158_daily_bin307.fits
Exposure map: /scratch/kocevski/702556/expmap_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.fits
Exposure cube: /scratch/kocevski/702556/ltcube_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/702556/Model_4FGL_J1010.8-0158_daily_bin307.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) = 4471.50007295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10896E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.446       1.0000         .10000E-03   10000.    
     3 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.0550       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.225       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.338       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11571E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10847E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13213E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.9836       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10995E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10146E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19458E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.4015       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.5777       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .84829       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99142       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4471.481     FROM MIGRAD    STATUS=CONVERGED    397 CALLS     1878 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    123.12       -.10864E-03** at limit **
   2  Prefactor     34.445        21.628       -.11342E-06    .20003E-03
   3  norm          .10000E-03    3.6460        .13001E-06** at limit **
   4  norm          1.0550        .60663       -.11624E-07    .33899E-03
   5  norm          .10000E-03    .62794       -.44837E-07** at limit **
   6  Prefactor     26.225        14.138       -.36746E-06   -.28823E-03
   7  Prefactor     25.324        45.996       -.14962E-04    .31258E-04
   8  Prefactor     .10000E-03    46.230       -.37281E-04** at limit **
   9  norm          .10000E-03    6.4668       -.24462E-06** at limit **
  10  Prefactor     .10000E-03    3.5352       -.61219E-07** at limit **
  11  Prefactor     .10000E-03    72.686        .98070E-04** at limit **
  12  Prefactor     9.9768        21.741       -.24401E-06   -.12053E-03
  13  Prefactor     .10000E-03    6.3006        .12316E-06** at limit **
  14  norm          .10000E-03    1.0513        .16861E-06** at limit **
  15  Prefactor     .10055E-03    3.8348        .17803E-05** at limit **
  16  Prefactor     3.4017        3.3223       -.37734E-06   -.41806E-03
  17  Prefactor     7.5776        7.5199        .11223E-05   -.41553E-04
  18  Normalizat    .84814        .21673        .27560E-05   -.12891E-03
  19  Prefactor     .99151        .16338       -.34248E-06   -.38969E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 34.4448
  norm       = 0.0001
  norm       = 1.05502
  norm       = 0.0001
  Prefactor  = 26.2254
  Prefactor  = 25.3243
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 9.97683
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100551
  Prefactor  = 3.40169
  Prefactor  = 7.57763
  Normalizat = 0.848143
  Prefactor  = 0.991512
 **********
 **   18 **HESSE 
 **********

 FCN=   4471.481     FROM HESSE     STATUS=OK           264 CALLS     2142 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    124.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.445        21.621        .68279E-04   -1.4533    
   3  norm          .10000E-03    3.7858        .24927E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0550        .60104        .37682E-04   -1.5503    
   5  norm          .10000E-03    .62960        .51744E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.225        14.145        .78226E-04   -1.4683    
   7  Prefactor     25.324        45.946        .79582E-04   -1.4701    
   8  Prefactor     .10000E-03    46.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.4725        .16605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.5370        .12249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    73.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.9768        21.655        .12682E-03   -1.5076    
  13  Prefactor     .10000E-03    6.3018        .16373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.7663        .13100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10055E-03    38.691        .24842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.4017        3.3179        .11520E-03   -1.5339    
  17  Prefactor     7.5776        7.5190        .14568E-03   -1.5157    
  18  Normalizat    .84814        .25154        .27535E-03   -.98307    
  19  Prefactor     .99151        .19129        .20240E-03   -.93013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41148e-08
Minuit parameter uncertainties:
  1  0.00153077
  2  21.6256
  3  6.79298e-06
  4  0.601047
  5  4.22245e-07
  6  14.1468
  7  46.0099
  8  0.000475829
  9  7.53804e-06
  10  6.13354e-06
  11  0.00108842
  12  21.6716
  13  7.01042e-06
  14  1.20866e-05
  15  0.00924198
  16  3.31809
  17  7.51994
  18  0.251888
  19  0.191422
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  2.532e+01  4.601e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  7.428e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  9.915e-01  1.914e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  8.481e-01  2.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.36
Ra Dec: 152.704 -1.982
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/702556/likelihoodResults_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.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) = 4471.30243247
delta logL = 0.179034330215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4471.25804311
delta logL = 0.223423695388

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2007       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1481       1.0000          .0000       10.000    
     3 'Normalizat'    .80257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4471.258     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      279 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1576        148.95        .49156E-02    .35188E-03
   2  Index         4.1539        7.0028        .13182        .10249E-03
   3  Normalizat    .80274        .65138E-01    .63874E-01    .12092E-04
   4  Prefactor     1.0184        .50713E-01    .42286E-01   -.46118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.15762
  Index      = 4.15387
  Normalizat = 0.802741
  Prefactor  = 1.01837
 **********
 **   18 **HESSE 
 **********

 FCN=   4471.258     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      310 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1576        278.42        .15371E-03   -1.5300    
   2  Index         4.1539        6.6896        .72569E-02   -.17004    
   3  Normalizat    .80274        .20815        .28255E-03   -.99967    
   4  Prefactor     1.0184        .16487        .20002E-03   -.92120    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03346e-09
Minuit parameter uncertainties:
  1  68.3796
  2  9.68247
  3  0.208354
  4  0.164951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/702556': 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) = 4471.25804033
delta logL = 0.223426471115

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  4.158e+00  6.838e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  4.154e+00  9.682e+00  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  7.428e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.018e+00  1.650e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  8.027e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
Ra Dec: 152.704 -1.982

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/702556/cmap_HighResolution_318902401_319161601_4FGL_J1010.8-0158_daily_bin307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2021-09-01 12:27:40.510502', job_id='702556', GAL2='1.02', fit_tolerance='1e-08', EG2='0.80', EG='0.85', time_epoch_completed='1630524460.51', return_code2='102', ts='0.36', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.23e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='307' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:27:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 702556: <4FGL_J1010.8-0158_daily_bin307> in cluster <slac> Done

Job <4FGL_J1010.8-0158_daily_bin307> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 12:15:47 2021
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:15:58 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:15:58 2021
Terminated at Wed Sep  1 12:27:41 2021
Results reported at Wed Sep  1 12:27:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin307 152.704 -1.9817 318902401 319161601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1010.8-0158 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   495.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             245.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            714 sec.

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

