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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin594
RA = 152.825, Dec = -4.4577
tmin = 393292801, tmax = 393552001
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='711304', job_status='RUN', time_executed='2021-09-01 12:47:41.001468', time_epoch_executed='1630525661.0' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='594'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/711304

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/711304/ft1_4FGL_J1011.3-0427_daily_bin594.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/711304/ft1_4FGL_J1011.3-0427_daily_bin594.fits outfile=/scratch/kocevski/711304/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin594.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=393292801.0 tmax=393552001.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 4.68
user 4.46
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.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/711304/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin594.fits evtable="EVENTS" outfile="/scratch/kocevski/711304/ft1_filtered_4FGL_J1011.3-0427_daily_bin594.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.55
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/711304/ft1_filtered_4FGL_J1011.3-0427_daily_bin594.fits" evtable="EVENTS" scfile=/scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits sctable="SC_DATA" outfile=/scratch/kocevski/711304/ltcube_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.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/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits
.....................!
real 12.71
user 12.38
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/711304/ft1_filtered_4FGL_J1011.3-0427_daily_bin594.fits evtable="EVENTS" scfile=/scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits sctable="SC_DATA" expcube=/scratch/kocevski/711304/ltcube_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.fits outfile=/scratch/kocevski/711304/expmap_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.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/711304/ltcube_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.fits
.....................!
real 191.40
user 186.08
sys 4.86

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

Setting source of interest to:
4FGL J1011.3-0427 @ 152.825 -4.4577

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/711304/ft1_filtered_4FGL_J1011.3-0427_daily_bin594.fits scfile=/scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits outfile=/scratch/kocevski/711304/cmap_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.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.825 yref=-4.4577 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/711304/ft1_filtered_4FGL_J1011.3-0427_daily_bin594.fits scfile=/scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits outfile=/scratch/kocevski/711304/cmap_HighResolution_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.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.825 yref=-4.4577 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/711304/ft1_filtered_4FGL_J1011.3-0427_daily_bin594.fits evtable="EVENTS" scfile=/scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/711304/Model_4FGL_J1011.3-0427_daily_bin594.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/711304/ft1_filtered_4FGL_J1011.3-0427_daily_bin594.fits.....................!
real 62.56
user 61.22
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/711304/ft1_filtered_4FGL_J1011.3-0427_daily_bin594.fits', '/scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits', expMap='/scratch/kocevski/711304/expmap_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.fits', expCube='/scratch/kocevski/711304/ltcube_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/711304/Model_4FGL_J1011.3-0427_daily_bin594.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1011.3-0427'

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  3.183e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.558e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
232        Scale:  7.806e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/711304/ft1_filtered_4FGL_J1011.3-0427_daily_bin594.fits
Spacecraft file(s): /scratch/kocevski/711304/ft2_4FGL_J1011.3-0427_daily_bin594.fits
Exposure map: /scratch/kocevski/711304/expmap_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.fits
Exposure cube: /scratch/kocevski/711304/ltcube_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/711304/Model_4FGL_J1011.3-0427_daily_bin594.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) = 6312.86152226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11218E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12064E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    10.057       1.0000         .10000E-03   10000.    
     6 'norm      '    1.1556       1.0000         .10000E-03   10000.    
     7 'norm      '    3.3540       1.0000         .10000E-03   10000.    
     8 'norm      '    .10257E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.365       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10974E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.095       1.0000         .10000E-03   10000.    
    12 'norm      '    14.808       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .94419E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    48.777       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2084       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0057       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6312.794     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2568 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10346E-03    106.11        .48566E-05** at limit **
   2  Prefactor     .10000E-03    13.049       -.21816E-06** at limit **
   3  Prefactor     .11730E-03    136.63        .94540E-05** at limit **
   4  norm          .10000E-03    6.6018        .22703E-06** at limit **
   5  norm          10.056        4.8167        .33452E-06    .10179E-03
   6  norm          1.1555        .67813       -.10579E-06   -.51060E-03
   7  norm          3.3539        2.0772        .45592E-07    .13717E-05
   8  norm          .10000E-03    12.232        .33530E-06** at limit **
   9  Prefactor     18.359        14.474        .79710E-07    .70784E-02
  10  Prefactor     .10000E-03    21.005        .12254E-05** at limit **
  11  Prefactor     17.033        14.933       -.13029E-05   -.56312E-02
  12  norm          14.820        17.029       -.19352E-07   -.10060E-01
  13  Prefactor     .10499E-02    6161.0       -.50515E-04** at limit **
  14  Prefactor     .10000E-03    54.329       -.75107E-05** at limit **
  15  Prefactor     48.876        33.997        .29224E-05   -.12547E-01
  16  Prefactor     .10000E-03    13.694       -.86209E-06** at limit **
  17  norm          .10000E-03    .31438       -.47115E-06** at limit **
  18  Prefactor     .10000E-03    3.4377       -.11187E-05** at limit **
  19  Normalizat    1.2085        .24060       -.51624E-06   -.10709E-03
  20  Prefactor     1.0057        .17524       -.81116E-06   -.15009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103462
  Prefactor  = 0.0001
  Prefactor  = 0.000117296
  norm       = 0.0001
  norm       = 10.0562
  norm       = 1.15554
  norm       = 3.3539
  norm       = 0.0001
  Prefactor  = 18.359
  Prefactor  = 0.0001
  Prefactor  = 17.0335
  norm       = 14.8196
  Prefactor  = 0.00104993
  Prefactor  = 0.0001
  Prefactor  = 48.8764
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.20845
  Prefactor  = 1.00575
 **********
 **   18 **HESSE 
 **********

 FCN=   6312.794     FROM HESSE     STATUS=OK           331 CALLS     2899 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10346E-03    105.51        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.944        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11730E-03    140.94        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    6.5650        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.056        4.8176        .31588E-02   -1.5074    
   6  norm          1.1555        .68931        .10739E-01   -1.5493    
   7  norm          3.3539        2.0760        .55245E-02   -1.5342    
   8  norm          .10000E-03    12.103        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.359        15.100        .23365E-02   -1.4851    
  10  Prefactor     .10000E-03    20.989        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.033        47.636        .24217E-02   -1.4882    
  12  norm          14.820        17.767        .26021E-02   -1.4938    
  13  Prefactor     .10499E-02    13.805        .94846E-01   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    54.101        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     48.876        68.530        .14354E-02   -1.4309    
  16  Prefactor     .10000E-03    13.692        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .31069        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.3957        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2085        .20900        .63154E-01   -.86342    
  20  Prefactor     1.0057        .14854        .44052E-01   -.92538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34038e-06
