/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 213 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 = 7424
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1019.7+0511_daily_bin80
RA = 154.942, Dec = 5.1905
tmin = 260064001, tmax = 260323201
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='817036', job_status='RUN', time_executed='2021-09-01 18:14:20.889418', time_epoch_executed='1630545260.89' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='80'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817036

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817036/ft1_4FGL_J1019.7+0511_daily_bin80.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817036/ft2_4FGL_J1019.7+0511_daily_bin80.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817036/ft1_4FGL_J1019.7+0511_daily_bin80.fits outfile=/scratch/kocevski/817036/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin80.fits ra=154.942 dec=5.1905 rad=12.0 tmin=260064001.0 tmax=260323201.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 1.50
user 1.32
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/817036/ft1_filtered_4FGL_J1019.7+0511_daily_bin80.fits" evtable="EVENTS" scfile=/scratch/kocevski/817036/ft2_4FGL_J1019.7+0511_daily_bin80.fits sctable="SC_DATA" outfile=/scratch/kocevski/817036/ltcube_260064001_260323201_4FGL_J1019.7+0511_daily_bin80.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/817036/ft2_4FGL_J1019.7+0511_daily_bin80.fits
.....................!
real 15.33
user 14.99
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817036/ft1_filtered_4FGL_J1019.7+0511_daily_bin80.fits evtable="EVENTS" scfile=/scratch/kocevski/817036/ft2_4FGL_J1019.7+0511_daily_bin80.fits sctable="SC_DATA" expcube=/scratch/kocevski/817036/ltcube_260064001_260323201_4FGL_J1019.7+0511_daily_bin80.fits outfile=/scratch/kocevski/817036/expmap_260064001_260323201_4FGL_J1019.7+0511_daily_bin80.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/817036/ltcube_260064001_260323201_4FGL_J1019.7+0511_daily_bin80.fits
.....................!
real 190.44
user 185.83
sys 4.18

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/817036/ft1_filtered_4FGL_J1019.7+0511_daily_bin80.fits scfile=/scratch/kocevski/817036/ft2_4FGL_J1019.7+0511_daily_bin80.fits outfile=/scratch/kocevski/817036/cmap_260064001_260323201_4FGL_J1019.7+0511_daily_bin80.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=154.942 yref=5.1905 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/817036/ft1_filtered_4FGL_J1019.7+0511_daily_bin80.fits scfile=/scratch/kocevski/817036/ft2_4FGL_J1019.7+0511_daily_bin80.fits outfile=/scratch/kocevski/817036/cmap_HighResolution_260064001_260323201_4FGL_J1019.7+0511_daily_bin80.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=154.942 yref=5.1905 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817036/ft1_filtered_4FGL_J1019.7+0511_daily_bin80.fits evtable="EVENTS" scfile=/scratch/kocevski/817036/ft2_4FGL_J1019.7+0511_daily_bin80.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817036/Model_4FGL_J1019.7+0511_daily_bin80.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/817036/ft1_filtered_4FGL_J1019.7+0511_daily_bin80.fits.....................!
real 79.30
user 77.89
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42505E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    2.8507       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8740       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    25.062       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.427       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.191       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.710       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5781       1.0000         .10000E-03   10000.    
    16 'norm      '    .58636       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2355       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93897       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=   8689.623     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     2030 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43309E-01    .42903       -.10515E-06   -.20757E-03
   2  norm          2.8507        .67535       -.15413E-07   -.10836E-03
   3  Prefactor     .10000E-03    8.0251       -.14151E-05** at limit **
   4  Prefactor     9.8749        23.637        .16549E-05   -.16865E-04
   5  Prefactor     .10000E-03    8.1299        .16117E-05** at limit **
   6  norm          25.063        17.551        .13681E-05    .47169E-04
   7  Prefactor     .10000E-03    4.1806        .13180E-06** at limit **
   8  Prefactor     16.424        55.777       -.69255E-05    .54588E-05
   9  Prefactor     39.184        57.438       -.95342E-05    .16943E-04
  10  Prefactor     16.713        20.662        .51611E-05   -.61919E-05
  11  norm          .10000E-03    .40561       -.16830E-07** at limit **
  12  Prefactor     .10000E-03    1.9885       -.48287E-07** at limit **
  13  Prefactor     .10000E-03    2.0703       -.83870E-09** at limit **
  14  Prefactor     .10000E-03    3.6438       -.12460E-07** at limit **
  15  Prefactor     6.5780        6.2701       -.28008E-06   -.22437E-03
  16  norm          .58633        .37276       -.16972E-07   -.65117E-03
  17  Prefactor     .10000E-03    2.7620        .45478E-07** at limit **
  18  Prefactor     .10000E-03    27.102        .25139E-06** at limit **
  19  Normalizat    1.2357        .16411        .87113E-06   -.60207E-05
  20  Prefactor     .93890        .13258       -.47302E-06    .10372E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0433094
  norm       = 2.85069
  Prefactor  = 0.0001
  Prefactor  = 9.87489
  Prefactor  = 0.0001
  norm       = 25.0626
  Prefactor  = 0.0001
  Prefactor  = 16.4237
  Prefactor  = 39.1844
  Prefactor  = 16.7127
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.57799
  norm       = 0.58633
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23567
  Prefactor  = 0.938896
 **********
 **   18 **HESSE 
 **********

 FCN=   8689.623     FROM HESSE     STATUS=OK           295 CALLS     2325 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43309E-01    5.7929        .11607E-02   -1.5666    
   2  norm          2.8507        .67541        .35735E-04   -1.5370    
   3  Prefactor     .10000E-03    8.0633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.8749        23.588        .12752E-03   -1.5079    
   5  Prefactor     .10000E-03    8.1337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          25.063        17.538        .80017E-04   -1.4706    
   7  Prefactor     .10000E-03    4.1886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.424        55.938        .98819E-04   -1.4897    
   9  Prefactor     39.184        57.133        .64026E-04   -1.4455    
  10  Prefactor     16.713        20.566        .97979E-04   -1.4890    
  11  norm          .10000E-03    .68104        .11442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.0066        .12834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.1434        .26115E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.6621        .17376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.5780        6.2897        .15647E-03   -1.5195    
  16  norm          .58633        .36896        .43633E-04   -1.5555    
  17  Prefactor     .10000E-03    2.7792        .15105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2357        .19295        .25436E-03   -.85507    
  20  Prefactor     .93890        .15496        .24205E-03   -.94795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69199e-08
