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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin411
RA = 154.942, Dec = 5.1905
tmin = 345859201, tmax = 346118401
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='818475', job_status='RUN', time_executed='2021-09-01 18:17:42.597385', time_epoch_executed='1630545462.6' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/818475

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/818475/ft1_4FGL_J1019.7+0511_daily_bin411.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/818475/ft2_4FGL_J1019.7+0511_daily_bin411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/818475/ft1_4FGL_J1019.7+0511_daily_bin411.fits outfile=/scratch/kocevski/818475/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin411.fits ra=154.942 dec=5.1905 rad=12.0 tmin=345859201.0 tmax=346118401.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.43
user 3.21
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/818475/ft1_filtered_4FGL_J1019.7+0511_daily_bin411.fits" evtable="EVENTS" scfile=/scratch/kocevski/818475/ft2_4FGL_J1019.7+0511_daily_bin411.fits sctable="SC_DATA" outfile=/scratch/kocevski/818475/ltcube_345859201_346118401_4FGL_J1019.7+0511_daily_bin411.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/818475/ft2_4FGL_J1019.7+0511_daily_bin411.fits
.....................!
real 14.09
user 13.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/818475/ft1_filtered_4FGL_J1019.7+0511_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/818475/ft2_4FGL_J1019.7+0511_daily_bin411.fits sctable="SC_DATA" expcube=/scratch/kocevski/818475/ltcube_345859201_346118401_4FGL_J1019.7+0511_daily_bin411.fits outfile=/scratch/kocevski/818475/expmap_345859201_346118401_4FGL_J1019.7+0511_daily_bin411.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/818475/ltcube_345859201_346118401_4FGL_J1019.7+0511_daily_bin411.fits
.....................!
real 190.06
user 185.41
sys 4.26

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/818475/ft1_filtered_4FGL_J1019.7+0511_daily_bin411.fits scfile=/scratch/kocevski/818475/ft2_4FGL_J1019.7+0511_daily_bin411.fits outfile=/scratch/kocevski/818475/cmap_345859201_346118401_4FGL_J1019.7+0511_daily_bin411.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/818475/ft1_filtered_4FGL_J1019.7+0511_daily_bin411.fits scfile=/scratch/kocevski/818475/ft2_4FGL_J1019.7+0511_daily_bin411.fits outfile=/scratch/kocevski/818475/cmap_HighResolution_345859201_346118401_4FGL_J1019.7+0511_daily_bin411.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/818475/ft1_filtered_4FGL_J1019.7+0511_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/818475/ft2_4FGL_J1019.7+0511_daily_bin411.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/818475/Model_4FGL_J1019.7+0511_daily_bin411.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/818475/ft1_filtered_4FGL_J1019.7+0511_daily_bin411.fits.....................!
real 59.35
user 58.10
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33083E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .32335       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.115       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.666       1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.048       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2679       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.6373       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.324       1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.513       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6706       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1526       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.6370       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0167       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1666       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=   6240.541     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2091 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35419E-01    .54659       -.26665E-06    .56153E-03
   2  norm          .32358        .53574        .15413E-06    .70429E-03
   3  Prefactor     .10000E-03    3.5213        .17397E-07** at limit **
   4  Prefactor     25.091        42.926       -.35903E-04   -.10796E-03
   5  Prefactor     .10000E-03    24.006        .64137E-06** at limit **
   6  norm          .10000E-03    5.1913        .10572E-07** at limit **
   7  Prefactor     .10000E-03    3.7897       -.16213E-06** at limit **
   8  Prefactor     15.666        38.388       -.53194E-06    .66347E-05
   9  Prefactor     32.051        32.651        .43930E-05    .37694E-04
  10  Prefactor     .10000E-03    6.8527       -.15054E-06** at limit **
  11  norm          1.2686        1.5682        .29357E-06    .25242E-03
  12  Prefactor     1.6372        3.6081        .12146E-05   -.29286E-02
  13  Prefactor     .10000E-03    1.4621       -.19779E-07** at limit **
  14  Prefactor     20.324        12.646       -.32790E-06    .12029E-04
  15  Prefactor     24.513        9.5625       -.16576E-06    .21596E-04
  16  norm          1.6712        .74633       -.44324E-07   -.37273E-04
  17  Prefactor     2.1457        9.5377        .22470E-06   -.12386E-02
  18  Prefactor     9.6399        23.009        .48784E-05    .23501E-04
  19  Normalizat    1.0168        .20249        .14713E-05    .25481E-04
  20  Prefactor     1.1664        .16815        .69814E-06    .52797E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0354188
  norm       = 0.323582
  Prefactor  = 0.0001
  Prefactor  = 25.0909
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.6658
  Prefactor  = 32.0512
  Prefactor  = 0.0001
  norm       = 1.26859
  Prefactor  = 1.63723
  Prefactor  = 0.0001
  Prefactor  = 20.3241
  Prefactor  = 24.5128
  norm       = 1.6712
  Prefactor  = 2.1457
  Prefactor  = 9.63987
  Normalizat = 1.01684
  Prefactor  = 1.16642
 **********
 **   18 **HESSE 
 **********

 FCN=   6240.541     FROM HESSE     STATUS=OK           299 CALLS     2390 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35419E-01    4.5153        .11199E-02   -1.5670    
   2  norm          .32358        .51093        .70543E-03   -1.5594    
   3  Prefactor     .10000E-03    3.5261        .14476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.091        42.972        .79934E-04   -1.4706    
   5  Prefactor     .10000E-03    24.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.1975        .17578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.7990        .15010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.666        38.468        .10119E-03   -1.4916    
   9  Prefactor     32.051        32.646        .70780E-04   -1.4575    
  10  Prefactor     .10000E-03    6.8586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2686        1.5484        .10362E-03   -1.5483    
  12  Prefactor     1.6372        5.8121        .16515E-02   -1.5452    
  13  Prefactor     .10000E-03    1.4913        .93186E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.324        12.734        .88845E-04   -1.4806    
  15  Prefactor     24.513        9.5606        .80906E-04   -1.4717    
  16  norm          1.6712        .79731        .38049E-04   -1.5449    
  17  Prefactor     2.1457        13.657        .14041E-02   -1.5415    
  18  Prefactor     9.6399        23.009        .12909E-03   -1.5087    
  19  Normalizat    1.0168        .24241        .28469E-03   -.92468    
  20  Prefactor     1.1664        .20274        .23070E-03   -.87371    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65218e-08
