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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin6
RA = 154.942, Dec = 5.1905
tmin = 240883201, tmax = 241142401
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='816929', job_status='RUN', time_executed='2021-09-01 18:10:40.258379', time_epoch_executed='1630545040.26' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='6'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816929

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816929/ft1_4FGL_J1019.7+0511_daily_bin6.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816929/ft2_4FGL_J1019.7+0511_daily_bin6.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816929/ft1_4FGL_J1019.7+0511_daily_bin6.fits outfile=/scratch/kocevski/816929/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin6.fits ra=154.942 dec=5.1905 rad=12.0 tmin=240883201.0 tmax=241142401.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.94
user 1.33
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/816929/ft2_4FGL_J1019.7+0511_daily_bin6.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/816929/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin6.fits evtable="EVENTS" outfile="/scratch/kocevski/816929/ft1_filtered_4FGL_J1019.7+0511_daily_bin6.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816929/ft1_filtered_4FGL_J1019.7+0511_daily_bin6.fits" evtable="EVENTS" scfile=/scratch/kocevski/816929/ft2_4FGL_J1019.7+0511_daily_bin6.fits sctable="SC_DATA" outfile=/scratch/kocevski/816929/ltcube_240883201_241142401_4FGL_J1019.7+0511_daily_bin6.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/816929/ft2_4FGL_J1019.7+0511_daily_bin6.fits
.....................!
real 18.58
user 17.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816929/ft1_filtered_4FGL_J1019.7+0511_daily_bin6.fits evtable="EVENTS" scfile=/scratch/kocevski/816929/ft2_4FGL_J1019.7+0511_daily_bin6.fits sctable="SC_DATA" expcube=/scratch/kocevski/816929/ltcube_240883201_241142401_4FGL_J1019.7+0511_daily_bin6.fits outfile=/scratch/kocevski/816929/expmap_240883201_241142401_4FGL_J1019.7+0511_daily_bin6.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/816929/ltcube_240883201_241142401_4FGL_J1019.7+0511_daily_bin6.fits
.....................!
real 192.05
user 186.28
sys 5.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/816929/ft1_filtered_4FGL_J1019.7+0511_daily_bin6.fits scfile=/scratch/kocevski/816929/ft2_4FGL_J1019.7+0511_daily_bin6.fits outfile=/scratch/kocevski/816929/cmap_240883201_241142401_4FGL_J1019.7+0511_daily_bin6.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816929/ft1_filtered_4FGL_J1019.7+0511_daily_bin6.fits scfile=/scratch/kocevski/816929/ft2_4FGL_J1019.7+0511_daily_bin6.fits outfile=/scratch/kocevski/816929/cmap_HighResolution_240883201_241142401_4FGL_J1019.7+0511_daily_bin6.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/816929/ft1_filtered_4FGL_J1019.7+0511_daily_bin6.fits evtable="EVENTS" scfile=/scratch/kocevski/816929/ft2_4FGL_J1019.7+0511_daily_bin6.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/816929/Model_4FGL_J1019.7+0511_daily_bin6.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/816929/ft1_filtered_4FGL_J1019.7+0511_daily_bin6.fits....................!
real 71.99
user 70.53
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .79821       1.0000         .10000E-03   10000.    
     2 'norm      '    .76210       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.004       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    26.504       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2443       1.0000         .10000E-03   10000.    
     8 'Prefactor '    111.18       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21772E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7374       1.0000         .10000E-03   10000.    
    11 'norm      '    .10667E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .52235E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7122       1.0000         .10000E-03   10000.    
    16 'norm      '    .35188       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.0020       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .46665E-01   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4421       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1602       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=   7468.020     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2214 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79948        1.4948        .23267E-06   -.39437E-03
   2  norm          .76243        .66696        .48621E-07   -.32456E-03
   3  Prefactor     12.018        17.907        .10669E-05    .38171E-03
   4  Prefactor     .10000E-03    16.356        .62248E-07** at limit **
   5  Prefactor     .10000E-03    9.6002       -.62224E-08** at limit **
   6  norm          26.505        29.329        .39753E-05    .45615E-03
   7  Prefactor     6.2515        13.214       -.23861E-05   -.33414E-03
   8  Prefactor     111.11        79.836       -.64995E-05   -.30804E-03
   9  Prefactor     .10000E-03    98.906       -.28468E-05** at limit **
  10  Prefactor     4.7407        28.052        .37520E-05    .78303E-04
  11  norm          .10000E-03    .51915        .31684E-07** at limit **
  12  Prefactor     .10000E-03    2.7990        .29640E-07** at limit **
  13  Prefactor     .10000E-03    1.3940       -.46252E-07** at limit **
  14  Prefactor     .15721        5.2847        .35022E-06   -.22304E-03
  15  Prefactor     3.7259        8.4479       -.38097E-06   -.58145E-04
  16  norm          .35181        .66182       -.12689E-05   -.21866E-02
  17  Prefactor     6.0074        10.152        .65846E-05   -.11167E-02
  18  Prefactor     .10426E-03    15.383        .11452E-05** at limit **
  19  Normalizat    1.4406        .21285        .13814E-05   -.12245E-03
  20  Prefactor     1.1612        .16823       -.13064E-05    .93638E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.799477
  norm       = 0.762429
  Prefactor  = 12.0177
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 26.5054
  Prefactor  = 6.25146
  Prefactor  = 111.108
  Prefactor  = 0.0001
  Prefactor  = 4.7407
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.157211
  Prefactor  = 3.72586
  norm       = 0.351808
  Prefactor  = 6.00739
  Prefactor  = 0.000104258
  Normalizat = 1.44063
  Prefactor  = 1.16119
 **********
 **   18 **HESSE 
 **********

 FCN=   7468.020     FROM HESSE     STATUS=OK           311 CALLS     2525 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79948        1.4774        .13541E-03   -1.5529    
   2  norm          .76243        .64461        .62291E-03   -1.5533    
   3  Prefactor     12.018        17.938        .11562E-03   -1.5014    
   4  Prefactor     .10000E-03    16.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.6058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          26.505        30.023        .77814E-04   -1.4678    
   7  Prefactor     6.2515        13.253        .16064E-03   -1.5208    
   8  Prefactor     111.11        83.007        .38148E-04   -1.3596    
   9  Prefactor     .10000E-03    98.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.7407        27.792        .18487E-03   -1.5272    
  11  norm          .10000E-03    6.3282        .12029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.8287        .14115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.4154        .99483E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .15721        53.019        .38406E-02   -1.5629    
  15  Prefactor     3.7259        8.4314        .20959E-03   -1.5322    
  16  norm          .35181        .65535        .69505E-03   -1.5589    
  17  Prefactor     6.0074        10.735        .81948E-03   -1.5218    
  18  Prefactor     .10426E-03    18.341        .10157       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4406        .25548        .27852E-03   -.79461    
  20  Prefactor     1.1612        .20211        .25753E-03   -.87534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.93799e-09
