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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin251
RA = 154.942, Dec = 5.1905
tmin = 304387201, tmax = 304646401
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='817282', job_status='RUN', time_executed='2021-09-01 18:13:06.452994', time_epoch_executed='1630545186.45' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='251'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817282

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817282/ft1_4FGL_J1019.7+0511_daily_bin251.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817282/ft2_4FGL_J1019.7+0511_daily_bin251.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817282/ft1_4FGL_J1019.7+0511_daily_bin251.fits outfile=/scratch/kocevski/817282/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin251.fits ra=154.942 dec=5.1905 rad=12.0 tmin=304387201.0 tmax=304646401.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 4.11
user 3.87
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/817282/ft1_filtered_4FGL_J1019.7+0511_daily_bin251.fits" evtable="EVENTS" scfile=/scratch/kocevski/817282/ft2_4FGL_J1019.7+0511_daily_bin251.fits sctable="SC_DATA" outfile=/scratch/kocevski/817282/ltcube_304387201_304646401_4FGL_J1019.7+0511_daily_bin251.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/817282/ft2_4FGL_J1019.7+0511_daily_bin251.fits
.....................!
real 14.69
user 14.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817282/ft1_filtered_4FGL_J1019.7+0511_daily_bin251.fits evtable="EVENTS" scfile=/scratch/kocevski/817282/ft2_4FGL_J1019.7+0511_daily_bin251.fits sctable="SC_DATA" expcube=/scratch/kocevski/817282/ltcube_304387201_304646401_4FGL_J1019.7+0511_daily_bin251.fits outfile=/scratch/kocevski/817282/expmap_304387201_304646401_4FGL_J1019.7+0511_daily_bin251.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/817282/ltcube_304387201_304646401_4FGL_J1019.7+0511_daily_bin251.fits
.....................!
real 191.87
user 186.27
sys 5.20

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/817282/ft1_filtered_4FGL_J1019.7+0511_daily_bin251.fits scfile=/scratch/kocevski/817282/ft2_4FGL_J1019.7+0511_daily_bin251.fits outfile=/scratch/kocevski/817282/cmap_304387201_304646401_4FGL_J1019.7+0511_daily_bin251.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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/817282/ft1_filtered_4FGL_J1019.7+0511_daily_bin251.fits scfile=/scratch/kocevski/817282/ft2_4FGL_J1019.7+0511_daily_bin251.fits outfile=/scratch/kocevski/817282/cmap_HighResolution_304387201_304646401_4FGL_J1019.7+0511_daily_bin251.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817282/ft1_filtered_4FGL_J1019.7+0511_daily_bin251.fits evtable="EVENTS" scfile=/scratch/kocevski/817282/ft2_4FGL_J1019.7+0511_daily_bin251.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817282/Model_4FGL_J1019.7+0511_daily_bin251.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/817282/ft1_filtered_4FGL_J1019.7+0511_daily_bin251.fits.....................!
real 63.59
user 62.13
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3349       1.0000         .10000E-03   10000.    
     2 'norm      '    1.5161       1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.834       1.0000         .10000E-03   10000.    
     4 'Prefactor '    73.424       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12621E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10352E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .21922E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.976       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.105       1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .24949E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4847       1.0000         .10000E-03   10000.    
    16 'norm      '    .98030       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .62955E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .95074       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.8180       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=   6464.602     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2157 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3346        1.2633        .31425E-07   -.30335E-03
   2  norm          1.5158        .91502        .40134E-08   -.31684E-03
   3  Prefactor     43.830        22.294        .93413E-06   -.17753E-03
   4  Prefactor     73.404        46.608       -.61759E-06   -.96688E-05
   5  Prefactor     .10001E-03    187.14       -.32933E-05** at limit **
   6  norm          .10000E-03    56.766        .52255E-05** at limit **
   7  Prefactor     .10000E-03    8.9943        .15652E-05** at limit **
   8  Prefactor     .10000E-03    373.27        .13447E-04** at limit **
   9  Prefactor     38.919        119.75        .42943E-05   -.16602E-04
  10  Prefactor     14.107        41.968       -.57820E-06   -.47418E-04
  11  norm          .10000E-03    .48701        .66051E-07** at limit **
  12  Prefactor     .10000E-03    8.5150        .11283E-06** at limit **
  13  Prefactor     .10000E-03    1.9765        .27787E-07** at limit **
  14  Prefactor     .10000E-03    3.1452        .18648E-07** at limit **
  15  Prefactor     3.4915        9.8153       -.12373E-05   -.71143E-04
  16  norm          .98090        .65818       -.69962E-06   -.39131E-03
  17  Prefactor     .10000E-03    117.60       -.70126E-05** at limit **
  18  Prefactor     .10000E-03    21.967        .48224E-07** at limit **
  19  Normalizat    .95096        .24199       -.10279E-05   -.10922E-04
  20  Prefactor     1.8181        .20630        .37495E-07   -.64043E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33457
  norm       = 1.51583
  Prefactor  = 43.8304
  Prefactor  = 73.404
  Prefactor  = 0.000100007
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 38.9192
  Prefactor  = 14.1071
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 3.49154
  norm       = 0.980904
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.95096
  Prefactor  = 1.81805
 **********
 **   18 **HESSE 
 **********

 FCN=   6464.602     FROM HESSE     STATUS=OK           295 CALLS     2452 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3346        1.2430        .84687E-04   -1.5477    
   2  norm          1.5158        .90588        .56711E-04   -1.5462    
   3  Prefactor     43.830        22.126        .60553E-04   -1.4383    
   4  Prefactor     73.404        46.659        .46854E-04   -1.3992    
   5  Prefactor     .10001E-03    192.89        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    56.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.9482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    371.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.919        118.90        .64202E-04   -1.4459    
  10  Prefactor     14.107        41.836        .10665E-03   -1.4957    
  11  norm          .10000E-03    .49157        .54776E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.7429        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.5585        .21325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1523        .13925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4915        9.6540        .21661E-03   -1.5334    
  16  norm          .98090        .65750        .52619E-03   -1.5510    
  17  Prefactor     .10000E-03    115.17        .37100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95096        .27926        .35944E-03   -.94692    
  20  Prefactor     1.8181        .24168        .24350E-03   -.68981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.98483e-10
