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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin975
RA = 317.576, Dec = 8.1498
tmin = 492048001, tmax = 492307201
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='352912', job_status='RUN', time_executed='2021-09-26 05:36:46.418410', time_epoch_executed='1632659806.42' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='975'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352912

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352912/ft1_4FGL_J2110.3+0808_daily_bin975.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352912/ft2_4FGL_J2110.3+0808_daily_bin975.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352912/ft1_4FGL_J2110.3+0808_daily_bin975.fits outfile=/scratch/kocevski/352912/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin975.fits ra=317.576 dec=8.1498 rad=12.0 tmin=492048001.0 tmax=492307201.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 4.52
user 3.52
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352912/ft2_4FGL_J2110.3+0808_daily_bin975.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/352912/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin975.fits evtable="EVENTS" outfile="/scratch/kocevski/352912/ft1_filtered_4FGL_J2110.3+0808_daily_bin975.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.53
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352912/ft1_filtered_4FGL_J2110.3+0808_daily_bin975.fits" evtable="EVENTS" scfile=/scratch/kocevski/352912/ft2_4FGL_J2110.3+0808_daily_bin975.fits sctable="SC_DATA" outfile=/scratch/kocevski/352912/ltcube_492048001_492307201_4FGL_J2110.3+0808_daily_bin975.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/352912/ft2_4FGL_J2110.3+0808_daily_bin975.fits
.....................!
real 13.55
user 13.15
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352912/ft1_filtered_4FGL_J2110.3+0808_daily_bin975.fits evtable="EVENTS" scfile=/scratch/kocevski/352912/ft2_4FGL_J2110.3+0808_daily_bin975.fits sctable="SC_DATA" expcube=/scratch/kocevski/352912/ltcube_492048001_492307201_4FGL_J2110.3+0808_daily_bin975.fits outfile=/scratch/kocevski/352912/expmap_492048001_492307201_4FGL_J2110.3+0808_daily_bin975.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/352912/ltcube_492048001_492307201_4FGL_J2110.3+0808_daily_bin975.fits
.....................!
real 191.51
user 185.93
sys 5.05

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/352912/ft1_filtered_4FGL_J2110.3+0808_daily_bin975.fits scfile=/scratch/kocevski/352912/ft2_4FGL_J2110.3+0808_daily_bin975.fits outfile=/scratch/kocevski/352912/cmap_492048001_492307201_4FGL_J2110.3+0808_daily_bin975.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352912/ft1_filtered_4FGL_J2110.3+0808_daily_bin975.fits scfile=/scratch/kocevski/352912/ft2_4FGL_J2110.3+0808_daily_bin975.fits outfile=/scratch/kocevski/352912/cmap_HighResolution_492048001_492307201_4FGL_J2110.3+0808_daily_bin975.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .17220E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14471E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    198.41       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.968       1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.946       1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    127.99       1.0000         .10000E-03   10000.    
    17 'Prefactor '    129.80       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.901       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .85359       1.0000         .10000E-03   10000.    
    25 'norm      '    63.620       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10004E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    .97288       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=   1495.698     FROM MIGRAD    STATUS=CONVERGED    688 CALLS     3524 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    102.56       -.21156E-06** at limit **
   2  Prefactor     .10000E-03    85.888        .76843E-08** at limit **
   3  norm          .10000E-03    5.1834       -.16917E-06** at limit **
   4  Prefactor     .10000E-03    116.75       -.24617E-06** at limit **
   5  norm          .10000E-03    17.832       -.57700E-07** at limit **
   6  norm          .10000E-03    747.08       -.10471E-05** at limit **
   7  Prefactor     .10000E-03    90.883       -.24478E-07** at limit **
   8  Prefactor     .10000E-03    9.0516        .22807E-06** at limit **
   9  Prefactor     .10000E-03    33.966        .20033E-06** at limit **
  10  Prefactor     .10000E-03    50.073       -.99506E-07** at limit **
  11  Prefactor     .10019E-03    272.47       -.77916E-05** at limit **
  12  Prefactor     198.27        120.28        .22415E-05   -.47336E-03
  13  Prefactor     18.990        178.92       -.31038E-07   -.29244E-04
  14  Prefactor     46.221        117.63       -.26441E-06   -.57022E-04
  15  norm          .10000E-03    30.650       -.17925E-07** at limit **
  16  Prefactor     128.01        88.059       -.50016E-06   -.31385E-03
  17  Prefactor     129.83        94.986       -.14908E-05   -.17508E-03
  18  Prefactor     .10000E-03    7.7605       -.78338E-07** at limit **
  19  Prefactor     .10000E-03    14.854       -.24805E-07** at limit **
  20  Prefactor     .10000E-03    2.3656       -.13259E-06** at limit **
  21  Prefactor     22.728        62.455       -.19189E-05   -.17271E-03
  22  Prefactor     .10000E-03    100.86       -.16468E-06** at limit **
  23  Prefactor     .10000E-03    75.689        .13989E-06** at limit **
  24  norm          .85424        4.7524        .51583E-07   -.24673E-03
  25  norm          63.629        54.279       -.64195E-06   -.25449E-03
  26  Prefactor     .10000E-03    5.4756       -.67716E-07** at limit **
  27  Normalizat    .10000E-01    .27548        .31023E-04** at limit **
  28  Prefactor     .97306        .14249       -.43798E-05   -.49958E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100188
  Prefactor  = 198.266
  Prefactor  = 18.9898
  Prefactor  = 46.2207
  norm       = 0.0001
  Prefactor  = 128.01
  Prefactor  = 129.834
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.7275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.854239
  norm       = 63.6286
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.973057
 **********
 **   18 **HESSE 
 **********

 FCN=   1495.698     FROM HESSE     STATUS=OK           497 CALLS     4021 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    102.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    85.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.2778        .85943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    116.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    17.834        .15956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    746.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    90.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.1528        .11352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    33.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    50.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10019E-03    272.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     198.27        119.16        .14342E-03   -1.2882    
  13  Prefactor     18.990        178.96        .91963E-04   -1.4836    
  14  Prefactor     46.221        117.33        .29576E-03   -1.4347    
  15  norm          .10000E-03    30.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     128.01        88.326        .35585E-04   -1.3440    
  17  Prefactor     129.83        95.221        .17670E-03   -1.3424    
  18  Prefactor     .10000E-03    7.7629        .10524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.855        .14562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.3743        .57930E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.728        62.768        .83702E-04   -1.4754    
  22  Prefactor     .10000E-03    100.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    75.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .85424        4.5036        .15702E-03   -1.5523    
  25  norm          63.629        53.937        .50311E-04   -1.4111    
  26  Prefactor     .10000E-03    5.4798        .88381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .10000E-01    .65634        .11020E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .97306        .14793        .15165E-03   -.93633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61682e-09
