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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin703
RA = 154.942, Dec = 5.1905
tmin = 421545601, tmax = 421804801
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='818993', job_status='RUN', time_executed='2021-09-01 18:20:20.871264', time_epoch_executed='1630545620.87' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/818993

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/818993/ft1_4FGL_J1019.7+0511_daily_bin703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/818993/ft2_4FGL_J1019.7+0511_daily_bin703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/818993/ft1_4FGL_J1019.7+0511_daily_bin703.fits outfile=/scratch/kocevski/818993/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin703.fits ra=154.942 dec=5.1905 rad=12.0 tmin=421545601.0 tmax=421804801.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.65
user 3.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/818993/ft2_4FGL_J1019.7+0511_daily_bin703.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/818993/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin703.fits evtable="EVENTS" outfile="/scratch/kocevski/818993/ft1_filtered_4FGL_J1019.7+0511_daily_bin703.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/818993/ft1_filtered_4FGL_J1019.7+0511_daily_bin703.fits" evtable="EVENTS" scfile=/scratch/kocevski/818993/ft2_4FGL_J1019.7+0511_daily_bin703.fits sctable="SC_DATA" outfile=/scratch/kocevski/818993/ltcube_421545601_421804801_4FGL_J1019.7+0511_daily_bin703.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/818993/ft2_4FGL_J1019.7+0511_daily_bin703.fits
.....................!
real 16.35
user 15.91
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/818993/ft1_filtered_4FGL_J1019.7+0511_daily_bin703.fits evtable="EVENTS" scfile=/scratch/kocevski/818993/ft2_4FGL_J1019.7+0511_daily_bin703.fits sctable="SC_DATA" expcube=/scratch/kocevski/818993/ltcube_421545601_421804801_4FGL_J1019.7+0511_daily_bin703.fits outfile=/scratch/kocevski/818993/expmap_421545601_421804801_4FGL_J1019.7+0511_daily_bin703.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/818993/ltcube_421545601_421804801_4FGL_J1019.7+0511_daily_bin703.fits
.....................!
real 191.88
user 186.75
sys 4.54

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/818993/ft1_filtered_4FGL_J1019.7+0511_daily_bin703.fits scfile=/scratch/kocevski/818993/ft2_4FGL_J1019.7+0511_daily_bin703.fits outfile=/scratch/kocevski/818993/cmap_421545601_421804801_4FGL_J1019.7+0511_daily_bin703.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/818993/ft1_filtered_4FGL_J1019.7+0511_daily_bin703.fits scfile=/scratch/kocevski/818993/ft2_4FGL_J1019.7+0511_daily_bin703.fits outfile=/scratch/kocevski/818993/cmap_HighResolution_421545601_421804801_4FGL_J1019.7+0511_daily_bin703.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6271       1.0000         .10000E-03   10000.    
     2 'norm      '    1.8104       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    48.564       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.555       1.0000         .10000E-03   10000.    
     6 'norm      '    24.426       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .36983E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.774       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.7946       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3633       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.9243       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.792       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10404E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.7148       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .25667E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.397       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .76018       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2228       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=   6685.009     FROM MIGRAD    STATUS=CONVERGED    719 CALLS     2633 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6272        1.3680        .66144E-04    .34668E-03
   2  norm          1.8104        .68935        .40391E-04    .11214E-02
   3  Prefactor     .10000E-03    5.0900        .18002E-02** at limit **
   4  Prefactor     48.576        38.501        .57542E-04    .43980E-04
   5  Prefactor     30.553        45.046        .72484E-04    .39211E-04
   6  norm          24.430        19.395        .81051E-04    .11053E-03
   7  Prefactor     .10000E-03    37.598        .40085E-02** at limit **
   8  Prefactor     23.787        62.722        .82153E-04    .46719E-04
   9  Prefactor     .10000E-03    41.468        .18142E-02** at limit **
  10  Prefactor     .10000E-03    8.9353        .18142E-02** at limit **
  11  norm          4.7945        1.7220        .61350E-04    .39378E-03
  12  Prefactor     3.3634        6.9991        .22066E-03    .47003E-03
  13  Prefactor     3.9241        3.5798        .13930E-03    .49269E-03
  14  Prefactor     11.792        11.473        .11666E-03    .89560E-04
  15  Prefactor     .10000E-03    12.639        .18142E-02** at limit **
  16  norm          2.7148        .77101        .36293E-04   -.58891E-03
  17  Prefactor     .10000E-03    103.48        .37608E-02** at limit **
  18  Prefactor     25.397        18.755        .79489E-04    .82952E-05
  19  Normalizat    .75997        .24505        .33251E-03    .21667E-03
  20  Prefactor     1.2230        .19309        .22720E-03    .85125E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62718
  norm       = 1.81035
  Prefactor  = 0.0001
  Prefactor  = 48.5758
  Prefactor  = 30.5533
  norm       = 24.4301
  Prefactor  = 0.0001
  Prefactor  = 23.7868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.79449
  Prefactor  = 3.36338
  Prefactor  = 3.92413
  Prefactor  = 11.7924
  Prefactor  = 0.0001
  norm       = 2.71479
  Prefactor  = 0.000100001
  Prefactor  = 25.3966
  Normalizat = 0.759973
  Prefactor  = 1.22302
 **********
 **   18 **HESSE 
 **********

 FCN=   6685.009     FROM HESSE     STATUS=OK           271 CALLS     2904 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6272        1.3680        .26458E-05   -1.5384    
   2  norm          1.8104        .68936        .16156E-05   -1.5439    
   3  Prefactor     .10000E-03    5.0902        .36003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.576        38.499        .11508E-04   -1.4313    
   5  Prefactor     30.553        45.049        .28994E-05   -1.4602    
   6  norm          24.430        19.393        .32420E-05   -1.4719    
   7  Prefactor     .10000E-03    37.844        .80169E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.787        62.693        .16431E-04   -1.4732    
   9  Prefactor     .10000E-03    41.469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.9358        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7945        1.7219        .24540E-05   -1.5270    
  12  Prefactor     3.3634        6.9977        .88264E-05   -1.5341    
  13  Prefactor     3.9241        3.5795        .55721E-05   -1.5312    
  14  Prefactor     11.792        11.473        .46663E-05   -1.5021    
  15  Prefactor     .10000E-03    12.649        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.7148        .76558        .14517E-05   -1.5378    
  17  Prefactor     .10000E-03    104.82        .15043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.397        18.755        .15898E-04   -1.4700    
  19  Normalizat    .75997        .24517        .13300E-04   -1.0157    
  20  Prefactor     1.2230        .19323        .45440E-04   -.85626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.16372e-10
