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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin434
RA = 154.942, Dec = 5.1905
tmin = 351820801, tmax = 352080001
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='818512', job_status='RUN', time_executed='2021-09-01 18:18:24.726514', time_epoch_executed='1630545504.73' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/818512

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/818512/ft1_4FGL_J1019.7+0511_daily_bin434.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/818512/ft2_4FGL_J1019.7+0511_daily_bin434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/818512/ft1_4FGL_J1019.7+0511_daily_bin434.fits outfile=/scratch/kocevski/818512/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin434.fits ra=154.942 dec=5.1905 rad=12.0 tmin=351820801.0 tmax=352080001.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.66
user 3.42
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/818512/ft1_filtered_4FGL_J1019.7+0511_daily_bin434.fits" evtable="EVENTS" scfile=/scratch/kocevski/818512/ft2_4FGL_J1019.7+0511_daily_bin434.fits sctable="SC_DATA" outfile=/scratch/kocevski/818512/ltcube_351820801_352080001_4FGL_J1019.7+0511_daily_bin434.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/818512/ft2_4FGL_J1019.7+0511_daily_bin434.fits
.....................!
real 13.33
user 12.93
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/818512/ft1_filtered_4FGL_J1019.7+0511_daily_bin434.fits evtable="EVENTS" scfile=/scratch/kocevski/818512/ft2_4FGL_J1019.7+0511_daily_bin434.fits sctable="SC_DATA" expcube=/scratch/kocevski/818512/ltcube_351820801_352080001_4FGL_J1019.7+0511_daily_bin434.fits outfile=/scratch/kocevski/818512/expmap_351820801_352080001_4FGL_J1019.7+0511_daily_bin434.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/818512/ltcube_351820801_352080001_4FGL_J1019.7+0511_daily_bin434.fits
.....................!
real 191.13
user 186.09
sys 4.53

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/818512/ft1_filtered_4FGL_J1019.7+0511_daily_bin434.fits scfile=/scratch/kocevski/818512/ft2_4FGL_J1019.7+0511_daily_bin434.fits outfile=/scratch/kocevski/818512/cmap_351820801_352080001_4FGL_J1019.7+0511_daily_bin434.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/818512/ft1_filtered_4FGL_J1019.7+0511_daily_bin434.fits scfile=/scratch/kocevski/818512/ft2_4FGL_J1019.7+0511_daily_bin434.fits outfile=/scratch/kocevski/818512/cmap_HighResolution_351820801_352080001_4FGL_J1019.7+0511_daily_bin434.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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/818512/ft1_filtered_4FGL_J1019.7+0511_daily_bin434.fits evtable="EVENTS" scfile=/scratch/kocevski/818512/ft2_4FGL_J1019.7+0511_daily_bin434.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/818512/Model_4FGL_J1019.7+0511_daily_bin434.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/818512/ft1_filtered_4FGL_J1019.7+0511_daily_bin434.fits.....................!
real 56.25
user 54.83
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0886       1.0000         .10000E-03   10000.    
     2 'norm      '    .58641       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5566       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13203E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    48.992       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.885       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10506E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1038       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.221       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4568       1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.861       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.320       1.0000         .10000E-03   10000.    
    16 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    87.618       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0503       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0554       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=   5573.723     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     1774 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0887        1.2660       -.13981E-07   -.23836E-04
   2  norm          .58642        .65320       -.81845E-08   -.29093E-03
   3  Prefactor     3.5551        7.9292        .23702E-05   -.89866E-03
   4  Prefactor     .10000E-03    30.949        .82834E-08** at limit **
   5  Prefactor     .10000E-03    89.422        .64080E-06** at limit **
   6  norm          48.995        23.848        .47213E-06    .64603E-04
   7  Prefactor     .10000E-03    5.7878        .20576E-08** at limit **
   8  Prefactor     28.871        39.975       -.84180E-05   -.21405E-03
   9  Prefactor     .10000E-03    41.872        .11315E-06** at limit **
  10  Prefactor     .10000E-03    17.534        .48758E-07** at limit **
  11  norm          1.1044        1.7516        .11221E-06   -.17974E-03
  12  Prefactor     14.220        8.6109       -.61921E-06   -.19118E-03
  13  Prefactor     3.4567        4.5813        .19520E-06   -.11864E-03
  14  Prefactor     30.862        14.409       -.77071E-08    .13973E-04
  15  Prefactor     13.322        9.6892       -.46687E-06   -.10232E-03
  16  norm          .10000E-03    .20734        .70883E-08** at limit **
  17  Prefactor     .10000E-03    7.2102        .22457E-07** at limit **
  18  Prefactor     87.619        37.497        .38727E-06    .40583E-04
  19  Normalizat    1.0501        .22466        .82038E-06   -.42592E-04
  20  Prefactor     1.0556        .18054       -.29069E-06    .24510E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.08866
  norm       = 0.586421
  Prefactor  = 3.55507
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 48.9954
  Prefactor  = 0.0001
  Prefactor  = 28.8705
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.10437
  Prefactor  = 14.22
  Prefactor  = 3.45666
  Prefactor  = 30.8621
  Prefactor  = 13.3224
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 87.6192
  Normalizat = 1.05008
  Prefactor  = 1.05565
 **********
 **   18 **HESSE 
 **********

 FCN=   5573.723     FROM HESSE     STATUS=OK           295 CALLS     2069 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0887        1.2633        .62891E-04   -1.5419    
   2  norm          .58642        .62346        .60267E-03   -1.5555    
   3  Prefactor     3.5551        12.195        .10716E-02   -1.5331    
   4  Prefactor     .10000E-03    31.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    90.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          48.995        25.496        .57291E-04   -1.4307    
   7  Prefactor     .10000E-03    5.8004        .17537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.871        41.015        .74545E-04   -1.4633    
   9  Prefactor     .10000E-03    41.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1044        1.7101        .11634E-03   -1.5498    
  12  Prefactor     14.220        8.6076        .10621E-03   -1.4954    
  13  Prefactor     3.4567        4.5698        .16870E-03   -1.5336    
  14  Prefactor     30.862        14.448        .72125E-04   -1.4596    
  15  Prefactor     13.322        9.6677        .10975E-03   -1.4978    
  16  norm          .10000E-03    .55996        .65881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.2859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     87.619        37.516        .42922E-04   -1.3833    
  19  Normalizat    1.0501        .26191        .28803E-03   -.91371    
  20  Prefactor     1.0556        .21032        .24172E-03   -.90897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74566e-09
