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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin732
RA = 317.576, Dec = 8.1498
tmin = 429062401, tmax = 429321601
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='351431', job_status='RUN', time_executed='2021-09-26 05:33:41.276487', time_epoch_executed='1632659621.28' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351431

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351431/ft1_4FGL_J2110.3+0808_daily_bin732.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351431/ft1_4FGL_J2110.3+0808_daily_bin732.fits outfile=/scratch/kocevski/351431/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin732.fits ra=317.576 dec=8.1498 rad=12.0 tmin=429062401.0 tmax=429321601.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 6.47
user 6.08
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.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/351431/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin732.fits evtable="EVENTS" outfile="/scratch/kocevski/351431/ft1_filtered_4FGL_J2110.3+0808_daily_bin732.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 0.52
user 0.37
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351431/ft1_filtered_4FGL_J2110.3+0808_daily_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/351431/ltcube_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.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/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits
.....................!
real 14.54
user 14.16
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351431/ft1_filtered_4FGL_J2110.3+0808_daily_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/351431/ltcube_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.fits outfile=/scratch/kocevski/351431/expmap_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.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/351431/ltcube_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.fits
.....................!
real 191.04
user 185.85
sys 4.40

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

Setting source of interest to:
4FGL J2110.3+0808 @ 317.576 8.1498

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/351431/ft1_filtered_4FGL_J2110.3+0808_daily_bin732.fits scfile=/scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits outfile=/scratch/kocevski/351431/cmap_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.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=317.576 yref=8.1498 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 0.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351431/ft1_filtered_4FGL_J2110.3+0808_daily_bin732.fits scfile=/scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits outfile=/scratch/kocevski/351431/cmap_HighResolution_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.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=317.576 yref=8.1498 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 0.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/351431/ft1_filtered_4FGL_J2110.3+0808_daily_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351431/Model_4FGL_J2110.3+0808_daily_bin732.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/351431/ft1_filtered_4FGL_J2110.3+0808_daily_bin732.fits.....................!
real 64.95
user 63.50
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/351431/ft1_filtered_4FGL_J2110.3+0808_daily_bin732.fits', '/scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits', expMap='/scratch/kocevski/351431/expmap_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.fits', expCube='/scratch/kocevski/351431/ltcube_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/351431/Model_4FGL_J2110.3+0808_daily_bin732.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2110.3+0808'

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  5.908e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
340        Scale:  1.049e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/351431/ft1_filtered_4FGL_J2110.3+0808_daily_bin732.fits
Spacecraft file(s): /scratch/kocevski/351431/ft2_4FGL_J2110.3+0808_daily_bin732.fits
Exposure map: /scratch/kocevski/351431/expmap_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.fits
Exposure cube: /scratch/kocevski/351431/ltcube_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/351431/Model_4FGL_J2110.3+0808_daily_bin732.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) = 5692.77426422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    30.069       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3268       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.6441       1.0000         .10000E-03   10000.    
     6 'norm      '    28.323       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.3505       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0868       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.649       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11179E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.521       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10601E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.929       1.0000         .10000E-03   10000.    
    15 'norm      '    .15270E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.441       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    45.744       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .72385       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .84811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5692.773     FROM MIGRAD    STATUS=CONVERGED    657 CALLS     3459 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.482       -.15941E-06** at limit **
   2  Prefactor     30.058        33.945       -.32782E-06    .36938E-04
   3  norm          2.3268        1.4606        .14785E-06    .31176E-03
   4  Prefactor     .10000E-03    32.481        .17862E-06** at limit **
   5  norm          5.6438        10.581        .31258E-06    .21679E-04
   6  norm          28.249        96.059        .60967E-06    .11360E-06
   7  Prefactor     9.3522        26.951       -.49362E-06   -.12773E-04
   8  Prefactor     3.0890        4.5488        .18610E-07    .31376E-05
   9  Prefactor     30.498        71.377        .34846E-06   -.14331E-04
  10  Prefactor     .10000E-03    25.297        .15298E-05** at limit **
  11  Prefactor     11.486        41.674        .18234E-05    .30256E-05
  12  Prefactor     .10000E-03    24.858       -.14243E-05** at limit **
  13  Prefactor     .10000E-03    55.408        .77143E-06** at limit **
  14  Prefactor     28.966        93.906        .21477E-06   -.55126E-05
  15  norm          .10000E-03    8.0931        .99460E-06** at limit **
  16  Prefactor     .10000E-03    29.465        .15142E-06** at limit **
  17  Prefactor     .10000E-03    39.443        .35128E-06** at limit **
  18  Prefactor     .10000E-03    2.8676        .13574E-06** at limit **
  19  Prefactor     15.441        16.556       -.27591E-06   -.79645E-04
  20  Prefactor     .10000E-03    1.7566        .12020E-06** at limit **
  21  Prefactor     45.733        58.762        .67759E-06   -.18946E-04
  22  Prefactor     .10000E-03    43.816        .15252E-06** at limit **
  23  Prefactor     .10000E-03    29.321        .28281E-06** at limit **
  24  norm          .10000E-03    1.8381        .51868E-06** at limit **
  25  norm          .10000E-03    19.218        .73182E-06** at limit **
  26  Prefactor     .10000E-03    19.275        .13143E-05** at limit **
  27  Normalizat    .72400        .35164       -.65258E-05   -.74650E-04
  28  Prefactor     .84805        .12066        .14073E-05   -.43307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 30.0582
  norm       = 2.32679
  Prefactor  = 0.0001
  norm       = 5.64377
  norm       = 28.2492
  Prefactor  = 9.35217
  Prefactor  = 3.089
  Prefactor  = 30.4977
  Prefactor  = 0.0001
  Prefactor  = 11.4861
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.9662
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.441
  Prefactor  = 0.0001
  Prefactor  = 45.733
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.723997
  Prefactor  = 0.848051
 **********
 **   18 **HESSE 
 **********

 FCN=   5692.773     FROM HESSE     STATUS=OK           517 CALLS     3976 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.058        34.985        .73066E-04   -1.4611    
   3  norm          2.3268        1.5098        .46892E-04   -1.5403    
   4  Prefactor     .10000E-03    32.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.6438        10.576        .16909E-03   -1.5233    
   6  norm          28.249        96.092        .75279E-04   -1.4644    
   7  Prefactor     9.3522        26.784        .13106E-03   -1.5096    
   8  Prefactor     3.0890        4.5291        .18640E-03   -1.5356    
   9  Prefactor     30.498        71.391        .72373E-04   -1.4603    
  10  Prefactor     .10000E-03    25.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.486        41.831        .11803E-03   -1.5030    
  12  Prefactor     .10000E-03    24.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    55.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.966        93.935        .74488E-04   -1.4631    
  15  norm          .10000E-03    38.910        .40260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    29.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    39.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.8749        .12484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.441        16.573        .10193E-03   -1.4922    
  20  Prefactor     .10000E-03    1.7683        .97656E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     45.733        58.898        .59281E-04   -1.4354    
  22  Prefactor     .10000E-03    43.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    29.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    1.8822        .10054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    19.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    19.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .72400        .37174        .44506E-03   -1.0295    
  28  Prefactor     .84805        .13113        .15563E-03   -.97981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12488e-10
