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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin714
RA = 317.576, Dec = 8.1498
tmin = 424396801, tmax = 424656001
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='351405', job_status='RUN', time_executed='2021-09-26 05:30:48.162717', time_epoch_executed='1632659448.16' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351405

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351405/ft1_4FGL_J2110.3+0808_daily_bin714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351405/ft2_4FGL_J2110.3+0808_daily_bin714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351405/ft1_4FGL_J2110.3+0808_daily_bin714.fits outfile=/scratch/kocevski/351405/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin714.fits ra=317.576 dec=8.1498 rad=12.0 tmin=424396801.0 tmax=424656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.11
user 4.84
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351405/ft1_filtered_4FGL_J2110.3+0808_daily_bin714.fits" evtable="EVENTS" scfile=/scratch/kocevski/351405/ft2_4FGL_J2110.3+0808_daily_bin714.fits sctable="SC_DATA" outfile=/scratch/kocevski/351405/ltcube_424396801_424656001_4FGL_J2110.3+0808_daily_bin714.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/351405/ft2_4FGL_J2110.3+0808_daily_bin714.fits
.....................!
real 14.47
user 13.92
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351405/ft1_filtered_4FGL_J2110.3+0808_daily_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/351405/ft2_4FGL_J2110.3+0808_daily_bin714.fits sctable="SC_DATA" expcube=/scratch/kocevski/351405/ltcube_424396801_424656001_4FGL_J2110.3+0808_daily_bin714.fits outfile=/scratch/kocevski/351405/expmap_424396801_424656001_4FGL_J2110.3+0808_daily_bin714.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/351405/ltcube_424396801_424656001_4FGL_J2110.3+0808_daily_bin714.fits
.....................!
real 192.98
user 186.52
sys 4.30

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/351405/ft1_filtered_4FGL_J2110.3+0808_daily_bin714.fits scfile=/scratch/kocevski/351405/ft2_4FGL_J2110.3+0808_daily_bin714.fits outfile=/scratch/kocevski/351405/cmap_424396801_424656001_4FGL_J2110.3+0808_daily_bin714.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351405/ft1_filtered_4FGL_J2110.3+0808_daily_bin714.fits scfile=/scratch/kocevski/351405/ft2_4FGL_J2110.3+0808_daily_bin714.fits outfile=/scratch/kocevski/351405/cmap_HighResolution_424396801_424656001_4FGL_J2110.3+0808_daily_bin714.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.375       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5243       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13386E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4027       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13702E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.267       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.297       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10789E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .84707E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.507       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10359E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10813E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.379       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.6021       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.583       1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.630       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.5668       1.0000         .10000E-03   10000.    
    25 'norm      '    14.991       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .87625       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0073       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=   7486.866     FROM MIGRAD    STATUS=CONVERGED    702 CALLS     3490 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.5034       -.38508E-07** at limit **
   2  Prefactor     10.376        26.485        .96935E-06   -.13944E-04
   3  norm          2.5243        1.4187       -.20025E-07   -.15182E-03
   4  Prefactor     .10000E-03    153.18       -.50622E-05** at limit **
   5  norm          .10000E-03    2.5099        .25654E-07** at limit **
   6  norm          .10000E-03    33.859        .24633E-06** at limit **
   7  Prefactor     3.4018        28.819       -.31482E-05   -.57025E-04
   8  Prefactor     .10000E-03    2.3531        .10113E-07** at limit **
   9  Prefactor     .10000E-03    67.756        .12468E-05** at limit **
  10  Prefactor     30.275        20.988        .15949E-05    .59773E-05
  11  Prefactor     .10000E-03    8.7577       -.98215E-08** at limit **
  12  Prefactor     25.299        24.521        .10296E-05   -.68672E-05
  13  Prefactor     .10000E-03    22.468       -.19853E-07** at limit **
  14  Prefactor     .10000E-03    472.07        .61436E-04** at limit **
  15  norm          .10000E-03    1.3369        .11999E-07** at limit **
  16  Prefactor     25.501        20.912       -.64214E-06   -.25964E-04
  17  Prefactor     .10000E-03    23.828       -.80319E-07** at limit **
  18  Prefactor     .10000E-03    5.6208       -.34556E-07** at limit **
  19  Prefactor     12.391        10.774        .33349E-06   -.39821E-04
  20  Prefactor     2.6035        2.3813       -.10280E-06   -.26956E-03
  21  Prefactor     23.559        29.456        .28858E-05   -.44108E-04
  22  Prefactor     35.740        73.238        .68795E-04    .80557E-05
  23  Prefactor     .10000E-03    43.170       -.42209E-06** at limit **
  24  norm          2.5646        2.8769       -.31690E-05   -.83810E-03
  25  norm          15.008        14.532        .45382E-06    .15226E-04
  26  Prefactor     .10000E-03    4.7486       -.33625E-07** at limit **
  27  Normalizat    .87594        .28308       -.21878E-05   -.11021E-03
  28  Prefactor     1.0074        .10903       -.62796E-07   -.17848E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.3756
  norm       = 2.52432
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.40185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.2749
  Prefactor  = 0.0001
  Prefactor  = 25.2992
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 25.5008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.3913
  Prefactor  = 2.60353
  Prefactor  = 23.5591
  Prefactor  = 35.7405
  Prefactor  = 0.0001
  norm       = 2.56462
  norm       = 15.0081
  Prefactor  = 0.0001
  Normalizat = 0.875938
  Prefactor  = 1.00744
 **********
 **   18 **HESSE 
 **********

 FCN=   7486.866     FROM HESSE     STATUS=OK           515 CALLS     4005 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.376        27.112        .12440E-03   -1.5064    
   3  norm          2.5243        1.4504        .58017E-04   -1.5390    
   4  Prefactor     .10000E-03    155.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.5137        .13387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    33.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4018        28.614        .21932E-03   -1.5339    
   8  Prefactor     .10000E-03    2.3789        .12960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    67.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.275        20.973        .72827E-04   -1.4607    
  11  Prefactor     .10000E-03    8.7635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.299        24.523        .79646E-04   -1.4702    
  13  Prefactor     .10000E-03    22.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    482.54        .36755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.3393        .97699E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.501        20.921        .79318E-04   -1.4698    
  17  Prefactor     .10000E-03    23.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.7017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.391        10.779        .11385E-03   -1.5004    
  20  Prefactor     2.6035        2.3800        .12146E-03   -1.5385    
  21  Prefactor     23.559        29.507        .82484E-04   -1.4737    
  22  Prefactor     35.740        73.435        .67138E-04   -1.4512    
  23  Prefactor     .10000E-03    43.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.5646        2.8842        .13891E-03   -1.5388    
  25  norm          15.008        14.535        .10345E-03   -1.4933    
  26  Prefactor     .10000E-03    4.7889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .87594        .33100        .42871E-03   -.97311    
  28  Prefactor     1.0074        .12917        .16722E-03   -.92482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96436e-10
