/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 208 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 = 7473
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2110.3+0808_daily_bin377
RA = 317.576, Dec = 8.1498
tmin = 337046401, tmax = 337305601
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='348784', job_status='RUN', time_executed='2021-09-26 05:25:17.531602', time_epoch_executed='1632659117.53' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='377'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/348784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/348784/ft1_4FGL_J2110.3+0808_daily_bin377.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/348784/ft2_4FGL_J2110.3+0808_daily_bin377.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/348784/ft1_4FGL_J2110.3+0808_daily_bin377.fits outfile=/scratch/kocevski/348784/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin377.fits ra=317.576 dec=8.1498 rad=12.0 tmin=337046401.0 tmax=337305601.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 10.96
user 10.51
sys 0.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/348784/ft1_filtered_4FGL_J2110.3+0808_daily_bin377.fits" evtable="EVENTS" scfile=/scratch/kocevski/348784/ft2_4FGL_J2110.3+0808_daily_bin377.fits sctable="SC_DATA" outfile=/scratch/kocevski/348784/ltcube_337046401_337305601_4FGL_J2110.3+0808_daily_bin377.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/348784/ft2_4FGL_J2110.3+0808_daily_bin377.fits
.....................!
real 12.92
user 12.59
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/348784/ft1_filtered_4FGL_J2110.3+0808_daily_bin377.fits evtable="EVENTS" scfile=/scratch/kocevski/348784/ft2_4FGL_J2110.3+0808_daily_bin377.fits sctable="SC_DATA" expcube=/scratch/kocevski/348784/ltcube_337046401_337305601_4FGL_J2110.3+0808_daily_bin377.fits outfile=/scratch/kocevski/348784/expmap_337046401_337305601_4FGL_J2110.3+0808_daily_bin377.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/348784/ltcube_337046401_337305601_4FGL_J2110.3+0808_daily_bin377.fits
.....................!
real 191.49
user 185.64
sys 4.67

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/348784/ft1_filtered_4FGL_J2110.3+0808_daily_bin377.fits scfile=/scratch/kocevski/348784/ft2_4FGL_J2110.3+0808_daily_bin377.fits outfile=/scratch/kocevski/348784/cmap_337046401_337305601_4FGL_J2110.3+0808_daily_bin377.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/348784/ft1_filtered_4FGL_J2110.3+0808_daily_bin377.fits scfile=/scratch/kocevski/348784/ft2_4FGL_J2110.3+0808_daily_bin377.fits outfile=/scratch/kocevski/348784/cmap_HighResolution_337046401_337305601_4FGL_J2110.3+0808_daily_bin377.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.57
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.035       1.0000         .10000E-03   10000.    
     3 'norm      '    .68371       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6248       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    65.403       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.194       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6094       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.082       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.6778       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.889       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0426       1.0000         .10000E-03   10000.    
    21 'Prefactor '    25.500       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10561E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    11.530       1.0000         .10000E-03   10000.    
    25 'norm      '    11.848       1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.0197       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2217       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3365.841     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     2978 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10096E-03    13.213       -.73102E-05** at limit **
   2  Prefactor     32.041        1.4498        .72273E-06   -.10914E-02
   3  norm          .68354        1.0809       -.33193E-06   -.33439E-04
   4  Prefactor     6.6414        3.4849        .54727E-05   -.28911E-02
   5  norm          .10018E-03    16.308        .83738E-05** at limit **
   6  norm          65.403        1.0007       -.15624E-07    .63872E-04
   7  Prefactor     11.192        1.0406       -.27846E-06    .74874E-04
   8  Prefactor     .10000E-03    4.3345       -.16943E-05** at limit **
   9  Prefactor     .10034E-03    7.8708       -.37417E-05** at limit **
  10  Prefactor     7.5946        2.0096       -.22987E-05    .55464E-03
  11  Prefactor     32.080        1.0065       -.79075E-07    .11157E-03
  12  Prefactor     .10225E-03    18.136       -.12914E-04** at limit **
  13  Prefactor     .10031E-03    13.987       -.15588E-04** at limit **
  14  Prefactor     .10151E-03    12.827       -.37798E-05** at limit **
  15  norm          6.6771        1.0673       -.21939E-07   -.77730E-03
  16  Prefactor     .10031E-03    18.680        .99290E-05** at limit **
  17  Prefactor     .10957E-03    28.400       -.12958E-04** at limit **
  18  Prefactor     .10000E-03    4.4833        .10768E-04** at limit **
  19  Prefactor     11.888        1.0055       -.35990E-07   -.12782E-03
  20  Prefactor     4.0420        5.3509        .68038E-05    .12007E-02
  21  Prefactor     25.493        1.5256       -.80854E-06    .19589E-02
  22  Prefactor     .10000E-03    18.017        .10714E-04** at limit **
  23  Prefactor     .11131E-03    88.431       -.63829E-04** at limit **
  24  norm          11.529        5.1214       -.65483E-05   -.43006E-02
  25  norm          11.837        2.0456       -.23533E-05    .12340E-02
  26  Prefactor     8.0190        1.0615       -.23261E-06   -.87987E-03
  27  Normalizat    .10000E-01    1.0748       -.48909E-04** at limit **
  28  Prefactor     1.2217        .87074E-01   -.71810E-06   -.42074E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100957
  Prefactor  = 32.0411
  norm       = 0.683539
  Prefactor  = 6.64136
  norm       = 0.000100176
  norm       = 65.4032
  Prefactor  = 11.1919
  Prefactor  = 0.0001
  Prefactor  = 0.00010034
  Prefactor  = 7.59459
  Prefactor  = 32.08
  Prefactor  = 0.000102252
  Prefactor  = 0.000100311
  Prefactor  = 0.000101512
  norm       = 6.67705
  Prefactor  = 0.000100309
  Prefactor  = 0.000109567
  Prefactor  = 0.0001
  Prefactor  = 11.8883
  Prefactor  = 4.04201
  Prefactor  = 25.4935
  Prefactor  = 0.000100001
  Prefactor  = 0.000111308
  norm       = 11.5293
  norm       = 11.8368
  Prefactor  = 8.01902
  Normalizat = 0.01
  Prefactor  = 1.22168
 **********
 **   18 **HESSE 
 **********

 FCN=   3365.841     FROM HESSE     STATUS=OK           579 CALLS     3557 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10096E-03    36.915        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.041        39.801        .17699E-02   -1.4575    
   3  norm          .68354        1.5667        .17270E-01   -1.5543    
   4  Prefactor     6.6414        273.16        .38977E-02   -1.5192    
   5  norm          .10018E-03    20.981        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          65.403        164.67        .12406E-02   -1.4089    
   7  Prefactor     11.192        42.630        .29935E-02   -1.5039    
   8  Prefactor     .10000E-03    4.3045        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10034E-03    18.841        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.5946        28.188        .36344E-02   -1.5157    
  11  Prefactor     32.080        39.141        .17686E-02   -1.4575    
  12  Prefactor     .10225E-03    27.248        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10031E-03    18.143        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10151E-03    38.726        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.6771        8.2919        .38820E-02   -1.5191    
  16  Prefactor     .10031E-03    56.040        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10957E-03    77.721        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.4715        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.888        14.568        .29045E-02   -1.5018    
  20  Prefactor     4.0420        6.1847        .50137E-02   -1.5306    
  21  Prefactor     25.493        58.650        .19832E-02   -1.4698    
  22  Prefactor     .10000E-03    53.431        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .11131E-03    128.25        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          11.529        5.5112        .29495E-02   -1.5029    
  25  norm          11.837        39.517        .29095E-02   -1.5020    
  26  Prefactor     8.0190        8.8191        .35395E-02   -1.5142    
  27  Normalizat    .10000E-01    .36495        .32226       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.2217        .13210        .34136E-01   -.85667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39938e-06