Minuit parameter uncertainties:
  1  1.00071
  2  0.675412
  3  7.456e-06
  4  23.61
  5  4.44027e-06
  6  17.5417
  7  1.00438e-05
  8  56.1172
  9  57.2134
  10  20.5746
  11  8.85683e-07
  12  1.35913e-06
  13  4.12997e-06
  14  1.26958e-06
  15  6.29029
  16  0.368959
  17  1.30362e-06
  18  1.13655e-05
  19  0.193057
  20  0.155028
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.671e+01  2.057e+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:  9.389e-01  1.550e-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.236e+00  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.59
Ra Dec: 154.942 5.191
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.55e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 2.19e-05

TS (Fixed Index): 1.59
Ra Dec: 154.942 5.191
Photon Flux Upper Limit: 8.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/817036/likelihoodResults_260064001_260323201_4FGL_J1019.7+0511_daily_bin80.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) = 8689.61563031
delta logL = 0.00728196439377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8689.60549076
delta logL = 0.0174215086736

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.485       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1490       1.0000          .0000       10.000    
     3 'Normalizat'    1.2288       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94215       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=   8689.605     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      257 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.473        31.099        .10908E-03   -.13857E-02
   2  Index         2.1494        1.1686        .78982E-02   -.57253E-03
   3  Normalizat    1.2287        .19061        .25494E-03   -.21310E-02
   4  Prefactor     .94216        .15605        .24167E-03   -.30088E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4734
  Index      = 2.14944
  Normalizat = 1.22873
  Prefactor  = 0.94216
 **********
 **   18 **HESSE 
 **********

 FCN=   8689.605     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.473        22.558        .21815E-04   -1.4974    
   2  Index         2.1494        .85090        .31593E-03   -.60664    
   3  Normalizat    1.2287        .18650        .50988E-04   -.85720    
   4  Prefactor     .94216        .15466        .48333E-04   -.94683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06501e-08
Minuit parameter uncertainties:
  1  22.5722
  2  0.857103
  3  0.186603
  4  0.154736
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817036': 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) = 8689.60549061
delta logL = 0.0174216647174

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.347e+01  2.257e+01  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  2.149e+00  8.571e-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:  9.422e-01  1.547e-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.229e+00  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 154.942 5.191
Photon Index (Free Index): 2.15 +/- 0.86
Photon Flux (Free Index): 3.12e-08 +/- 4.33e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.81e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/817036/cmap_HighResolution_260064001_260323201_4FGL_J1019.7+0511_daily_bin80.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', comment='SUCCESS', photon_flux='2.55e-08', energy_flux2='1.55e-05', photon_flux_error='3.14e-08', dlogl='1.74e-02', energy_flux='1.78e-05', photon_flux2='3.12e-08', job_status='DONE', time_completed='2021-09-01 18:25:33.585767', photon_index_error2='0.86', photon_index2='2.15', ts='1.59', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='8.24e-08', energy_flux_error2='1.81e-05', EG='1.24', time_epoch_completed='1630545933.59', return_code='0', job_id='817036', GAL2='0.94', EG2='1.23', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='4.33e-08', ts2='1.64', photon_index='2.00' WHERE bin_id='80' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:25:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 817036: <4FGL_J1019.7+0511_daily_bin80> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin80> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 18:10:33 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 18:10:36 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:36 2021
Terminated at Wed Sep  1 18:25:34 2021
Results reported at Wed Sep  1 18:25:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin80 154.942 5.1905 260064001 260323201 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 :                                   672.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            901 sec.

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

