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


Performing analysis on: 4FGL_J0800.9+4401_daily_bin1402
RA = 120.246, Dec = 44.0181
tmin = 602726401, tmax = 602985601
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='47599', job_status='RUN', time_executed='2021-08-28 21:41:01.340629', time_epoch_executed='1630212061.34' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/47599

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/47599/ft1_4FGL_J0800.9+4401_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/47599/ft1_4FGL_J0800.9+4401_daily_bin1402.fits outfile=/scratch/kocevski/47599/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1402.fits ra=120.246 dec=44.0181 rad=12.0 tmin=602726401.0 tmax=602985601.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 10.80
user 2.82
sys 7.92

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.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/47599/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1402.fits evtable="EVENTS" outfile="/scratch/kocevski/47599/ft1_filtered_4FGL_J0800.9+4401_daily_bin1402.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 8.33
user 0.33
sys 7.94

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/47599/ft1_filtered_4FGL_J0800.9+4401_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/47599/ltcube_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.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/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits
.....................!
real 21.19
user 12.14
sys 8.99

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/47599/ft1_filtered_4FGL_J0800.9+4401_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/47599/ltcube_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.fits outfile=/scratch/kocevski/47599/expmap_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.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/47599/ltcube_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.fits
.....................!
real 200.38
user 185.59
sys 14.43

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

Setting source of interest to:
4FGL J0800.9+4401 @ 120.246 44.0181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/47599/ft1_filtered_4FGL_J0800.9+4401_daily_bin1402.fits scfile=/scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits outfile=/scratch/kocevski/47599/cmap_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.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=120.246 yref=44.0181 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 7.44
user 0.38
sys 7.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/47599/ft1_filtered_4FGL_J0800.9+4401_daily_bin1402.fits scfile=/scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits outfile=/scratch/kocevski/47599/cmap_HighResolution_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.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=120.246 yref=44.0181 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 8.21
user 0.38
sys 7.80

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/47599/ft1_filtered_4FGL_J0800.9+4401_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/47599/Model_4FGL_J0800.9+4401_daily_bin1402.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/47599/ft1_filtered_4FGL_J0800.9+4401_daily_bin1402.fits.....................!
real 39.15
user 27.83
sys 11.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/47599/ft1_filtered_4FGL_J0800.9+4401_daily_bin1402.fits', '/scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits', expMap='/scratch/kocevski/47599/expmap_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.fits', expCube='/scratch/kocevski/47599/ltcube_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/47599/Model_4FGL_J0800.9+4401_daily_bin1402.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0800.9+4401'

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.350e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.600e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/47599/ft1_filtered_4FGL_J0800.9+4401_daily_bin1402.fits
Spacecraft file(s): /scratch/kocevski/47599/ft2_4FGL_J0800.9+4401_daily_bin1402.fits
Exposure map: /scratch/kocevski/47599/expmap_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.fits
Exposure cube: /scratch/kocevski/47599/ltcube_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/47599/Model_4FGL_J0800.9+4401_daily_bin1402.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) = 1670.20643435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95460       1.0000         .10000E-03   10000.    
     2 'norm      '    8.1925       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .14944E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    61.345       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.327       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.218       1.0000         .10000E-03   10000.    
    11 'norm      '    79.183       1.0000         .10000E-03   10000.    
    12 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.387       1.0000         .10000E-03   10000.    
    16 'norm      '    6.4517       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.3905       1.0000         .10000E-03   10000.    
    19 'Prefactor '    112.73       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .28010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .21821E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    14.599       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .49349       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0104       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1670.157     FROM MIGRAD    STATUS=CONVERGED    677 CALLS     3487 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0101        19.671       -.25686E-05    .98244E-04
   2  norm          8.1922        8.1623       -.44999E-07    .13492E-03
   3  Prefactor     .10000E-03    11.844       -.58649E-06** at limit **
   4  Prefactor     .10000E-03    16.249       -.12253E-06** at limit **
   5  norm          .10000E-03    20.255       -.67748E-06** at limit **
   6  Prefactor     .10000E-03    11.366        .77168E-07** at limit **
   7  Prefactor     61.347        65.364       -.94787E-06    .25766E-04
   8  norm          .10000E-03    .44691       -.13644E-06** at limit **
   9  Prefactor     15.328        25.767       -.45116E-06    .16090E-04
  10  Prefactor     10.285        39.411       -.98030E-06    .14373E-04
  11  norm          79.235        72.189       -.90590E-06    .20496E-04
  12  norm          .10000E-03    3.2057       -.68268E-08** at limit **
  13  Prefactor     .10000E-03    10.657        .10108E-06** at limit **
  14  Prefactor     .10000E-03    70.980        .23891E-06** at limit **
  15  Prefactor     14.412        29.259       -.33442E-06   -.15249E-04
  16  norm          6.4553        7.3080       -.28720E-06    .21414E-04
  17  norm          .10000E-03    2.1989       -.13882E-06** at limit **
  18  norm          2.3945        2.7101       -.16162E-06    .46824E-04
  19  Prefactor     112.80        123.12       -.21943E-05   -.26683E-05
  20  Prefactor     .10000E-03    41.948        .48144E-05** at limit **
  21  Prefactor     .10000E-03    519.14        .29046E-05** at limit **
  22  Prefactor     .10000E-03    45.796        .15910E-06** at limit **
  23  Prefactor     .10000E-03    18.197       -.74606E-07** at limit **
  24  norm          .10000E-03    11.902       -.27335E-07** at limit **
  25  norm          14.606        26.195       -.72670E-06    .10130E-04
  26  Prefactor     .10000E-03    35.449       -.17238E-07** at limit **
  27  Normalizat    .49382        .49342        .39169E-05    .76320E-04
  28  Prefactor     1.0098        .26708        .15614E-05    .11245E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.01006
  norm       = 8.19219
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 61.3465
  norm       = 0.0001
  Prefactor  = 15.3276
  Prefactor  = 10.2847
  norm       = 79.2345
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.4115
  norm       = 6.45525
  norm       = 0.0001
  norm       = 2.39446
  Prefactor  = 112.803
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 14.6064
  Prefactor  = 0.0001
  Normalizat = 0.493821
  Prefactor  = 1.00976
 **********
 **   18 **HESSE 
 **********

 FCN=   1670.157     FROM HESSE     STATUS=OK           517 CALLS     4004 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0101        31.884        .29030E-02   -1.5507    
   2  norm          8.1922        8.1339        .10891E-03   -1.5135    
   3  Prefactor     .10000E-03    11.992        .13682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.275        .16090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    65.471        .34165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.366        .13457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     61.347        65.115        .51230E-04   -1.4140    
   8  norm          .10000E-03    .45632        .26707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.328        25.694        .10230E-03   -1.4925    
  10  Prefactor     10.285        39.264        .12535E-03   -1.5066    
  11  norm          79.235        71.985        .22566E-03   -1.3925    
  12  norm          .10000E-03    3.2245        .71388E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.660        .13029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    70.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.412        29.101        .10560E-03   -1.4949    
  16  norm          6.4553        7.2855        .11199E-03   -1.5200    
  17  norm          .10000E-03    2.2206        .59149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.3945        2.6925        .63599E-04   -1.5398    
  19  Prefactor     112.80        123.85        .18944E-03   -1.3580    
  20  Prefactor     .10000E-03    40.826        .21418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    518.47        .20149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    45.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.201        .17026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    11.902        .13772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          14.606        26.173        .10483E-03   -1.4943    
  26  Prefactor     .10000E-03    35.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .49382        .53020        .41947E-03   -1.1270    
  28  Prefactor     1.0098        .29464        .18036E-03   -.92405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99941e-10
