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


Performing analysis on: 4FGL_J0856.6-1105_daily_bin713
RA = 134.17, Dec = -11.0993
tmin = 424137601, tmax = 424396801
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='871084', job_status='RUN', time_executed='2021-08-30 17:21:12.693430', time_epoch_executed='1630369272.69' WHERE source_name='4FGL J0856.6-1105' and cadence='daily' and bin_id='713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/871084

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/871084/ft1_4FGL_J0856.6-1105_daily_bin713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/871084/ft1_4FGL_J0856.6-1105_daily_bin713.fits outfile=/scratch/kocevski/871084/ft1_filteredMKT_4FGL_J0856.6-1105_daily_bin713.fits ra=134.17 dec=-11.0993 rad=12.0 tmin=424137601.0 tmax=424396801.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.17
user 4.89
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.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/871084/ft1_filteredMKT_4FGL_J0856.6-1105_daily_bin713.fits evtable="EVENTS" outfile="/scratch/kocevski/871084/ft1_filtered_4FGL_J0856.6-1105_daily_bin713.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.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/871084/ft1_filtered_4FGL_J0856.6-1105_daily_bin713.fits" evtable="EVENTS" scfile=/scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits sctable="SC_DATA" outfile=/scratch/kocevski/871084/ltcube_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.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/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits
.....................!
real 11.49
user 11.17
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/871084/ft1_filtered_4FGL_J0856.6-1105_daily_bin713.fits evtable="EVENTS" scfile=/scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits sctable="SC_DATA" expcube=/scratch/kocevski/871084/ltcube_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.fits outfile=/scratch/kocevski/871084/expmap_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.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/871084/ltcube_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.fits
.....................!
real 189.78
user 185.54
sys 3.84

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0856.6-1105 @ 134.17 -11.0993

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/871084/ft1_filtered_4FGL_J0856.6-1105_daily_bin713.fits scfile=/scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits outfile=/scratch/kocevski/871084/cmap_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.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=134.17 yref=-11.0993 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/871084/ft1_filtered_4FGL_J0856.6-1105_daily_bin713.fits scfile=/scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits outfile=/scratch/kocevski/871084/cmap_HighResolution_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.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=134.17 yref=-11.0993 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.49
user 0.38
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/871084/ft1_filtered_4FGL_J0856.6-1105_daily_bin713.fits evtable="EVENTS" scfile=/scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/871084/Model_4FGL_J0856.6-1105_daily_bin713.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/871084/ft1_filtered_4FGL_J0856.6-1105_daily_bin713.fits.....................!
real 78.17
user 76.23
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/871084/ft1_filtered_4FGL_J0856.6-1105_daily_bin713.fits', '/scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits', expMap='/scratch/kocevski/871084/expmap_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.fits', expCube='/scratch/kocevski/871084/ltcube_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/871084/Model_4FGL_J0856.6-1105_daily_bin713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0856.6-1105'

4FGL J0856.6-1105
   Spectrum: LogParabola
298         norm:  2.376e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  1.949e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
300         beta:  6.681e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  1.043e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/871084/ft1_filtered_4FGL_J0856.6-1105_daily_bin713.fits
Spacecraft file(s): /scratch/kocevski/871084/ft2_4FGL_J0856.6-1105_daily_bin713.fits
Exposure map: /scratch/kocevski/871084/expmap_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.fits
Exposure cube: /scratch/kocevski/871084/ltcube_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/871084/Model_4FGL_J0856.6-1105_daily_bin713.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) = 6618.07788206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6699       1.0000         .10000E-03   10000.    
     3 'norm      '    8.8724       1.0000         .10000E-03   10000.    
     4 'norm      '    1.7870       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.3308       1.0000         .10000E-03   10000.    
     7 'norm      '    3.7944       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.297       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.984       1.0000         .10000E-03   10000.    
    11 'norm      '    5.5530       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .41258E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11863E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    51.989       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    20.369       1.0000         .10000E-03   10000.    
    17 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2859       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90836       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6618.073     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     2227 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.6220        .90712E-02** at limit **
   2  Prefactor     7.6697        5.7168        .36199E-02    .36265E-03
   3  norm          8.8743        18.525        .33641E-02   -.31822E-03
   4  norm          1.7872        6.9278        .78240E-02    .78957E-03
   5  Prefactor     .10001E-03    102.90        .90712E-02** at limit **
   6  norm          1.3344        18.338        .95167E-02    .57193E-03
   7  norm          3.7924        4.7428        .51807E-02    .45859E-03
   8  Prefactor     11.299        6.8352        .29798E-02    .23851E-03
   9  Prefactor     .10000E-03    21.300        .90712E-02** at limit **
  10  Prefactor     15.983        13.239        .25045E-02   -.90283E-04
  11  norm          5.5528        5.3220        .42623E-02    .92968E-04
  12  Prefactor     .10256E-03    13.800        .97279E-01** at limit **
  13  Prefactor     .12795E-03    29.719        .15161    ** at limit **
  14  Prefactor     51.987        40.531        .13906E-02    .16330E-03
  15  Prefactor     .10000E-03    41.686        .90712E-02** at limit **
  16  norm          20.368        9.1377        .22187E-02    .18461E-03
  17  norm          .10000E-03    2.2391        .46659E-01** at limit **
  18  Normalizat    1.2862        .23869        .71508E-01   -.12508E-04
  19  Prefactor     .90820        .13074        .45111E-01   -.20989E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.66972
  norm       = 8.8743
  norm       = 1.78718
  Prefactor  = 0.000100011
  norm       = 1.33436
  norm       = 3.79242
  Prefactor  = 11.2987
  Prefactor  = 0.0001
  Prefactor  = 15.9835
  norm       = 5.55283
  Prefactor  = 0.000102556
  Prefactor  = 0.000127952
  Prefactor  = 51.9866
  Prefactor  = 0.0001
  norm       = 20.3685
  norm       = 0.0001
  Normalizat = 1.28616
  Prefactor  = 0.908201
 **********
 **   18 **HESSE 
 **********

 FCN=   6618.073     FROM HESSE     STATUS=OK           292 CALLS     2519 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.6502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.6697        5.7188        .14480E-03   -1.5154    
   3  norm          8.8743        18.526        .13456E-03   -1.5112    
   4  norm          1.7872        6.9119        .31296E-03   -1.5441    
   5  Prefactor     .10001E-03    104.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.3344        17.821        .38067E-03   -1.5477    
   7  norm          3.7924        4.6402        .17637E-03   -1.5318    
   8  Prefactor     11.299        6.8421        .11919E-03   -1.5036    
   9  Prefactor     .10000E-03    21.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.983        13.263        .10018E-03   -1.4908    
  11  norm          5.5528        5.3237        .17049E-03   -1.5237    
  12  Prefactor     .10256E-03    13.888        .96957E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12795E-03    31.798        .14349       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     51.987        40.789        .55623E-04   -1.4265    
  15  Prefactor     .10000E-03    41.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          20.368        9.1357        .88747E-04   -1.4805    
  17  norm          .10000E-03    4.7746        .23704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2862        .28483        .31641E-03   -.83980    
  19  Prefactor     .90820        .15581        .20695E-03   -.95855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13253e-09