Minuit parameter uncertainties:
  1  1.36801
  2  0.68936
  3  1.21797e-05
  4  38.5189
  5  45.0996
  6  19.3977
  7  1.0738e-05
  8  62.8672
  9  5.12026e-06
  10  7.67719e-06
  11  1.72193
  12  6.99945
  13  3.57966
  14  11.4747
  15  0.000125256
  16  0.765578
  17  0.000711555
  18  18.759
  19  0.245523
  20  0.193344
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  7.677e-06  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.933e-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.600e-01  2.455e-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.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/818993/likelihoodResults_421545601_421804801_4FGL_J1019.7+0511_daily_bin703.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) = 6685.00904003
delta logL = -0.000532673610905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6685.00850738
delta logL = -2.78023435385e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9956       1.0000          .0000       10.000    
     3 'Normalizat'    .75992       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2231       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=   6685.009     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.940        .90712E-02** at limit **
   2  Index         1.9939        5.8317        .50000        .13188E-05
   3  Normalizat    .75997        .10943E-01    .75119E-01    .29791E-04
   4  Prefactor     1.2230        .93107E-02    .51392E-01    .25139E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.9939
  Normalizat = 0.75997
  Prefactor  = 1.22302
 **********
 **   18 **HESSE 
 **********

 FCN=   6685.009     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      242 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    268.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9939        6.7979        .50000       -.64503    
   3  Normalizat    .75997        .27857E-01    .33251E-03   -1.0157    
   4  Prefactor     1.2230        .23743E-01    .22720E-03   -.85626    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.87563e-11
Minuit parameter uncertainties:
  1  1.88736e-05
  2  22.0545
  3  0.0278577
  4  0.0237432
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/818993': 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) = 6685.00850735
delta logL = 1.36697053676e-09

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  1.887e-05  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  1.994e+00  2.205e+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.223e+00  2.374e-02  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.600e-01  2.786e-02  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/818993/cmap_HighResolution_421545601_421804801_4FGL_J1019.7+0511_daily_bin703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.28e-03', job_status='DONE', photon_flux_upper_limit='5.71e-08', time_completed='2021-09-01 18:30:48.678987', job_id='818993', GAL2='1.22', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1630546248.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.37e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='703' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:30:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 818993: <4FGL_J1019.7+0511_daily_bin703> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin703> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 18:16:19 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 18:16:20 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:16:20 2021
Terminated at Wed Sep  1 18:30:49 2021
Results reported at Wed Sep  1 18:30:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin703 154.942 5.1905 421545601 421804801 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 :                                   625.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            870 sec.

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

