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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin755
RA = 152.825, Dec = -4.4577
tmin = 435024001, tmax = 435283201
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='711536', job_status='RUN', time_executed='2021-09-01 12:47:57.623431', time_epoch_executed='1630525677.62' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/711536

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/711536/ft1_4FGL_J1011.3-0427_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/711536/ft2_4FGL_J1011.3-0427_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/711536/ft1_4FGL_J1011.3-0427_daily_bin755.fits outfile=/scratch/kocevski/711536/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin755.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=435024001.0 tmax=435283201.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.02
user 4.77
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/711536/ft2_4FGL_J1011.3-0427_daily_bin755.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/711536/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/711536/ft1_filtered_4FGL_J1011.3-0427_daily_bin755.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/711536/ft1_filtered_4FGL_J1011.3-0427_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/711536/ft2_4FGL_J1011.3-0427_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/711536/ltcube_435024001_435283201_4FGL_J1011.3-0427_daily_bin755.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/711536/ft2_4FGL_J1011.3-0427_daily_bin755.fits
.....................!
real 12.05
user 11.72
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/711536/ft1_filtered_4FGL_J1011.3-0427_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/711536/ft2_4FGL_J1011.3-0427_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/711536/ltcube_435024001_435283201_4FGL_J1011.3-0427_daily_bin755.fits outfile=/scratch/kocevski/711536/expmap_435024001_435283201_4FGL_J1011.3-0427_daily_bin755.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/711536/ltcube_435024001_435283201_4FGL_J1011.3-0427_daily_bin755.fits
.....................!
real 189.49
user 184.71
sys 4.31

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/711536/ft1_filtered_4FGL_J1011.3-0427_daily_bin755.fits scfile=/scratch/kocevski/711536/ft2_4FGL_J1011.3-0427_daily_bin755.fits outfile=/scratch/kocevski/711536/cmap_435024001_435283201_4FGL_J1011.3-0427_daily_bin755.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/711536/ft1_filtered_4FGL_J1011.3-0427_daily_bin755.fits scfile=/scratch/kocevski/711536/ft2_4FGL_J1011.3-0427_daily_bin755.fits outfile=/scratch/kocevski/711536/cmap_HighResolution_435024001_435283201_4FGL_J1011.3-0427_daily_bin755.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/711536/ft1_filtered_4FGL_J1011.3-0427_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/711536/ft2_4FGL_J1011.3-0427_daily_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/711536/Model_4FGL_J1011.3-0427_daily_bin755.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/711536/ft1_filtered_4FGL_J1011.3-0427_daily_bin755.fits.....................!
real 58.16
user 56.84
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.337       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10642E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.3433       1.0000         .10000E-03   10000.    
     7 'norm      '    2.6307       1.0000         .10000E-03   10000.    
     8 'norm      '    .82051E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.8285       1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.897       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12086E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .41167E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.314       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.0294       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.0496       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0706       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0837       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=   5708.879     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     2081 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.324        50.752       -.18871E-04    .83228E-05
   2  Prefactor     .10018E-03    13.352       -.86258E-06** at limit **
   3  Prefactor     .10000E-03    25.680        .10934E-05** at limit **
   4  norm          .10000E-03    4.4777        .61403E-09** at limit **
   5  norm          .10000E-03    2.2556       -.40243E-08** at limit **
   6  norm          2.3432        .86202        .57622E-07    .35930E-03
   7  norm          2.6315        2.3791       -.11949E-06   -.35391E-03
   8  norm          .10032E-03    7.1864        .63711E-06** at limit **
   9  Prefactor     9.8288        10.222       -.65859E-05    .53722E-04
  10  Prefactor     32.834        45.440       -.13972E-04    .84577E-05
  11  Prefactor     .10000E-03    38.701       -.77854E-06** at limit **
  12  norm          .10000E-03    5.9036        .26269E-07** at limit **
  13  Prefactor     .10002E-03    8.5291       -.97996E-06** at limit **
  14  Prefactor     11.308        54.939        .30139E-04    .24409E-04
  15  Prefactor     .10000E-03    61.723       -.92831E-06** at limit **
  16  Prefactor     .10000E-03    12.129       -.93246E-07** at limit **
  17  norm          4.0290        2.0389       -.24959E-07    .12088E-04
  18  Prefactor     9.0460        8.1181        .11781E-05   -.61995E-04
  19  Normalizat    1.0717        .22885        .13834E-05    .43237E-04
  20  Prefactor     1.0831        .16354        .47331E-06    .71101E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.3235
  Prefactor  = 0.000100184
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.34319
  norm       = 2.63151
  norm       = 0.000100323
  Prefactor  = 9.82883
  Prefactor  = 32.8343
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 11.3081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.02905
  Prefactor  = 9.04603
  Normalizat = 1.07168
  Prefactor  = 1.08306
 **********
 **   18 **HESSE 
 **********

 FCN=   5708.879     FROM HESSE     STATUS=OK           303 CALLS     2384 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.324        50.777        .10578E-03   -1.4951    
   2  Prefactor     .10018E-03    76.352        .53005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.4878        .15614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.2719        .11078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.3432        .85716        .40366E-04   -1.5402    
   7  norm          2.6315        2.3734        .10647E-03   -1.5384    
   8  norm          .10032E-03    83.285        .38813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.8288        10.195        .12782E-03   -1.5081    
  10  Prefactor     32.834        45.420        .69863E-04   -1.4561    
  11  Prefactor     .10000E-03    38.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.9050        .17929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    13.456        .66938E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.308        55.549        .11910E-03   -1.5035    
  15  Prefactor     .10000E-03    61.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.0290        2.0344        .72438E-04   -1.5306    
  18  Prefactor     9.0460        8.1073        .13323E-03   -1.5106    
  19  Normalizat    1.0717        .26777        .30027E-03   -.90666    
  20  Prefactor     1.0831        .19063        .21998E-03   -.90010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10707e-09
