/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 220 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_bin889
RA = 154.942, Dec = 5.1905
tmin = 469756801, tmax = 470016001
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='820233', job_status='RUN', time_executed='2021-09-01 18:24:32.926990', time_epoch_executed='1630545872.93' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='889'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820233

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820233/ft1_4FGL_J1019.7+0511_daily_bin889.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820233/ft2_4FGL_J1019.7+0511_daily_bin889.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820233/ft1_4FGL_J1019.7+0511_daily_bin889.fits outfile=/scratch/kocevski/820233/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin889.fits ra=154.942 dec=5.1905 rad=12.0 tmin=469756801.0 tmax=470016001.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.42
user 3.23
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820233/ft1_filtered_4FGL_J1019.7+0511_daily_bin889.fits" evtable="EVENTS" scfile=/scratch/kocevski/820233/ft2_4FGL_J1019.7+0511_daily_bin889.fits sctable="SC_DATA" outfile=/scratch/kocevski/820233/ltcube_469756801_470016001_4FGL_J1019.7+0511_daily_bin889.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/820233/ft2_4FGL_J1019.7+0511_daily_bin889.fits
.....................!
real 12.80
user 12.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820233/ft1_filtered_4FGL_J1019.7+0511_daily_bin889.fits evtable="EVENTS" scfile=/scratch/kocevski/820233/ft2_4FGL_J1019.7+0511_daily_bin889.fits sctable="SC_DATA" expcube=/scratch/kocevski/820233/ltcube_469756801_470016001_4FGL_J1019.7+0511_daily_bin889.fits outfile=/scratch/kocevski/820233/expmap_469756801_470016001_4FGL_J1019.7+0511_daily_bin889.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/820233/ltcube_469756801_470016001_4FGL_J1019.7+0511_daily_bin889.fits
.....................!
real 190.36
user 185.42
sys 4.54

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/820233/ft1_filtered_4FGL_J1019.7+0511_daily_bin889.fits scfile=/scratch/kocevski/820233/ft2_4FGL_J1019.7+0511_daily_bin889.fits outfile=/scratch/kocevski/820233/cmap_469756801_470016001_4FGL_J1019.7+0511_daily_bin889.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820233/ft1_filtered_4FGL_J1019.7+0511_daily_bin889.fits scfile=/scratch/kocevski/820233/ft2_4FGL_J1019.7+0511_daily_bin889.fits outfile=/scratch/kocevski/820233/cmap_HighResolution_469756801_470016001_4FGL_J1019.7+0511_daily_bin889.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2191       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2318       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0235       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8340       1.0000         .10000E-03   10000.    
     6 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .95559E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    92.954       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.3545       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16424E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8978       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.060       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7598       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0806       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .66336E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.1087       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .70946       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2072       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=   6144.248     FROM MIGRAD    STATUS=CONVERGED    737 CALLS     2439 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2192        1.2557        .63013E-04   -.20568E-03
   2  norm          1.2320        .65355        .44159E-04   -.76926E-03
   3  Prefactor     7.0239        7.5187        .75686E-03    .19239E-03
   4  Prefactor     .10000E-03    50.345        .18142E-02** at limit **
   5  Prefactor     1.8488        49.062        .30812E-03   -.11173E-03
   6  norm          .10000E-03    5.7766        .18142E-02** at limit **
   7  Prefactor     .79962E-01    15.893        .60882E-01    .24087E-03
   8  Prefactor     92.988        65.598        .41683E-04    .39056E-04
   9  Prefactor     .10000E-03    33.449        .18142E-02** at limit **
  10  Prefactor     .10000E-03    7.0397        .18142E-02** at limit **
  11  norm          3.3537        1.6610        .67729E-04   -.14514E-02
  12  Prefactor     .10025E-03    68.951        .29737E-02** at limit **
  13  Prefactor     2.8975        3.7810        .16008E-03   -.45161E-03
  14  Prefactor     23.061        11.096        .83413E-04   -.36390E-04
  15  Prefactor     3.7613        5.6708        .20822E-03   -.34005E-03
  16  norm          1.0809        .50616        .37006E-04   -.18021E-02
  17  Prefactor     .10002E-03    18.994        .35932E-02** at limit **
  18  Prefactor     7.1117        25.264        .15045E-03   -.51911E-04
  19  Normalizat    .70946        .23034        .30919E-03   -.46790E-03
  20  Prefactor     1.2072        .18551        .21186E-03   -.28700E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.21924
  norm       = 1.23195
  Prefactor  = 7.02393
  Prefactor  = 0.000100001
  Prefactor  = 1.84882
  norm       = 0.0001
  Prefactor  = 0.0799624
  Prefactor  = 92.9881
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.35366
  Prefactor  = 0.000100252
  Prefactor  = 2.89746
  Prefactor  = 23.0607
  Prefactor  = 3.76129
  norm       = 1.08088
  Prefactor  = 0.000100018
  Prefactor  = 7.11171
  Normalizat = 0.709459
  Prefactor  = 1.20716
 **********
 **   18 **HESSE 
 **********

 FCN=   6144.248     FROM HESSE     STATUS=OK           281 CALLS     2720 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2192        1.2555        .25205E-05   -1.5410    
   2  norm          1.2320        .65349        .17663E-05   -1.5486    
   3  Prefactor     7.0239        7.5122        .30275E-04   -1.5178    
   4  Prefactor     .10000E-03    50.355        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8488        49.050        .12325E-04   -1.5436    
   6  norm          .10000E-03    5.7768        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79962E-01    12.331        .70643E-01   -1.5651    
   8  Prefactor     92.988        65.247        .83366E-05   -1.3776    
   9  Prefactor     .10000E-03    33.450        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.0398        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.3537        1.6605        .27092E-05   -1.5342    
  12  Prefactor     .10025E-03    70.649        .11895E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8975        3.7798        .64032E-05   -1.5368    
  14  Prefactor     23.061        11.096        .33365E-05   -1.4747    
  15  Prefactor     3.7613        5.6698        .83286E-05   -1.5320    
  16  norm          1.0809        .50536        .14803E-05   -1.5500    
  17  Prefactor     .10002E-03    19.142        .71864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.1117        25.257        .60182E-05   -1.5175    
  19  Normalizat    .70946        .23039        .12367E-04   -1.0352    
  20  Prefactor     1.2072        .18563        .42372E-04   -.86111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00454e-09
