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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin527
RA = 317.576, Dec = 8.1498
tmin = 375926401, tmax = 376185601
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='350096', job_status='RUN', time_executed='2021-09-26 05:27:33.068546', time_epoch_executed='1632659253.07' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='527'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350096

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350096/ft1_4FGL_J2110.3+0808_daily_bin527.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350096/ft2_4FGL_J2110.3+0808_daily_bin527.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350096/ft1_4FGL_J2110.3+0808_daily_bin527.fits outfile=/scratch/kocevski/350096/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin527.fits ra=317.576 dec=8.1498 rad=12.0 tmin=375926401.0 tmax=376185601.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 2.76
user 2.54
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/350096/ft2_4FGL_J2110.3+0808_daily_bin527.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/350096/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin527.fits evtable="EVENTS" outfile="/scratch/kocevski/350096/ft1_filtered_4FGL_J2110.3+0808_daily_bin527.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.35
user 0.31
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350096/ft1_filtered_4FGL_J2110.3+0808_daily_bin527.fits" evtable="EVENTS" scfile=/scratch/kocevski/350096/ft2_4FGL_J2110.3+0808_daily_bin527.fits sctable="SC_DATA" outfile=/scratch/kocevski/350096/ltcube_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.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/350096/ft2_4FGL_J2110.3+0808_daily_bin527.fits
.....................!
real 13.70
user 13.35
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350096/ft1_filtered_4FGL_J2110.3+0808_daily_bin527.fits evtable="EVENTS" scfile=/scratch/kocevski/350096/ft2_4FGL_J2110.3+0808_daily_bin527.fits sctable="SC_DATA" expcube=/scratch/kocevski/350096/ltcube_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.fits outfile=/scratch/kocevski/350096/expmap_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.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/350096/ltcube_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.fits
.....................!
real 152.27
user 148.24
sys 3.68

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/350096/ft1_filtered_4FGL_J2110.3+0808_daily_bin527.fits scfile=/scratch/kocevski/350096/ft2_4FGL_J2110.3+0808_daily_bin527.fits outfile=/scratch/kocevski/350096/cmap_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.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.48
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350096/ft1_filtered_4FGL_J2110.3+0808_daily_bin527.fits scfile=/scratch/kocevski/350096/ft2_4FGL_J2110.3+0808_daily_bin527.fits outfile=/scratch/kocevski/350096/cmap_HighResolution_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.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.47
user 0.32
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/350096/ft1_filtered_4FGL_J2110.3+0808_daily_bin527.fits', '/scratch/kocevski/350096/ft2_4FGL_J2110.3+0808_daily_bin527.fits', expMap='/scratch/kocevski/350096/expmap_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.fits', expCube='/scratch/kocevski/350096/ltcube_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/350096/Model_4FGL_J2110.3+0808_daily_bin527.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/350096/ft1_filtered_4FGL_J2110.3+0808_daily_bin527.fits
Spacecraft file(s): /scratch/kocevski/350096/ft2_4FGL_J2110.3+0808_daily_bin527.fits
Exposure map: /scratch/kocevski/350096/expmap_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.fits
Exposure cube: /scratch/kocevski/350096/ltcube_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/350096/Model_4FGL_J2110.3+0808_daily_bin527.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) = 8203.79456828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.013       1.0000         .10000E-03   10000.    
     3 'norm      '    .72206       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .51204E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.0738       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9923       1.0000         .10000E-03   10000.    
     9 'Prefactor '    114.74       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.3314       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.544       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.1429       1.0000         .10000E-03   10000.    
    15 'norm      '    .56469       1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.482       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.644       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .37178E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.026       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9494       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .31927E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    79.129       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.1647       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .91588       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0236       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=   8203.787     FROM MIGRAD    STATUS=CONVERGED    703 CALLS     3548 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.0917       -.61041E-06** at limit **
   2  Prefactor     20.016        22.239       -.74225E-06   -.19157E-03
   3  norm          .72167        1.2842        .41385E-06   -.30265E-03
   4  Prefactor     .10001E-03    264.42        .98313E-05** at limit **
   5  norm          2.0793        10.625        .25675E-05   -.13010E-03
   6  norm          .10000E-03    32.815       -.18866E-05** at limit **
   7  Prefactor     .10000E-03    7.4423       -.26323E-07** at limit **
   8  Prefactor     1.9914        4.8768        .10149E-05   -.70321E-04
   9  Prefactor     114.77        62.456        .12932E-05    .79833E-04
  10  Prefactor     4.3307        9.4349        .22219E-06   -.22121E-04
  11  Prefactor     .10000E-03    9.8013        .37249E-06** at limit **
  12  Prefactor     .10000E-03    8.2864        .19719E-06** at limit **
  13  Prefactor     20.558        37.642        .17684E-05    .82736E-04
  14  Prefactor     8.1292        177.59       -.31659E-05   -.22154E-04
  15  norm          .56426        2.6372        .18913E-05   -.10906E-03
  16  Prefactor     38.480        23.747        .20900E-06    .97381E-05
  17  Prefactor     21.642        97.680       -.49589E-06   -.12524E-04
  18  Prefactor     .10224E-03    4.6473       -.57592E-06** at limit **
  19  Prefactor     13.038        9.1007        .96666E-06   -.28167E-04
  20  Prefactor     5.9487        4.3588        .11668E-06   -.13450E-04
  21  Prefactor     .10000E-03    13.437       -.14400E-06** at limit **
  22  Prefactor     .10000E-03    36.832        .12056E-05** at limit **
  23  Prefactor     .10000E-03    27.427        .66955E-06** at limit **
  24  norm          .10000E-03    1.0839        .10173E-06** at limit **
  25  norm          79.118        28.934        .28755E-06    .76925E-04
  26  Prefactor     2.1642        5.2943        .56730E-06   -.10310E-03
  27  Normalizat    .91610        .28765       -.13296E-05   -.72409E-04
  28  Prefactor     1.0235        .10789       -.32698E-06   -.13796E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.0165
  norm       = 0.721669
  Prefactor  = 0.000100006
  norm       = 2.07934
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.99143
  Prefactor  = 114.768
  Prefactor  = 4.33067
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.5576
  Prefactor  = 8.12921
  norm       = 0.564256
  Prefactor  = 38.4797
  Prefactor  = 21.6425
  Prefactor  = 0.000102238
  Prefactor  = 13.0383
  Prefactor  = 5.94871
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 79.1178
  Prefactor  = 2.16425
  Normalizat = 0.916097
  Prefactor  = 1.02353
 **********
 **   18 **HESSE 
 **********

 FCN=   8203.787     FROM HESSE     STATUS=OK           531 CALLS     4079 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.1315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.016        21.136        .89531E-04   -1.4813    
   3  norm          .72167        1.1860        .96454E-04   -1.5538    
   4  Prefactor     .10001E-03    271.61        .21146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0793        10.278        .28683E-03   -1.5420    
   6  norm          .10000E-03    33.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.4730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9914        4.8652        .29351E-03   -1.5426    
   9  Prefactor     114.77        62.859        .37559E-04   -1.3561    
  10  Prefactor     4.3307        9.4124        .19355E-03   -1.5292    
  11  Prefactor     .10000E-03    9.8220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.2936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.558        37.941        .88368E-04   -1.4801    
  14  Prefactor     8.1292        179.78        .14050E-03   -1.5138    
  15  norm          .56426        2.6279        .29026E-03   -1.5558    
  16  Prefactor     38.480        23.781        .64611E-04   -1.4467    
  17  Prefactor     21.642        97.387        .86095E-04   -1.4777    
  18  Prefactor     .10224E-03    5.7785        .53338E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.038        9.2171        .55491E-03   -1.4986    
  20  Prefactor     5.9487        4.3512        .13923E-03   -1.5220    
  21  Prefactor     .10000E-03    13.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    36.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    27.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    7.0213        .17668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          79.118        28.490        .45147E-04   -1.3927    
  26  Prefactor     2.1642        5.2846        .27994E-03   -1.5414    
  27  Normalizat    .91610        .33426        .43168E-03   -.95897    
  28  Prefactor     1.0235        .12731        .16935E-03   -.91949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20501e-10
