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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1315
RA = 121.3, Dec = -1.181
tmin = 580176001, tmax = 580435201
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='126145', job_status='RUN', time_executed='2021-08-29 01:47:08.205346', time_epoch_executed='1630226828.21' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126145

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126145/ft1_4FGL_J0805.2-0110_daily_bin1315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126145/ft1_4FGL_J0805.2-0110_daily_bin1315.fits outfile=/scratch/kocevski/126145/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1315.fits ra=121.3 dec=-1.181 rad=12.0 tmin=580176001.0 tmax=580435201.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.71
user 4.40
sys 1.09

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.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/126145/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1315.fits evtable="EVENTS" outfile="/scratch/kocevski/126145/ft1_filtered_4FGL_J0805.2-0110_daily_bin1315.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 1.53
user 0.33
sys 1.03

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126145/ft1_filtered_4FGL_J0805.2-0110_daily_bin1315.fits" evtable="EVENTS" scfile=/scratch/kocevski/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.fits sctable="SC_DATA" outfile=/scratch/kocevski/126145/ltcube_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.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/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.fits
.....................!
real 12.93
user 11.51
sys 1.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126145/ft1_filtered_4FGL_J0805.2-0110_daily_bin1315.fits evtable="EVENTS" scfile=/scratch/kocevski/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.fits sctable="SC_DATA" expcube=/scratch/kocevski/126145/ltcube_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.fits outfile=/scratch/kocevski/126145/expmap_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.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/126145/ltcube_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.fits
.....................!
real 194.22
user 186.57
sys 5.63

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/126145/ft1_filtered_4FGL_J0805.2-0110_daily_bin1315.fits scfile=/scratch/kocevski/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.fits outfile=/scratch/kocevski/126145/cmap_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.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 2.78
user 0.36
sys 0.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126145/ft1_filtered_4FGL_J0805.2-0110_daily_bin1315.fits scfile=/scratch/kocevski/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.fits outfile=/scratch/kocevski/126145/cmap_HighResolution_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.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.90
user 0.38
sys 1.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126145/ft1_filtered_4FGL_J0805.2-0110_daily_bin1315.fits evtable="EVENTS" scfile=/scratch/kocevski/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126145/Model_4FGL_J0805.2-0110_daily_bin1315.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/126145/ft1_filtered_4FGL_J0805.2-0110_daily_bin1315.fits.....................!
real 99.54
user 95.52
sys 2.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/126145/ft1_filtered_4FGL_J0805.2-0110_daily_bin1315.fits', '/scratch/kocevski/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.fits', expMap='/scratch/kocevski/126145/expmap_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.fits', expCube='/scratch/kocevski/126145/ltcube_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/126145/Model_4FGL_J0805.2-0110_daily_bin1315.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/126145/ft1_filtered_4FGL_J0805.2-0110_daily_bin1315.fits
Spacecraft file(s): /scratch/kocevski/126145/ft2_4FGL_J0805.2-0110_daily_bin1315.fits
Exposure map: /scratch/kocevski/126145/expmap_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.fits
Exposure cube: /scratch/kocevski/126145/ltcube_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/126145/Model_4FGL_J0805.2-0110_daily_bin1315.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) = 7357.88909543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.2308       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.784       1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.784       1.0000         .10000E-03   10000.    
     5 'norm      '    58.522       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.0433       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5148       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1587       1.0000         .10000E-03   10000.    
    13 'norm      '    16.237       1.0000         .10000E-03   10000.    
    14 'norm      '    1.5726       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.947       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    19.736       1.0000         .10000E-03   10000.    
    18 'norm      '    10.055       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    26.527       1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11698E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    14.816       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .83815       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1599       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.

 FCN=   7357.881     FROM MIGRAD    STATUS=CONVERGED    589 CALLS     3077 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    68.166        .15119E-04** at limit **
   2  Prefactor     8.2283        10.632        .95567E-06   -.76272E-04
   3  Prefactor     13.776        22.604       -.73398E-05   -.39945E-04
   4  Prefactor     43.772        47.577       -.15429E-04   -.59899E-05
   5  norm          58.523        5.8581        .37434E-06   -.64082E-04
   6  Prefactor     .10000E-03    17.000        .15922E-04** at limit **
   7  norm          .10000E-03    7.9057        .43937E-05** at limit **
   8  norm          .10000E-03    7.6058       -.17476E-05** at limit **
   9  norm          6.0428        4.7272       -.25053E-05   -.11039E-03
  10  Prefactor     6.5178        10.409       -.26077E-05    .30294E-04
  11  Prefactor     .10000E-03    2.9545        .39258E-07** at limit **
  12  Prefactor     2.1367        163.77       -.38539E-04    .69356E-04
  13  norm          16.240        16.278       -.38602E-05    .33204E-04
  14  norm          1.5725        2.0376       -.27987E-06   -.20843E-03
  15  Prefactor     19.946        17.991       -.24880E-05    .11550E-04
  16  norm          .10000E-03    .44072       -.11243E-06** at limit **
  17  norm          19.703        31.187       -.21579E-04    .27290E-03
  18  norm          10.056        6.0778        .12839E-05    .27221E-03
  19  Prefactor     .10000E-03    16.565       -.15189E-04** at limit **
  20  Prefactor     26.526        15.624       -.89610E-06    .43597E-04
  21  norm          .10000E-03    8.1490       -.22929E-05** at limit **
  22  Prefactor     .10000E-03    68.258       -.10986E-04** at limit **
  23  norm          .10000E-03    .67900       -.29521E-06** at limit **
  24  norm          14.819        9.5360       -.15892E-05    .11595E-03
  25  Normalizat    .83752        .25818        .12784E-04    .18309E-03
  26  Prefactor     1.1602        .13864        .63299E-06    .37385E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.22828
  Prefactor  = 13.7756
  Prefactor  = 43.7718
  norm       = 58.5225
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.04285
  Prefactor  = 6.51779
  Prefactor  = 0.0001
  Prefactor  = 2.13667
  norm       = 16.2399
  norm       = 1.57249
  Prefactor  = 19.9463
  norm       = 0.0001
  norm       = 19.7025
  norm       = 10.0561
  Prefactor  = 0.0001
  Prefactor  = 26.5265
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 14.819
  Normalizat = 0.837523
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********

 FCN=   7357.881     FROM HESSE     STATUS=OK           460 CALLS     3537 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.2283        10.650        .13974E-03   -1.5134    
   3  Prefactor     13.776        22.826        .10789E-03   -1.4965    
   4  Prefactor     43.772        47.658        .60587E-04   -1.4384    
   5  norm          58.523        5.8475        .52443E-04   -1.4176    
   6  Prefactor     .10000E-03    17.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.9146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.6094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.0428        4.7348        .15885E-03   -1.5216    
  10  Prefactor     6.5178        10.411        .15723E-03   -1.5197    
  11  Prefactor     .10000E-03    2.9572        .14398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1367        153.27        .28037E-03   -1.5416    
  13  norm          16.240        16.276        .99395E-04   -1.4902    
  14  norm          1.5725        2.0166        .13491E-03   -1.5457    
  15  Prefactor     19.946        17.950        .89679E-04   -1.4814    
  16  norm          .10000E-03    .74201        .10998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.703        30.116        .90158E-04   -1.4820    
  18  norm          10.056        6.0704        .12636E-03   -1.5074    
  19  Prefactor     .10000E-03    16.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     26.526        15.595        .77780E-04   -1.4677    
  21  norm          .10000E-03    8.1506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    70.036        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.8669        .13549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          14.819        9.5409        .10406E-03   -1.4938    
  25  Normalizat    .83752        .27362        .45510E-03   -.98692    
  26  Prefactor     1.1602        .15038        .21679E-03   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.35463e-10
