/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 57 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 = 7365
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1465
RA = 121.3, Dec = -1.181
tmin = 619056001, tmax = 619315201
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='126357', job_status='RUN', time_executed='2021-08-29 01:48:35.607602', time_epoch_executed='1630226915.61' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126357/ft1_4FGL_J0805.2-0110_daily_bin1465.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126357/ft2_4FGL_J0805.2-0110_daily_bin1465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126357/ft1_4FGL_J0805.2-0110_daily_bin1465.fits outfile=/scratch/kocevski/126357/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1465.fits ra=121.3 dec=-1.181 rad=12.0 tmin=619056001.0 tmax=619315201.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 6.19
user 3.36
sys 0.55

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126357/ft2_4FGL_J0805.2-0110_daily_bin1465.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/126357/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1465.fits evtable="EVENTS" outfile="/scratch/kocevski/126357/ft1_filtered_4FGL_J0805.2-0110_daily_bin1465.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.19
user 0.34
sys 0.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126357/ft1_filtered_4FGL_J0805.2-0110_daily_bin1465.fits" evtable="EVENTS" scfile=/scratch/kocevski/126357/ft2_4FGL_J0805.2-0110_daily_bin1465.fits sctable="SC_DATA" outfile=/scratch/kocevski/126357/ltcube_619056001_619315201_4FGL_J0805.2-0110_daily_bin1465.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/126357/ft2_4FGL_J0805.2-0110_daily_bin1465.fits
.....................!
real 12.75
user 11.50
sys 0.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126357/ft1_filtered_4FGL_J0805.2-0110_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/126357/ft2_4FGL_J0805.2-0110_daily_bin1465.fits sctable="SC_DATA" expcube=/scratch/kocevski/126357/ltcube_619056001_619315201_4FGL_J0805.2-0110_daily_bin1465.fits outfile=/scratch/kocevski/126357/expmap_619056001_619315201_4FGL_J0805.2-0110_daily_bin1465.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/126357/ltcube_619056001_619315201_4FGL_J0805.2-0110_daily_bin1465.fits
.....................!
real 193.87
user 184.95
sys 6.10

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/126357/ft1_filtered_4FGL_J0805.2-0110_daily_bin1465.fits scfile=/scratch/kocevski/126357/ft2_4FGL_J0805.2-0110_daily_bin1465.fits outfile=/scratch/kocevski/126357/cmap_619056001_619315201_4FGL_J0805.2-0110_daily_bin1465.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 0.90
user 0.36
sys 0.50

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126357/ft1_filtered_4FGL_J0805.2-0110_daily_bin1465.fits scfile=/scratch/kocevski/126357/ft2_4FGL_J0805.2-0110_daily_bin1465.fits outfile=/scratch/kocevski/126357/cmap_HighResolution_619056001_619315201_4FGL_J0805.2-0110_daily_bin1465.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 0.92
user 0.38
sys 0.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126357/ft1_filtered_4FGL_J0805.2-0110_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/126357/ft2_4FGL_J0805.2-0110_daily_bin1465.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126357/Model_4FGL_J0805.2-0110_daily_bin1465.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/126357/ft1_filtered_4FGL_J0805.2-0110_daily_bin1465.fits.....................!
real 108.39
user 104.39
sys 2.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.400       1.0000         .10000E-03   10000.    
     5 'norm      '    6.3897       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5304       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.955       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.9117       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.423       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .52878       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .23520       1.0000         .10000E-03   10000.    
    17 'norm      '    .11020E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.8442       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    11.903       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .55285       1.0000         .10000E-03   10000.    
    24 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1038       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .87369       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=   8614.802     FROM MIGRAD    STATUS=CONVERGED    626 CALLS     2665 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.273        .37958E-05** at limit **
   2  Prefactor     .10000E-03    2.0408        .19278E-07** at limit **
   3  Prefactor     .10000E-03    4.0665       -.17044E-06** at limit **
   4  Prefactor     15.403        30.638        .67218E-06    .18353E-04
   5  norm          6.3899        1.9581       -.24663E-07   -.22692E-03
   6  Prefactor     .10000E-03    18.079       -.23422E-05** at limit **
   7  norm          .10000E-03    4.8050        .63170E-06** at limit **
   8  norm          .10000E-03    7.7487       -.26491E-05** at limit **
   9  norm          3.5299        2.8064       -.15373E-07   -.86722E-04
  10  Prefactor     12.960        12.055       -.56504E-06   -.12904E-03
  11  Prefactor     7.9235        11.375       -.70600E-06   -.19275E-03
  12  Prefactor     14.376        22.832       -.19824E-05   -.17964E-03
  13  norm          .10000E-03    5.3079       -.50732E-06** at limit **
  14  norm          .53154        2.7648        .31177E-06   -.43877E-03
  15  Prefactor     .10000E-03    1.5760       -.25183E-07** at limit **
  16  norm          .23570        .80554        .11976E-06   -.88039E-03
  17  norm          .10000E-03    6.8505        .22245E-05** at limit **
  18  norm          3.8453        2.6166        .10855E-05   -.29833E-02
  19  Prefactor     .10000E-03    11.723        .24908E-05** at limit **
  20  Prefactor     .10000E-03    5.3487        .54220E-06** at limit **
  21  norm          11.902        11.247       -.68410E-07   -.28213E-04
  22  Prefactor     .10000E-03    16.600       -.26891E-05** at limit **
  23  norm          .55309        .90322        .11619E-06   -.57757E-03
  24  norm          .10000E-03    5.1414       -.10030E-05** at limit **
  25  Normalizat    1.1036        .17470       -.37377E-06   -.60505E-04
  26  Prefactor     .87380        .88010E-01   -.38447E-08   -.63587E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.403
  norm       = 6.38986
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 3.52993
  Prefactor  = 12.96
  Prefactor  = 7.92353
  Prefactor  = 14.3762
  norm       = 0.0001
  norm       = 0.531536
  Prefactor  = 0.0001
  norm       = 0.235698
  norm       = 0.000100001
  norm       = 3.84532
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 11.9024
  Prefactor  = 0.000100002
  norm       = 0.55309
  norm       = 0.0001
  Normalizat = 1.10364
  Prefactor  = 0.873796
 **********
 **   18 **HESSE 
 **********

 FCN=   8614.802     FROM HESSE     STATUS=OK           462 CALLS     3127 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.0465        .12948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.0792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.403        30.619        .10206E-03   -1.4923    
   5  norm          6.3899        1.9582        .68679E-04   -1.5202    
   6  Prefactor     .10000E-03    18.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.8299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.9304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5299        2.8127        .13385E-03   -1.5332    
  10  Prefactor     12.960        12.079        .11129E-03   -1.4988    
  11  Prefactor     7.9235        10.883        .14255E-03   -1.5145    
  12  Prefactor     14.376        23.015        .10547E-03   -1.4949    
  13  norm          .10000E-03    5.3565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .53154        4.0542        .23057E-02   -1.5562    
  15  Prefactor     .10000E-03    1.5798        .11378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .23570        .93577        .12670E-02   -1.5611    
  17  norm          .10000E-03    7.0502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8453        3.1580        .72137E-03   -1.5316    
  19  Prefactor     .10000E-03    11.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.5171        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          11.902        11.236        .11611E-03   -1.5018    
  22  Prefactor     .10000E-03    16.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .55309        .83258        .10643E-02   -1.5559    
  24  norm          .10000E-03    5.2252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1036        .19409        .30885E-03   -.89635    
  26  Prefactor     .87380        .98843E-01    .18088E-03   -.97063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43377e-09
