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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin637
RA = 317.576, Dec = 8.1498
tmin = 404438401, tmax = 404697601
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='350281', job_status='RUN', time_executed='2021-09-26 05:29:18.477551', time_epoch_executed='1632659358.48' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='637'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350281

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350281/ft1_4FGL_J2110.3+0808_daily_bin637.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350281/ft2_4FGL_J2110.3+0808_daily_bin637.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350281/ft1_4FGL_J2110.3+0808_daily_bin637.fits outfile=/scratch/kocevski/350281/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin637.fits ra=317.576 dec=8.1498 rad=12.0 tmin=404438401.0 tmax=404697601.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 12.76
user 12.26
sys 0.41

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350281/ft1_filtered_4FGL_J2110.3+0808_daily_bin637.fits" evtable="EVENTS" scfile=/scratch/kocevski/350281/ft2_4FGL_J2110.3+0808_daily_bin637.fits sctable="SC_DATA" outfile=/scratch/kocevski/350281/ltcube_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.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/350281/ft2_4FGL_J2110.3+0808_daily_bin637.fits
.....................!
real 12.95
user 12.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350281/ft1_filtered_4FGL_J2110.3+0808_daily_bin637.fits evtable="EVENTS" scfile=/scratch/kocevski/350281/ft2_4FGL_J2110.3+0808_daily_bin637.fits sctable="SC_DATA" expcube=/scratch/kocevski/350281/ltcube_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.fits outfile=/scratch/kocevski/350281/expmap_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.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/350281/ltcube_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.fits
.....................!
real 191.16
user 184.99
sys 5.72

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/350281/ft1_filtered_4FGL_J2110.3+0808_daily_bin637.fits scfile=/scratch/kocevski/350281/ft2_4FGL_J2110.3+0808_daily_bin637.fits outfile=/scratch/kocevski/350281/cmap_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350281/ft1_filtered_4FGL_J2110.3+0808_daily_bin637.fits scfile=/scratch/kocevski/350281/ft2_4FGL_J2110.3+0808_daily_bin637.fits outfile=/scratch/kocevski/350281/cmap_HighResolution_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.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.55
user 0.41
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/350281/ft1_filtered_4FGL_J2110.3+0808_daily_bin637.fits', '/scratch/kocevski/350281/ft2_4FGL_J2110.3+0808_daily_bin637.fits', expMap='/scratch/kocevski/350281/expmap_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.fits', expCube='/scratch/kocevski/350281/ltcube_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/350281/Model_4FGL_J2110.3+0808_daily_bin637.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/350281/ft1_filtered_4FGL_J2110.3+0808_daily_bin637.fits
Spacecraft file(s): /scratch/kocevski/350281/ft2_4FGL_J2110.3+0808_daily_bin637.fits
Exposure map: /scratch/kocevski/350281/expmap_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.fits
Exposure cube: /scratch/kocevski/350281/ltcube_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/350281/Model_4FGL_J2110.3+0808_daily_bin637.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 53.6440103742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 52.0898308951

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62153E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14565E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .33621E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .11767E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.7331       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1438       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.133       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12305E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.8763       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11631E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21518E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4965       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11501E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.6703       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13440E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10520E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.2099       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0108       1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.642       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .37454E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.1378       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .26012E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.9018       1.0000         .10000E-03   10000.    
    25 'norm      '    .32293E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .24653E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    .19363       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   52.08983     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      284 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33922E-03    6456.2        .10523E-01** at limit **
   2  Prefactor     .72173E-03    6387.4        .10247E-01** at limit **
   3  norm          .10000E-03    47.752        .90712E-02** at limit **
   4  Prefactor     .21530E-03    6595.1        .10671E-01** at limit **
   5  norm          .13022E-02    1040.9        .90712E-02** at limit **
   6  norm          7.7331        1.0021         .0000         .0000    
   7  Prefactor     2.1438        1.0302         .0000         .0000    
   8  Prefactor     33.127        1.0000       -.47880E-05   -.14880E-02
   9  Prefactor     .19677E-03    .20571       -.74030E-03** at limit **
  10  Prefactor     4.8763        1.0054         .0000         .0000    
  11  Prefactor     .33567E-02    .20571       -.40957E-03    .15657E-02
  12  Prefactor     .14855E-02    .25407       -.85304E-04** at limit **
  13  Prefactor     3.4965        1.0106         .0000         .0000    
  14  Prefactor     .15246E-03    .20571       -.74016E-03** at limit **
  15  norm          3.6703        1.0096         .0000         .0000    
  16  Prefactor     .12438E-03    .20571       -.75367E-03** at limit **
  17  Prefactor     .40162E-03    .20571       -.44111E-03** at limit **
  18  Prefactor     1.2099        1.1312         .0000         .0000    
  19  Prefactor     1.0108        1.3216         .0000         .0000    
  20  Prefactor     24.640        1.0001        .49720E-04    .92864E-02
  21  Prefactor     .32594E-01    .21200       -.13751E-03    .72240E-03
  22  Prefactor     2.1378        1.0304         .0000         .0000    
  23  Prefactor     .14875E-03    .28753       -.56800E-04** at limit **
  24  norm          2.9018        1.0157         .0000         .0000    
  25  norm          .24639E-02    .24372       -.77935E-04** at limit **
  26  Prefactor     .11495E-03    .20571        .60899E-03** at limit **
  27  Normalizat    .10000E-01    .25505       -.30175E-03** at limit **
  28  Prefactor     .19342        .47456        .13614E-03   -.24686E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000339219
  Prefactor  = 0.000721735
  norm       = 0.000100002
  Prefactor  = 0.000215304
  norm       = 0.00130215
  norm       = 7.73305
  Prefactor  = 2.14375
  Prefactor  = 33.1272
  Prefactor  = 0.000196767
  Prefactor  = 4.87629
  Prefactor  = 0.0033567
  Prefactor  = 0.00148554
  Prefactor  = 3.49649
  Prefactor  = 0.000152458
  norm       = 3.67025
  Prefactor  = 0.000124376
  Prefactor  = 0.000401621
  Prefactor  = 1.20986
  Prefactor  = 1.01076
  Prefactor  = 24.6395
  Prefactor  = 0.0325936
  Prefactor  = 2.13779
  Prefactor  = 0.000148751
  norm       = 2.90183
  norm       = 0.00246388
  Prefactor  = 0.00011495
  Normalizat = 0.01
  Prefactor  = 0.193419
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   52.08983     FROM HESSE     STATUS=FAILED        21 CALLS      305 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33922E-03    6456.2        .10523E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72173E-03    6387.4        .10247E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    47.752        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .21530E-03    6595.1        .10671E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .13022E-02    1040.9        .90712E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          507.33        499.56         .0000       -1.5152    
   7  Prefactor     2.1438        1.0302         .0000       -1.5415    
   8  Prefactor     33.127        1.0000       -.47880E-05   -1.4556    
   9  Prefactor     .19677E-03    .20571       -.74030E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.8763        1.0054         .0000       -1.5266    
  11  Prefactor     .33567E-02    .20571       -.40957E-03   -1.5697    
  12  Prefactor     .14855E-02    .25407       -.85304E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.4965        1.0106         .0000       -1.5334    
  14  Prefactor     .15246E-03    .20571       -.74016E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.6703        1.0096         .0000       -1.5325    
  16  Prefactor     .12438E-03    .20571       -.75367E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .40162E-03    .20571       -.44111E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2099        1.1312         .0000       -1.5488    
  19  Prefactor     1.0108        1.3216         .0000       -1.5507    
  20  Prefactor     24.640        1.0001        .49720E-04   -1.4715    
  21  Prefactor     .32594E-01    .21200       -.13751E-03   -1.5672    
  22  Prefactor     2.1378        1.0304         .0000       -1.5416    
  23  Prefactor     .14875E-03    .28753       -.56800E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.9018        1.0157         .0000       -1.5367    
  25  norm          .24639E-02    .24372       -.77935E-04   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .11495E-03    .20571        .60899E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .10000E-01    .25505       -.30175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .19342        .47456        .13614E-03   -1.2917    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.244e-09