Minuit parameter uncertainties:
  1  5.31155e-07
  2  27.1443
  3  1.4504
  4  0.000248148
  5  1.68853e-06
  6  2.75124e-05
  7  19.7449
  8  2.8181e-06
  9  4.42546e-05
  10  20.9777
  11  2.56581e-06
  12  24.5331
  13  9.09022e-06
  14  0.00242992
  15  2.50857e-07
  16  20.9273
  17  5.60252e-06
  18  7.70159e-06
  19  10.7808
  20  2.38009
  21  29.5249
  22  73.6218
  23  4.58998e-05
  24  2.88438
  25  14.5383
  26  5.38429e-06
  27  0.331772
  28  0.129212
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.000e-04  2.566e-06  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.007e+00  1.292e-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:  8.759e-01  3.318e-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.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351405/likelihoodResults_424396801_424656001_4FGL_J2110.3+0808_daily_bin714.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) = 7486.86681457
delta logL = -0.000543620399185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7486.86627195
delta logL = -9.98801624519e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11454E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3706       1.0000          .0000       10.000    
     3 'Normalizat'    .87573       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0075       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=   7486.866     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      243 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10284E-03    8.9093        .18142E-01** at limit **
   2  Index         2.2841        7.0111        .50000        .18406E-04
   3  Normalizat    .87594        .61017E-02    .42872E-03    .23097E-04
   4  Prefactor     1.0074        .25556E-02    .16722E-03    .51383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102842
  Index      = 2.28409
  Normalizat = 0.875939
  Prefactor  = 1.00744
 **********
 **   18 **HESSE 
 **********

 FCN=   7486.866     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10284E-03    75.582        .26289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2841        5.6964        .50000       -.57422    
   3  Normalizat    .87594        .17881E-01    .17149E-04   -.97311    
   4  Prefactor     1.0074        .74889E-02    .33445E-04   -.92482    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.73732e-09
Minuit parameter uncertainties:
  1  0.0293494
  2  341.618
  3  0.0178807
  4  0.00748895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351405': 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) = 7486.86627054
delta logL = 4.12848748965e-07

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.028e-04  2.935e-02  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.284e+00  3.416e+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.007e+00  7.489e-03  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:  8.759e-01  1.788e-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/351405/cmap_HighResolution_424396801_424656001_4FGL_J2110.3+0808_daily_bin714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.19e-03', job_status='DONE', photon_flux_upper_limit='8.01e-08', time_completed='2021-09-26 05:46:24.755049', job_id='351405', GAL2='1.01', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632660384.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.13e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='714' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:46:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 351405: <4FGL_J2110.3+0808_daily_bin714> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin714> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 05:30:15 2021
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 05:30:30 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:30 2021
Terminated at Sun Sep 26 05:46:25 2021
Results reported at Sun Sep 26 05:46:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin714 317.576 8.1498 424396801 424656001 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 :                                   925.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             336.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            970 sec.

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

