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


Performing analysis on: 4FGL_J0856.6-1105_daily_bin75
RA = 134.17, Dec = -11.0993
tmin = 258768001, tmax = 259027201
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='867473', job_status='RUN', time_executed='2021-08-30 17:12:02.600989', time_epoch_executed='1630368722.6' WHERE source_name='4FGL J0856.6-1105' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867473

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867473/ft1_4FGL_J0856.6-1105_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867473/ft2_4FGL_J0856.6-1105_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867473/ft1_4FGL_J0856.6-1105_daily_bin75.fits outfile=/scratch/kocevski/867473/ft1_filteredMKT_4FGL_J0856.6-1105_daily_bin75.fits ra=134.17 dec=-11.0993 rad=12.0 tmin=258768001.0 tmax=259027201.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.13
user 0.96
sys 0.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867473/ft2_4FGL_J0856.6-1105_daily_bin75.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/867473/ft1_filteredMKT_4FGL_J0856.6-1105_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/867473/ft1_filtered_4FGL_J0856.6-1105_daily_bin75.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.78
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867473/ft1_filtered_4FGL_J0856.6-1105_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/867473/ft2_4FGL_J0856.6-1105_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/867473/ltcube_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.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/867473/ft2_4FGL_J0856.6-1105_daily_bin75.fits
.....................!
real 9.10
user 8.58
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867473/ft1_filtered_4FGL_J0856.6-1105_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/867473/ft2_4FGL_J0856.6-1105_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/867473/ltcube_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.fits outfile=/scratch/kocevski/867473/expmap_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.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/867473/ltcube_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.fits
.....................!
real 197.10
user 188.33
sys 5.89

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/867473/ft1_filtered_4FGL_J0856.6-1105_daily_bin75.fits scfile=/scratch/kocevski/867473/ft2_4FGL_J0856.6-1105_daily_bin75.fits outfile=/scratch/kocevski/867473/cmap_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.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.74
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867473/ft1_filtered_4FGL_J0856.6-1105_daily_bin75.fits scfile=/scratch/kocevski/867473/ft2_4FGL_J0856.6-1105_daily_bin75.fits outfile=/scratch/kocevski/867473/cmap_HighResolution_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.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.62
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867473/ft1_filtered_4FGL_J0856.6-1105_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/867473/ft2_4FGL_J0856.6-1105_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867473/Model_4FGL_J0856.6-1105_daily_bin75.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/867473/ft1_filtered_4FGL_J0856.6-1105_daily_bin75.fits.....................!
real 58.52
user 54.47
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/867473/ft1_filtered_4FGL_J0856.6-1105_daily_bin75.fits', '/scratch/kocevski/867473/ft2_4FGL_J0856.6-1105_daily_bin75.fits', expMap='/scratch/kocevski/867473/expmap_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.fits', expCube='/scratch/kocevski/867473/ltcube_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/867473/Model_4FGL_J0856.6-1105_daily_bin75.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/867473/ft1_filtered_4FGL_J0856.6-1105_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/867473/ft2_4FGL_J0856.6-1105_daily_bin75.fits
Exposure map: /scratch/kocevski/867473/expmap_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.fits
Exposure cube: /scratch/kocevski/867473/ltcube_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/867473/Model_4FGL_J0856.6-1105_daily_bin75.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .61938       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.6858       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10487E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    79.374       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8918       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.5287       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .67366       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1283       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4587.073     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     1649 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1387       -.52548E-07** at limit **
   2  Prefactor     .61986        2.8583        .19329E-05    .67864E-03
   3  norm          .10000E-03    7.5397       -.35000E-07** at limit **
   4  norm          5.6868        9.4047        .62211E-06    .14374E-04
   5  Prefactor     .10000E-03    83.811       -.24759E-05** at limit **
   6  norm          .10000E-03    4.4967       -.10129E-06** at limit **
   7  norm          .10000E-03    2.1399       -.10226E-06** at limit **
   8  Prefactor     .10351E-03    8.3346        .27617E-05** at limit **
   9  Prefactor     .10000E-03    6.8185       -.10200E-06** at limit **
  10  Prefactor     .10000E-03    6.0833        .12396E-06** at limit **
  11  norm          .10000E-03    3.4130        .38500E-06** at limit **
  12  Prefactor     79.433        38.005       -.22676E-06    .16295E-03
  13  Prefactor     2.7136        271.13        .14423E-04    .54099E-04
  14  Prefactor     .10000E-03    13.303        .47947E-07** at limit **
  15  Prefactor     .10000E-03    19.924       -.68488E-06** at limit **
  16  norm          2.5303        8.2969        .13508E-05    .12318E-03
  17  norm          .10000E-03    2.0705        .76884E-08** at limit **
  18  Normalizat    .67377        .23986       -.40183E-05   -.27867E-03
  19  Prefactor     1.1282        .14580        .11519E-05   -.50377E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.619859
  norm       = 0.0001
  norm       = 5.68683
  Prefactor  = 0.000100005
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000103506
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 79.433
  Prefactor  = 2.71359
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.53035
  norm       = 0.0001
  Normalizat = 0.673769
  Prefactor  = 1.12821
 **********
 **   18 **HESSE 
 **********

 FCN=   4587.073     FROM HESSE     STATUS=OK           262 CALLS     1911 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1453        .11718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61986        2.9101        .22897E-03   -1.5551    
   3  norm          .10000E-03    7.5440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.6868        9.4004        .16846E-03   -1.5231    
   5  Prefactor     .10000E-03    84.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.5074        .14022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.1635        .96660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10351E-03    84.255        .25094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.8355        .17268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.1411        .16315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.4273        .12228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     79.433        37.658        .45078E-04   -1.3923    
  13  Prefactor     2.7136        266.80        .23897E-03   -1.5378    
  14  Prefactor     .10000E-03    13.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    19.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.5303        8.3198        .25687E-03   -1.5390    
  17  norm          .10000E-03    2.0758        .95174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .67377        .26063        .34727E-03   -1.0494    
  19  Prefactor     1.1282        .15937        .17062E-03   -.88570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96082e-08