Minuit parameter uncertainties:
  1  0.0382893
  2  2.15578e-05
  3  0.0989821
  4  6.37453e-06
  5  4.81776
  6  0.689316
  7  2.07604
  8  7.4894e-06
  9  15.1032
  10  9.43712e-05
  11  47.7424
  12  17.7729
  13  0.229087
  14  0.000325765
  15  68.6406
  16  5.76006e-05
  17  3.1105e-06
  18  2.45404e-05
  19  0.209149
  20  0.148597
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.703e+01  4.774e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.558e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
232        Scale:  7.806e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.006e+00  1.486e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.208e+00  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 152.825 -4.458
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/711304/likelihoodResults_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.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) = 6312.63904261
delta logL = 0.154979256456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6312.63265375
delta logL = 0.161368114052

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0456       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4554       1.0000          .0000       10.000    
     3 'Normalizat'    1.1788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+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=   6312.633     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      313 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0557        171.08        .13326E-03    .97254E-05
   2  Index         3.4553        6.6588        .83939E-02    .13377E-04
   3  Normalizat    1.1787        .24587        .28239E-03   -.92595E-05
   4  Prefactor     1.0194        .17933        .22249E-03    .11216E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.05574
  Index      = 3.45525
  Normalizat = 1.17865
  Prefactor  = 1.01941
 **********
 **   18 **HESSE 
 **********

 FCN=   6312.633     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0557        30.831        .53305E-05   -1.5106    
   2  Index         3.4553        1.8451        .33576E-03   -.31409    
   3  Normalizat    1.1787        .24609        .11296E-04   -.87265    
   4  Prefactor     1.0194        .17719        .88995E-05   -.92085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26101e-11
Minuit parameter uncertainties:
  1  30.8848
  2  1.89483
  3  0.246335
  4  0.177287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/711304': 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) = 6312.63265344
delta logL = 0.161368426627

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  9.056e+00  3.088e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  3.455e+00  1.895e+00  0.000e+00  1.000e+01 (-1.000e+00)
232        Scale:  7.806e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.019e+00  1.773e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.179e+00  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
Ra Dec: 152.825 -4.458

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/711304/cmap_HighResolution_393292801_393552001_4FGL_J1011.3-0427_daily_bin594.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2021-09-01 12:58:19.996871', job_id='711304', GAL2='1.02', fit_tolerance='1e-08', EG2='1.18', EG='1.21', time_epoch_completed='1630526300.0', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.61e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='594' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:58:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 711304: <4FGL_J1011.3-0427_daily_bin594> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin594> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  1 12:45:18 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:45:20 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:45:20 2021
Terminated at Wed Sep  1 12:58:20 2021
Results reported at Wed Sep  1 12:58:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin594 152.825 -4.4577 393292801 393552001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1011.3-0427 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   634.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