Minuit parameter uncertainties:
  1  5.84952e-06
  2  35.0087
  3  1.50983
  4  2.48176e-06
  5  10.5795
  6  96.6252
  7  26.8187
  8  4.52962
  9  71.5921
  10  0.000110723
  11  41.9382
  12  4.63708e-05
  13  0.000103472
  14  94.4204
  15  0.000805975
  16  4.08964e-05
  17  2.84166e-05
  18  5.26615e-06
  19  16.5779
  20  2.96276e-06
  21  58.9726
  22  1.8061e-05
  23  2.14222e-05
  24  9.99521e-06
  25  4.45051e-05
  26  6.92159e-05
  27  0.37305
  28  0.131181
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.149e+01  4.194e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
340        Scale:  1.049e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.481e-01  1.312e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  7.240e-01  3.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 317.576 8.150
Photon Flux Upper Limit: 2.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.58e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351431/likelihoodResults_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.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) = 5692.63477169
delta logL = 0.137943663946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5692.59953674
delta logL = 0.17317862193

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5902       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6168       1.0000          .0000       10.000    
     3 'Normalizat'    .67304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86083       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5692.600     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      236 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4734        180.72        .53316E-02    .50278E-03
   2  Index         3.6321        6.7456        .14754        .10986E-03
   3  Normalizat    .67314        .73184E-01    .10388        .13913E-04
   4  Prefactor     .86083        .27527E-01    .44504E-01   -.55712E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.47339
  Index      = 3.63208
  Normalizat = 0.67314
  Prefactor  = 0.860834
 **********
 **   18 **HESSE 
 **********

 FCN=   5692.600     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      267 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4734        412.55        .21327E-03   -1.5335    
   2  Index         3.6321        5.7659        .83838E-02   -.27712    
   3  Normalizat    .67314        .25945        .46051E-03   -1.0496    
   4  Prefactor     .86083        .10199        .15456E-03   -.97523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05004e-06
Minuit parameter uncertainties:
  1  76.2515
  2  10.8006
  3  0.259922
  4  0.102015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351431': 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) = 5692.59952527
delta logL = 0.173190086932

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  3.473e+00  7.625e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  3.632e+00  1.080e+01  0.000e+00  1.000e+01 (-1.000e+00)
340        Scale:  1.049e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.608e-01  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  6.731e-01  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 317.576 8.150

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/351431/cmap_HighResolution_429062401_429321601_4FGL_J2110.3+0808_daily_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-02', job_status='DONE', photon_flux_upper_limit='2.04e-07', time_completed='2021-09-26 05:46:30.225861', job_id='351431', GAL2='0.86', fit_tolerance='1e-08', EG2='0.67', EG='0.72', time_epoch_completed='1632660390.23', return_code2='102', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.73e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='732' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:46:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 351431: <4FGL_J2110.3+0808_daily_bin732> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin732> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 05:30:17 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 05:30:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 05:30:37 2021
Terminated at Sun Sep 26 05:46:31 2021
Results reported at Sun Sep 26 05:46:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin732 317.576 8.1498 429062401 429321601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2110.3+0808 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   767.57 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            974 sec.

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

