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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin725
RA = 154.942, Dec = 5.1905
tmin = 427248001, tmax = 427507201
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='819028', job_status='RUN', time_executed='2021-09-01 18:19:03.597890', time_epoch_executed='1630545543.6' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/819028

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/819028/ft1_4FGL_J1019.7+0511_daily_bin725.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/819028/ft2_4FGL_J1019.7+0511_daily_bin725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/819028/ft1_4FGL_J1019.7+0511_daily_bin725.fits outfile=/scratch/kocevski/819028/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin725.fits ra=154.942 dec=5.1905 rad=12.0 tmin=427248001.0 tmax=427507201.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 5.50
user 5.23
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/819028/ft1_filtered_4FGL_J1019.7+0511_daily_bin725.fits" evtable="EVENTS" scfile=/scratch/kocevski/819028/ft2_4FGL_J1019.7+0511_daily_bin725.fits sctable="SC_DATA" outfile=/scratch/kocevski/819028/ltcube_427248001_427507201_4FGL_J1019.7+0511_daily_bin725.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/819028/ft2_4FGL_J1019.7+0511_daily_bin725.fits
.....................!
real 13.95
user 13.58
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/819028/ft1_filtered_4FGL_J1019.7+0511_daily_bin725.fits evtable="EVENTS" scfile=/scratch/kocevski/819028/ft2_4FGL_J1019.7+0511_daily_bin725.fits sctable="SC_DATA" expcube=/scratch/kocevski/819028/ltcube_427248001_427507201_4FGL_J1019.7+0511_daily_bin725.fits outfile=/scratch/kocevski/819028/expmap_427248001_427507201_4FGL_J1019.7+0511_daily_bin725.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/819028/ltcube_427248001_427507201_4FGL_J1019.7+0511_daily_bin725.fits
.....................!
real 191.86
user 187.01
sys 4.44

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/819028/ft1_filtered_4FGL_J1019.7+0511_daily_bin725.fits scfile=/scratch/kocevski/819028/ft2_4FGL_J1019.7+0511_daily_bin725.fits outfile=/scratch/kocevski/819028/cmap_427248001_427507201_4FGL_J1019.7+0511_daily_bin725.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.56
user 0.38
sys 0.15

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

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/819028/ft1_filtered_4FGL_J1019.7+0511_daily_bin725.fits evtable="EVENTS" scfile=/scratch/kocevski/819028/ft2_4FGL_J1019.7+0511_daily_bin725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/819028/Model_4FGL_J1019.7+0511_daily_bin725.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/819028/ft1_filtered_4FGL_J1019.7+0511_daily_bin725.fits.....................!
real 56.61
user 55.29
sys 1.14

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5803.11378031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23157       1.0000         .10000E-03   10000.    
     2 'norm      '    2.7006       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.790       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.212       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    30.162       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4560       1.0000         .10000E-03   10000.    
     8 'Prefactor '    49.313       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.507       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .38928E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.6641       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.976       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.5434       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3606       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.6114       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .71551       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1032       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=   5803.109     FROM MIGRAD    STATUS=CONVERGED    747 CALLS     3139 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23162        1.3075        .12920E-02    .58786E-02
   2  norm          2.7006        .78917        .34722E-04   -.19907E-03
   3  Prefactor     19.792        17.262        .90033E-04   -.89653E-05
   4  Prefactor     16.176        37.567        .99474E-04    .27201E-04
   5  Prefactor     .10000E-03    121.11        .18142E-02** at limit **
   6  norm          30.154        25.133        .72954E-04    .13402E-04
   7  Prefactor     1.4835        90.979        .17839E-02    .39288E-04
   8  Prefactor     49.306        55.559        .57105E-04    .90384E-05
   9  Prefactor     22.263        202.78        .84430E-04    .18851E-04
  10  Prefactor     .10000E-03    48.213        .90928E-01** at limit **
  11  norm          3.6641        1.6419        .62356E-04   -.48497E-04
  12  Prefactor     18.975        7.2084        .91943E-04    .34127E-04
  13  Prefactor     .10000E-03    4.0415        .21337E-02** at limit **
  14  Prefactor     .10000E-03    3.2694        .13439E-02** at limit **
  15  Prefactor     7.5440        7.3896        .14602E-03    .50375E-04
  16  norm          1.3606        .63423        .37936E-04    .65331E-04
  17  Prefactor     7.6117        7.7427        .14536E-03    .65698E-05
  18  Prefactor     .10000E-03    11.339        .18142E-02** at limit **
  19  Normalizat    .71564        .23070        .30919E-03   -.16362E-04
  20  Prefactor     1.1030        .18931        .21868E-03    .89614E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.231619
  norm       = 2.70061
  Prefactor  = 19.792
  Prefactor  = 16.1765
  Prefactor  = 0.000100001
  norm       = 30.1535
  Prefactor  = 1.48346
  Prefactor  = 49.3064
  Prefactor  = 22.2628
  Prefactor  = 0.0001
  norm       = 3.66415
  Prefactor  = 18.9751
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.54398
  norm       = 1.36059
  Prefactor  = 7.61169
  Prefactor  = 0.0001
  Normalizat = 0.715638
  Prefactor  = 1.10304
 **********
 **   18 **HESSE 
 **********

 FCN=   5803.109     FROM HESSE     STATUS=OK           285 CALLS     3424 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23162        1.3022        .25841E-03   -1.5612    
   2  norm          2.7006        .78911        .13889E-05   -1.5379    
   3  Prefactor     19.792        17.262        .36013E-05   -1.4818    
   4  Prefactor     16.176        37.561        .39790E-05   -1.4903    
   5  Prefactor     .10000E-03    121.20        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          30.154        24.897        .29182E-05   -1.4609    
   7  Prefactor     1.4835        77.465        .71358E-04   -1.5464    
   8  Prefactor     49.306        55.517        .11421E-04   -1.4302    
   9  Prefactor     22.263        176.84        .33772E-05   -1.4764    
  10  Prefactor     .10000E-03    43.154        .95558E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6641        1.6417        .24943E-05   -1.5325    
  12  Prefactor     18.975        7.2079        .36777E-05   -1.4836    
  13  Prefactor     .10000E-03    4.0542        .42673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.2696        .26879E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.5440        7.3880        .58407E-05   -1.5159    
  16  norm          1.3606        .63421        .15174E-05   -1.5475    
  17  Prefactor     7.6117        7.7423        .58143E-05   -1.5156    
  18  Prefactor     .10000E-03    11.341        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .71564        .23062        .12368E-04   -1.0328    
  20  Prefactor     1.1030        .18944        .43737E-04   -.89369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40614e-10
