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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1137
RA = 121.3, Dec = -1.181
tmin = 534038401, tmax = 534297601
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='125864', job_status='RUN', time_executed='2021-08-29 01:46:34.921095', time_epoch_executed='1630226794.92' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1137'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/125864

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/125864/ft1_4FGL_J0805.2-0110_daily_bin1137.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/125864/ft1_4FGL_J0805.2-0110_daily_bin1137.fits outfile=/scratch/kocevski/125864/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1137.fits ra=121.3 dec=-1.181 rad=12.0 tmin=534038401.0 tmax=534297601.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.35
user 3.38
sys 1.51

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.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/125864/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1137.fits evtable="EVENTS" outfile="/scratch/kocevski/125864/ft1_filtered_4FGL_J0805.2-0110_daily_bin1137.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 2.79
user 0.32
sys 1.51

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/125864/ft1_filtered_4FGL_J0805.2-0110_daily_bin1137.fits" evtable="EVENTS" scfile=/scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits sctable="SC_DATA" outfile=/scratch/kocevski/125864/ltcube_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.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/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits
.....................!
real 14.04
user 11.55
sys 1.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/125864/ft1_filtered_4FGL_J0805.2-0110_daily_bin1137.fits evtable="EVENTS" scfile=/scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits sctable="SC_DATA" expcube=/scratch/kocevski/125864/ltcube_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.fits outfile=/scratch/kocevski/125864/expmap_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.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/125864/ltcube_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.fits
.....................!
real 200.55
user 185.15
sys 6.36

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

Setting source of interest to:
4FGL J0805.2-0110 @ 121.3 -1.181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/125864/ft1_filtered_4FGL_J0805.2-0110_daily_bin1137.fits scfile=/scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits outfile=/scratch/kocevski/125864/cmap_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.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=121.3 yref=-1.181 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 1.86
user 0.40
sys 1.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/125864/ft1_filtered_4FGL_J0805.2-0110_daily_bin1137.fits scfile=/scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits outfile=/scratch/kocevski/125864/cmap_HighResolution_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.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=121.3 yref=-1.181 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 1.95
user 0.39
sys 1.46

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/125864/ft1_filtered_4FGL_J0805.2-0110_daily_bin1137.fits evtable="EVENTS" scfile=/scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/125864/Model_4FGL_J0805.2-0110_daily_bin1137.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/125864/ft1_filtered_4FGL_J0805.2-0110_daily_bin1137.fits.....................!
real 93.96
user 88.13
sys 2.86

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/125864/ft1_filtered_4FGL_J0805.2-0110_daily_bin1137.fits', '/scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits', expMap='/scratch/kocevski/125864/expmap_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.fits', expCube='/scratch/kocevski/125864/ltcube_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/125864/Model_4FGL_J0805.2-0110_daily_bin1137.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.2-0110'

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  3.803e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.349e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/125864/ft1_filtered_4FGL_J0805.2-0110_daily_bin1137.fits
Spacecraft file(s): /scratch/kocevski/125864/ft2_4FGL_J0805.2-0110_daily_bin1137.fits
Exposure map: /scratch/kocevski/125864/expmap_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.fits
Exposure cube: /scratch/kocevski/125864/ltcube_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/125864/Model_4FGL_J0805.2-0110_daily_bin1137.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) = 6792.67026144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.356       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.594       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.323       1.0000         .10000E-03   10000.    
     5 'norm      '    2.5443       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.522       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .12699E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.3184       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.350       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.192       1.0000         .10000E-03   10000.    
    13 'norm      '    .77226E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.4211       1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.545       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0214       1.0000         .10000E-03   10000.    
    17 'norm      '    .30660E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.287       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.238       1.0000         .10000E-03   10000.    
    21 'norm      '    16.237       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .63407       1.0000         .10000E-03   10000.    
    24 'norm      '    8.6746       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .87074       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .85019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6792.669     FROM MIGRAD    STATUS=CONVERGED   1084 CALLS     3709 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.795        .18142E-02** at limit **
   2  Prefactor     11.355        9.1889        .11888E-03   -.49250E-04
   3  Prefactor     28.600        16.877        .74923E-04    .82698E-04
   4  Prefactor     19.315        39.153        .91115E-04   -.12353E-04
   5  norm          2.5442        1.7738        .86653E-04    .68879E-04
   6  Prefactor     14.525        16.081        .10511E-03    .37533E-04
   7  norm          .10000E-03    6.7282        .18142E-02** at limit **
   8  norm          .10000E-03    88.004        .36285E-03** at limit **
   9  norm          2.3178        4.4167        .11188E-02   -.12385E-03
  10  Prefactor     31.341        17.887        .71562E-04    .13418E-03
  11  Prefactor     .10000E-03    3.1383        .14239E-02** at limit **
  12  Prefactor     12.208        39.411        .11472E-03   -.72043E-04
  13  norm          .10020E-03    46.184        .36891E-02** at limit **
  14  norm          1.4212        1.9261        .12988E-03    .23966E-03
  15  Prefactor     24.544        12.527        .80854E-04    .25140E-03
  16  norm          1.0214        .85924        .69422E-03    .18508E-03
  17  norm          .10047E-03    270.26        .54421E-02** at limit **
  18  norm          .10000E-03    2.4403        .24636E-03** at limit **
  19  Prefactor     38.314        38.159        .64775E-04   -.82490E-05
  20  Prefactor     12.240        11.002        .11451E-03    .19281E-03
  21  norm          16.239        17.298        .99395E-04    .52912E-04
  22  Prefactor     .10000E-03    6.5236        .18142E-02** at limit **
  23  norm          .63406        .88882        .93078E-03   -.95218E-03
  24  norm          8.6754        7.4884        .13610E-03    .16489E-03
  25  Normalizat    .87063        .23156        .33679E-03    .43203E-03
  26  Prefactor     .85024        .11605        .17995E-03    .38265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 11.355
  Prefactor  = 28.6005
  Prefactor  = 19.3154
  norm       = 2.54421
  Prefactor  = 14.5253
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.31782
  Prefactor  = 31.3411
  Prefactor  = 0.0001
  Prefactor  = 12.2077
  norm       = 0.000100203
  norm       = 1.42115
  Prefactor  = 24.5442
  norm       = 1.02141
  norm       = 0.000100466
  norm       = 0.0001
  Prefactor  = 38.3145
  Prefactor  = 12.2398
  norm       = 16.2387
  Prefactor  = 0.0001
  norm       = 0.634063
  norm       = 8.67535
  Normalizat = 0.870627
  Prefactor  = 0.850243
 **********
 **   18 **HESSE 
 **********

 FCN=   6792.669     FROM HESSE     STATUS=OK           438 CALLS     4147 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.797        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.355        9.1889        .47552E-05   -1.5034    
   3  Prefactor     28.600        16.879        .29969E-05   -1.4638    
   4  Prefactor     19.315        39.146        .36446E-05   -1.4829    
   5  norm          2.5442        1.7737        .34661E-05   -1.5389    
   6  Prefactor     14.525        16.082        .42042E-05   -1.4946    
   7  norm          .10000E-03    6.7285        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    88.007        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3178        4.4128        .44752E-04   -1.5403    
  10  Prefactor     31.341        17.886        .14312E-04   -1.4588    
  11  Prefactor     .10000E-03    3.1385        .28478E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.208        39.276        .45889E-05   -1.5009    
  13  norm          .10020E-03    46.799        .73782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4212        1.9258        .51952E-05   -1.5470    
  15  Prefactor     24.544        12.523        .32342E-05   -1.4717    
  16  norm          1.0214        .85893        .27769E-04   -1.5506    
  17  norm          .10047E-03    278.49        .21768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.4403        .49271E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     38.314        38.112        .25910E-05   -1.4469    
  20  Prefactor     12.240        11.001        .45804E-05   -1.5008    
  21  norm          16.239        17.297        .19879E-04   -1.4902    
  22  Prefactor     .10000E-03    6.5237        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .63406        .88790        .37231E-04   -1.5549    
  24  norm          8.6754        7.4880        .54439E-05   -1.5119    
  25  Normalizat    .87063        .23145        .67357E-04   -.97500    
  26  Prefactor     .85024        .11606        .35989E-04   -.97902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.18569e-09