Minuit parameter uncertainties:
  1  5.57071e-05
  2  0.000153393
  3  6.82878e-05
  4  9.76982e-05
  5  3.14288e-05
  6  0.00288932
  7  8.41592e-06
  8  4.7664e-05
  9  4.91708e-05
  10  3.55345e-05
  11  0.014388
  12  119.308
  13  117.055
  14  117.927
  15  8.57347e-06
  16  88.4173
  17  95.3339
  18  1.926e-05
  19  9.94945e-06
  20  3.6774e-05
  21  62.9514
  22  8.22982e-05
  23  0.000372239
  24  3.92307
  25  53.9789
  26  2.09453e-05
  27  3.05286e-05
  28  0.147991
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.002e-04  1.439e-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:  9.731e-01  1.480e-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  3.053e-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: 4.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/352912/likelihoodResults_492048001_492307201_4FGL_J2110.3+0808_daily_bin975.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) = 1495.69787014
delta logL = -2.36739829234e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1495.69785179
delta logL = -5.31659065928e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12604E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7554       1.0000          .0000       10.000    
     3 'Normalizat'    .10008E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97306       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=   1495.687     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      352 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3565        132.56        .36285E-03   -.48643E-05
   2  Index         3.3280        6.6386        .12211E-01    .57120E-04
   3  Normalizat    .10000E-01    .61444        .10920E-01** at limit **
   4  Prefactor     .96946        .12155        .15173E-03    .57133E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.35651
  Index      = 3.32796
  Normalizat = 0.01
  Prefactor  = 0.969459
 **********
 **   18 **HESSE 
 **********

 FCN=   1495.687     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3565        79.766        .14514E-04   -1.5342    
   2  Index         3.3280        3.5211        .24422E-02   -.34098    
   3  Normalizat    .10000E-01    .61480        .21840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .96946        .12129        .60691E-05   -.93755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90522e-12
Minuit parameter uncertainties:
  1  32.7739
  2  3.9766
  3  1.6057e-06
  4  0.121326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352912': 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) = 1495.68729508
delta logL = 0.0105513875023

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  3.357e+00  3.277e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  3.328e+00  3.977e+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:  9.695e-01  1.213e-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.606e-06  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/352912/cmap_HighResolution_492048001_492307201_4FGL_J2110.3+0808_daily_bin975.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-02', job_status='DONE', photon_flux_upper_limit='4.45e-07', time_completed='2021-09-26 05:44:07.315869', job_id='352912', GAL2='0.97', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632660247.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.06e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='975' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:44:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 352912: <4FGL_J2110.3+0808_daily_bin975> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin975> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 05:35:31 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 05:36:29 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:36:29 2021
Terminated at Sun Sep 26 05:44:08 2021
Results reported at Sun Sep 26 05:44:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin975 317.576 8.1498 492048001 492307201 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 :                                   435.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   460 sec.
    Turnaround time :                            517 sec.

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

