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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin1526
RA = 154.942, Dec = 5.1905
tmin = 634867201, tmax = 635126401
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='822805', job_status='RUN', time_executed='2021-09-01 18:31:07.240663', time_epoch_executed='1630546267.24' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='1526'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822805

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822805/ft1_4FGL_J1019.7+0511_daily_bin1526.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822805/ft1_4FGL_J1019.7+0511_daily_bin1526.fits outfile=/scratch/kocevski/822805/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1526.fits ra=154.942 dec=5.1905 rad=12.0 tmin=634867201.0 tmax=635126401.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 2.99
user 2.78
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.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/822805/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1526.fits evtable="EVENTS" outfile="/scratch/kocevski/822805/ft1_filtered_4FGL_J1019.7+0511_daily_bin1526.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822805/ft1_filtered_4FGL_J1019.7+0511_daily_bin1526.fits" evtable="EVENTS" scfile=/scratch/kocevski/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.fits sctable="SC_DATA" outfile=/scratch/kocevski/822805/ltcube_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.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/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.fits
.....................!
real 12.23
user 11.85
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822805/ft1_filtered_4FGL_J1019.7+0511_daily_bin1526.fits evtable="EVENTS" scfile=/scratch/kocevski/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.fits sctable="SC_DATA" expcube=/scratch/kocevski/822805/ltcube_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.fits outfile=/scratch/kocevski/822805/expmap_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.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/822805/ltcube_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.fits
.....................!
real 192.06
user 186.56
sys 5.07

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/822805/ft1_filtered_4FGL_J1019.7+0511_daily_bin1526.fits scfile=/scratch/kocevski/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.fits outfile=/scratch/kocevski/822805/cmap_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.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/822805/ft1_filtered_4FGL_J1019.7+0511_daily_bin1526.fits scfile=/scratch/kocevski/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.fits outfile=/scratch/kocevski/822805/cmap_HighResolution_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/822805/ft1_filtered_4FGL_J1019.7+0511_daily_bin1526.fits evtable="EVENTS" scfile=/scratch/kocevski/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/822805/Model_4FGL_J1019.7+0511_daily_bin1526.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/822805/ft1_filtered_4FGL_J1019.7+0511_daily_bin1526.fits................!
real 15.98
user 14.67
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/822805/ft1_filtered_4FGL_J1019.7+0511_daily_bin1526.fits', '/scratch/kocevski/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.fits', expMap='/scratch/kocevski/822805/expmap_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.fits', expCube='/scratch/kocevski/822805/ltcube_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/822805/Model_4FGL_J1019.7+0511_daily_bin1526.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/822805/ft1_filtered_4FGL_J1019.7+0511_daily_bin1526.fits
Spacecraft file(s): /scratch/kocevski/822805/ft2_4FGL_J1019.7+0511_daily_bin1526.fits
Exposure map: /scratch/kocevski/822805/expmap_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.fits
Exposure cube: /scratch/kocevski/822805/ltcube_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/822805/Model_4FGL_J1019.7+0511_daily_bin1526.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 212.371376083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 210.445646604

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4519       1.0000         .10000E-03   10000.    
     2 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.3232       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20376E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .39174E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    5.6514       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1366       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.9241       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.8519       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .91003       1.0000         .10000E-03   10000.    
    11 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.794       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .27928E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2054       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .41494       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4676       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .29872       1.0000         .10000E-03   10000.    
    18 'Prefactor '    381.26       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.6134       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .25112       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   210.4415     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      322 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4519        1.0768         .0000         .0000    
   2  norm          .10000E-03    14.885        .15820E-06** at limit **
   3  Prefactor     6.3232        1.0032         .0000         .0000    
   4  Prefactor     .10390E-03    10.490       -.20031E-04** at limit **
   5  Prefactor     .10003E-03    70.604        .26516E-04** at limit **
   6  norm          5.6514        1.0040         .0000         .0000    
   7  Prefactor     5.8310        9.1232        .25805E-04    .19076E-02
   8  Prefactor     7.9241        1.0020         .0000         .0000    
   9  Prefactor     9.1102        21.865        .49989E-04    .58566E-02
  10  Prefactor     .18293        1575.1        .89002E-03   -.22580E-02
  11  norm          .10000E-03    6.8405        .44200E-05** at limit **
  12  Prefactor     20.774        46.253        .56740E-04    .19578E-02
  13  Prefactor     .10238E-03    73.581        .32762E-03** at limit **
  14  Prefactor     11.799        759.55       -.51891E-03   -.15920E-02
  15  Prefactor     .10005E-03    92.535       -.57986E-04** at limit **
  16  norm          1.4913        5.3716       -.49419E-05    .11512E-03
  17  Prefactor     .10045E-03    135.94        .80409E-04** at limit **
  18  Prefactor     382.58        39.330       -.17601E-04   -.23544E-01
  19  Normalizat    1.5962        1.4023       -.12674E-03    .11123E-03
  20  Prefactor     .25955        .87233        .71925E-04    .71499E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.45191
  norm       = 0.0001
  Prefactor  = 6.32323
  Prefactor  = 0.000103905
  Prefactor  = 0.000100025
  norm       = 5.65137
  Prefactor  = 5.83099
  Prefactor  = 7.92413
  Prefactor  = 9.11018
  Prefactor  = 0.182933
  norm       = 0.0001
  Prefactor  = 20.774
  Prefactor  = 0.000102383
  Prefactor  = 11.7988
  Prefactor  = 0.000100049
  norm       = 1.49133
  Prefactor  = 0.000100449
  Prefactor  = 382.584
  Normalizat = 1.59624
  Prefactor  = 0.259552
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   210.4415     FROM HESSE     STATUS=FAILED         9 CALLS      331 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          578.73        577.08         .0000       -1.5467    
   2  norm          .10000E-03    .20571        .15820E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.3232        1.0032         .0000       -1.5205    
   4  Prefactor     .10390E-03    .20814       -.20031E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10003E-03    .21239        .26516E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.6514        1.0040         .0000       -1.5232    
   7  Prefactor     5.8310        .97807        .25805E-04   -1.5225    
   8  Prefactor     7.9241        1.0020         .0000       -1.5145    
   9  Prefactor     9.1102        .96290        .49989E-04   -1.5104    
  10  Prefactor     .18293        .54917        .89002E-03   -1.5793    
  11  norm          .10000E-03    .20571        .44200E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.774        .99980        .56740E-04   -1.4796    
  13  Prefactor     .10238E-03    .24762        .32762E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.799        1.3830       -.51891E-03   -1.5021    
  15  Prefactor     .10005E-03    .29803       -.57986E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4913        1.0832       -.49419E-05   -1.5464    
  17  Prefactor     .10045E-03    .27141        .80409E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     382.58        1.0017       -.17601E-04   -1.1771    
  19  Normalizat    1.5962        1.0351       -.12674E-03   -.75109    
  20  Prefactor     .25955        .56095        .71925E-04   -1.2472    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.5751e-09
