/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 32 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 = 7403
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1019.7+0511_daily_bin12
RA = 154.942, Dec = 5.1905
tmin = 242438401, tmax = 242697601
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='816938', job_status='RUN', time_executed='2021-09-01 18:11:09.882581', time_epoch_executed='1630545069.88' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='12'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816938

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816938/ft1_4FGL_J1019.7+0511_daily_bin12.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816938/ft1_4FGL_J1019.7+0511_daily_bin12.fits outfile=/scratch/kocevski/816938/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin12.fits ra=154.942 dec=5.1905 rad=12.0 tmin=242438401.0 tmax=242697601.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 1.49
user 1.29
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.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/816938/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin12.fits evtable="EVENTS" outfile="/scratch/kocevski/816938/ft1_filtered_4FGL_J1019.7+0511_daily_bin12.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816938/ft1_filtered_4FGL_J1019.7+0511_daily_bin12.fits" evtable="EVENTS" scfile=/scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits sctable="SC_DATA" outfile=/scratch/kocevski/816938/ltcube_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.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/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits
.....................!
real 17.87
user 17.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816938/ft1_filtered_4FGL_J1019.7+0511_daily_bin12.fits evtable="EVENTS" scfile=/scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits sctable="SC_DATA" expcube=/scratch/kocevski/816938/ltcube_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.fits outfile=/scratch/kocevski/816938/expmap_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.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/816938/ltcube_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.fits
.....................!
real 191.95
user 186.49
sys 5.10

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

Setting source of interest to:
4FGL J1019.7+0511 @ 154.942 5.1905

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/816938/ft1_filtered_4FGL_J1019.7+0511_daily_bin12.fits scfile=/scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits outfile=/scratch/kocevski/816938/cmap_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.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=154.942 yref=5.1905 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816938/ft1_filtered_4FGL_J1019.7+0511_daily_bin12.fits scfile=/scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits outfile=/scratch/kocevski/816938/cmap_HighResolution_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.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=154.942 yref=5.1905 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/816938/ft1_filtered_4FGL_J1019.7+0511_daily_bin12.fits evtable="EVENTS" scfile=/scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/816938/Model_4FGL_J1019.7+0511_daily_bin12.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/816938/ft1_filtered_4FGL_J1019.7+0511_daily_bin12.fits.....................!
real 92.03
user 90.57
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/816938/ft1_filtered_4FGL_J1019.7+0511_daily_bin12.fits', '/scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits', expMap='/scratch/kocevski/816938/expmap_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.fits', expCube='/scratch/kocevski/816938/ltcube_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/816938/Model_4FGL_J1019.7+0511_daily_bin12.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1019.7+0511'

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.246e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  1.997e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/816938/ft1_filtered_4FGL_J1019.7+0511_daily_bin12.fits
Spacecraft file(s): /scratch/kocevski/816938/ft2_4FGL_J1019.7+0511_daily_bin12.fits
Exposure map: /scratch/kocevski/816938/expmap_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.fits
Exposure cube: /scratch/kocevski/816938/ltcube_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/816938/Model_4FGL_J1019.7+0511_daily_bin12.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) = 10409.099068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.2578       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.957       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13940E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    11.216       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0946       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12047E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    77.958       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .40507       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.603       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2346       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    113.48       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94554       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4104       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10409.07     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2134 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .32306         .0000    ** at limit **
   2  norm          2.2578        .68756         .0000        .58320E-03
   3  Prefactor     13.959        11.925         .0000        .59231E-02
   4  Prefactor     .10002E-03    88.375         .0000    ** at limit **
   5  Prefactor     .10000E-03    33.546         .0000    ** at limit **
   6  norm          11.218        11.837         .0000        .52912E-02
   7  Prefactor     2.0859        41.493         .0000        .81617E-02
   8  Prefactor     .10015E-03    247.36         .0000    ** at limit **
   9  Prefactor     77.953        101.17         .0000        .12661E-02
  10  Prefactor     .10000E-03    14.272         .0000    ** at limit **
  11  norm          .40526        .98932         .0000        .29806E-02
  12  Prefactor     .10000E-03    2.6940         .0000    ** at limit **
  13  Prefactor     .10000E-03    1.3720         .0000    ** at limit **
  14  Prefactor     .10000E-03    3.1592         .0000    ** at limit **
  15  Prefactor     10.605        7.9265         .0000        .39339E-02
  16  norm          1.2347        .49615         .0000        .14865E-03
  17  Prefactor     .10000E-03    7.2545         .0000    ** at limit **
  18  Prefactor     113.48        32.380         .0000        .20158E-04
  19  Normalizat    .94552        .16849         .0000        .28189E-04
  20  Prefactor     1.4104        .14390         .0000       -.11290E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.25781
  Prefactor  = 13.959
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  norm       = 11.2178
  Prefactor  = 2.08585
  Prefactor  = 0.000100148
  Prefactor  = 77.9527
  Prefactor  = 0.0001
  norm       = 0.405264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6046
  norm       = 1.23471
  Prefactor  = 0.0001
  Prefactor  = 113.483
  Normalizat = 0.945524
  Prefactor  = 1.41042
 **********
 **   18 **HESSE 
 **********

 FCN=   10409.07     FROM HESSE     STATUS=OK           283 CALLS     2417 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .33361        .11313E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2578        .68482        .44230E-04   -1.5407    
   3  Prefactor     13.959        11.897        .10721E-03   -1.4961    
   4  Prefactor     .10002E-03    90.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    33.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.218        11.799        .11962E-03   -1.5038    
   7  Prefactor     2.0859        30.110        .14260E-02   -1.5419    
   8  Prefactor     .10015E-03    254.05        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     77.953        86.525        .45482E-04   -1.3940    
  10  Prefactor     .10000E-03    14.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .40526        .97719        .15058E-03   -1.5581    
  12  Prefactor     .10000E-03    2.7300        .16346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.4594        .22891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1709        .17707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.605        7.8664        .12304E-03   -1.5057    
  16  norm          1.2347        .49366        .43515E-04   -1.5486    
  17  Prefactor     .10000E-03    7.3545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     113.48        32.367        .37764E-04   -1.3573    
  19  Normalizat    .94552        .19785        .32132E-03   -.94878    
  20  Prefactor     1.4104        .17024        .23627E-03   -.80081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15833e-08
