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


Performing analysis on: 4FGL_J0800.9+4401_daily_bin833
RA = 120.246, Dec = 44.0181
tmin = 455241601, tmax = 455500801
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='43150', job_status='RUN', time_executed='2021-08-28 21:21:12.121897', time_epoch_executed='1630210872.12' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='833'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43150

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43150/ft1_4FGL_J0800.9+4401_daily_bin833.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43150/ft2_4FGL_J0800.9+4401_daily_bin833.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43150/ft1_4FGL_J0800.9+4401_daily_bin833.fits outfile=/scratch/kocevski/43150/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin833.fits ra=120.246 dec=44.0181 rad=12.0 tmin=455241601.0 tmax=455500801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.52
user 3.24
sys 2.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43150/ft1_filtered_4FGL_J0800.9+4401_daily_bin833.fits" evtable="EVENTS" scfile=/scratch/kocevski/43150/ft2_4FGL_J0800.9+4401_daily_bin833.fits sctable="SC_DATA" outfile=/scratch/kocevski/43150/ltcube_455241601_455500801_4FGL_J0800.9+4401_daily_bin833.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/43150/ft2_4FGL_J0800.9+4401_daily_bin833.fits
.....................!
real 14.56
user 11.53
sys 2.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43150/ft1_filtered_4FGL_J0800.9+4401_daily_bin833.fits evtable="EVENTS" scfile=/scratch/kocevski/43150/ft2_4FGL_J0800.9+4401_daily_bin833.fits sctable="SC_DATA" expcube=/scratch/kocevski/43150/ltcube_455241601_455500801_4FGL_J0800.9+4401_daily_bin833.fits outfile=/scratch/kocevski/43150/expmap_455241601_455500801_4FGL_J0800.9+4401_daily_bin833.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/43150/ltcube_455241601_455500801_4FGL_J0800.9+4401_daily_bin833.fits
.....................!
real 195.67
user 188.04
sys 7.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/43150/ft1_filtered_4FGL_J0800.9+4401_daily_bin833.fits scfile=/scratch/kocevski/43150/ft2_4FGL_J0800.9+4401_daily_bin833.fits outfile=/scratch/kocevski/43150/cmap_455241601_455500801_4FGL_J0800.9+4401_daily_bin833.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 2.57
user 0.35
sys 2.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43150/ft1_filtered_4FGL_J0800.9+4401_daily_bin833.fits scfile=/scratch/kocevski/43150/ft2_4FGL_J0800.9+4401_daily_bin833.fits outfile=/scratch/kocevski/43150/cmap_HighResolution_455241601_455500801_4FGL_J0800.9+4401_daily_bin833.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 2.77
user 0.40
sys 2.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54444       1.0000         .10000E-03   10000.    
     2 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5043       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9982       1.0000         .10000E-03   10000.    
     5 'norm      '    14.724       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.1457       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4691       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0196       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8846       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2611       1.0000         .10000E-03   10000.    
    18 'norm      '    .65181       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.0605       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .51427       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.020       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .77997E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10324E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .46995       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .92835       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0297       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=   7320.823     FROM MIGRAD    STATUS=CONVERGED    668 CALLS     3014 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54508        4.7719        .18443E-05   -.58680E-03
   2  norm          .10000E-03    1.8466       -.15170E-07** at limit **
   3  Prefactor     3.5072        6.8422        .44937E-06   -.12220E-03
   4  Prefactor     4.9928        18.305       -.47005E-05   -.24114E-03
   5  norm          14.725        9.9935       -.15867E-06   -.70489E-04
   6  Prefactor     .10000E-03    2.5142       -.47753E-06** at limit **
   7  Prefactor     .10000E-03    7.5361        .58990E-06** at limit **
   8  norm          2.1457        1.0236        .20625E-07   -.31051E-04
   9  Prefactor     .10000E-03    4.1716       -.40048E-06** at limit **
  10  Prefactor     .10000E-03    8.6948       -.91519E-06** at limit **
  11  norm          3.4690        6.7712        .91180E-07   -.59691E-04
  12  norm          2.0196        1.6426        .13750E-08    .48659E-04
  13  Prefactor     .10000E-03    4.3126        .47570E-06** at limit **
  14  Prefactor     .10000E-03    15.667       -.56704E-06** at limit **
  15  Prefactor     5.8847        5.0572        .46584E-08   -.18528E-03
  16  norm          .10000E-03    1.4134        .27790E-07** at limit **
  17  norm          1.2610        1.1020        .13235E-07    .25678E-04
  18  norm          .65171        .52664        .96768E-08   -.19912E-03
  19  Prefactor     5.0624        9.2251       -.62409E-07   -.61237E-04
  20  Prefactor     .51356        1.9471        .70717E-06   -.51464E-03
  21  Prefactor     19.017        25.521       -.20429E-05   -.22853E-03
  22  Prefactor     .10000E-03    10.661        .16074E-05** at limit **
  23  Prefactor     .10000E-03    4.5824        .50921E-06** at limit **
  24  norm          .10000E-03    3.6171       -.70536E-06** at limit **
  25  norm          .10000E-03    2.5071        .51142E-06** at limit **
  26  Prefactor     .46461        2.5922        .99289E-06   -.53629E-03
  27  Normalizat    .92851        .18051       -.49489E-06   -.14165E-03
  28  Prefactor     1.0296        .12486        .14917E-06   -.17909E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.545078
  norm       = 0.0001
  Prefactor  = 3.50725
  Prefactor  = 4.99283
  norm       = 14.7246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.14567
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.46904
  norm       = 2.01961
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.8847
  norm       = 0.0001
  norm       = 1.26104
  norm       = 0.651706
  Prefactor  = 5.06239
  Prefactor  = 0.513559
  Prefactor  = 19.0171
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.464612
  Normalizat = 0.928509
  Prefactor  = 1.02962
 **********
 **   18 **HESSE 
 **********

 FCN=   7320.823     FROM HESSE     STATUS=OK           525 CALLS     3539 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54508        6.5859        .41383E-03   -1.5560    
   2  norm          .10000E-03    1.8517        .11344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.5072        6.7488        .21598E-03   -1.5333    
   4  Prefactor     4.9928        19.152        .17988E-03   -1.5261    
   5  norm          14.725        9.9603        .10438E-03   -1.4940    
   6  Prefactor     .10000E-03    2.5281        .13282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.5681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.1457        1.0238        .28133E-04   -1.5415    
   9  Prefactor     .10000E-03    4.1923        .17078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.7927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4690        6.7653        .21712E-03   -1.5335    
  12  norm          2.0196        1.6478        .96253E-04   -1.5424    
  13  Prefactor     .10000E-03    4.4323        .34729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.8847        5.0252        .16555E-03   -1.5223    
  16  norm          .10000E-03    1.4438        .99294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2610        1.1018        .39714E-04   -1.5483    
  18  norm          .65171        .51349        .51911E-04   -1.5547    
  19  Prefactor     5.0624        9.1296        .17874E-03   -1.5258    
  20  Prefactor     .51356        2.0022        .22803E-03   -1.5565    
  21  Prefactor     19.017        26.047        .91836E-04   -1.4836    
  22  Prefactor     .10000E-03    11.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    17.613        .35344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    9.1760        .30463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.5366        .13257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .46461        4.6563        .24616E-02   -1.5572    
  27  Normalizat    .92851        .20316        .29439E-03   -.95465    
  28  Prefactor     1.0296        .14309        .20186E-03   -.91748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43047e-09