Minuit parameter uncertainties:
  1  11.3558
  2  8.13495
  3  2.05354e-05
  4  4.82766e-07
  5  0.000833442
  6  3.91935e-06
  7  65.1909
  8  9.90231e-08
  9  25.7121
  10  39.3629
  11  72.0639
  12  5.05707e-06
  13  8.04927e-06
  14  0.00010225
  15  29.1301
  16  7.28648
  17  1.12095e-06
  18  2.69262
  19  124.137
  20  0.00031226
  21  0.00297513
  22  0.000171737
  23  1.36163e-05
  24  3.97005e-06
  25  26.1932
  26  5.4021e-05
  27  0.535758
  28  0.29511
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  8.049e-06  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.600e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.010e+00  2.951e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  4.938e-01  5.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 120.246 44.018
Photon Flux Upper Limit: 1.83e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/47599/likelihoodResults_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.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) = 1670.15761343
delta logL = -0.000441778838876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1670.15717161
delta logL = 3.92949459638e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1574       1.0000          .0000       10.000    
     3 'Normalizat'    .49381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+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=   1670.157     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      243 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10126E-03    179.64        .13146E-02** at limit **
   2  Index         2.0964        8.3165        .50000        .98972E-05
   3  Normalizat    .49382        .41127E-01    .41951E-03    .63007E-06
   4  Prefactor     1.0098        .24913E-01    .18036E-03    .15601E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101257
  Index      = 2.09636
  Normalizat = 0.493818
  Prefactor  = 1.00976
 **********
 **   18 **HESSE 
 **********

 FCN=   1670.157     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10126E-03    704.89        .26293E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0964        5.5159        .50000       -.61962    
   3  Normalizat    .49382        .87376E-01    .16781E-04   -1.1270    
   4  Prefactor     1.0098        .52932E-01    .72143E-05   -.92405    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.67892e-08
Minuit parameter uncertainties:
  1  0.0602473
  2  1152.07
  3  0.0873999
  4  0.0529344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/47599': 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) = 1670.15717151
delta logL = 1.44020759762e-07

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.013e-04  6.025e-02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.096e+00  1.152e+03  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.600e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.010e+00  5.293e-02  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  4.938e-01  8.740e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 120.246 44.018

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/47599/cmap_HighResolution_602726401_602985601_4FGL_J0800.9+4401_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-02', job_status='DONE', photon_flux_upper_limit='1.83e-07', time_completed='2021-08-28 21:50:41.820798', job_id='47599', GAL2='1.01', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1630212641.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1402' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 21:50:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 47599: <4FGL_J0800.9+4401_daily_bin1402> in cluster <slac> Done

Job <4FGL_J0800.9+4401_daily_bin1402> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 28 21:35:18 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 21:35:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 21:35:20 2021
Terminated at Sat Aug 28 21:50:43 2021
Results reported at Sat Aug 28 21:50:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin1402 120.246 44.0181 602726401 602985601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0800.9+4401 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   700.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             195.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

