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


Performing analysis on: 4FGL_J1010.8-0158_daily_bin378
RA = 152.704, Dec = -1.9817
tmin = 337305601, tmax = 337564801
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='703727', job_status='RUN', time_executed='2021-09-01 12:22:39.154529', time_epoch_executed='1630524159.15' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='378'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/703727

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/703727/ft1_4FGL_J1010.8-0158_daily_bin378.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/703727/ft2_4FGL_J1010.8-0158_daily_bin378.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/703727/ft1_4FGL_J1010.8-0158_daily_bin378.fits outfile=/scratch/kocevski/703727/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin378.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=337305601.0 tmax=337564801.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 7.68
user 7.35
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/703727/ft2_4FGL_J1010.8-0158_daily_bin378.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/703727/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin378.fits evtable="EVENTS" outfile="/scratch/kocevski/703727/ft1_filtered_4FGL_J1010.8-0158_daily_bin378.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/703727/ft1_filtered_4FGL_J1010.8-0158_daily_bin378.fits" evtable="EVENTS" scfile=/scratch/kocevski/703727/ft2_4FGL_J1010.8-0158_daily_bin378.fits sctable="SC_DATA" outfile=/scratch/kocevski/703727/ltcube_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.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/703727/ft2_4FGL_J1010.8-0158_daily_bin378.fits
.....................!
real 14.71
user 14.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/703727/ft1_filtered_4FGL_J1010.8-0158_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/703727/ft2_4FGL_J1010.8-0158_daily_bin378.fits sctable="SC_DATA" expcube=/scratch/kocevski/703727/ltcube_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.fits outfile=/scratch/kocevski/703727/expmap_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.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/703727/ltcube_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.fits
.....................!
real 190.52
user 185.43
sys 4.56

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/703727/ft1_filtered_4FGL_J1010.8-0158_daily_bin378.fits scfile=/scratch/kocevski/703727/ft2_4FGL_J1010.8-0158_daily_bin378.fits outfile=/scratch/kocevski/703727/cmap_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/703727/ft1_filtered_4FGL_J1010.8-0158_daily_bin378.fits scfile=/scratch/kocevski/703727/ft2_4FGL_J1010.8-0158_daily_bin378.fits outfile=/scratch/kocevski/703727/cmap_HighResolution_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/703727/ft1_filtered_4FGL_J1010.8-0158_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/703727/ft2_4FGL_J1010.8-0158_daily_bin378.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/703727/Model_4FGL_J1010.8-0158_daily_bin378.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/703727/ft1_filtered_4FGL_J1010.8-0158_daily_bin378.fits.....................!
real 78.06
user 76.81
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/703727/ft1_filtered_4FGL_J1010.8-0158_daily_bin378.fits', '/scratch/kocevski/703727/ft2_4FGL_J1010.8-0158_daily_bin378.fits', expMap='/scratch/kocevski/703727/expmap_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.fits', expCube='/scratch/kocevski/703727/ltcube_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/703727/Model_4FGL_J1010.8-0158_daily_bin378.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/703727/ft1_filtered_4FGL_J1010.8-0158_daily_bin378.fits
Spacecraft file(s): /scratch/kocevski/703727/ft2_4FGL_J1010.8-0158_daily_bin378.fits
Exposure map: /scratch/kocevski/703727/expmap_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.fits
Exposure cube: /scratch/kocevski/703727/ltcube_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/703727/Model_4FGL_J1010.8-0158_daily_bin378.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) = 8301.41692395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3615       1.0000         .10000E-03   10000.    
     3 'norm      '    .11856E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.1087       1.0000         .10000E-03   10000.    
     5 'norm      '    .43524       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.294       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.023       1.0000         .10000E-03   10000.    
     8 'Prefactor '    50.606       1.0000         .10000E-03   10000.    
     9 'norm      '    2.8172       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    116.71       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3763       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1020       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1420       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.095       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1640       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98936       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=   8301.412     FROM MIGRAD    STATUS=CONVERGED    379 CALLS     1933 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.180       -.32693E-05** at limit **
   2  Prefactor     3.3615        8.0745       -.31893E-06   -.22333E-03
   3  norm          .10000E-03    1.7378        .36566E-06** at limit **
   4  norm          1.1088        .52953        .97175E-07   -.34850E-03
   5  norm          .43553        1.0511       -.11800E-06   -.17429E-02
   6  Prefactor     14.300        12.018        .17417E-05    .35030E-04
   7  Prefactor     11.012        26.638       -.22890E-04   -.11618E-04
   8  Prefactor     50.601        35.856       -.48880E-05    .95518E-05
   9  norm          2.8113        10.626       -.10627E-04   -.28793E-03
  10  Prefactor     .10000E-03    2.5195       -.25440E-06** at limit **
  11  Prefactor     116.73        53.005        .21317E-04    .25515E-04
  12  Prefactor     .10000E-03    13.143        .21124E-05** at limit **
  13  Prefactor     .10000E-03    4.7338       -.39326E-06** at limit **
  14  norm          1.3763        1.1244        .94555E-07   -.11128E-03
  15  Prefactor     2.1024        3.2932        .29817E-06   -.44127E-03
  16  Prefactor     5.1423        2.8761       -.32177E-06   -.28641E-03
  17  Prefactor     18.096        8.6060       -.81106E-07   -.25172E-04
  18  Normalizat    1.1637        .18163       -.23218E-05    .93949E-04
  19  Prefactor     .98960        .13637        .12598E-05   -.21388E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.36147
  norm       = 0.000100001
  norm       = 1.10879
  norm       = 0.435528
  Prefactor  = 14.2995
  Prefactor  = 11.0121
  Prefactor  = 50.6008
  norm       = 2.81129
  Prefactor  = 0.0001
  Prefactor  = 116.734
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.37628
  Prefactor  = 2.10239
  Prefactor  = 5.14234
  Prefactor  = 18.0955
  Normalizat = 1.1637
  Prefactor  = 0.989602
 **********
 **   18 **HESSE 
 **********

 FCN=   8301.412     FROM HESSE     STATUS=OK           278 CALLS     2211 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3615        8.0613        .22072E-03   -1.5341    
   3  norm          .10000E-03    8.1041        .23088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1088        .52203        .43488E-04   -1.5497    
   5  norm          .43553        .84295        .14034E-02   -1.5576    
   6  Prefactor     14.300        11.984        .10594E-03   -1.4951    
   7  Prefactor     11.012        26.598        .12067E-03   -1.5044    
   8  Prefactor     50.601        35.971        .56375E-04   -1.4284    
   9  norm          2.8113        10.634        .24233E-03   -1.5373    
  10  Prefactor     .10000E-03    2.5251        .14124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     116.73        53.015        .18622E-03   -1.3543    
  12  Prefactor     .10000E-03    13.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.7399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3763        1.1237        .37127E-04   -1.5473    
  15  Prefactor     2.1024        3.2692        .19966E-03   -1.5418    
  16  Prefactor     5.1423        2.8758        .11113E-03   -1.5254    
  17  Prefactor     18.096        8.6057        .94154E-04   -1.4857    
  18  Normalizat    1.1637        .21636        .27401E-03   -.87732    
  19  Prefactor     .98960        .16205        .23116E-03   -.93077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40115e-09