Minuit parameter uncertainties:
  1  0.000124887
  2  10.6529
  3  22.8403
  4  47.6995
  5  5.84751
  6  3.22109e-05
  7  1.08521e-05
  8  8.93722e-06
  9  4.73507
  10  10.414
  11  2.84634e-06
  12  36.289
  13  16.2805
  14  2.01668
  15  17.9545
  16  8.58426e-06
  17  30.1393
  18  6.07074
  19  0.000161379
  20  15.5974
  21  2.64741e-06
  22  0.000225617
  23  4.23833e-05
  24  9.54183
  25  0.274069
  26  0.150437
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.624e+01  1.628e+01  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:  1.160e+00  1.504e-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.375e-01  2.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.31
Ra Dec: 121.300 -1.181
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 5.78e-08 +/- 5.79e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.85e-05

TS (Fixed Index): 1.31
Ra Dec: 121.300 -1.181
Photon Flux Upper Limit: 1.76e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126145/likelihoodResults_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.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) = 7356.95307589
delta logL = 0.927883204098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7356.94293626
delta logL = 0.938022831903

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5651       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7751       1.0000          .0000       5.0000    
     3 'Normalizat'    .76929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1838       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=   7356.943     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      245 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5582        92.283        .39156E-02    .12778E-02
   2  alpha         3.7760        4.2657        .42028        .12880E-03
   3  Normalizat    .76935        .97771E-01    .10640        .16604E-03
   4  Prefactor     1.1838        .54471E-01    .35025E-01   -.14102E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.55823
  alpha      = 3.77604
  Normalizat = 0.769346
  Prefactor  = 1.18376
 **********
 **   18 **HESSE 
 **********

 FCN=   7356.943     FROM HESSE     STATUS=OK            29 CALLS      274 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5582        12.225        .13827E-03   -1.5196    
   2  alpha         3.7760        1.2829        .18330E-02    .53567    
   3  Normalizat    .76935        .25779        .47181E-03   -1.0122    
   4  Prefactor     1.1838        .14074        .21477E-03   -.86833    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99397e-10
