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


Performing analysis on: 4FGL_J1010.8-0158_daily_bin1283
RA = 152.704, Dec = -1.9817
tmin = 571881601, tmax = 572140801
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='706900', job_status='RUN', time_executed='2021-09-01 12:34:51.412135', time_epoch_executed='1630524891.41' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='1283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/706900

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/706900/ft1_4FGL_J1010.8-0158_daily_bin1283.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/706900/ft2_4FGL_J1010.8-0158_daily_bin1283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/706900/ft1_4FGL_J1010.8-0158_daily_bin1283.fits outfile=/scratch/kocevski/706900/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin1283.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=571881601.0 tmax=572140801.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 2.61
user 2.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/706900/ft2_4FGL_J1010.8-0158_daily_bin1283.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/706900/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin1283.fits evtable="EVENTS" outfile="/scratch/kocevski/706900/ft1_filtered_4FGL_J1010.8-0158_daily_bin1283.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/706900/ft1_filtered_4FGL_J1010.8-0158_daily_bin1283.fits" evtable="EVENTS" scfile=/scratch/kocevski/706900/ft2_4FGL_J1010.8-0158_daily_bin1283.fits sctable="SC_DATA" outfile=/scratch/kocevski/706900/ltcube_571881601_572140801_4FGL_J1010.8-0158_daily_bin1283.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/706900/ft2_4FGL_J1010.8-0158_daily_bin1283.fits
.....................!
real 11.93
user 11.60
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/706900/ft1_filtered_4FGL_J1010.8-0158_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/706900/ft2_4FGL_J1010.8-0158_daily_bin1283.fits sctable="SC_DATA" expcube=/scratch/kocevski/706900/ltcube_571881601_572140801_4FGL_J1010.8-0158_daily_bin1283.fits outfile=/scratch/kocevski/706900/expmap_571881601_572140801_4FGL_J1010.8-0158_daily_bin1283.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/706900/ltcube_571881601_572140801_4FGL_J1010.8-0158_daily_bin1283.fits
.....................!
real 190.51
user 185.95
sys 4.05

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/706900/ft1_filtered_4FGL_J1010.8-0158_daily_bin1283.fits scfile=/scratch/kocevski/706900/ft2_4FGL_J1010.8-0158_daily_bin1283.fits outfile=/scratch/kocevski/706900/cmap_571881601_572140801_4FGL_J1010.8-0158_daily_bin1283.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.57
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/706900/ft1_filtered_4FGL_J1010.8-0158_daily_bin1283.fits scfile=/scratch/kocevski/706900/ft2_4FGL_J1010.8-0158_daily_bin1283.fits outfile=/scratch/kocevski/706900/cmap_HighResolution_571881601_572140801_4FGL_J1010.8-0158_daily_bin1283.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.63
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/706900/ft1_filtered_4FGL_J1010.8-0158_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/706900/ft2_4FGL_J1010.8-0158_daily_bin1283.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/706900/Model_4FGL_J1010.8-0158_daily_bin1283.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/706900/ft1_filtered_4FGL_J1010.8-0158_daily_bin1283.fits.....................!
real 43.50
user 41.18
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10284E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .13207E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .96113       1.0000         .10000E-03   10000.    
     5 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    51.349       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10491E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .34168       1.0000         .10000E-03   10000.    
     9 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14072E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    81.542       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .67713E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.920       1.0000         .10000E-03   10000.    
    14 'norm      '    1.5353       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.8951       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0929       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1022       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=   3697.588     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2004 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    81.032       -.70719E-06** at limit **
   2  Prefactor     .10000E-03    30.463       -.19281E-06** at limit **
   3  norm          .10000E-03    4.1081       -.23786E-06** at limit **
   4  norm          .96192        1.5673        .30557E-06   -.45863E-04
   5  norm          .10000E-03    1.4627       -.18028E-06** at limit **
   6  Prefactor     51.358        43.192        .29106E-06    .72573E-04
   7  Prefactor     .10000E-03    73.247        .20454E-06** at limit **
   8  Prefactor     1.1609        114.48        .10909E-04   -.24925E-03
   9  norm          .10000E-03    18.639        .79727E-06** at limit **
  10  Prefactor     .10000E-03    40.332        .35511E-05** at limit **
  11  Prefactor     81.682        180.60        .60947E-05    .63552E-04
  12  Prefactor     .10001E-03    458.75        .14424E-04** at limit **
  13  Prefactor     18.920        29.593        .80354E-05    .28450E-03
  14  norm          1.5351        2.1033        .23280E-06   -.10720E-04
  15  Prefactor     .10000E-03    6.5770       -.17385E-06** at limit **
  16  Prefactor     .10000E-03    3.2858        .20780E-06** at limit **
  17  Prefactor     7.9019        15.243        .12253E-06   -.54554E-05
  18  Normalizat    1.0916        .31100       -.44256E-05   -.16477E-03
  19  Prefactor     1.1025        .20956        .30179E-05   -.24441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.961915
  norm       = 0.0001
  Prefactor  = 51.3581
  Prefactor  = 0.0001
  Prefactor  = 1.16087
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 81.6816
  Prefactor  = 0.000100012
  Prefactor  = 18.9198
  norm       = 1.53505
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.90193
  Normalizat = 1.09163
  Prefactor  = 1.10248
 **********
 **   18 **HESSE 
 **********

 FCN=   3697.588     FROM HESSE     STATUS=OK           264 CALLS     2268 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    81.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    30.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    10.121        .23832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .96192        1.5354        .90611E-04   -1.5512    
   5  norm          .10000E-03    2.3339        .14244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     51.358        43.161        .27983E-03   -1.4273    
   7  Prefactor     .10000E-03    73.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1609        811.92        .10159E-01   -1.5492    
   9  norm          .10000E-03    18.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    39.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     81.682        181.41        .22239E-03   -1.3898    
  12  Prefactor     .10001E-03    452.78        .20998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.920        29.792        .92080E-04   -1.4838    
  14  norm          1.5351        2.0761        .98779E-04   -1.5460    
  15  Prefactor     .10000E-03    6.6184        .15221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.2961        .10762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.9019        15.235        .14270E-03   -1.5146    
  18  Normalizat    1.0916        .36110        .30446E-03   -.90021    
  19  Prefactor     1.1025        .24237        .21847E-03   -.89387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77398e-08