Minuit parameter uncertainties:
  1  0.000314668
  2  9.19003
  3  16.8814
  4  39.1978
  5  1.77369
  6  16.0864
  7  4.2291e-05
  8  1.18326e-05
  9  4.41338
  10  17.8892
  11  1.76595e-05
  12  39.3589
  13  0.00617222
  14  1.92593
  15  12.5241
  16  0.85894
  17  0.0228954
  18  6.14377e-06
  19  38.1365
  20  11.0029
  21  17.3026
  22  2.72226e-05
  23  0.88792
  24  7.48884
  25  0.231713
  26  0.116093
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.002e-04  6.172e-03  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.349e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.502e-01  1.161e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  8.706e-01  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 121.300 -1.181
Photon Flux Upper Limit: 8.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/125864/likelihoodResults_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.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) = 6792.66899384
delta logL = -0.000102084510218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6791.19042815
delta logL = 1.47846360711

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6791.190     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      291 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0304        20.747        .11562E-01    .87467E-03
   2  alpha         5.0000        4.7823        .46267    ** at limit **
   3  Normalizat    .73782        .13969        .82076E-01    .70539E-04
   4  Prefactor     .88861        .64124E-01    .44860E-01    .25414E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.03038
  alpha      = 5
  Normalizat = 0.737823
  Prefactor  = 0.888605
 **********
 **   18 **HESSE 
 **********

 FCN=   6791.190     FROM HESSE     STATUS=OK            35 CALLS      326 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0304        .69711        .52557E-03   -1.5505    
   2  alpha         5.0000        3.1841        .58318E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .73782        .21032        .36345E-03   -1.0242    
   4  Prefactor     .88861        .10798        .17641E-03   -.96540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.58751e-12
Minuit parameter uncertainties:
  1  0.697114
  2  2.00367e-06
  3  0.210549
  4  0.108003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/125864': 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) = 6791.190428
delta logL = 1.47846375309

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.030e+00  6.971e-01  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  5.000e+00  2.004e-06  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.886e-01  1.080e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  7.378e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.32
Ra Dec: 121.300 -1.181
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.10e-07 +/- 7.42e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.02e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/125864/cmap_HighResolution_534038401_534297601_4FGL_J0805.2-0110_daily_bin1137.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.82e-05', comment='SUCCESS', energy_flux2='1.51e-05', dlogl='1.48e+00', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-08-29 01:59:57.460979', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='8.80e-08', energy_flux_error2='1.02e-05', EG='0.87', time_epoch_completed='1630227597.46', return_code='0', job_id='125864', GAL2='0.89', EG2='0.74', return_code2='0', photon_flux_error2='7.42e-08', ts2='3.32', photon_index='2.35' WHERE bin_id='1137' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:59:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0139>
Subject: Job 125864: <4FGL_J0805.2-0110_daily_bin1137> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1137> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Aug 29 01:45:35 2021
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:45:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 01:45:36 2021
Terminated at Sun Aug 29 01:59:58 2021
Results reported at Sun Aug 29 01:59:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1137 121.3 -1.181 534038401 534297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.2-0110 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   800.31 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

