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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin81
RA = 154.942, Dec = 5.1905
tmin = 260323201, tmax = 260582401
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='817037', job_status='RUN', time_executed='2021-09-01 18:14:32.306554', time_epoch_executed='1630545272.31' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='81'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817037

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817037/ft1_4FGL_J1019.7+0511_daily_bin81.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817037/ft2_4FGL_J1019.7+0511_daily_bin81.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817037/ft1_4FGL_J1019.7+0511_daily_bin81.fits outfile=/scratch/kocevski/817037/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin81.fits ra=154.942 dec=5.1905 rad=12.0 tmin=260323201.0 tmax=260582401.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.53
user 1.33
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/817037/ft1_filtered_4FGL_J1019.7+0511_daily_bin81.fits" evtable="EVENTS" scfile=/scratch/kocevski/817037/ft2_4FGL_J1019.7+0511_daily_bin81.fits sctable="SC_DATA" outfile=/scratch/kocevski/817037/ltcube_260323201_260582401_4FGL_J1019.7+0511_daily_bin81.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/817037/ft2_4FGL_J1019.7+0511_daily_bin81.fits
.....................!
real 14.78
user 14.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817037/ft1_filtered_4FGL_J1019.7+0511_daily_bin81.fits evtable="EVENTS" scfile=/scratch/kocevski/817037/ft2_4FGL_J1019.7+0511_daily_bin81.fits sctable="SC_DATA" expcube=/scratch/kocevski/817037/ltcube_260323201_260582401_4FGL_J1019.7+0511_daily_bin81.fits outfile=/scratch/kocevski/817037/expmap_260323201_260582401_4FGL_J1019.7+0511_daily_bin81.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/817037/ltcube_260323201_260582401_4FGL_J1019.7+0511_daily_bin81.fits
.....................!
real 193.66
user 187.54
sys 5.71

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/817037/ft1_filtered_4FGL_J1019.7+0511_daily_bin81.fits scfile=/scratch/kocevski/817037/ft2_4FGL_J1019.7+0511_daily_bin81.fits outfile=/scratch/kocevski/817037/cmap_260323201_260582401_4FGL_J1019.7+0511_daily_bin81.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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/817037/ft1_filtered_4FGL_J1019.7+0511_daily_bin81.fits scfile=/scratch/kocevski/817037/ft2_4FGL_J1019.7+0511_daily_bin81.fits outfile=/scratch/kocevski/817037/cmap_HighResolution_260323201_260582401_4FGL_J1019.7+0511_daily_bin81.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817037/ft1_filtered_4FGL_J1019.7+0511_daily_bin81.fits evtable="EVENTS" scfile=/scratch/kocevski/817037/ft2_4FGL_J1019.7+0511_daily_bin81.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817037/Model_4FGL_J1019.7+0511_daily_bin81.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/817037/ft1_filtered_4FGL_J1019.7+0511_daily_bin81.fits.....................!
real 81.73
user 80.17
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.7797       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .33806E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.307       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10320E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.547       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.7688       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.474       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.003       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10768E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .13381       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11174E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8468       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8032       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .77791       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1549       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1582       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91365       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=   8829.582     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2045 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .29552        .45382E-07** at limit **
   2  norm          2.7796        .65704        .65662E-08   -.19978E-03
   3  Prefactor     .10000E-03    14.279        .18783E-05** at limit **
   4  Prefactor     31.291        34.176        .22481E-05   -.48964E-04
   5  Prefactor     .10000E-03    16.145       -.11379E-05** at limit **
   6  norm          13.568        11.530       -.56065E-06    .38577E-04
   7  Prefactor     8.7738        8.5406        .38331E-06   -.28500E-04
   8  Prefactor     16.481        24.432       -.61028E-06    .48299E-04
   9  Prefactor     35.008        33.527       -.33377E-06    .30018E-04
  10  Prefactor     .10000E-03    6.0202        .14488E-06** at limit **
  11  norm          .13334        .41931       -.47205E-07   -.45287E-03
  12  Prefactor     .10000E-03    2.4262       -.51958E-06** at limit **
  13  Prefactor     1.8466        1.9505        .69343E-07    .72172E-04
  14  Prefactor     3.8014        8.0711        .31500E-05   -.73076E-05
  15  Prefactor     .10000E-03    2.0173        .29185E-07** at limit **
  16  norm          .77743        .44180        .21144E-07    .13304E-03
  17  Prefactor     .10000E-03    3.4209        .20220E-07** at limit **
  18  Prefactor     2.1525        8.9951        .75561E-05   -.66521E-05
  19  Normalizat    1.1583        .15583       -.59372E-06    .20029E-03
  20  Prefactor     .91365        .12900       -.15833E-06    .12593E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.7796
  Prefactor  = 0.000100002
  Prefactor  = 31.2912
  Prefactor  = 0.000100001
  norm       = 13.5683
  Prefactor  = 8.77377
  Prefactor  = 16.4806
  Prefactor  = 35.0079
  Prefactor  = 0.0001
  norm       = 0.133336
  Prefactor  = 0.000100001
  Prefactor  = 1.84664
  Prefactor  = 3.80139
  Prefactor  = 0.0001
  norm       = 0.777432
  Prefactor  = 0.0001
  Prefactor  = 2.15247
  Normalizat = 1.15826
  Prefactor  = 0.913654
 **********
 **   18 **HESSE 
 **********

 FCN=   8829.582     FROM HESSE     STATUS=OK           301 CALLS     2346 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .30495        .99678E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.7796        .65636        .35420E-04   -1.5375    
   3  Prefactor     .10000E-03    15.060        .42677E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     31.291        34.188        .71611E-04   -1.4589    
   5  Prefactor     .10000E-03    16.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.568        11.528        .10883E-03   -1.4971    
   7  Prefactor     8.7738        8.5257        .13536E-03   -1.5115    
   8  Prefactor     16.481        24.431        .98678E-04   -1.4896    
   9  Prefactor     35.008        33.504        .67735E-04   -1.4524    
  10  Prefactor     .10000E-03    6.0303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .13334        .52430        .10374E-02   -1.5635    
  12  Prefactor     .10000E-03    11.290        .28055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.8466        1.9380        .12962E-03   -1.5436    
  14  Prefactor     3.8014        8.0871        .10349E-02   -1.5318    
  15  Prefactor     .10000E-03    2.0330        .13028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .77743        .42791        .45163E-03   -1.5532    
  17  Prefactor     .10000E-03    3.4389        .16940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1525        9.0065        .14032E-02   -1.5415    
  19  Normalizat    1.1583        .18314        .25236E-03   -.87903    
  20  Prefactor     .91365        .15164        .23747E-03   -.95666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0841e-08