Minuit parameter uncertainties:
  1  0.000388066
  2  3.81785e-05
  3  3.38422e-05
  4  1.53549
  5  6.68133e-06
  6  43.1877
  7  1.03334e-05
  8  62.2653
  9  3.3671e-05
  10  0.000413852
  11  182.665
  12  0.00471268
  13  29.8149
  14  2.07621
  15  2.43712e-05
  16  1.97587e-06
  17  15.2421
  18  0.361919
  19  0.242608
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  1.033e-05  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:  1.102e+00  2.426e-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.092e+00  3.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/706900/likelihoodResults_571881601_572140801_4FGL_J1010.8-0158_daily_bin1283.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3697.58810709
delta logL = -6.48309301141e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3697.58804232
delta logL = -5.96110112383e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4851       1.0000          .0000       10.000    
     3 'Normalizat'    1.0916       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1025       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=   3697.588     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      238 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8438.9        .90712E-02** at limit **
   2  Index         2.5222        7.0777        .50000       -.50337E-05
   3  Normalizat    1.0916        .10293        .68815E-01   -.13080E-04
   4  Prefactor     1.1025        .74373E-01    .37493E-01   -.11399E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.52219
  Normalizat = 1.09163
  Prefactor  = 1.10248
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    106.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5222        6.2188        .50000       -.51848    
   3  Normalizat    1.0916        .32461        .30447E-03   -.90021    
   4  Prefactor     1.1025        .23566        .21846E-03   -.89387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56912e-11
Minuit parameter uncertainties:
  1  0.000475396
  2  5.37026
  3  0.325209
  4  0.235884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/706900': 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) = 3697.58804227
delta logL = -1.52876964421e-08

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  4.754e-04  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.522e+00  5.370e+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.102e+00  2.359e-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.092e+00  3.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/706900/cmap_HighResolution_571881601_572140801_4FGL_J1010.8-0158_daily_bin1283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-02', job_status='DONE', photon_flux_upper_limit='1.73e-07', time_completed='2021-09-01 12:42:25.628880', job_id='706900', GAL2='1.10', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630525345.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-1.53e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1283' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:42:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 706900: <4FGL_J1010.8-0158_daily_bin1283> in cluster <slac> Done

Job <4FGL_J1010.8-0158_daily_bin1283> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 12:31:11 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:31:12 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:31:12 2021
Terminated at Wed Sep  1 12:42:26 2021
Results reported at Wed Sep  1 12:42:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin1283 152.704 -1.9817 571881601 572140801 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 :                                   444.49 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             289.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            675 sec.

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

