/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 222 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0803.5+2046_daily_bin75
RA = 120.888, Dec = 20.7678
tmin = 258768001, tmax = 259027201
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='69118', job_status='RUN', time_executed='2021-08-28 22:51:05.413136', time_epoch_executed='1630216265.41' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69118

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69118/ft1_4FGL_J0803.5+2046_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69118/ft1_4FGL_J0803.5+2046_daily_bin75.fits outfile=/scratch/kocevski/69118/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin75.fits ra=120.888 dec=20.7678 rad=12.0 tmin=258768001.0 tmax=259027201.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.70
user 0.95
sys 4.43

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.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/69118/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/69118/ft1_filtered_4FGL_J0803.5+2046_daily_bin75.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 5.19
user 0.34
sys 4.50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69118/ft1_filtered_4FGL_J0803.5+2046_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/69118/ltcube_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.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/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits
.....................!
real 13.82
user 8.51
sys 5.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69118/ft1_filtered_4FGL_J0803.5+2046_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/69118/ltcube_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.fits outfile=/scratch/kocevski/69118/expmap_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.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/69118/ltcube_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.fits
.....................!
real 196.58
user 185.90
sys 9.82

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

Setting source of interest to:
4FGL J0803.5+2046 @ 120.888 20.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/69118/ft1_filtered_4FGL_J0803.5+2046_daily_bin75.fits scfile=/scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits outfile=/scratch/kocevski/69118/cmap_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.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.888 yref=20.7678 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 4.63
user 0.38
sys 4.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69118/ft1_filtered_4FGL_J0803.5+2046_daily_bin75.fits scfile=/scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits outfile=/scratch/kocevski/69118/cmap_HighResolution_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.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.888 yref=20.7678 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 5.16
user 0.37
sys 4.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/69118/ft1_filtered_4FGL_J0803.5+2046_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/69118/Model_4FGL_J0803.5+2046_daily_bin75.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/69118/ft1_filtered_4FGL_J0803.5+2046_daily_bin75.fits.....................!
real 57.32
user 50.33
sys 6.80

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/69118/ft1_filtered_4FGL_J0803.5+2046_daily_bin75.fits', '/scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits', expMap='/scratch/kocevski/69118/expmap_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.fits', expCube='/scratch/kocevski/69118/ltcube_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/69118/Model_4FGL_J0803.5+2046_daily_bin75.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0803.5+2046'

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  9.736e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/69118/ft1_filtered_4FGL_J0803.5+2046_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/69118/ft2_4FGL_J0803.5+2046_daily_bin75.fits
Exposure map: /scratch/kocevski/69118/expmap_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.fits
Exposure cube: /scratch/kocevski/69118/ltcube_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/69118/Model_4FGL_J0803.5+2046_daily_bin75.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) = 4444.53419526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    60.676       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2989       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8723       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    12.041       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1700       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.140       1.0000         .10000E-03   10000.    
    11 'norm      '    17.222       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2903       1.0000         .10000E-03   10000.    
    13 'Prefactor '    65.729       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .28743E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.444       1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.622       1.0000         .10000E-03   10000.    
    20 'norm      '    5.0174       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.1932       1.0000         .10000E-03   10000.    
    23 'Prefactor '    57.457       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .74870       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4444.531     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2870 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          60.674        21.618       -.49729E-07    .22480E-04
   2  norm          1.2986        1.4537       -.79081E-07   -.64397E-04
   3  norm          1.8721        1.5341        .43647E-08    .13174E-03
   4  Prefactor     .10000E-03    7.2888       -.15527E-06** at limit **
   5  norm          12.042        6.1160       -.34735E-06   -.11920E-04
   6  Prefactor     .10000E-03    25.379        .59511E-06** at limit **
   7  Prefactor     .10001E-03    24.170        .20011E-05** at limit **
   8  Prefactor     .10000E-03    86.754       -.10366E-05** at limit **
   9  Prefactor     4.1700        3.5211        .92703E-07    .23944E-04
  10  Prefactor     21.139        27.740        .21503E-07    .14431E-04
  11  norm          17.221        27.633        .14316E-05    .19996E-05
  12  Prefactor     3.2891        17.559       -.57269E-05    .81034E-04
  13  Prefactor     65.732        111.85        .64293E-06    .99110E-05
  14  norm          .10000E-03    32.769        .17520E-05** at limit **
  15  Prefactor     .10000E-03    15.412       -.10090E-05** at limit **
  16  Prefactor     .10001E-03    299.88       -.41140E-04** at limit **
  17  Prefactor     .10000E-03    15.644       -.40513E-06** at limit **
  18  Prefactor     12.443        17.364        .20006E-06    .21559E-04
  19  Prefactor     20.623        42.784        .57049E-06   -.53983E-04
  20  norm          5.0170        2.7738       -.30801E-06   -.13178E-02
  21  Prefactor     .10000E-03    16.311        .38189E-06** at limit **
  22  Prefactor     8.1929        6.4668        .11677E-06   -.33411E-04
  23  Prefactor     57.453        58.713       -.51313E-06   -.23155E-04
  24  Normalizat    .74870        .25215       -.15302E-05   -.20193E-04
  25  Prefactor     1.0999        .18427        .14889E-05    .11275E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 60.674
  norm       = 1.29857
  norm       = 1.87215
  Prefactor  = 0.0001
  norm       = 12.0418
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 4.16999
  Prefactor  = 21.1393
  norm       = 17.2209
  Prefactor  = 3.28907
  Prefactor  = 65.7318
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 12.443
  Prefactor  = 20.6233
  norm       = 5.017
  Prefactor  = 0.0001
  Prefactor  = 8.19289
  Prefactor  = 57.4532
  Normalizat = 0.748699
  Prefactor  = 1.09993
 **********
 **   18 **HESSE 
 **********

 FCN=   4444.531     FROM HESSE     STATUS=OK           427 CALLS     3297 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          60.674        21.627        .51510E-04   -1.4149    
   2  norm          1.2986        1.4357        .81503E-04   -1.5480    
   3  norm          1.8721        1.5251        .72222E-04   -1.5434    
   4  Prefactor     .10000E-03    7.3468        .17548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.042        6.1073        .10911E-03   -1.5014    
   6  Prefactor     .10000E-03    25.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    24.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    87.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1700        3.5155        .10869E-03   -1.5300    
  10  Prefactor     21.139        27.741        .87115E-04   -1.4788    
  11  norm          17.221        27.683        .96510E-04   -1.4878    
  12  Prefactor     3.2891        17.803        .11161E-02   -1.5345    
  13  Prefactor     65.732        111.88        .49503E-04   -1.4085    
  14  norm          .10000E-03    32.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    291.26        .78273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.443        17.376        .11355E-03   -1.5002    
  19  Prefactor     20.623        42.992        .88202E-04   -1.4799    
  20  norm          5.0170        2.8155        .64189E-04   -1.5260    
  21  Prefactor     .10000E-03    16.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.1929        6.4650        .14006E-03   -1.5135    
  23  Prefactor     57.453        58.846        .52924E-04   -1.4191    
  24  Normalizat    .74870        .28710        .32351E-03   -1.0200    
  25  Prefactor     1.0999        .21179        .21012E-03   -.89469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51618e-10