Minuit parameter uncertainties:
  1  1.2633
  2  0.623467
  3  12.2035
  4  9.7022e-07
  5  8.79307e-05
  6  25.5016
  7  1.14072e-05
  8  41.0546
  9  8.60462e-05
  10  3.96046e-05
  11  1.7102
  12  8.60837
  13  4.57027
  14  14.4499
  15  9.66882
  16  3.12579e-07
  17  7.97118e-07
  18  37.5259
  19  0.262234
  20  0.210483
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  3.960e-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.056e+00  2.105e-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.050e+00  2.622e-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: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/818512/likelihoodResults_351820801_352080001_4FGL_J1019.7+0511_daily_bin434.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) = 5573.7231796
delta logL = -0.000270593111964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5573.72290903
delta logL = -1.45928424899e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1228       1.0000          .0000       10.000    
     3 'Normalizat'    1.0501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0556       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=   5573.723     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      231 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9329        .90712E-02** at limit **
   2  Index         2.1216        8.7362        .50000        .53578E-06
   3  Normalizat    1.0501        .17960E-02    .65113E-01   -.47010E-04
   4  Prefactor     1.0556        .15180E-02    .39590E-01   -.41812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.12158
  Normalizat = 1.05008
  Prefactor  = 1.05565
 **********
 **   18 **HESSE 
 **********

 FCN=   5573.723     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      264 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1216        8.0854        .50000       -.61344    
   3  Normalizat    1.0501        .76933E-02    .28803E-03   -.91371    
   4  Prefactor     1.0556        .65093E-02    .24172E-03   -.90897    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.52238e-11
Minuit parameter uncertainties:
  1  4.50492e-05
  2  64.6506
  3  0.00769335
  4  0.0065093
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/818512': 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) = 5573.72290902
delta logL = -1.38443283504e-08

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  4.505e-05  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  2.122e+00  6.465e+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.056e+00  6.509e-03  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.050e+00  7.693e-03  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/818512/cmap_HighResolution_351820801_352080001_4FGL_J1019.7+0511_daily_bin434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-09-01 18:27:17.420393', job_id='818512', GAL2='1.06', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630546037.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='-1.38e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='434' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:27:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 818512: <4FGL_J1019.7+0511_daily_bin434> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin434 154.942 5.1905 351820801 352080001 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 :                                   532.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            713 sec.

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

