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


Performing analysis on: 4FGL_J0800.9+4401_daily_bin1440
RA = 120.246, Dec = 44.0181
tmin = 612576001, tmax = 612835201
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='47653', job_status='RUN', time_executed='2021-08-28 21:39:01.988806', time_epoch_executed='1630211941.99' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='1440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/47653

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/47653/ft1_4FGL_J0800.9+4401_daily_bin1440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/47653/ft2_4FGL_J0800.9+4401_daily_bin1440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/47653/ft1_4FGL_J0800.9+4401_daily_bin1440.fits outfile=/scratch/kocevski/47653/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1440.fits ra=120.246 dec=44.0181 rad=12.0 tmin=612576001.0 tmax=612835201.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 3.80
user 2.59
sys 1.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/47653/ft2_4FGL_J0800.9+4401_daily_bin1440.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/47653/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1440.fits evtable="EVENTS" outfile="/scratch/kocevski/47653/ft1_filtered_4FGL_J0800.9+4401_daily_bin1440.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.49
user 0.32
sys 1.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/47653/ft1_filtered_4FGL_J0800.9+4401_daily_bin1440.fits" evtable="EVENTS" scfile=/scratch/kocevski/47653/ft2_4FGL_J0800.9+4401_daily_bin1440.fits sctable="SC_DATA" outfile=/scratch/kocevski/47653/ltcube_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.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/47653/ft2_4FGL_J0800.9+4401_daily_bin1440.fits
.....................!
real 13.84
user 12.30
sys 1.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/47653/ft1_filtered_4FGL_J0800.9+4401_daily_bin1440.fits evtable="EVENTS" scfile=/scratch/kocevski/47653/ft2_4FGL_J0800.9+4401_daily_bin1440.fits sctable="SC_DATA" expcube=/scratch/kocevski/47653/ltcube_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.fits outfile=/scratch/kocevski/47653/expmap_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.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/47653/ltcube_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.fits
.....................!
real 191.47
user 185.69
sys 5.24

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/47653/ft1_filtered_4FGL_J0800.9+4401_daily_bin1440.fits scfile=/scratch/kocevski/47653/ft2_4FGL_J0800.9+4401_daily_bin1440.fits outfile=/scratch/kocevski/47653/cmap_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.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 1.52
user 0.35
sys 1.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/47653/ft1_filtered_4FGL_J0800.9+4401_daily_bin1440.fits scfile=/scratch/kocevski/47653/ft2_4FGL_J0800.9+4401_daily_bin1440.fits outfile=/scratch/kocevski/47653/cmap_HighResolution_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.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 1.50
user 0.38
sys 1.11

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/47653/ft1_filtered_4FGL_J0800.9+4401_daily_bin1440.fits', '/scratch/kocevski/47653/ft2_4FGL_J0800.9+4401_daily_bin1440.fits', expMap='/scratch/kocevski/47653/expmap_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.fits', expCube='/scratch/kocevski/47653/ltcube_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/47653/Model_4FGL_J0800.9+4401_daily_bin1440.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/47653/ft1_filtered_4FGL_J0800.9+4401_daily_bin1440.fits
Spacecraft file(s): /scratch/kocevski/47653/ft2_4FGL_J0800.9+4401_daily_bin1440.fits
Exposure map: /scratch/kocevski/47653/expmap_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.fits
Exposure cube: /scratch/kocevski/47653/ltcube_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/47653/Model_4FGL_J0800.9+4401_daily_bin1440.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) = 4152.55086986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7516       1.0000         .10000E-03   10000.    
     2 'norm      '    14.489       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .65165E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    11.099       1.0000         .10000E-03   10000.    
    12 'norm      '    .23255E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12495E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    110.18       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.006       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.1433       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3476       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.897       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.0456       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .26684       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.7774       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .91191       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .96817       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=   4152.525     FROM MIGRAD    STATUS=CONVERGED   1243 CALLS     4157 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7534        17.010        .20845E-03   -.19089E-04
   2  norm          14.492        14.322        .10523E-03   -.63291E-04
   3  Prefactor     .10000E-03    5.8960        .15259E-02** at limit **
   4  Prefactor     .10000E-03    14.463        .18142E-02** at limit **
   5  norm          .10000E-03    13.642        .18142E-02** at limit **
   6  Prefactor     .10000E-03    5.2799        .14458E-02** at limit **
   7  Prefactor     .10000E-03    13.807        .18142E-02** at limit **
   8  norm          .10000E-03    1.3262        .11044E-02** at limit **
   9  Prefactor     .10000E-03    11.144        .18142E-02** at limit **
  10  Prefactor     .10003E-03    184.81        .59839E-02** at limit **
  11  norm          11.100        17.525        .12025E-03   -.14370E-04
  12  norm          .10000E-03    9.4221        .18927E-02** at limit **
  13  Prefactor     .10003E-03    112.47        .42911E-02** at limit **
  14  Prefactor     110.22        71.975        .19160E-03   -.27591E-04
  15  Prefactor     .10000E-03    6.2921        .31150E-03** at limit **
  16  norm          10.006        5.6950        .11166E-03   -.11068E-03
  17  norm          .10000E-03    .93424        .12003E-03** at limit **
  18  norm          1.1433        .72596        .40102E-04   -.17152E-03
  19  Prefactor     7.3396        18.860        .14797E-03   -.67306E-04
  20  Prefactor     .10000E-03    1.7524        .82630E-03** at limit **
  21  Prefactor     10.908        41.763        .12137E-03   -.17985E-04
  22  Prefactor     6.0441        8.9555        .16330E-03   -.12740E-04
  23  Prefactor     .10000E-03    2.9088        .10708E-02** at limit **
  24  norm          .26510        25.516        .22707E-02    .14285E-03
  25  norm          .10000E-03    1.7925        .84003E-03** at limit **
  26  Prefactor     3.7774        2.6610        .83538E-04   -.50489E-04
  27  Normalizat    .91202        .26510        .27626E-03   -.13860E-03
  28  Prefactor     .96808        .19292        .21207E-03   -.67654E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.75342
  norm       = 14.4922
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  norm       = 11.1
  norm       = 0.000100004
  Prefactor  = 0.000100034
  Prefactor  = 110.224
  Prefactor  = 0.0001
  norm       = 10.0064
  norm       = 0.0001
  norm       = 1.14328
  Prefactor  = 7.33964
  Prefactor  = 0.0001
  Prefactor  = 10.9076
  Prefactor  = 6.04413
  Prefactor  = 0.0001
  norm       = 0.265098
  norm       = 0.0001
  Prefactor  = 3.77739
  Normalizat = 0.912023
  Prefactor  = 0.968076
 **********
 **   18 **HESSE 
 **********

 FCN=   4152.525     FROM HESSE     STATUS=OK           493 CALLS     4650 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7534        17.005        .83380E-05   -1.5320    
   2  norm          14.492        14.321        .21045E-04   -1.4946    
   3  Prefactor     .10000E-03    5.8965        .30518E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.463        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    13.645        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2800        .28916E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.807        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.3278        .22088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.146        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10003E-03    189.55        .23936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.100        17.520        .48101E-05   -1.5042    
  12  norm          .10000E-03    9.4946        .37854E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-03    113.95        .85822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     110.22        71.556        .76640E-05   -1.3604    
  15  Prefactor     .10000E-03    6.2922        .62299E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.006        5.6944        .44663E-05   -1.5075    
  17  norm          .10000E-03    .93425        .24005E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1433        .72586        .16041E-05   -1.5494    
  19  Prefactor     7.3396        18.844        .59187E-05   -1.5166    
  20  Prefactor     .10000E-03    1.7525        .16526E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.908        41.720        .48548E-05   -1.5047    
  22  Prefactor     6.0441        8.9540        .65318E-05   -1.5216    
  23  Prefactor     .10000E-03    2.9090        .21417E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .26510        25.383        .90826E-04   -1.5605    
  25  norm          .10000E-03    1.7926        .16801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.7774        2.6586        .33415E-05   -1.5319    
  27  Normalizat    .91202        .26457        .11050E-04   -.96039    
  28  Prefactor     .96808        .19305        .84827E-05   -.93801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15752e-09