Minuit parameter uncertainties:
  1  3.88404e-05
  2  21.1436
  3  1.18605
  4  0.00261714
  5  9.24799
  6  0.000303357
  7  1.50125e-06
  8  4.86618
  9  62.8959
  10  9.41563
  11  2.9289e-05
  12  1.40624e-05
  13  37.9854
  14  76.72
  15  2.43535
  16  23.7865
  17  92.0692
  18  0.0071927
  19  9.21811
  20  4.35146
  21  4.04478e-06
  22  0.000207894
  23  9.50326e-05
  24  0.00010683
  25  28.4949
  26  5.28576
  27  0.33502
  28  0.127344
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.000e-04  2.929e-05  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:  1.024e+00  1.273e-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:  9.161e-01  3.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 317.576 8.150
Photon Flux Upper Limit: 8.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/350096/likelihoodResults_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.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) = 8203.78719046
delta logL = -0.000485212829517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8203.78670535
delta logL = -1.02974809124e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3848       1.0000          .0000       10.000    
     3 'Normalizat'    .91602       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0236       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8203.787     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      242 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10063E-03    115.33        .18142E-02** at limit **
   2  Index         2.3427        8.6889        .50000        .83482E-05
   3  Normalizat    .91610        .21420E-01    .43168E-03    .53936E-04
   4  Prefactor     1.0235        .89029E-02    .16935E-03    .11098E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100635
  Index      = 2.3427
  Normalizat = 0.916098
  Prefactor  = 1.02353
 **********
 **   18 **HESSE 
 **********

 FCN=   8203.787     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10063E-03    493.66        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3427        8.5139        .50000       -.56032    
   3  Normalizat    .91610        .46675E-01    .17267E-04   -.95897    
   4  Prefactor     1.0235        .19400E-01    .33871E-04   -.91949    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.61238e-09
Minuit parameter uncertainties:
  1  0.0356995
  2  920.243
  3  0.0466769
  4  0.0194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350096': 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) = 8203.78670517
delta logL = 8.34697857499e-08

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.006e-04  3.570e-02  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.343e+00  9.202e+02  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:  1.024e+00  1.940e-02  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:  9.161e-01  4.668e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 317.576 8.150

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/350096/cmap_HighResolution_375926401_376185601_4FGL_J2110.3+0808_daily_bin527.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-03', job_status='DONE', photon_flux_upper_limit='8.55e-08', time_completed='2021-09-26 05:40:54.833028', job_id='350096', GAL2='1.02', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632660054.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.35e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='527' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:40:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 350096: <4FGL_J2110.3+0808_daily_bin527> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin527> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 26 05:25:20 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 05:25:24 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:25:24 2021
Terminated at Sun Sep 26 05:40:55 2021
Results reported at Sun Sep 26 05:40:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin527 317.576 8.1498 375926401 376185601 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 :                                   799.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            935 sec.

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