Minuit parameter uncertainties:
  1  6.14293e-06
  2  8.06392
  3  0.000173234
  4  0.522029
  5  0.842968
  6  11.9862
  7  26.6269
  8  35.9866
  9  10.6408
  10  3.34931e-05
  11  53.0366
  12  0.000101734
  13  3.67139e-05
  14  1.12368
  15  3.2695
  16  2.87589
  17  8.60624
  18  0.216523
  19  0.162131
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.101e+01  2.663e+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.896e-01  1.621e-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:  1.164e+00  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 152.704 -1.982
Photon Flux Upper Limit: 8.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/703727/likelihoodResults_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.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) = 8301.41142819
delta logL = 8.77373659023e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8301.41141254
delta logL = 0.000103384461909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.894       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5546       1.0000          .0000       10.000    
     3 'Normalizat'    1.1634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98972       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8301.411     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      272 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.892        27.752        .12138E-03    .35029E-04
   2  Index         2.5554        1.4001        .91767E-02   -.15496E-04
   3  Normalizat    1.1635        .20436        .27404E-03   -.10528E-02
   4  Prefactor     .98972        .16043        .23115E-03   -.12652E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8922
  Index      = 2.55544
  Normalizat = 1.16345
  Prefactor  = 0.989724
 **********
 **   18 **HESSE 
 **********

 FCN=   8301.411     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.892        27.162        .48553E-05   -1.5048    
   2  Index         2.5554        1.3715        .36707E-03   -.51084    
   3  Normalizat    1.1635        .20452        .54807E-04   -.87740    
   4  Prefactor     .98972        .16054        .46230E-04   -.93073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2261e-09
Minuit parameter uncertainties:
  1  27.1925
  2  1.39517
  3  0.204661
  4  0.16062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/703727': 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) = 8301.41141205
delta logL = 0.000103875427158

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.089e+01  2.719e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.555e+00  1.395e+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:  9.897e-01  1.606e-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:  1.163e+00  2.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/703727/cmap_HighResolution_337305601_337564801_4FGL_J1010.8-0158_daily_bin378.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-03', job_status='DONE', photon_flux_upper_limit='8.17e-08', time_completed='2021-09-01 12:33:52.622774', job_id='703727', GAL2='0.99', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1630524832.62', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.04e-04', ts2='0.22', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='378' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:33:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 703727: <4FGL_J1010.8-0158_daily_bin378> in cluster <slac> Done

Job <4FGL_J1010.8-0158_daily_bin378> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 12:20:30 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:20:33 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:20:33 2021
Terminated at Wed Sep  1 12:33:53 2021
Results reported at Wed Sep  1 12:33:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin378 152.704 -1.9817 337305601 337564801 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 :                                   672.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            803 sec.

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

