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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1042
RA = 121.3, Dec = -1.181
tmin = 509414401, tmax = 509673601
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='124402', job_status='RUN', time_executed='2021-08-29 01:41:25.933368', time_epoch_executed='1630226485.93' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1042'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124402

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124402/ft1_4FGL_J0805.2-0110_daily_bin1042.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124402/ft2_4FGL_J0805.2-0110_daily_bin1042.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124402/ft1_4FGL_J0805.2-0110_daily_bin1042.fits outfile=/scratch/kocevski/124402/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1042.fits ra=121.3 dec=-1.181 rad=12.0 tmin=509414401.0 tmax=509673601.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 4.37
user 3.42
sys 0.88

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124402/ft2_4FGL_J0805.2-0110_daily_bin1042.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/124402/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1042.fits evtable="EVENTS" outfile="/scratch/kocevski/124402/ft1_filtered_4FGL_J0805.2-0110_daily_bin1042.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.16
user 0.31
sys 0.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124402/ft1_filtered_4FGL_J0805.2-0110_daily_bin1042.fits" evtable="EVENTS" scfile=/scratch/kocevski/124402/ft2_4FGL_J0805.2-0110_daily_bin1042.fits sctable="SC_DATA" outfile=/scratch/kocevski/124402/ltcube_509414401_509673601_4FGL_J0805.2-0110_daily_bin1042.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/124402/ft2_4FGL_J0805.2-0110_daily_bin1042.fits
.....................!
real 12.73
user 11.59
sys 1.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124402/ft1_filtered_4FGL_J0805.2-0110_daily_bin1042.fits evtable="EVENTS" scfile=/scratch/kocevski/124402/ft2_4FGL_J0805.2-0110_daily_bin1042.fits sctable="SC_DATA" expcube=/scratch/kocevski/124402/ltcube_509414401_509673601_4FGL_J0805.2-0110_daily_bin1042.fits outfile=/scratch/kocevski/124402/expmap_509414401_509673601_4FGL_J0805.2-0110_daily_bin1042.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/124402/ltcube_509414401_509673601_4FGL_J0805.2-0110_daily_bin1042.fits
.....................!
real 192.63
user 184.80
sys 7.17

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/124402/ft1_filtered_4FGL_J0805.2-0110_daily_bin1042.fits scfile=/scratch/kocevski/124402/ft2_4FGL_J0805.2-0110_daily_bin1042.fits outfile=/scratch/kocevski/124402/cmap_509414401_509673601_4FGL_J0805.2-0110_daily_bin1042.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.33
user 0.37
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124402/ft1_filtered_4FGL_J0805.2-0110_daily_bin1042.fits scfile=/scratch/kocevski/124402/ft2_4FGL_J0805.2-0110_daily_bin1042.fits outfile=/scratch/kocevski/124402/cmap_HighResolution_509414401_509673601_4FGL_J0805.2-0110_daily_bin1042.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.80
user 0.35
sys 0.83

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124402/ft1_filtered_4FGL_J0805.2-0110_daily_bin1042.fits evtable="EVENTS" scfile=/scratch/kocevski/124402/ft2_4FGL_J0805.2-0110_daily_bin1042.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124402/Model_4FGL_J0805.2-0110_daily_bin1042.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/124402/ft1_filtered_4FGL_J0805.2-0110_daily_bin1042.fits.....................!
real 113.03
user 103.09
sys 2.75

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.557       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.5703       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10518E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.555       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .17283E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.5102       1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.706       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.314       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.3236       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.2382       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .21692E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.4538       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .61577       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=   8493.223     FROM MIGRAD    STATUS=CONVERGED    630 CALLS     3121 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.554        26.833       -.18001E-05    .33602E-04
   2  Prefactor     9.5701        6.0743       -.27778E-06   -.82401E-03
   3  Prefactor     .10000E-03    12.841        .25884E-05** at limit **
   4  Prefactor     .10000E-03    8.8887       -.88278E-06** at limit **
   5  norm          .10000E-03    .89953        .77135E-07** at limit **
   6  Prefactor     26.552        24.711       -.17051E-05    .71262E-04
   7  norm          .10000E-03    3.5527        .11892E-07** at limit **
   8  norm          .10005E-03    69.301       -.13648E-04** at limit **
   9  norm          4.5108        2.7643       -.49407E-06   -.29155E-02
  10  Prefactor     22.643        14.242        .71633E-05   -.45907E-03
  11  Prefactor     .10000E-03    5.8077       -.94795E-06** at limit **
  12  Prefactor     20.312        23.801       -.99459E-06   -.37070E-05
  13  norm          .10000E-03    7.4121       -.41604E-06** at limit **
  14  norm          .10000E-03    .84073       -.16393E-08** at limit **
  15  Prefactor     .10000E-03    4.3364        .20087E-06** at limit **
  16  norm          .10000E-03    .36379        .42289E-07** at limit **
  17  norm          .10000E-03    7.0751        .26268E-05** at limit **
  18  norm          4.3237        2.8967        .11797E-07   -.10044E-03
  19  Prefactor     .10000E-03    12.988        .40305E-05** at limit **
  20  Prefactor     8.2392        7.4404        .64771E-08    .39253E-05
  21  norm          .10000E-03    13.959       -.45635E-05** at limit **
  22  Prefactor     .10000E-03    8.6484       -.16889E-05** at limit **
  23  norm          .10044E-03    .34410       -.10359E-06** at limit **
  24  norm          .10000E-03    3.7711       -.84129E-07** at limit **
  25  Normalizat    1.4539        .16214       -.10029E-05    .15717E-03
  26  Prefactor     .61568        .80674E-01    .53018E-06   -.82532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.5542
  Prefactor  = 9.57005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.5517
  norm       = 0.0001
  norm       = 0.000100052
  norm       = 4.51081
  Prefactor  = 22.6428
  Prefactor  = 0.0001
  Prefactor  = 20.3124
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.32367
  Prefactor  = 0.000100001
  Prefactor  = 8.23922
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100445
  norm       = 0.0001
  Normalizat = 1.45391
  Prefactor  = 0.615682
 **********
 **   18 **HESSE 
 **********

 FCN=   8493.223     FROM HESSE     STATUS=OK           460 CALLS     3581 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.554        26.812        .10155E-03   -1.4919    
   2  Prefactor     9.5701        6.1049        .64770E-03   -1.5089    
   3  Prefactor     .10000E-03    13.131        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.8930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.0926        .16789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.552        24.704        .77740E-04   -1.4677    
   7  norm          .10000E-03    3.5550        .16965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10005E-03    75.409        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.5108        2.8397        .59500E-03   -1.5283    
  10  Prefactor     22.643        14.118        .84061E-04   -1.4756    
  11  Prefactor     .10000E-03    5.9798        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.312        23.882        .88866E-04   -1.4806    
  13  norm          .10000E-03    7.6386        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .85675        .82436E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.4109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .56744        .10694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    7.0675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.3237        2.8946        .12429E-03   -1.5292    
  19  Prefactor     .10000E-03    12.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.2392        7.3988        .13968E-03   -1.5134    
  21  norm          .10000E-03    13.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.6602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10044E-03    .91978        .18592E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    3.7965        .17473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.4539        .18044        .26158E-03   -.79082    
  26  Prefactor     .61568        .89785E-01    .19318E-03   -1.0693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31269e-09