Minuit parameter uncertainties:
  1  0.000519804
  2  4.40143e-07
  3  1.1332e-05
  4  30.6506
  5  1.95823
  6  0.000301113
  7  4.14325e-05
  8  0.000214618
  9  2.81277
  10  12.0811
  11  10.886
  12  23.0296
  13  2.80896e-05
  14  2.93597
  15  1.3148e-06
  16  0.935833
  17  0.000192517
  18  3.15811
  19  0.000267621
  20  3.19468e-05
  21  11.2381
  22  0.000330191
  23  0.8326
  24  6.84906e-05
  25  0.194218
  26  0.0988633
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  2.809e-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:  8.738e-01  9.886e-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.104e+00  1.942e-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: 6.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126357/likelihoodResults_619056001_619315201_4FGL_J0805.2-0110_daily_bin1465.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) = 8614.80241148
delta logL = -0.000889766219188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8614.80152159
delta logL = 1.20244294521e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3665       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1036       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87379       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=   8614.802     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      258 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .30295        .47766E-01** at limit **
   2  alpha         4.1283        3.0800        .16490        .68941E-07
   3  Normalizat    1.1036        .32158E-02    .30885E-03   -.11543E-02
   4  Prefactor     .87380        .17068E-02    .18088E-03   -.18918E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 4.12833
  Normalizat = 1.10364
  Prefactor  = 0.873796
 **********
 **   18 **HESSE 
 **********

 FCN=   8614.802     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      291 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4442        .25701E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.1283        2.9315        .65962E-02    .70934    
   3  Normalizat    1.1036        .60196E-02    .61771E-04   -.89635    
   4  Prefactor     .87380        .31945E-02    .36176E-04   -.97063    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.95639e-10
Minuit parameter uncertainties:
  1  3.84174e-05
  2  355.781
  3  0.00601959
  4  0.00319455
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126357': 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): 102
logL (Free Index) = 8614.80151473
delta logL = 6.98104122421e-06

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  3.842e-05  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  4.128e+00  3.558e+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:  8.738e-01  3.195e-03  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.104e+00  6.020e-03  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/126357/cmap_HighResolution_619056001_619315201_4FGL_J0805.2-0110_daily_bin1465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.97e-05', job_status='DONE', photon_flux_upper_limit='6.15e-08', time_completed='2021-08-29 02:02:16.269138', job_id='126357', GAL2='0.87', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630227736.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='6.98e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1465' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 02:02:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 126357: <4FGL_J0805.2-0110_daily_bin1465> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1465> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Aug 29 01:46:13 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:46:14 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:46:14 2021
Terminated at Sun Aug 29 02:02:17 2021
Results reported at Sun Aug 29 02:02:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1465 121.3 -1.181 619056001 619315201 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 :                                   809.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             327.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            964 sec.

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