Minuit parameter uncertainties:
  1  15.9858
  2  14.3247
  3  1.31072e-06
  4  7.29951e-05
  5  3.41912e-05
  6  2.66291e-06
  7  3.61203e-05
  8  9.55063e-06
  9  4.92444e-05
  10  0.00513079
  11  17.5277
  12  0.000392221
  13  0.00396367
  14  71.6118
  15  8.78258e-06
  16  5.6947
  17  1.9508e-06
  18  0.725866
  19  18.8596
  20  5.32393e-06
  21  41.8322
  22  8.956
  23  3.17563e-06
  24  5.18939
  25  1.70578e-06
  26  2.65872
  27  0.264949
  28  0.193186
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  3.964e-03  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:  9.681e-01  1.932e-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:  9.120e-01  2.649e-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.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/47653/likelihoodResults_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.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) = 4152.52534429
delta logL = -4.186354181e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4152.52534427
delta logL = -4.18447552875e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96360E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1723       1.0000          .0000       10.000    
     3 'Normalizat'    .91202       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96808       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.

 FCN=   4152.216     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      264 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2878        43.509        .90713E-02   -.62181E-03
   2  Index         3.3594        3.4770        .95898E-01    .42327E-04
   3  Normalizat    .86529        .57512E-01    .45055E-01   -.87180E-03
   4  Prefactor     .98037        .45096E-01    .45867E-01   -.96017E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.28785
  Index      = 3.35944
  Normalizat = 0.865289
  Prefactor  = 0.980374
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2878        106.18        .91632E-04   -1.5481    
   2  Index         3.3594        6.4923        .57392E-02   -.33430    
   3  Normalizat    .86529        .24271        .28229E-03   -.97691    
   4  Prefactor     .98037        .19210        .21052E-03   -.93387    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.93272e-08
Minuit parameter uncertainties:
  1  23.4292
  2  7.68084
  3  0.243013
  4  0.192234
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/47653': 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) = 4152.21598683
delta logL = 0.309315602158

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.288e+00  2.343e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.359e+00  7.681e+00  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:  9.804e-01  1.922e-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:  8.653e-01  2.430e-01  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/47653/cmap_HighResolution_612576001_612835201_4FGL_J0800.9+4401_daily_bin1440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.35e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-08-28 21:51:53.128435', job_id='47653', GAL2='0.98', fit_tolerance='1e-08', EG2='0.87', EG='0.91', time_epoch_completed='1630212713.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.09e-01', ts2='0.64', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1440' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 21:51:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 47653: <4FGL_J0800.9+4401_daily_bin1440> in cluster <slac> Done

Job <4FGL_J0800.9+4401_daily_bin1440> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 28 21:35:22 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 21:35:24 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:24 2021
Terminated at Sat Aug 28 21:51:53 2021
Results reported at Sat Aug 28 21:51:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin1440 120.246 44.0181 612576001 612835201 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 :                                   757.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             264.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            991 sec.

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

