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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin345
RA = 152.825, Dec = -4.4577
tmin = 328752001, tmax = 329011201
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='709967', job_status='RUN', time_executed='2021-09-01 12:44:11.701032', time_epoch_executed='1630525451.7' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='345'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/709967

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/709967/ft1_4FGL_J1011.3-0427_daily_bin345.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/709967/ft2_4FGL_J1011.3-0427_daily_bin345.fits


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

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

Done.
real 3.43
user 3.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/709967/ft2_4FGL_J1011.3-0427_daily_bin345.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/709967/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin345.fits evtable="EVENTS" outfile="/scratch/kocevski/709967/ft1_filtered_4FGL_J1011.3-0427_daily_bin345.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/709967/ft1_filtered_4FGL_J1011.3-0427_daily_bin345.fits" evtable="EVENTS" scfile=/scratch/kocevski/709967/ft2_4FGL_J1011.3-0427_daily_bin345.fits sctable="SC_DATA" outfile=/scratch/kocevski/709967/ltcube_328752001_329011201_4FGL_J1011.3-0427_daily_bin345.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/709967/ft2_4FGL_J1011.3-0427_daily_bin345.fits
.....................!
real 11.67
user 11.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/709967/ft1_filtered_4FGL_J1011.3-0427_daily_bin345.fits evtable="EVENTS" scfile=/scratch/kocevski/709967/ft2_4FGL_J1011.3-0427_daily_bin345.fits sctable="SC_DATA" expcube=/scratch/kocevski/709967/ltcube_328752001_329011201_4FGL_J1011.3-0427_daily_bin345.fits outfile=/scratch/kocevski/709967/expmap_328752001_329011201_4FGL_J1011.3-0427_daily_bin345.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/709967/ltcube_328752001_329011201_4FGL_J1011.3-0427_daily_bin345.fits
.....................!
real 189.94
user 185.62
sys 3.96

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/709967/ft1_filtered_4FGL_J1011.3-0427_daily_bin345.fits scfile=/scratch/kocevski/709967/ft2_4FGL_J1011.3-0427_daily_bin345.fits outfile=/scratch/kocevski/709967/cmap_328752001_329011201_4FGL_J1011.3-0427_daily_bin345.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/709967/ft1_filtered_4FGL_J1011.3-0427_daily_bin345.fits scfile=/scratch/kocevski/709967/ft2_4FGL_J1011.3-0427_daily_bin345.fits outfile=/scratch/kocevski/709967/cmap_HighResolution_328752001_329011201_4FGL_J1011.3-0427_daily_bin345.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/709967/ft1_filtered_4FGL_J1011.3-0427_daily_bin345.fits evtable="EVENTS" scfile=/scratch/kocevski/709967/ft2_4FGL_J1011.3-0427_daily_bin345.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/709967/Model_4FGL_J1011.3-0427_daily_bin345.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/709967/ft1_filtered_4FGL_J1011.3-0427_daily_bin345.fits.....................!
real 53.66
user 52.35
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.916       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.605       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4682       1.0000         .10000E-03   10000.    
     7 'norm      '    1.5896       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.173       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .36824E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.098       1.0000         .10000E-03   10000.    
    12 'norm      '    34.311       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15945E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.364       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2952       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3047       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81144       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=   5080.436     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     2055 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.920        51.267        .91252E-06   -.18156E-05
   2  Prefactor     22.607        21.561       -.16456E-05   -.16561E-04
   3  Prefactor     .10000E-03    26.221        .70643E-06** at limit **
   4  norm          .10000E-03    5.1060       -.47524E-07** at limit **
   5  norm          .10000E-03    1.7890       -.29474E-08** at limit **
   6  norm          1.4685        .79577       -.62856E-07   -.92417E-03
   7  norm          1.5897        1.8418       -.15686E-06   -.27452E-03
   8  norm          .10000E-03    4.3181       -.45621E-07** at limit **
   9  Prefactor     10.174        18.369       -.13485E-04    .61272E-04
  10  Prefactor     .10001E-03    157.87        .13912E-03** at limit **
  11  Prefactor     26.061        43.751       -.11227E-04   -.29729E-03
  12  norm          34.302        26.778        .12727E-05    .14042E-03
  13  Prefactor     .10001E-03    10.505        .14391E-05** at limit **
  14  Prefactor     .10007E-03    338.55       -.72268E-04** at limit **
  15  Prefactor     .10001E-03    69.075        .28245E-05** at limit **
  16  Prefactor     10.356        15.691       -.18276E-04    .34443E-04
  17  norm          1.2952        1.2599       -.87745E-08   -.57472E-03
  18  Prefactor     .10000E-03    4.4591       -.93600E-07** at limit **
  19  Normalizat    1.3044        .22891        .44631E-05   -.52774E-03
  20  Prefactor     .81166        .15944       -.54851E-06   -.24021E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.92
  Prefactor  = 22.607
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.46852
  norm       = 1.58971
  norm       = 0.0001
  Prefactor  = 10.1737
  Prefactor  = 0.000100006
  Prefactor  = 26.0611
  norm       = 34.3016
  Prefactor  = 0.000100005
  Prefactor  = 0.00010007
  Prefactor  = 0.000100013
  Prefactor  = 10.3556
  norm       = 1.29523
  Prefactor  = 0.0001
  Normalizat = 1.30438
  Prefactor  = 0.811664
 **********
 **   18 **HESSE 
 **********

 FCN=   5080.436     FROM HESSE     STATUS=OK           283 CALLS     2338 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.920        51.284        .51833E-04   -1.4158    
   2  Prefactor     22.607        21.553        .84248E-04   -1.4757    
   3  Prefactor     .10000E-03    26.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.1216        .15730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.7956        .93093E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4685        .78997        .44223E-04   -1.5466    
   7  norm          1.5897        1.8276        .10089E-03   -1.5456    
   8  norm          .10000E-03    4.3266        .14465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.174        18.396        .12562E-03   -1.5070    
  10  Prefactor     .10001E-03    159.77        .21301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.061        44.054        .78417E-04   -1.4687    
  12  norm          34.302        26.763        .68413E-04   -1.4536    
  13  Prefactor     .10001E-03    10.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10007E-03    338.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    69.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.356        15.673        .12446E-03   -1.5064    
  17  norm          1.2952        1.2558        .76029E-04   -1.5480    
  18  Prefactor     .10000E-03    4.4910        .14693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3044        .27062        .26517E-03   -.83436    
  20  Prefactor     .81166        .18837        .23421E-03   -.99300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20718e-09