Minuit parameter uncertainties:
  1  2.10249e-07
  2  0.684819
  3  11.8992
  4  0.00272904
  5  0.00020058
  6  11.8015
  7  15.8592
  8  0.0123111
  9  86.6649
  10  6.02748e-05
  11  0.977233
  12  5.36448e-06
  13  4.30263e-06
  14  2.23177e-06
  15  7.86714
  16  0.493657
  17  9.6901e-07
  18  32.372
  19  0.197998
  20  0.170303
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  6.027e-05  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  1.997e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.410e+00  1.703e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  9.455e-01  1.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.942 5.191
Photon Flux Upper Limit: 5.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/816938/likelihoodResults_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.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) = 10409.0700388
delta logL = -0.000333698073518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10409.0697054
delta logL = -3.13131749863e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10789E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0134       1.0000          .0000       10.000    
     3 'Normalizat'    .94546       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4105       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10409.07     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7907        .90712E-02** at limit **
   2  Index         2.0292        8.3461        .50000       -.87679E-05
   3  Normalizat    .94552        .14756E-02    .72618E-01    .50791E-04
   4  Prefactor     1.4104        .12976E-02    .53440E-01    .25245E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.02918
  Normalizat = 0.945524
  Prefactor  = 1.41042
 **********
 **   18 **HESSE 
 **********

 FCN=   10409.07     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      246 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0292        5.9571        .50000       -.63623    
   3  Normalizat    .94552        .60509E-02    .32132E-03   -.94878    
   4  Prefactor     1.4104        .53283E-02    .23627E-03   -.80081    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.50792e-08
Minuit parameter uncertainties:
  1  7.41231e-05
  2  55.1609
  3  0.00605087
  4  0.00532829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816938': 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) = 10409.069705
delta logL = 7.02184479451e-08

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  7.412e-05  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  2.029e+00  5.516e+01  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.410e+00  5.328e-03  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  9.455e-01  6.051e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.942 5.191

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/816938/cmap_HighResolution_242438401_242697601_4FGL_J1019.7+0511_daily_bin12.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.56e-08', time_completed='2021-09-01 18:23:36.408913', job_id='816938', GAL2='1.41', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1630545816.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='7.02e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='12' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:23:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 816938: <4FGL_J1019.7+0511_daily_bin12> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin12> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 18:10:26 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 18:10:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 18:10:27 2021
Terminated at Wed Sep  1 18:23:37 2021
Results reported at Wed Sep  1 18:23:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin12 154.942 5.1905 242438401 242697601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1019.7+0511 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   745.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            791 sec.

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

