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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin390
RA = 154.942, Dec = 5.1905
tmin = 340416001, tmax = 340675201
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='817468', job_status='RUN', time_executed='2021-09-01 18:13:26.475918', time_epoch_executed='1630545206.48' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817468

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817468/ft1_4FGL_J1019.7+0511_daily_bin390.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817468/ft2_4FGL_J1019.7+0511_daily_bin390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817468/ft1_4FGL_J1019.7+0511_daily_bin390.fits outfile=/scratch/kocevski/817468/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin390.fits ra=154.942 dec=5.1905 rad=12.0 tmin=340416001.0 tmax=340675201.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 6.84
user 6.47
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/817468/ft2_4FGL_J1019.7+0511_daily_bin390.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/817468/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin390.fits evtable="EVENTS" outfile="/scratch/kocevski/817468/ft1_filtered_4FGL_J1019.7+0511_daily_bin390.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.57
user 0.36
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/817468/ft1_filtered_4FGL_J1019.7+0511_daily_bin390.fits" evtable="EVENTS" scfile=/scratch/kocevski/817468/ft2_4FGL_J1019.7+0511_daily_bin390.fits sctable="SC_DATA" outfile=/scratch/kocevski/817468/ltcube_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.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/817468/ft2_4FGL_J1019.7+0511_daily_bin390.fits
.....................!
real 14.18
user 13.83
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817468/ft1_filtered_4FGL_J1019.7+0511_daily_bin390.fits evtable="EVENTS" scfile=/scratch/kocevski/817468/ft2_4FGL_J1019.7+0511_daily_bin390.fits sctable="SC_DATA" expcube=/scratch/kocevski/817468/ltcube_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.fits outfile=/scratch/kocevski/817468/expmap_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.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/817468/ltcube_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.fits
.....................!
real 190.61
user 186.05
sys 4.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/817468/ft1_filtered_4FGL_J1019.7+0511_daily_bin390.fits scfile=/scratch/kocevski/817468/ft2_4FGL_J1019.7+0511_daily_bin390.fits outfile=/scratch/kocevski/817468/cmap_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/817468/ft1_filtered_4FGL_J1019.7+0511_daily_bin390.fits scfile=/scratch/kocevski/817468/ft2_4FGL_J1019.7+0511_daily_bin390.fits outfile=/scratch/kocevski/817468/cmap_HighResolution_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817468/ft1_filtered_4FGL_J1019.7+0511_daily_bin390.fits evtable="EVENTS" scfile=/scratch/kocevski/817468/ft2_4FGL_J1019.7+0511_daily_bin390.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817468/Model_4FGL_J1019.7+0511_daily_bin390.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/817468/ft1_filtered_4FGL_J1019.7+0511_daily_bin390.fits.....................!
real 66.65
user 65.25
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/817468/ft1_filtered_4FGL_J1019.7+0511_daily_bin390.fits', '/scratch/kocevski/817468/ft2_4FGL_J1019.7+0511_daily_bin390.fits', expMap='/scratch/kocevski/817468/expmap_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.fits', expCube='/scratch/kocevski/817468/ltcube_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/817468/Model_4FGL_J1019.7+0511_daily_bin390.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/817468/ft1_filtered_4FGL_J1019.7+0511_daily_bin390.fits
Spacecraft file(s): /scratch/kocevski/817468/ft2_4FGL_J1019.7+0511_daily_bin390.fits
Exposure map: /scratch/kocevski/817468/expmap_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.fits
Exposure cube: /scratch/kocevski/817468/ltcube_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/817468/Model_4FGL_J1019.7+0511_daily_bin390.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) = 6994.80167816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56558       1.0000         .10000E-03   10000.    
     2 'norm      '    2.2891       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8201       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .82018       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11462E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    51.495       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.325       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.4080       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.644       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.4024       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.228       1.0000         .10000E-03   10000.    
    16 'norm      '    4.4269       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4822       1.0000         .10000E-03   10000.    
    18 'Prefactor '    37.567       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79802       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2177       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6994.794     FROM MIGRAD    STATUS=CONVERGED     86 CALLS     2039 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56574        .82479       -.62146E-07   -.54399E-05
   2  norm          2.2892        .74548       -.16938E-06    .30531E-03
   3  Prefactor     5.8221        12.750       -.19801E-04   -.35079E-02
   4  Prefactor     .85806        49.277       -.50255E-04    .12511E-02
   5  Prefactor     .10533E-03    398.14       -.21394E-04** at limit **
   6  norm          .10000E-03    14.370       -.22448E-05** at limit **
   7  Prefactor     .10001E-03    20.236       -.20301E-05** at limit **
   8  Prefactor     51.477        3.9562       -.58421E-06   -.14836E-03
   9  Prefactor     15.283        8.8255       -.31672E-05    .10006E-02
  10  Prefactor     .10001E-03    16.651        .37377E-05** at limit **
  11  norm          .10000E-03    .70464        .97972E-07** at limit **
  12  Prefactor     5.4086        6.1086       -.15432E-05   -.18833E-03
  13  Prefactor     13.643        4.3405       -.10648E-06   -.20222E-03
  14  Prefactor     5.4043        7.5959       -.12270E-04   -.14122E-02
  15  Prefactor     14.229        1.3234       -.24180E-06   -.49497E-03
  16  norm          4.4271        .87733       -.11895E-06   -.47719E-03
  17  Prefactor     1.4808        1.6937        .32018E-05    .35020E-03
  18  Prefactor     37.576        5.4413       -.37241E-05    .42984E-02
  19  Normalizat    .79810        .23251        .89278E-05   -.38524E-03
  20  Prefactor     1.2175        .19287       -.17803E-05   -.57702E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.565738
  norm       = 2.28919
  Prefactor  = 5.82209
  Prefactor  = 0.85806
  Prefactor  = 0.000105333
  norm       = 0.000100002
  Prefactor  = 0.000100005
  Prefactor  = 51.4773
  Prefactor  = 15.2835
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 5.40862
  Prefactor  = 13.643
  Prefactor  = 5.4043
  Prefactor  = 14.2292
  norm       = 4.42714
  Prefactor  = 1.48081
  Prefactor  = 37.5758
  Normalizat = 0.798098
  Prefactor  = 1.21755
 **********
 **   18 **HESSE 
 **********

 FCN=   6994.794     FROM HESSE     STATUS=OK           361 CALLS     2400 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .56574        .97514        .21148E-01   -1.5558    
   2  norm          2.2892        .74859        .67830E-02   -1.5405    
   3  Prefactor     5.8221        14.208        .41618E-02   -1.5225    
   4  Prefactor     .85806        27.501        .15011       -1.5523    
   5  Prefactor     .10533E-03    20.421        .12677       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    14.309        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    20.111        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     51.477        67.418        .13972E-02   -1.4272    
   9  Prefactor     15.283        58.360        .25578E-02   -1.4926    
  10  Prefactor     .10001E-03    16.656        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .67740        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.4086        6.1521        .43200E-02   -1.5243    
  13  Prefactor     13.643        4.4316        .27109E-02   -1.4969    
  14  Prefactor     5.4043        7.6390        .43223E-02   -1.5243    
  15  Prefactor     14.229        8.9432        .26546E-02   -1.4953    
  16  norm          4.4271        1.1255        .47849E-02   -1.5287    
  17  Prefactor     1.4808        26.391        .88118E-02   -1.5465    
  18  Prefactor     37.576        23.286        .16348E-02   -1.4481    
  19  Normalizat    .79810        .20429        .73550E-01   -1.0014    
  20  Prefactor     1.2175        .16311        .52203E-01   -.85793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62201e-07