Minuit parameter uncertainties:
  1  1.09817
  2  0.789113
  3  17.266
  4  37.6161
  5  0.00078441
  6  24.9055
  7  21.4685
  8  55.5756
  9  126.005
  10  0.000200793
  11  1.64176
  12  7.2082
  13  4.67027e-05
  14  3.02252e-06
  15  7.38885
  16  0.634209
  17  7.74335
  18  7.33762e-06
  19  0.230937
  20  0.189551
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  2.008e-04  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.103e+00  1.896e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  7.156e-01  2.309e-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.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/819028/likelihoodResults_427248001_427507201_4FGL_J1019.7+0511_daily_bin725.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) = 5803.10903864
delta logL = -8.88903650775e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5803.10903863
delta logL = -8.87887654244e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96366E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9972       1.0000          .0000       10.000    
     3 'Normalizat'    .71564       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1030       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=   5802.640     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      292 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71921        17.330        .90712E-02   -.69252E-03
   2  Index         3.2564        2.3462        .77866E-01    .50716E-04
   3  Normalizat    .66563        .46404E-01    .72067E-01   -.12144E-03
   4  Prefactor     1.1244        .39743E-01    .37472E-01   -.54857E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.71921
  Index      = 3.25636
  Normalizat = 0.665627
  Prefactor  = 1.12435
 **********
 **   18 **HESSE 
 **********

 FCN=   5802.640     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      323 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71921        45.399        .70871E-04   -1.5538    
   2  Index         3.2564        6.6064        .44596E-02   -.35621    
   3  Normalizat    .66563        .19541        .31898E-03   -1.0527    
   4  Prefactor     1.1244        .16589        .21658E-03   -.88692    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.25154e-09
Minuit parameter uncertainties:
  1  11.4366
  2  5.07263
  3  0.195612
  4  0.165969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/819028': 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) = 5802.64042896
delta logL = 0.468600790677

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  7.192e-01  1.144e+01  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  3.256e+00  5.073e+00  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.124e+00  1.660e-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:  6.656e-01  1.956e-01  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/819028/cmap_HighResolution_427248001_427507201_4FGL_J1019.7+0511_daily_bin725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.80e-03', job_status='DONE', photon_flux_upper_limit='7.73e-08', time_completed='2021-09-01 18:29:37.074367', job_id='819028', GAL2='1.12', fit_tolerance='1e-08', EG2='0.67', EG='0.72', time_epoch_completed='1630546177.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.69e-01', ts2='0.98', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='725' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:29:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 819028: <4FGL_J1019.7+0511_daily_bin725> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin725> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 18:16:22 2021
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 18:16:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 18:16:24 2021
Terminated at Wed Sep  1 18:29:37 2021
Results reported at Wed Sep  1 18:29:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin725 154.942 5.1905 427248001 427507201 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 :                                   632.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            795 sec.

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