Minuit parameter uncertainties:
  1  1.5178e-06
  2  0.656364
  3  0.000373501
  4  34.2098
  5  0.00019267
  6  11.53
  7  8.5269
  8  24.4455
  9  33.5216
  10  2.45698e-05
  11  0.524317
  12  0.000186671
  13  1.93809
  14  8.08944
  15  2.70251e-06
  16  0.427914
  17  1.55318e-06
  18  8.80802
  19  0.18324
  20  0.151715
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  2.457e-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:  9.137e-01  1.517e-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.158e+00  1.832e-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: 3.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/817037/likelihoodResults_260323201_260582401_4FGL_J1019.7+0511_daily_bin81.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) = 8829.58296153
delta logL = -0.000789430721852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8829.58217199
delta logL = 1.16449882626e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9783       1.0000          .0000       10.000    
     3 'Normalizat'    1.1583       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91365       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=   8829.582     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5612        .90712E-02** at limit **
   2  Index         1.9599        8.8501        .50000        .23075E-04
   3  Normalizat    1.1583        .19681E-02    .57067E-01   -.99005E-04
   4  Prefactor     .91366        .16747E-02    .45179E-01    .57725E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.95991
  Normalizat = 1.15826
  Prefactor  = 0.913655
 **********
 **   18 **HESSE 
 **********

 FCN=   8829.582     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9599        8.6045        .50000       -.65356    
   3  Normalizat    1.1583        .71412E-02    .25236E-03   -.87903    
   4  Prefactor     .91366        .60783E-02    .23747E-03   -.95666    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.60798e-07
Minuit parameter uncertainties:
  1  0.000383096
  2  63.6739
  3  0.0071412
  4  0.00607835
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817037': 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) = 8829.58217188
delta logL = 2.25292751566e-07

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.000e-04  3.831e-04  1.000e-04  1.000e+04 ( 1.000e-14)
226        Index:  1.960e+00  6.367e+01  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  9.137e-01  6.078e-03  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.158e+00  7.141e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/817037/cmap_HighResolution_260323201_260582401_4FGL_J1019.7+0511_daily_bin81.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.88e-03', job_status='DONE', photon_flux_upper_limit='3.84e-08', time_completed='2021-09-01 18:25:49.379672', job_id='817037', GAL2='0.91', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1630545949.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='81' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 18:25:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 817037: <4FGL_J1019.7+0511_daily_bin81> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin81 154.942 5.1905 260323201 260582401 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 :                                   676.24 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             275.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            917 sec.

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

