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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin423
RA = 154.942, Dec = 5.1905
tmin = 348969601, tmax = 349228801
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='818494', job_status='RUN', time_executed='2021-09-01 18:18:44.427228', time_epoch_executed='1630545524.43' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='423'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/818494

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/818494/ft1_4FGL_J1019.7+0511_daily_bin423.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/818494/ft2_4FGL_J1019.7+0511_daily_bin423.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/818494/ft1_4FGL_J1019.7+0511_daily_bin423.fits outfile=/scratch/kocevski/818494/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin423.fits ra=154.942 dec=5.1905 rad=12.0 tmin=348969601.0 tmax=349228801.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.76
user 3.54
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/818494/ft1_filtered_4FGL_J1019.7+0511_daily_bin423.fits" evtable="EVENTS" scfile=/scratch/kocevski/818494/ft2_4FGL_J1019.7+0511_daily_bin423.fits sctable="SC_DATA" outfile=/scratch/kocevski/818494/ltcube_348969601_349228801_4FGL_J1019.7+0511_daily_bin423.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/818494/ft2_4FGL_J1019.7+0511_daily_bin423.fits
.....................!
real 14.80
user 14.38
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/818494/ft1_filtered_4FGL_J1019.7+0511_daily_bin423.fits evtable="EVENTS" scfile=/scratch/kocevski/818494/ft2_4FGL_J1019.7+0511_daily_bin423.fits sctable="SC_DATA" expcube=/scratch/kocevski/818494/ltcube_348969601_349228801_4FGL_J1019.7+0511_daily_bin423.fits outfile=/scratch/kocevski/818494/expmap_348969601_349228801_4FGL_J1019.7+0511_daily_bin423.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/818494/ltcube_348969601_349228801_4FGL_J1019.7+0511_daily_bin423.fits
.....................!
real 192.93
user 188.17
sys 4.35

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/818494/ft1_filtered_4FGL_J1019.7+0511_daily_bin423.fits scfile=/scratch/kocevski/818494/ft2_4FGL_J1019.7+0511_daily_bin423.fits outfile=/scratch/kocevski/818494/cmap_348969601_349228801_4FGL_J1019.7+0511_daily_bin423.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/818494/ft1_filtered_4FGL_J1019.7+0511_daily_bin423.fits scfile=/scratch/kocevski/818494/ft2_4FGL_J1019.7+0511_daily_bin423.fits outfile=/scratch/kocevski/818494/cmap_HighResolution_348969601_349228801_4FGL_J1019.7+0511_daily_bin423.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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/818494/ft1_filtered_4FGL_J1019.7+0511_daily_bin423.fits evtable="EVENTS" scfile=/scratch/kocevski/818494/ft2_4FGL_J1019.7+0511_daily_bin423.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/818494/Model_4FGL_J1019.7+0511_daily_bin423.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/818494/ft1_filtered_4FGL_J1019.7+0511_daily_bin423.fits.....................!
real 62.11
user 60.69
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7625       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3745       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    85.984       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.933       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .74158E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    1.3981       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1589       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2586       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.9372       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7236       1.0000         .10000E-03   10000.    
    16 'norm      '    .83117       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.776       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .61398       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2233       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6554.864     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2074 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7624        1.3733        .10906E-06   -.12375E-03
   2  norm          2.3744        .74435        .53976E-07   -.79337E-03
   3  Prefactor     .10000E-03    3.5649        .16879E-06** at limit **
   4  Prefactor     85.983        47.852       -.11983E-05   -.10054E-03
   5  Prefactor     19.914        32.080        .16818E-05   -.57484E-04
   6  norm          .10000E-03    4.2010        .10554E-06** at limit **
   7  Prefactor     .10000E-03    5.5547        .36421E-06** at limit **
   8  Prefactor     .10000E-03    19.494        .38159E-06** at limit **
   9  Prefactor     .10000E-03    32.290        .27396E-07** at limit **
  10  Prefactor     .76788E-02    10.619        .77061E-05   -.76280E-03
  11  norm          1.3982        1.0684       -.18063E-06   -.28910E-03
  12  Prefactor     2.1609        5.9763        .97695E-05    .54427E-03
  13  Prefactor     3.2580        2.9166        .15668E-06   -.26485E-03
  14  Prefactor     5.9364        7.9126        .31204E-06   -.47984E-04
  15  Prefactor     6.7231        5.8952       -.12123E-07   -.19667E-03
  16  norm          .83107        .43302       -.28965E-08   -.98652E-03
  17  Prefactor     .10000E-03    1.7706       -.82123E-07** at limit **
  18  Prefactor     13.752        21.555        .26662E-05   -.83755E-04
  19  Normalizat    .61412        .19167       -.21056E-05   -.15803E-03
  20  Prefactor     1.2232        .15460       -.88252E-06   -.51283E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.76237
  norm       = 2.37442
  Prefactor  = 0.0001
  Prefactor  = 85.983
  Prefactor  = 19.9141
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0076788
  norm       = 1.3982
  Prefactor  = 2.16091
  Prefactor  = 3.25798
  Prefactor  = 5.93639
  Prefactor  = 6.72315
  norm       = 0.83107
  Prefactor  = 0.0001
  Prefactor  = 13.7522
  Normalizat = 0.61412
  Prefactor  = 1.22324
 **********
 **   18 **HESSE 
 **********

 FCN=   6554.864     FROM HESSE     STATUS=OK           303 CALLS     2377 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7624        1.3716        .63881E-04   -1.5376    
   2  norm          2.3744        .74243        .36949E-04   -1.5400    
   3  Prefactor     .10000E-03    3.5715        .14930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     85.983        47.832        .43325E-04   -1.3851    
   5  Prefactor     19.914        32.080        .89710E-04   -1.4815    
   6  norm          .10000E-03    4.2035        .16207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.6216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .76788E-02    8.8316        .77582E-01   -1.5691    
  11  norm          1.3982        1.0584        .70048E-04   -1.5471    
  12  Prefactor     2.1609        5.9922        .14018E-02   -1.5414    
  13  Prefactor     3.2580        2.9101        .12298E-03   -1.5347    
  14  Prefactor     5.9364        7.9116        .16480E-03   -1.5221    
  15  Prefactor     6.7231        5.8851        .15475E-03   -1.5189    
  16  norm          .83107        .43368        .37085E-04   -1.5526    
  17  Prefactor     .10000E-03    1.7726        .10520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.752        21.571        .10792E-03   -1.4966    
  19  Normalizat    .61412        .21394        .32580E-03   -1.0739    
  20  Prefactor     1.2232        .17406        .20602E-03   -.85619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62948e-09