Minuit parameter uncertainties:
  1  1.24302
  2  0.905892
  3  22.1305
  4  46.6821
  5  0.00229733
  6  0.000758844
  7  3.88906e-05
  8  0.00270775
  9  119.636
  10  41.9232
  11  5.13422e-07
  12  3.74618e-06
  13  0.000373682
  14  2.57234e-06
  15  9.65831
  16  0.657502
  17  0.000520824
  18  2.39273e-06
  19  0.27969
  20  0.241835
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.411e+01  4.192e+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.818e+00  2.418e-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.510e-01  2.797e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.45
Ra Dec: 154.942 5.191
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/817282/likelihoodResults_304387201_304646401_4FGL_J1019.7+0511_daily_bin251.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6464.49448482
delta logL = 0.107484918952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6464.48982599
delta logL = 0.112143755288

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8212       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3822       1.0000          .0000       10.000    
     3 'Normalizat'    .93736       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.8237       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6464.490     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      302 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8161        25.276        .14338E-03   -.47931E-03
   2  Index         2.3825        1.1498        .65377E-02   -.13549E-03
   3  Normalizat    .93742        .27148        .36168E-03    .83361E-04
   4  Prefactor     1.8236        .24142        .24316E-03    .63119E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.81608
  Index      = 2.38253
  Normalizat = 0.937424
  Prefactor  = 1.82358
 **********
 **   18 **HESSE 
 **********

 FCN=   6464.490     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8161        18.508        .57352E-05   -1.5149    
   2  Index         2.3825        .84565        .26151E-03   -.55095    
   3  Normalizat    .93742        .27080        .14467E-04   -.95157    
   4  Prefactor     1.8236        .24103        .97263E-05   -.68838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32623e-10
Minuit parameter uncertainties:
  1  18.5215
  2  0.851299
  3  0.271197
  4  0.241185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817282': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6464.48982574
delta logL = 0.112143999133

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  7.816e+00  1.852e+01  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  2.383e+00  8.513e-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.824e+00  2.412e-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.374e-01  2.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
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/817282/cmap_HighResolution_304387201_304646401_4FGL_J1019.7+0511_daily_bin251.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.22e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-01 18:23:10.493420', job_id='817282', GAL2='1.82', fit_tolerance='1e-08', EG2='0.94', EG='0.95', time_epoch_completed='1630545790.49', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='1.82', dlogl='1.12e-01', ts2='0.68', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='251' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:23:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 817282: <4FGL_J1019.7+0511_daily_bin251> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin251 154.942 5.1905 304387201 304646401 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 :                                   603.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             314.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            737 sec.

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