Minuit parameter uncertainties:
  1  12.2298
  2  1.37471
  3  0.258204
  4  0.14078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126145': 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) = 7356.94293581
delta logL = 0.938023280521

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  6.558e+00  1.223e+01  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  3.776e+00  1.375e+00  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:  1.184e+00  1.408e-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.693e-01  2.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.33
Ra Dec: 121.300 -1.181
Photon Index (Free Index): 3.78 +/- 1.37
Photon Flux (Free Index): 1.25e-07 +/- 8.48e-08
Energy Flux (Free Index): 2.05e-05 +/- 1.44e-05

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/126145/cmap_HighResolution_580176001_580435201_4FGL_J0805.2-0110_daily_bin1315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.64e-05', comment='SUCCESS', photon_flux='5.78e-08', energy_flux2='2.05e-05', photon_flux_error='5.79e-08', dlogl='9.38e-01', energy_flux='1.85e-05', photon_flux2='1.25e-07', job_status='DONE', time_completed='2021-08-29 02:00:26.967730', photon_index_error2='1.37', photon_index2='3.78', ts='1.31', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.44e-05', EG='0.84', time_epoch_completed='1630227626.97', return_code='0', job_id='126145', GAL2='1.18', EG2='0.77', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='8.48e-08', ts2='3.33', photon_index='2.35' WHERE bin_id='1315' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 02:00:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 126145: <4FGL_J0805.2-0110_daily_bin1315> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1315> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Aug 29 01:45:53 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:45:55 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:55 2021
Terminated at Sun Aug 29 02:00:27 2021
Results reported at Sun Aug 29 02:00:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1315 121.3 -1.181 580176001 580435201 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 :                                   803.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            874 sec.

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

