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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin1483
RA = 152.825, Dec = -4.4577
tmin = 623721601, tmax = 623980801
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='714624', job_status='RUN', time_executed='2021-09-01 12:56:02.915330', time_epoch_executed='1630526162.92' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='1483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714624

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714624/ft1_4FGL_J1011.3-0427_daily_bin1483.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714624/ft2_4FGL_J1011.3-0427_daily_bin1483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714624/ft1_4FGL_J1011.3-0427_daily_bin1483.fits outfile=/scratch/kocevski/714624/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1483.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=623721601.0 tmax=623980801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.25
user 4.96
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714624/ft1_filtered_4FGL_J1011.3-0427_daily_bin1483.fits" evtable="EVENTS" scfile=/scratch/kocevski/714624/ft2_4FGL_J1011.3-0427_daily_bin1483.fits sctable="SC_DATA" outfile=/scratch/kocevski/714624/ltcube_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.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/714624/ft2_4FGL_J1011.3-0427_daily_bin1483.fits
.....................!
real 15.42
user 14.74
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714624/ft1_filtered_4FGL_J1011.3-0427_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/714624/ft2_4FGL_J1011.3-0427_daily_bin1483.fits sctable="SC_DATA" expcube=/scratch/kocevski/714624/ltcube_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.fits outfile=/scratch/kocevski/714624/expmap_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.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/714624/ltcube_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.fits
.....................!
real 192.03
user 186.68
sys 4.77

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/714624/ft1_filtered_4FGL_J1011.3-0427_daily_bin1483.fits scfile=/scratch/kocevski/714624/ft2_4FGL_J1011.3-0427_daily_bin1483.fits outfile=/scratch/kocevski/714624/cmap_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714624/ft1_filtered_4FGL_J1011.3-0427_daily_bin1483.fits scfile=/scratch/kocevski/714624/ft2_4FGL_J1011.3-0427_daily_bin1483.fits outfile=/scratch/kocevski/714624/cmap_HighResolution_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714624/ft1_filtered_4FGL_J1011.3-0427_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/714624/ft2_4FGL_J1011.3-0427_daily_bin1483.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714624/Model_4FGL_J1011.3-0427_daily_bin1483.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/714624/ft1_filtered_4FGL_J1011.3-0427_daily_bin1483.fits.....................!
real 72.26
user 70.86
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/714624/ft1_filtered_4FGL_J1011.3-0427_daily_bin1483.fits', '/scratch/kocevski/714624/ft2_4FGL_J1011.3-0427_daily_bin1483.fits', expMap='/scratch/kocevski/714624/expmap_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.fits', expCube='/scratch/kocevski/714624/ltcube_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/714624/Model_4FGL_J1011.3-0427_daily_bin1483.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/714624/ft1_filtered_4FGL_J1011.3-0427_daily_bin1483.fits
Spacecraft file(s): /scratch/kocevski/714624/ft2_4FGL_J1011.3-0427_daily_bin1483.fits
Exposure map: /scratch/kocevski/714624/expmap_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.fits
Exposure cube: /scratch/kocevski/714624/ltcube_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/714624/Model_4FGL_J1011.3-0427_daily_bin1483.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) = 7519.53444521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4752       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.027       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.6313       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .20306       1.0000         .10000E-03   10000.    
     7 'norm      '    .53043       1.0000         .10000E-03   10000.    
     8 'norm      '    8.3708       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.561       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .99697       1.0000         .10000E-03   10000.    
    12 'norm      '    .10209E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.974       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10571E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.1206       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .92766       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2837       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .83906       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.

 FCN=   7519.419     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     1801 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4327        175.00       -.43671E-05   -.17564E-04
   2  Prefactor     14.029        16.843       -.53890E-06    .16747E-04
   3  Prefactor     .10000E-03    11.213       -.95296E-07** at limit **
   4  norm          3.6312        3.5671       -.46671E-07    .23905E-05
   5  norm          .10000E-03    .90259       -.47321E-07** at limit **
   6  norm          .20278        .47520        .17113E-06    .18361E-03
   7  norm          .53044        1.5166        .10224E-05   -.11535E-03
   8  norm          8.3695        8.2664        .32603E-06   -.25634E-04
   9  Prefactor     .10000E-03    14.842        .71918E-06** at limit **
  10  Prefactor     11.564        26.690       -.55725E-06   -.23167E-04
  11  Prefactor     .99901        20.682        .12566E-05   -.50715E-04
  12  norm          .10000E-03    10.177        .48794E-06** at limit **
  13  Prefactor     .10000E-03    6.8289        .11476E-05** at limit **
  14  Prefactor     .10000E-03    22.427        .27569E-06** at limit **
  15  Prefactor     18.982        31.280       -.16112E-06   -.90835E-05
  16  Prefactor     .10000E-03    13.732        .11687E-05** at limit **
  17  norm          3.1206        1.3299       -.23898E-07   -.20921E-03
  18  Prefactor     .93105        4.1123        .72966E-06   -.10243E-03
  19  Normalizat    1.2838        .18092       -.16682E-06   -.28220E-03
  20  Prefactor     .83900        .13069       -.19355E-05   -.74220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.43267
  Prefactor  = 14.0289
  Prefactor  = 0.0001
  norm       = 3.63122
  norm       = 0.0001
  norm       = 0.20278
  norm       = 0.530436
  norm       = 8.36946
  Prefactor  = 0.0001
  Prefactor  = 11.5639
  Prefactor  = 0.999013
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9815
  Prefactor  = 0.0001
  norm       = 3.12056
  Prefactor  = 0.931048
  Normalizat = 1.28385
  Prefactor  = 0.838997
 **********
 **   18 **HESSE 
 **********

 FCN=   7519.419     FROM HESSE     STATUS=OK           303 CALLS     2104 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4327        182.22        .35361E-02   -1.5469    
   2  Prefactor     14.029        16.744        .10695E-03   -1.4959    
   3  Prefactor     .10000E-03    11.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.6312        3.5722        .15822E-03   -1.5327    
   5  norm          .10000E-03    .90865        .80423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .20278        .61881        .82785E-03   -1.5618    
   7  norm          .53044        1.5170        .17194E-03   -1.5562    
   8  norm          8.3695        8.2703        .13856E-03   -1.5129    
   9  Prefactor     .10000E-03    15.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.564        26.618        .11782E-03   -1.5028    
  11  Prefactor     .99901        148.62        .73191E-02   -1.5508    
  12  norm          .10000E-03    10.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.8726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.982        31.130        .91950E-04   -1.4836    
  16  Prefactor     .10000E-03    13.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.1206        1.3250        .62530E-04   -1.5355    
  18  Prefactor     .93105        7.8977        .32392E-02   -1.5515    
  19  Normalizat    1.2838        .21557        .24955E-03   -.84050    
  20  Prefactor     .83900        .15091        .22126E-03   -.98306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.14221e-08