Minuit parameter uncertainties:
  1  1.76384
  2  2.76791
  3  0.000559984
  4  1.28925
  5  2.27801
  6  1.0021
  7  1.03018
  8  1.00002
  9  0.00892333
  10  1.00535
  11  0.0517669
  12  0.0375245
  13  1.01061
  14  0.00657009
  15  1.00959
  16  0.00447865
  17  0.0157541
  18  1.13126
  19  1.32168
  20  1.00015
  21  0.165995
  22  1.03037
  23  0.00748805
  24  1.01567
  25  0.0480051
  26  0.00350737
  27  1.35606e-05
  28  0.484489
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 52.0898316045

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  3.357e-03  5.177e-02  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.934e-01  4.845e-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:  1.000e-02  1.356e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 317.576 8.150
Photon Flux Upper Limit: 1.60e-05 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/350281/likelihoodResults_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.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) = 52.0898316083
delta logL = -3.8741490016e-09

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 52.0898324175
delta logL = -8.13014537471e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33479E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3962       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .19372       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=   52.08983     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      238 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10033E-03    903.13        .19706E-01** at limit **
   2  Index         2.8881        5.4022        .50000        .28706E-06
   3  Normalizat    .10000E-01    .27067E-02    .53143E-02** at limit **
   4  Prefactor     .19342        .11883E-01    .14434E-03    .13779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100335
  Index      = 2.8881
  Normalizat = 0.01
  Prefactor  = 0.193421
 **********
 **   18 **HESSE 
 **********

 FCN=   52.08983     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10033E-03    8006.8        .22794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8881        5.2096        .50000       -.43607    
   3  Normalizat    .10000E-01    .23179E-01    .10629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19342        .34779E-01    .28868E-04   -1.2917    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.15943e-08
Minuit parameter uncertainties:
  1  0.102662
  2  3587.57
  3  7.37223e-07
  4  0.034783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350281': 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) = 52.0898307319
delta logL = 8.72602498703e-07

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.003e-04  1.027e-01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.888e+00  3.588e+03  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.934e-01  3.478e-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:  1.000e-02  7.372e-07  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/350281/cmap_HighResolution_404438401_404697601_4FGL_J2110.3+0808_daily_bin637.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e+00', job_status='DONE', photon_flux_upper_limit='1.60e-05', time_completed='2021-09-26 05:35:27.551738', job_id='350281', GAL2='0.19', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632659727.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.19', dlogl='8.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='637' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:35:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 350281: <4FGL_J2110.3+0808_daily_bin637> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin637 317.576 8.1498 404438401 404697601 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 :                                   365.24 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             331.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            593 sec.

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