Minuit parameter uncertainties:
  1  1.07677
  2  4.34757e-06
  3  1.00316
  4  0.00180299
  5  0.000146584
  6  1.00397
  7  0.978071
  8  1.002
  9  0.962899
  10  0.549187
  11  2.44852e-07
  12  0.999798
  13  0.00153641
  14  1.38305
  15  0.000241671
  16  1.08325
  17  0.0006978
  18  1.00167
  19  1.04949
  20  0.573296
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 210.441548308

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.829e-01  5.492e-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:  2.596e-01  5.733e-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.596e+00  1.049e+00  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -0.52806331106

TS (Fixed Index): -0.00
Ra Dec: 154.942 5.191
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.50e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822805/likelihoodResults_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.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) = 210.441850729
delta logL = -0.000302421031932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 210.441850392
delta logL = -0.000302084090805

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    1.9683       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=   210.4418     FROM MIGRAD    STATUS=CONVERGED     29 CALLS       94 TOTAL
                     EDM=   .98E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 24.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       1.0199        5.2082       -.26463        .53237E-06
                               ERR DEF=  .500    
Final values: 
  Index      = 1.01989
 **********
 **   18 **HESSE 
 **********

 FCN=   210.4418     FROM HESSE     STATUS=OK            11 CALLS      105 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       1.0199        5.1893        .50000       -.92070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00743e-10
Minuit parameter uncertainties:
  1  155.637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822805': 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) = 210.441844472
delta logL = -0.00029616451107

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.826e-01  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14) fixed
226        Index:  1.020e+00  1.556e+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:  2.614e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.593e+00  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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/822805/cmap_HighResolution_634867201_635126401_4FGL_J1019.7+0511_daily_bin1526.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.50e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-01 18:36:22.534089', job_id='822805', GAL2='0.26', fit_tolerance='1e-08', EG2='1.59', EG='1.60', time_epoch_completed='1630546582.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.26', dlogl='-2.96e-04', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1526' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:36:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 822805: <4FGL_J1019.7+0511_daily_bin1526> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin1526> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 18:30:51 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 18:30:52 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:30:52 2021
Terminated at Wed Sep  1 18:36:23 2021
Results reported at Wed Sep  1 18:36:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin1526 154.942 5.1905 634867201 635126401 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 :                                   314.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   330 sec.
    Turnaround time :                            332 sec.

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