Minuit parameter uncertainties:
  1  3.78953
  2  9.39688e-06
  3  6.7503
  4  19.1756
  5  9.96138
  6  2.49643e-05
  7  5.85489e-05
  8  1.02384
  9  2.5608e-05
  10  8.78284e-05
  11  6.76676
  12  1.64782
  13  2.87223e-05
  14  7.27561e-05
  15  5.02559
  16  3.44423e-07
  17  1.10182
  18  0.51349
  19  9.13213
  20  2.00246
  21  26.0625
  22  0.000201268
  23  0.000556522
  24  0.000148116
  25  2.46536e-05
  26  2.94166
  27  0.20333
  28  0.143145
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  2.872e-05  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.030e+00  1.431e-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.285e-01  2.033e-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: 4.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/43150/likelihoodResults_455241601_455500801_4FGL_J0800.9+4401_daily_bin833.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) = 7320.82433178
delta logL = -0.0010761730673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7320.8232572
delta logL = -1.58547391038e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12309E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1290       1.0000          .0000       10.000    
     3 'Normalizat'    .92856       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0296       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=   7320.823     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      249 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10330E-03    16.622        .36285E-02** at limit **
   2  Index         2.0423        8.9515        .50000        .60614E-04
   3  Normalizat    .92851        .78866E-02    .29439E-03    .86350E-04
   4  Prefactor     1.0296        .57005E-02    .20186E-03    .15263E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103297
  Index      = 2.04228
  Normalizat = 0.92851
  Prefactor  = 1.02962
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10330E-03    82.501        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0423        5.9937        .50000       -.63297    
   3  Normalizat    .92851        .17768E-01    .11776E-04   -.95465    
   4  Prefactor     1.0296        .12843E-01    .80743E-05   -.91749    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.9713e-08
Minuit parameter uncertainties:
  1  0.0330327
  2  207.017
  3  0.0177683
  4  0.0128431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43150': 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) = 7320.82325362
delta logL = 1.99507121579e-06

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.033e-04  3.303e-02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.042e+00  2.070e+02  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.030e+00  1.284e-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:  9.285e-01  1.777e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/43150/cmap_HighResolution_455241601_455500801_4FGL_J0800.9+4401_daily_bin833.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-03', job_status='DONE', photon_flux_upper_limit='4.48e-08', time_completed='2021-08-28 21:36:49.485411', job_id='43150', GAL2='1.03', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1630211809.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.00e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='833' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 21:36:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 43150: <4FGL_J0800.9+4401_daily_bin833> in cluster <slac> Done

Job <4FGL_J0800.9+4401_daily_bin833> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 21:20:28 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 21:20:29 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:20:29 2021
Terminated at Sat Aug 28 21:36:50 2021
Results reported at Sat Aug 28 21:36:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin833 120.246 44.0181 455241601 455500801 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 :                                   966.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             325.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            982 sec.

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