Minuit parameter uncertainties:
  1  1.25555
  2  0.65349
  3  7.51324
  4  0.000472667
  5  19.0625
  6  2.74336e-05
  7  1.98517
  8  65.2972
  9  8.0747e-06
  10  2.43029e-05
  11  1.66054
  12  0.00844725
  13  3.78012
  14  11.0965
  15  5.67057
  16  0.505364
  17  0.00117555
  18  25.295
  19  0.2307
  20  0.185734
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  2.430e-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.207e+00  1.857e-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.095e-01  2.307e-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: 5.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/820233/likelihoodResults_469756801_470016001_4FGL_J1019.7+0511_daily_bin889.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) = 6144.24917034
delta logL = -0.000673854517117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6144.24849701
delta logL = -5.21717993252e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10507E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9767       1.0000          .0000       10.000    
     3 'Normalizat'    .70962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2070       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=   6144.248     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.285        .90712E-02** at limit **
   2  Index         1.9568        6.0568        .50000        .21491E-04
   3  Normalizat    .70946        .10632E-01    .69866E-01    .18116E-04
   4  Prefactor     1.2072        .93145E-02    .34467E-01   -.91224E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.95676
  Normalizat = 0.709464
  Prefactor  = 1.20716
 **********
 **   18 **HESSE 
 **********

 FCN=   6144.248     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      237 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    460.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9568        5.1603        .50000       -.65435    
   3  Normalizat    .70946        .39807E-01    .30919E-03   -1.0352    
   4  Prefactor     1.2072        .34941E-01    .21186E-03   -.86111    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.49537e-08
Minuit parameter uncertainties:
  1  0.000213511
  2  31.8666
  3  0.039809
  4  0.034942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820233': 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) = 6144.24849626
delta logL = 2.26797055802e-07

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  2.135e-04  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  1.957e+00  3.187e+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.207e+00  3.494e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  7.095e-01  3.981e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.942 5.191

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/820233/cmap_HighResolution_469756801_470016001_4FGL_J1019.7+0511_daily_bin889.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-03', job_status='DONE', photon_flux_upper_limit='5.16e-08', time_completed='2021-09-01 18:34:20.494020', job_id='820233', GAL2='1.21', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1630546460.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='2.27e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='889' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:34:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 820233: <4FGL_J1019.7+0511_daily_bin889> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin889> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 18:20:40 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 18:20:42 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:20:42 2021
Terminated at Wed Sep  1 18:34:21 2021
Results reported at Wed Sep  1 18:34:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin889 154.942 5.1905 469756801 470016001 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 :                                   586.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             254.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            821 sec.

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