Minuit parameter uncertainties:
  1  0.0118947
  2  39.834
  3  1.56683
  4  85.6061
  5  0.00384099
  6  165.836
  7  42.7466
  8  7.39341e-06
  9  0.00506355
  10  28.2373
  11  39.1723
  12  0.0156737
  13  0.00475518
  14  0.0153157
  15  8.2933
  16  0.00832948
  17  0.0546087
  18  6.51157e-05
  19  14.5726
  20  6.18563
  21  58.7826
  22  0.000337717
  23  0.0763276
  24  5.51149
  25  39.6044
  26  8.82056
  27  2.93697e-06
  28  0.132133
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  3.208e+01  3.917e+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:  1.222e+00  1.321e-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  2.937e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/348784/likelihoodResults_337046401_337305601_4FGL_J2110.3+0808_daily_bin377.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) = 3364.73316782
delta logL = 1.10742308053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3364.7152551
delta logL = 1.12533580136

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7015       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9115       1.0000          .0000       10.000    
     3 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2074       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=   3364.715     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      260 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6774        81.950        .46397E-02    .10336E-03
   2  Index         3.9142        3.4308        .90727E-01    .81701E-04
   3  Normalizat    .10000E-01    .57355E-01    .32185    ** at limit **
   4  Prefactor     1.2074        .57019E-01    .34458E-01    .57564E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.67738
  Index      = 3.91417
  Normalizat = 0.01
  Prefactor  = 1.20739
 **********
 **   18 **HESSE 
 **********

 FCN=   3364.715     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6774        99.537        .85427E-04   -1.5275    
   2  Index         3.9142        3.9474        .36688E-02   -.21891    
   3  Normalizat    .10000E-01    .43622        .12528E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2074        .86509E-01    .14575E-03   -.86104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13847e-07
Minuit parameter uncertainties:
  1  43.2358
  2  4.59796
  3  6.491e-06
  4  0.0865196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/348784': 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): 0
logL (Free Index) = 3364.71524959
delta logL = 1.12534131232

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  4.677e+00  4.324e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  3.914e+00  4.598e+00  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.207e+00  8.652e-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  6.491e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.19
Ra Dec: 317.576 8.150
Photon Index (Free Index): 3.91 +/- 4.60
Photon Flux (Free Index): 1.59e-07 +/- 1.13e-07
Energy Flux (Free Index): 2.42e-05 +/- 2.60e-05

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/348784/cmap_HighResolution_337046401_337305601_4FGL_J2110.3+0808_daily_bin377.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.89e-02', comment='SUCCESS', energy_flux2='2.42e-05', dlogl='1.13e+00', photon_flux2='1.59e-07', job_status='DONE', time_completed='2021-09-26 05:35:22.654603', photon_index_error2='4.60', photon_index2='3.91', ts='0.94', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='2.45e-07', energy_flux_error2='2.60e-05', EG='0.01', time_epoch_completed='1632659722.65', return_code='0', job_id='348784', GAL2='1.21', EG2='0.01', return_code2='0', photon_flux_error2='1.13e-07', ts2='3.19', photon_index='2.40' WHERE bin_id='377' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:35:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 348784: <4FGL_J2110.3+0808_daily_bin377> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin377 317.576 8.1498 337046401 337305601 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 :                                   598.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            895 sec.

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