Minuit parameter uncertainties:
  1  32.4152
  2  16.75
  3  1.7145e-06
  4  3.57243
  5  1.75766e-06
  6  0.618828
  7  1.51711
  8  8.27144
  9  1.80034e-05
  10  26.6457
  11  24.431
  12  1.4754e-05
  13  1.7931e-05
  14  2.00211e-05
  15  31.1568
  16  4.26622e-05
  17  1.32498
  18  5.424
  19  0.215724
  20  0.150986
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  9.990e-01  2.443e+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:  8.390e-01  1.510e-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.284e+00  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 152.825 -4.458
Photon Flux Upper Limit: 8.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/714624/likelihoodResults_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.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) = 7519.21481518
delta logL = 0.204311153647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7519.21447573
delta logL = 0.204650602017

Fit tolerance = 1e-08

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

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

 FCN=   7519.214     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      268 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.556        37.438        .26108E-02    .14740E-03
   2  Index         1.6729        .83796        .28080       -.53405E-04
   3  Normalizat    1.2873        .16952        .56361E-01    .70976E-05
   4  Prefactor     .83224        .12534        .44135E-01    .14915E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.5562
  Index      = 1.67288
  Normalizat = 1.28731
  Prefactor  = 0.832243
 **********
 **   18 **HESSE 
 **********

 FCN=   7519.214     FROM HESSE     STATUS=OK            33 CALLS      301 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.556        28.554        .52216E-03   -1.4945    
   2  Index         1.6729        .88588        .13984E-01   -.72806    
   3  Normalizat    1.2873        .20012        .24923E-03   -.83946    
   4  Prefactor     .83224        .14777        .22200E-03   -.98551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72453e-09
Minuit parameter uncertainties:
  1  28.5803
  2  0.894417
  3  0.200243
  4  0.147838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714624': 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) = 7519.21446202
delta logL = 0.204664309873

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.456e+01  2.858e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  1.673e+00  8.944e-01  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:  8.322e-01  1.478e-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.287e+00  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/714624/cmap_HighResolution_623721601_623980801_4FGL_J1011.3-0427_daily_bin1483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', job_status='DONE', photon_flux_upper_limit='8.06e-08', time_completed='2021-09-01 13:06:42.088128', job_id='714624', GAL2='0.83', fit_tolerance='1e-08', EG2='1.29', EG='1.28', time_epoch_completed='1630526802.09', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.05e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1483' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:06:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 714624: <4FGL_J1011.3-0427_daily_bin1483> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin1483> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  1 12:55:36 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:55:44 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:55:44 2021
Terminated at Wed Sep  1 13:06:42 2021
Results reported at Wed Sep  1 13:06:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin1483 152.825 -4.4577 623721601 623980801 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 :                                   637.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            666 sec.

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