Minuit parameter uncertainties:
  1  0.975171
  2  0.748589
  3  14.2158
  4  9.71974
  5  0.0208789
  6  0.000299344
  7  0.00064049
  8  67.5178
  9  58.5796
  10  0.000757116
  11  4.68332e-07
  12  6.15284
  13  4.43171
  14  7.64039
  15  8.94407
  16  1.12551
  17  12.5088
  18  23.292
  19  0.204487
  20  0.163174
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  7.571e-04  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.218e+00  1.632e-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:  7.981e-01  2.045e-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: 6.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/817468/likelihoodResults_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.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) = 6994.79473341
delta logL = -0.000285998844447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6994.79444618
delta logL = 1.23343852465e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12720E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2756       1.0000          .0000       10.000    
     3 'Normalizat'    .79809       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2175       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=   6994.716     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      339 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38622        35.342        .90712E-02    .13855E-02
   2  Index         3.2065        6.5687        .63901E-01    .26742E-03
   3  Normalizat    .77282        .40804E-01    .74612E-01   -.20091E-03
   4  Prefactor     1.2282        .35146E-01    .51994E-01   -.31306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.38622
  Index      = 3.20647
  Normalizat = 0.772818
  Prefactor  = 1.2282
 **********
 **   18 **HESSE 
 **********

 FCN=   6994.716     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      370 TOTAL
                     EDM=   .78E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38622        114.50        .12351E-03   -1.5584    
   2  Index         3.2065        5.4258        .10772E-01   -.36688    
   3  Normalizat    .77282        .15972        .33025E-03   -1.0109    
   4  Prefactor     1.2282        .13587        .22986E-03   -.85468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.80593e-06
Minuit parameter uncertainties:
  1  13.3237
  2  10.3484
  3  0.159817
  4  0.135905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817468': 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) = 6994.71563414
delta logL = 0.0788132762154

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  3.862e-01  1.332e+01  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  3.206e+00  1.035e+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.228e+00  1.359e-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:  7.728e-01  1.598e-01  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 -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/817468/cmap_HighResolution_340416001_340675201_4FGL_J1019.7+0511_daily_bin390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', job_status='DONE', photon_flux_upper_limit='6.74e-08', time_completed='2021-09-01 18:24:01.523509', job_id='817468', GAL2='1.23', fit_tolerance='1e-08', EG2='0.77', EG='0.80', time_epoch_completed='1630545841.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='7.88e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='390' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:24:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 817468: <4FGL_J1019.7+0511_daily_bin390> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin390> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 18:11:08 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 18:11:10 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:11:10 2021
Terminated at Wed Sep  1 18:24:02 2021
Results reported at Wed Sep  1 18:24:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin390 154.942 5.1905 340416001 340675201 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 :                                   632.31 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            774 sec.

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