Minuit parameter uncertainties:
  1  21.6299
  2  1.43578
  3  1.52515
  4  2.54668e-05
  5  6.10763
  6  0.000385828
  7  0.000711223
  8  0.000371576
  9  3.51572
  10  27.7575
  11  27.7041
  12  15.3113
  13  112.244
  14  0.000224058
  15  9.10038e-05
  16  0.00291528
  17  4.30496e-05
  18  17.3834
  19  43.0568
  20  2.81559
  21  0.000132164
  22  6.46557
  23  58.9053
  24  0.287683
  25  0.211949
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  2.241e-04  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.100e+00  2.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  7.487e-01  2.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 120.888 20.768
Photon Flux Upper Limit: 3.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/69118/likelihoodResults_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.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): 0
logL (Free Index) = 4444.53163535
delta logL = -0.000144390207424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4444.53149332
delta logL = -2.36530195252e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10178E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8248       1.0000          .0000       5.0000    
     3 'Normalizat'    .74872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0999       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+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=   4444.531     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      265 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    491.76        .18142E-01** at limit **
   2  alpha         1.7378        3.3502        .50000        .24102E-07
   3  Normalizat    .74870        .22726E-01    .32351E-03    .35915E-04
   4  Prefactor     1.0999        .17700E-01    .21012E-03    .55468E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.73779
  Normalizat = 0.748701
  Prefactor  = 1.09992
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7074.2        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7378        2.7722        .20000       -.30982    
   3  Normalizat    .74870        .89179E-01    .12940E-04   -1.0200    
   4  Prefactor     1.0999        .69466E-01    .42025E-04   -.89469    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.867e-08
Minuit parameter uncertainties:
  1  0.00204389
  2  13813.6
  3  0.0891962
  4  0.0694714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69118': 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) = 4444.53149093
delta logL = 2.85344867734e-08

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  2.044e-03  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  1.738e+00  1.381e+04  0.000e+00  5.000e+00 ( 1.000e+00)
275         beta:  7.702e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.100e+00  6.947e-02  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  7.487e-01  8.920e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 120.888 20.768

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/69118/cmap_HighResolution_258768001_259027201_4FGL_J0803.5+2046_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.80e-05', job_status='DONE', photon_flux_upper_limit='3.42e-08', time_completed='2021-08-28 23:01:25.503372', job_id='69118', GAL2='1.10', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630216885.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.85e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='75' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 23:01:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 69118: <4FGL_J0803.5+2046_daily_bin75> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin75> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Aug 28 22:45:59 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 22:46:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 22:46:01 2021
Terminated at Sat Aug 28 23:01:26 2021
Results reported at Sat Aug 28 23:01:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin75 120.888 20.7678 258768001 259027201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0803.5+2046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   687.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

