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


Performing analysis on: 4FGL_J0800.9+4401_daily_bin1525
RA = 120.246, Dec = 44.0181
tmin = 634608001, tmax = 634867201
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='47779', job_status='RUN', time_executed='2021-08-28 21:39:33.154321', time_epoch_executed='1630211973.15' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='1525'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/47779

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/47779/ft1_4FGL_J0800.9+4401_daily_bin1525.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/47779/ft2_4FGL_J0800.9+4401_daily_bin1525.fits


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

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

Done.
real 4.24
user 2.88
sys 1.33

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/47779/ft1_filtered_4FGL_J0800.9+4401_daily_bin1525.fits" evtable="EVENTS" scfile=/scratch/kocevski/47779/ft2_4FGL_J0800.9+4401_daily_bin1525.fits sctable="SC_DATA" outfile=/scratch/kocevski/47779/ltcube_634608001_634867201_4FGL_J0800.9+4401_daily_bin1525.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/47779/ft2_4FGL_J0800.9+4401_daily_bin1525.fits
.....................!
real 13.55
user 11.90
sys 1.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/47779/ft1_filtered_4FGL_J0800.9+4401_daily_bin1525.fits evtable="EVENTS" scfile=/scratch/kocevski/47779/ft2_4FGL_J0800.9+4401_daily_bin1525.fits sctable="SC_DATA" expcube=/scratch/kocevski/47779/ltcube_634608001_634867201_4FGL_J0800.9+4401_daily_bin1525.fits outfile=/scratch/kocevski/47779/expmap_634608001_634867201_4FGL_J0800.9+4401_daily_bin1525.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/47779/ltcube_634608001_634867201_4FGL_J0800.9+4401_daily_bin1525.fits
.....................!
real 191.68
user 185.52
sys 5.80

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/47779/ft1_filtered_4FGL_J0800.9+4401_daily_bin1525.fits scfile=/scratch/kocevski/47779/ft2_4FGL_J0800.9+4401_daily_bin1525.fits outfile=/scratch/kocevski/47779/cmap_634608001_634867201_4FGL_J0800.9+4401_daily_bin1525.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.69
user 0.37
sys 1.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/47779/ft1_filtered_4FGL_J0800.9+4401_daily_bin1525.fits scfile=/scratch/kocevski/47779/ft2_4FGL_J0800.9+4401_daily_bin1525.fits outfile=/scratch/kocevski/47779/cmap_HighResolution_634608001_634867201_4FGL_J0800.9+4401_daily_bin1525.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.67
user 0.37
sys 1.28

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10390E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.4339       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1772       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0017       1.0000         .10000E-03   10000.    
     5 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.848       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.204       1.0000         .10000E-03   10000.    
     8 'norm      '    2.3067       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8858       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.0991       1.0000         .10000E-03   10000.    
    11 'norm      '    22.695       1.0000         .10000E-03   10000.    
    12 'norm      '    .10740E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10709E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9441       1.0000         .10000E-03   10000.    
    16 'norm      '    .10424E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2688       1.0000         .10000E-03   10000.    
    18 'norm      '    .96370       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.8846       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10454E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.989       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0988       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .92681       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=   2388.874     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     3503 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.346        .10224E-05** at limit **
   2  norm          4.4357        8.3904        .63434E-07   -.70710E-04
   3  Prefactor     5.1708        12.671        .91208E-06   -.73777E-04
   4  Prefactor     4.9881        32.650        .26550E-05   -.56776E-05
   5  norm          .10000E-03    8.9671        .41883E-06** at limit **
   6  Prefactor     18.845        25.083        .74869E-06   -.13726E-04
   7  Prefactor     25.217        54.676       -.26460E-05   -.43331E-04
   8  norm          2.3068        1.4708        .11936E-06   -.99275E-04
   9  Prefactor     1.8703        53.975        .73007E-05   -.96073E-04
  10  Prefactor     6.0069        68.259        .19666E-04    .76528E-05
  11  norm          22.680        39.842        .25111E-05    .30029E-05
  12  norm          .10003E-03    4.1526       -.34832E-06** at limit **
  13  Prefactor     .10000E-03    13.092       -.20264E-05** at limit **
  14  Prefactor     .10000E-03    38.485        .13066E-05** at limit **
  15  Prefactor     1.9486        19.174        .91115E-05   -.77905E-04
  16  norm          .10000E-03    5.8193        .27230E-06** at limit **
  17  norm          2.2699        2.1888        .39006E-07   -.38432E-04
  18  norm          .96390        .94961       -.12863E-06   -.17203E-03
  19  Prefactor     .10000E-03    33.941        .83885E-06** at limit **
  20  Prefactor     4.8834        11.946       -.75764E-06   -.27066E-04
  21  Prefactor     .10000E-03    86.479       -.55544E-05** at limit **
  22  Prefactor     18.974        50.158        .33406E-05    .77724E-05
  23  Prefactor     .10000E-03    17.202        .21135E-05** at limit **
  24  norm          .10000E-03    9.2028       -.70098E-06** at limit **
  25  norm          .10000E-03    21.793       -.19667E-05** at limit **
  26  Prefactor     .10000E-03    12.586       -.79748E-06** at limit **
  27  Normalizat    1.0987        .39440       -.25685E-05   -.91355E-04
  28  Prefactor     .92707        .23046       -.29541E-05   -.15795E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.43573
  Prefactor  = 5.17079
  Prefactor  = 4.98809
  norm       = 0.0001
  Prefactor  = 18.8449
  Prefactor  = 25.2172
  norm       = 2.30678
  Prefactor  = 1.87027
  Prefactor  = 6.00692
  norm       = 22.6803
  norm       = 0.000100027
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.94856
  norm       = 0.0001
  norm       = 2.26986
  norm       = 0.963897
  Prefactor  = 0.0001
  Prefactor  = 4.88336
  Prefactor  = 0.0001
  Prefactor  = 18.9741
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09874
  Prefactor  = 0.927075
 **********
 **   18 **HESSE 
 **********

 FCN=   2388.874     FROM HESSE     STATUS=OK           525 CALLS     4028 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.769        .30705E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4357        8.2525        .16159E-03   -1.5287    
   3  Prefactor     5.1708        12.500        .17668E-03   -1.5253    
   4  Prefactor     4.9881        32.086        .17981E-03   -1.5261    
   5  norm          .10000E-03    8.9999        .14279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.845        25.093        .92256E-04   -1.4839    
   7  Prefactor     25.217        54.561        .79791E-04   -1.4703    
   8  norm          2.3068        1.4697        .45285E-04   -1.5404    
   9  Prefactor     1.8703        50.740        .15154E-02   -1.5434    
  10  Prefactor     6.0069        67.964        .16257E-03   -1.5218    
  11  norm          22.680        39.879        .84081E-04   -1.4755    
  12  norm          .10003E-03    34.787        .17774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.237        .17329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    38.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.9486        18.539        .14886E-02   -1.5429    
  16  norm          .10000E-03    6.0480        .23002E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2699        2.1978        .69039E-04   -1.5407    
  18  norm          .96390        .98155        .45668E-03   -1.5512    
  19  Prefactor     .10000E-03    33.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.8834        11.887        .18200E-03   -1.5266    
  21  Prefactor     .10000E-03    86.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.974        50.428        .91913E-04   -1.4837    
  23  Prefactor     .10000E-03    17.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    9.2039        .14482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    21.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    12.593        .16937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0987        .46435        .32379E-03   -.89792    
  28  Prefactor     .92707        .27108        .21312E-03   -.95201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05143e-09