Minuit parameter uncertainties:
  1  51.3216
  2  21.5607
  3  3.4775e-05
  4  1.0094e-05
  5  4.68022e-06
  6  0.789978
  7  1.82769
  8  7.75027e-06
  9  18.4061
  10  0.00203492
  11  44.1091
  12  26.7725
  13  0.000464831
  14  0.00978129
  15  0.00193436
  16  15.6788
  17  1.25582
  18  1.29593e-05
  19  0.270916
  20  0.188515
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  2.606e+01  4.411e+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.117e-01  1.885e-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.304e+00  2.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/709967/likelihoodResults_328752001_329011201_4FGL_J1011.3-0427_daily_bin345.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) = 5080.43497502
delta logL = 0.00132086406029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5080.43408061
delta logL = 0.00221527509439

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.377       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4622       1.0000          .0000       10.000    
     3 'Normalizat'    1.3069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81008       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=   5080.434     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      261 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.375        61.253        .75207E-04    .31176E-03
   2  Index         2.4623        1.4707        .12112E-01    .14852E-03
   3  Normalizat    1.3070        .26550        .26494E-03   -.14110E-03
   4  Prefactor     .81007        .18885        .23441E-03   -.18648E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.3754
  Index      = 2.46226
  Normalizat = 1.30696
  Prefactor  = 0.810065
 **********
 **   18 **HESSE 
 **********

 FCN=   5080.434     FROM HESSE     STATUS=OK            23 CALLS      284 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.375        57.151        .15041E-04   -1.4642    
   2  Index         2.4623        1.3740        .48450E-03   -.53234    
   3  Normalizat    1.3070        .26537        .52988E-04   -.83359    
   4  Prefactor     .81007        .18866        .93766E-05   -.99358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68074e-09
Minuit parameter uncertainties:
  1  57.2619
  2  1.39843
  3  0.265645
  4  0.188809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/709967': 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) = 5080.43408061
delta logL = 0.00221528053316

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  2.838e+01  5.726e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.462e+00  1.398e+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:  8.101e-01  1.888e-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.307e+00  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
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/709967/cmap_HighResolution_328752001_329011201_4FGL_J1011.3-0427_daily_bin345.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', job_status='DONE', photon_flux_upper_limit='1.55e-07', time_completed='2021-09-01 12:52:53.426038', job_id='709967', GAL2='0.81', fit_tolerance='1e-08', EG2='1.31', EG='1.30', time_epoch_completed='1630525973.43', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.22e-03', ts2='0.43', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='345' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:52:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 709967: <4FGL_J1011.3-0427_daily_bin345> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin345> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 12:40:42 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:40:43 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:40:43 2021
Terminated at Wed Sep  1 12:52:54 2021
Results reported at Wed Sep  1 12:52:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin345 152.825 -4.4577 328752001 329011201 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 :                                   521.01 sec.
    Max Memory :                                 1049 MB
    Average Memory :                             280.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            732 sec.

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