Minuit parameter uncertainties:
  1  1.73465e-06
  2  5.71923
  3  18.538
  4  6.91497
  5  0.00210581
  6  9.75618
  7  4.64065
  8  6.84259
  9  1.43399e-05
  10  13.2658
  11  5.32418
  12  0.0119183
  13  0.0596586
  14  40.8108
  15  7.8302e-05
  16  9.13629
  17  7.94053e-07
  18  0.285174
  19  0.155891
Done.

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

Extracting fit parameters...

4FGL J0856.6-1105
   Spectrum: LogParabola
298         norm:  3.792e+00  4.641e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  1.949e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
300         beta:  6.681e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  1.043e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  9.082e-01  1.559e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.286e+00  2.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.95
Ra Dec: 134.170 -11.099
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/871084/likelihoodResults_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.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) = 6617.35055204
delta logL = 0.722368916434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6617.33469735
delta logL = 0.73822361044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2040       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7215       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2322       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6617.335     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      214 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2094        49.942        .56588E-02    .14141E-02
   2  alpha         2.7201        3.8532        .31051        .16070E-03
   3  Normalizat    1.2323        .80930E-01    .72764E-01    .74969E-04
   4  Prefactor     .92238        .43742E-01    .45290E-01    .63858E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.20942
  alpha      = 2.72014
  Normalizat = 1.23229
  Prefactor  = 0.922383
 **********
 **   18 **HESSE 
 **********

 FCN=   6617.335     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2094        3.8055        .10388E-03   -1.5350    
   2  alpha         2.7201        .69333        .11397E-01    .88171E-01
   3  Normalizat    1.2323        .27205        .32200E-03   -.85611    
   4  Prefactor     .92238        .15111        .20538E-03   -.95363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98426e-10
Minuit parameter uncertainties:
  1  3.80582
  2  0.702618
  3  0.272369
  4  0.151174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/871084': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6617.33469505
delta logL = 0.738225907368

Extracting fit parameters...

4FGL J0856.6-1105
   Spectrum: LogParabola
298         norm:  3.209e+00  3.806e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  2.720e+00  7.026e-01  0.000e+00  5.000e+00 ( 1.000e+00)
300         beta:  6.681e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  1.043e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  9.224e-01  1.512e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.232e+00  2.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.45
Ra Dec: 134.170 -11.099
Photon Index (Free Index): 2.72 +/- 0.70
Photon Flux (Free Index): 8.77e-08 +/- 7.08e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.75e-05

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/871084/cmap_HighResolution_424137601_424396801_4FGL_J0856.6-1105_daily_bin713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.99e-05', comment='SUCCESS', energy_flux2='2.21e-05', dlogl='7.38e-01', photon_flux2='8.77e-08', job_status='DONE', time_completed='2021-08-30 17:31:39.304587', photon_index_error2='0.70', photon_index2='2.72', ts='0.95', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='1.75e-05', EG='1.29', time_epoch_completed='1630369899.3', return_code='0', job_id='871084', GAL2='0.92', EG2='1.23', return_code2='0', photon_flux_error2='7.08e-08', ts2='2.45', photon_index='1.95' WHERE bin_id='713' AND source_name='4FGL J0856.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 17:31:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 871084: <4FGL_J0856.6-1105_daily_bin713> in cluster <slac> Done

Job <4FGL_J0856.6-1105_daily_bin713> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 17:20:47 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 17:20:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 17:20:48 2021
Terminated at Mon Aug 30 17:31:39 2021
Results reported at Mon Aug 30 17:31:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0856.6-1105_daily_bin713 134.17 -11.0993 424137601 424396801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0856.6-1105 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   616.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            652 sec.

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