Minuit parameter uncertainties:
  1  0.79875
  2  0.510935
  3  4.74656e-06
  4  43.0245
  5  0.000279042
  6  6.54691e-06
  7  2.26375e-05
  8  38.5292
  9  32.6638
  10  3.12942e-05
  11  1.54842
  12  5.81413
  13  6.69519e-06
  14  12.736
  15  9.56122
  16  0.797313
  17  10.8302
  18  23.0299
  19  0.242678
  20  0.202871
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.166e+00  2.029e-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:  1.017e+00  2.427e-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.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/818475/likelihoodResults_345859201_346118401_4FGL_J1019.7+0511_daily_bin411.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) = 6240.54134478
delta logL = -0.000692178123245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6240.54065859
delta logL = -5.99595841777e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14804E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9556       1.0000          .0000       10.000    
     3 'Normalizat'    1.0174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1659       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=   6240.541     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      246 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10080E-03    26.156        .18142E-02** at limit **
   2  Index         1.9065        8.9753        .50000        .37052E-04
   3  Normalizat    1.0168        .90594E-02    .28469E-03   -.31188E-04
   4  Prefactor     1.1664        .78417E-02    .23070E-03    .68153E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100804
  Index      = 1.90655
  Normalizat = 1.01684
  Prefactor  = 1.16642
 **********
 **   18 **HESSE 
 **********

 FCN=   6240.541     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10080E-03    126.06        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9065        6.4872        .50000       -.66707    
   3  Normalizat    1.0168        .20191E-01    .11388E-04   -.92468    
   4  Prefactor     1.1664        .17476E-01    .92280E-05   -.87371    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20607e-08
Minuit parameter uncertainties:
  1  0.0201765
  2  145.562
  3  0.0201907
  4  0.0174764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/818475': 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) = 6240.54065171
delta logL = 8.87265741767e-07

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.008e-04  2.018e-02  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  1.907e+00  1.456e+02  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.166e+00  1.748e-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:  1.017e+00  2.019e-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/818475/cmap_HighResolution_345859201_346118401_4FGL_J1019.7+0511_daily_bin411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2021-09-01 18:27:19.108766', job_id='818475', GAL2='1.17', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630546039.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='8.87e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='411' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:27:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 818475: <4FGL_J1019.7+0511_daily_bin411> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin411 154.942 5.1905 345859201 346118401 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 :                                   576.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            718 sec.

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