Minuit parameter uncertainties:
  1  26.8331
  2  6.1053
  3  0.000124801
  4  2.75189e-05
  5  1.27952e-05
  6  24.7131
  7  4.48538e-07
  8  0.00397383
  9  2.83983
  10  14.1201
  11  4.02002e-05
  12  23.8936
  13  2.91527e-05
  14  1.38624e-06
  15  3.34018e-06
  16  2.15425e-06
  17  7.49579e-05
  18  2.89473
  19  0.000171128
  20  7.3996
  21  0.000192673
  22  4.53521e-05
  23  0.00127953
  24  6.21774e-06
  25  0.180517
  26  0.0898058
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  2.915e-05  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:  6.157e-01  8.981e-02  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:  1.454e+00  1.805e-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: 5.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/124402/likelihoodResults_509414401_509673601_4FGL_J0805.2-0110_daily_bin1042.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) = 8493.22391331
delta logL = -0.000624811165835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8493.22328853
delta logL = -3.63488652511e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10156E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3669       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4539       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61568       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=   8493.223     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      242 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    736.85        .36285E-02** at limit **
   2  alpha         2.6984        3.2292        .16490        .18614E-07
   3  Normalizat    1.4539        .47419E-01    .26158E-03   -.46120E-03
   4  Prefactor     .61568        .23923E-01    .19317E-03   -.66766E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.69837
  Normalizat = 1.45391
  Prefactor  = 0.615683
 **********
 **   18 **HESSE 
 **********

 FCN=   8493.223     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.8155        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6984        2.7217        .65961E-02    .79433E-01
   3  Normalizat    1.4539        .17292        .52316E-04   -.79082    
   4  Prefactor     .61568        .87397E-01    .38635E-04   -1.0693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18632e-10
Minuit parameter uncertainties:
  1  1.07441e-05
  2  259.209
  3  0.172987
  4  0.0874163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124402': 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) = 8493.22328763
delta logL = 8.6763247964e-07

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  1.074e-05  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.698e+00  2.592e+02  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:  6.157e-01  8.742e-02  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:  1.454e+00  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 121.300 -1.181

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/124402/cmap_HighResolution_509414401_509673601_4FGL_J0805.2-0110_daily_bin1042.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-05', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2021-08-29 01:55:39.339655', job_id='124402', GAL2='0.62', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1630227339.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='8.68e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1042' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:55:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 124402: <4FGL_J0805.2-0110_daily_bin1042> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1042> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 01:40:39 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:40:41 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:40:41 2021
Terminated at Sun Aug 29 01:55:40 2021
Results reported at Sun Aug 29 01:55:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1042 121.3 -1.181 509414401 509673601 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 :                                   842.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             305.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            901 sec.

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