Minuit parameter uncertainties:
  1  3.01124e-06
  2  2.68616
  3  2.39751e-06
  4  9.40279
  5  0.00128171
  6  5.13447e-06
  7  2.89206e-06
  8  0.034424
  9  5.54449e-06
  10  1.84904e-05
  11  2.97443e-05
  12  37.6693
  13  54.0629
  14  8.71371e-06
  15  0.000131306
  16  8.3236
  17  5.57077e-07
  18  0.261107
  19  0.159436
Done.

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

Extracting fit parameters...

4FGL J0856.6-1105
   Spectrum: LogParabola
298         norm:  1.000e-04  2.892e-06  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:  1.128e+00  1.594e-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:  6.738e-01  2.611e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 134.170 -11.099
Photon Flux Upper Limit: 6.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/867473/likelihoodResults_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.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) = 4587.07554003
delta logL = -0.00219411380567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4586.95180189
delta logL = 0.121544032489

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39733E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.4156       1.0000          .0000       5.0000    
     3 'Normalizat'    .63680       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1408       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4586.952     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      341 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39558E-01    8.9686        .27156E-04   -.58107E-03
   2  alpha         4.4174        4.7059        .11939E-01   -.35061E-05
   3  Normalizat    .63687        .25033        .35685E-03   -.29724E-04
   4  Prefactor     1.1408        .15164        .16980E-03   -.49746E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0395583
  alpha      = 4.4174
  Normalizat = 0.636872
  Prefactor  = 1.14082
 **********
 **   18 **HESSE 
 **********

 FCN=   4586.952     FROM HESSE     STATUS=OK            25 CALLS      366 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39558E-01    .47956        .10863E-05   -1.5668    
   2  alpha         4.4174        4.6035        .47756E-03    .87409    
   3  Normalizat    .63687        .25867        .14274E-04   -1.0644    
   4  Prefactor     1.1408        .15782        .67921E-05   -.88172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.00971e-12
Minuit parameter uncertainties:
  1  0.27512
  2  3.25941
  3  0.259165
  4  0.157882
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867473': 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) = 4586.95180133
delta logL = 0.121544587439

Extracting fit parameters...

4FGL J0856.6-1105
   Spectrum: LogParabola
298         norm:  3.956e-02  2.751e-01  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  4.417e+00  3.259e+00  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:  1.141e+00  1.579e-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:  6.369e-01  2.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 134.170 -11.099

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/867473/cmap_HighResolution_258768001_259027201_4FGL_J0856.6-1105_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.76e-05', job_status='DONE', photon_flux_upper_limit='6.93e-08', time_completed='2021-08-30 17:20:24.555933', job_id='867473', GAL2='1.14', fit_tolerance='1e-08', EG2='0.64', EG='0.67', time_epoch_completed='1630369224.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.22e-01', ts2='0.27', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='75' AND source_name='4FGL J0856.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 17:20:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 867473: <4FGL_J0856.6-1105_daily_bin75> in cluster <slac> Done

Job <4FGL_J0856.6-1105_daily_bin75> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug 30 17:10:25 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 17:10:27 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:10:27 2021
Terminated at Mon Aug 30 17:20:25 2021
Results reported at Mon Aug 30 17:20:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0856.6-1105_daily_bin75 134.17 -11.0993 258768001 259027201 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 :                                   491.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            600 sec.

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