Minuit parameter uncertainties:
  1  1.37161
  2  0.742433
  3  2.11313e-05
  4  47.8532
  5  32.108
  6  1.30929e-05
  7  4.01018e-05
  8  7.63129e-05
  9  9.32257e-05
  10  0.517505
  11  1.05841
  12  5.99384
  13  2.9102
  14  7.913
  15  5.88557
  16  0.433684
  17  7.4575e-06
  18  21.5836
  19  0.214229
  20  0.174145
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  7.679e-03  5.175e-01  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.223e+00  1.741e-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:  6.141e-01  2.142e-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: 4.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/818494/likelihoodResults_348969601_349228801_4FGL_J1019.7+0511_daily_bin423.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) = 6554.86375797
delta logL = 2.49192453339e-08

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6554.86375794
delta logL = 4.97166183777e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76788E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9973       1.0000          .0000       10.000    
     3 'Normalizat'    .61412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2232       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=   6554.833     FROM MIGRAD    STATUS=CONVERGED    141 CALLS      299 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47045        142.71        .92734E-02    .21847E-02
   2  Index         2.6881        5.3427        .90468E-01    .19590E-03
   3  Normalizat    .60907        .39143E-01    .73887E-01    .33918E-03
   4  Prefactor     1.2243        .33880E-01    .34103E-01    .31177E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.470445
  Index      = 2.68811
  Normalizat = 0.609065
  Prefactor  = 1.22433
 **********
 **   18 **HESSE 
 **********

 FCN=   6554.833     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      330 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47045        450.10        .23156E-03   -1.5571    
   2  Index         2.6881        8.5515        .19508E-01   -.48067    
   3  Normalizat    .60907        .14828        .32710E-03   -1.0760    
   4  Prefactor     1.2243        .12710        .20595E-03   -.85586    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.18585e-05
Minuit parameter uncertainties:
  1  29.3236
  2  20.0469
  3  0.148379
  4  0.127135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/818494': 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) = 6554.83327848
delta logL = 0.030479516462

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  4.704e-01  2.932e+01  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  2.688e+00  2.005e+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.224e+00  1.271e-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:  6.091e-01  1.484e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/818494/cmap_HighResolution_348969601_349228801_4FGL_J1019.7+0511_daily_bin423.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-03', job_status='DONE', photon_flux_upper_limit='4.51e-08', time_completed='2021-09-01 18:28:40.094333', job_id='818494', GAL2='1.22', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1630546120.09', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='3.05e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='423' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:28:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 818494: <4FGL_J1019.7+0511_daily_bin423> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin423> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 18:15:23 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 18:15:26 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:15:26 2021
Terminated at Wed Sep  1 18:28:42 2021
Results reported at Wed Sep  1 18:28:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin423 154.942 5.1905 348969601 349228801 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 :                                   595.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            799 sec.

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