Minuit parameter uncertainties:
  1  1.47744
  2  0.644614
  3  17.9457
  4  5.51084e-06
  5  3.76736e-06
  6  30.0405
  7  13.2595
  8  83.0944
  9  6.3627e-05
  10  22.9726
  11  5.58841e-07
  12  9.23501e-09
  13  4.01897e-06
  14  5.77747
  15  8.43405
  16  0.655368
  17  10.7389
  18  0.0176803
  19  0.255706
  20  0.202247
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  4.741e+00  2.297e+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:  1.161e+00  2.022e-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.441e+00  2.557e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/816929/likelihoodResults_240883201_241142401_4FGL_J1019.7+0511_daily_bin6.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) = 7467.92098622
delta logL = 0.0987498881886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7467.91397577
delta logL = 0.105760340463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4934       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6843       1.0000          .0000       10.000    
     3 'Normalizat'    1.4206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1692       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=   7467.914     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      299 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4819        224.10        .64711E-02    .90383E-03
   2  Index         2.6873        6.3182        .73634E-01    .27039E-03
   3  Normalizat    1.4200        .65199E-01    .63314E-01   -.20631E-04
   4  Prefactor     1.1694        .50757E-01    .58039E-01   -.39100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.48186
  Index      = 2.68731
  Normalizat = 1.42002
  Prefactor  = 1.1694
 **********
 **   18 **HESSE 
 **********

 FCN=   7467.914     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      332 TOTAL
                     EDM=   .58E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4819        440.95        .25382E-03   -1.5393    
   2  Index         2.6873        5.0093        .10388E-01   -.48086    
   3  Normalizat    1.4200        .22267        .28004E-03   -.80051    
   4  Prefactor     1.1694        .16860        .25666E-03   -.87278    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.76989e-06
Minuit parameter uncertainties:
  1  66.6661
  2  9.6447
  3  0.222824
  4  0.168673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816929': 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) = 7467.91397085
delta logL = 0.105765265054

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  2.482e+00  6.667e+01  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  2.687e+00  9.645e+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.169e+00  1.687e-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.420e+00  2.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 154.942 5.191

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/816929/cmap_HighResolution_240883201_241142401_4FGL_J1019.7+0511_daily_bin6.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2021-09-01 18:21:35.744132', job_id='816929', GAL2='1.17', fit_tolerance='1e-08', EG2='1.42', EG='1.44', time_epoch_completed='1630545695.74', return_code2='102', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.06e-01', ts2='0.29', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='6' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:21:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 816929: <4FGL_J1019.7+0511_daily_bin6> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin6> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 18:10:26 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 18:10:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 18:10:27 2021
Terminated at Wed Sep  1 18:21:36 2021
Results reported at Wed Sep  1 18:21:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin6 154.942 5.1905 240883201 241142401 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 :                                   646.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            670 sec.

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