Minuit parameter uncertainties:
  1  6.85471e-05
  2  8.25464
  3  12.5066
  4  25.3216
  5  8.46115e-06
  6  25.1072
  7  54.6693
  8  1.46972
  9  19.5009
  10  40.4685
  11  39.9254
  12  0.00194997
  13  0.000225818
  14  5.09108e-05
  15  12.0251
  16  2.596e-05
  17  2.19784
  18  0.981567
  19  2.90136e-05
  20  11.8925
  21  0.000350595
  22  50.5413
  23  6.54548e-05
  24  6.68839e-06
  25  1.10099e-05
  26  1.49557e-05
  27  0.466093
  28  0.271475
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  2.258e-04  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.271e-01  2.715e-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:  1.099e+00  4.661e-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.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/47779/likelihoodResults_634608001_634867201_4FGL_J0800.9+4401_daily_bin1525.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) = 2388.8740015
delta logL = -0.000359378570465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2388.87364209
delta logL = 3.30892362399e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1527       1.0000          .0000       10.000    
     3 'Normalizat'    1.0988       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92708       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=   2388.874     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10155E-03    172.11        .17591E-02** at limit **
   2  Index         2.0809        8.8310        .50000        .88322E-05
   3  Normalizat    1.0987        .33394E-01    .32378E-03    .20260E-04
   4  Prefactor     .92708        .20501E-01    .21311E-03    .70085E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101552
  Index      = 2.08086
  Normalizat = 1.09874
  Prefactor  = 0.927077
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10155E-03    736.09        .35182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0809        5.1997        .50000       -.62344    
   3  Normalizat    1.0987        .73263E-01    .12951E-04   -.89792    
   4  Prefactor     .92708        .44970E-01    .42623E-04   -.95201    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.19371e-08
Minuit parameter uncertainties:
  1  0.0684664
  2  1155.84
  3  0.0732698
  4  0.0449717
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/47779': 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) = 2388.87364194
delta logL = 1.80357801582e-07

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.016e-04  6.847e-02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.081e+00  1.156e+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:  9.271e-01  4.497e-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:  1.099e+00  7.327e-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/47779/cmap_HighResolution_634608001_634867201_4FGL_J0800.9+4401_daily_bin1525.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', job_status='DONE', photon_flux_upper_limit='1.55e-07', time_completed='2021-08-28 21:48:49.766391', job_id='47779', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630212529.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.80e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1525' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 21:48:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 47779: <4FGL_J0800.9+4401_daily_bin1525> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin1525 120.246 44.0181 634608001 634867201 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 :                                   551.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             212.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            800 sec.

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