Minuit parameter uncertainties:
  1  50.931
  2  0.00751317
  3  6.94295e-06
  4  4.09156e-06
  5  2.102e-06
  6  0.857168
  7  2.3735
  8  0.0103868
  9  10.1971
  10  45.4677
  11  0.000268796
  12  2.68695e-06
  13  0.000924576
  14  50.2008
  15  0.000196425
  16  3.38776e-05
  17  2.03448
  18  8.10827
  19  0.26811
  20  0.19075
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.000e-04  2.688e-04  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.083e+00  1.908e-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.072e+00  2.681e-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: 9.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/711536/likelihoodResults_435024001_435283201_4FGL_J1011.3-0427_daily_bin755.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) = 5708.87943892
delta logL = -0.000122560233649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5708.87931663
delta logL = -2.72681063507e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8753       1.0000          .0000       10.000    
     3 'Normalizat'    1.0717       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0831       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=   5708.879     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      276 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10153E-03    226.12        .18142E-02** at limit **
   2  Index         2.8165        5.5189        .50000        .62984E-05
   3  Normalizat    1.0717        .14471E-01    .30027E-03    .27979E-04
   4  Prefactor     1.0831        .10714E-01    .21998E-03    .24755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101525
  Index      = 2.81655
  Normalizat = 1.07168
  Prefactor  = 1.08306
 **********
 **   18 **HESSE 
 **********

 FCN=   5708.879     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10153E-03    954.62        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8165        6.3547        .50000       -.45192    
   3  Normalizat    1.0717        .30844E-01    .12011E-04   -.90666    
   4  Prefactor     1.0831        .22836E-01    .87992E-05   -.90010    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.67851e-09
Minuit parameter uncertainties:
  1  0.0775867
  2  825.568
  3  0.0308448
  4  0.0228363
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/711536': 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): 102
logL (Free Index) = 5708.87931655
delta logL = -1.87996192835e-07

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.015e-04  7.759e-02  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.817e+00  8.256e+02  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.083e+00  2.284e-02  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.072e+00  3.084e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/711536/cmap_HighResolution_435024001_435283201_4FGL_J1011.3-0427_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.74e-03', job_status='DONE', photon_flux_upper_limit='9.91e-08', time_completed='2021-09-01 12:57:26.195799', job_id='711536', GAL2='1.08', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630526246.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.88e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='755' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:57:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 711536: <4FGL_J1011.3-0427_daily_bin755> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin755 152.825 -4.4577 435024001 435283201 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 :                                   566.36 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            712 sec.

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

