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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin451
RA = 317.576, Dec = 8.1498
tmin = 356227201, tmax = 356486401
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='348907', job_status='RUN', time_executed='2021-09-26 05:26:01.052169', time_epoch_executed='1632659161.05' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='451'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/348907

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/348907/ft1_4FGL_J2110.3+0808_daily_bin451.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...
fmerge4.1 : Error, missing column list names, file /scratch/kocevski/348907/ft2_filtered_0009.fits
fmerge4.1 : Fatal error!
FCCMPL: not found in table: RA_SUN
FCCMPL: not found in table: DEC_SUN

Merged file saved to:
/scratch/kocevski/348907/ft2_4FGL_J2110.3+0808_daily_bin451.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/348907/ft1_4FGL_J2110.3+0808_daily_bin451.fits outfile=/scratch/kocevski/348907/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin451.fits ra=317.576 dec=8.1498 rad=12.0 tmin=356227201.0 tmax=356486401.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 3.10
user 2.88
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/348907/ft1_filtered_4FGL_J2110.3+0808_daily_bin451.fits" evtable="EVENTS" scfile=/scratch/kocevski/348907/ft2_4FGL_J2110.3+0808_daily_bin451.fits sctable="SC_DATA" outfile=/scratch/kocevski/348907/ltcube_356227201_356486401_4FGL_J2110.3+0808_daily_bin451.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/348907/ft2_4FGL_J2110.3+0808_daily_bin451.fits
.....................!
real 3.22
user 2.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/348907/ft1_filtered_4FGL_J2110.3+0808_daily_bin451.fits evtable="EVENTS" scfile=/scratch/kocevski/348907/ft2_4FGL_J2110.3+0808_daily_bin451.fits sctable="SC_DATA" expcube=/scratch/kocevski/348907/ltcube_356227201_356486401_4FGL_J2110.3+0808_daily_bin451.fits outfile=/scratch/kocevski/348907/expmap_356227201_356486401_4FGL_J2110.3+0808_daily_bin451.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/348907/ltcube_356227201_356486401_4FGL_J2110.3+0808_daily_bin451.fits
.....................!
real 191.15
user 185.38
sys 5.31

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/348907/ft1_filtered_4FGL_J2110.3+0808_daily_bin451.fits scfile=/scratch/kocevski/348907/ft2_4FGL_J2110.3+0808_daily_bin451.fits outfile=/scratch/kocevski/348907/cmap_356227201_356486401_4FGL_J2110.3+0808_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 0.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/348907/ft1_filtered_4FGL_J2110.3+0808_daily_bin451.fits scfile=/scratch/kocevski/348907/ft2_4FGL_J2110.3+0808_daily_bin451.fits outfile=/scratch/kocevski/348907/cmap_HighResolution_356227201_356486401_4FGL_J2110.3+0808_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 0.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.999       1.0000         .10000E-03   10000.    
     3 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    88.834       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .37165E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.991       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2220       1.0000         .10000E-03   10000.    
    11 'Prefactor '    76.065       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.311       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    18.751       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    63.650       1.0000         .10000E-03   10000.    
    23 'Prefactor '    213.32       1.0000         .10000E-03   10000.    
    24 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .34075E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3292       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .79031       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=   2182.699     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     4188 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.512        .34010E-08** at limit **
   2  Prefactor     14.994        26.708       -.18251E-05   -.59594E-06
   3  norm          .10000E-03    1.1958       -.87565E-07** at limit **
   4  Prefactor     .10000E-03    56.668       -.43044E-06** at limit **
   5  norm          .10000E-03    8.8811       -.30555E-06** at limit **
   6  norm          88.822        133.15       -.12574E-05    .21991E-04
   7  Prefactor     .10000E-03    23.943       -.22177E-06** at limit **
   8  Prefactor     .10004E-03    21.783        .36359E-05** at limit **
   9  Prefactor     48.998        79.530        .38704E-06    .44296E-04
  10  Prefactor     1.3111        325.02       -.95386E-05   -.27603E-04
  11  Prefactor     76.055        65.086        .75102E-06    .61019E-04
  12  Prefactor     .10000E-03    35.215       -.11782E-06** at limit **
  13  Prefactor     44.292        70.549        .24898E-06    .72329E-04
  14  Prefactor     .10000E-03    57.891       -.56860E-06** at limit **
  15  norm          18.749        14.015        .46200E-07    .73112E-04
  16  Prefactor     .10001E-03    89.482       -.17663E-05** at limit **
  17  Prefactor     .10000E-03    239.93       -.27258E-05** at limit **
  18  Prefactor     .10000E-03    3.3702       -.94947E-07** at limit **
  19  Prefactor     .10000E-03    5.5154       -.16501E-06** at limit **
  20  Prefactor     .10000E-03    2.6257       -.24825E-06** at limit **
  21  Prefactor     .10000E-03    45.555       -.60315E-06** at limit **
  22  Prefactor     63.666        119.25        .81673E-06    .14492E-04
  23  Prefactor     213.01        141.23       -.42585E-06    .84723E-04
  24  norm          .10000E-03    2.7938       -.69832E-06** at limit **
  25  norm          .10000E-03    39.140       -.25441E-06** at limit **
  26  Prefactor     .10027E-03    65.255       -.11530E-04** at limit **
  27  Normalizat    1.3303        .58859       -.10678E-04    .18710E-03
  28  Prefactor     .78992        .22644        .75483E-05    .38290E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.9945
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 88.8222
  Prefactor  = 0.0001
  Prefactor  = 0.000100042
  Prefactor  = 48.9976
  Prefactor  = 1.31113
  Prefactor  = 76.0546
  Prefactor  = 0.0001
  Prefactor  = 44.2923
  Prefactor  = 0.000100001
  norm       = 18.7495
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 63.6658
  Prefactor  = 213.007
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100266
  Normalizat = 1.33027
  Prefactor  = 0.789922
 **********
 **   18 **HESSE 
 **********

 FCN=   2182.699     FROM HESSE     STATUS=OK           503 CALLS     4691 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.515        .14793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.994        24.942        .10342E-03   -1.4933    
   3  norm          .10000E-03    1.5849        .91729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    56.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.8956        .13604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          88.822        133.13        .42630E-04   -1.3820    
   7  Prefactor     .10000E-03    23.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10004E-03    31.358        .26831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     48.998        79.480        .57292E-04   -1.4307    
  10  Prefactor     1.3111        331.90        .40785E-03   -1.5479    
  11  Prefactor     76.055        65.098        .46040E-04   -1.3962    
  12  Prefactor     .10000E-03    35.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.292        70.252        .60228E-04   -1.4376    
  14  Prefactor     .10000E-03    57.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          18.749        13.997        .92493E-04   -1.4842    
  16  Prefactor     .10001E-03    89.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    241.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.3719        .83773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.5212        .10718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.6350        .73970E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    45.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     63.666        118.85        .50299E-04   -1.4110    
  23  Prefactor     213.01        142.41        .13842E-03   -1.2779    
  24  norm          .10000E-03    2.8384        .76377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    39.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10027E-03    112.24        .38230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.3303        .58996        .35279E-03   -.82667    
  28  Prefactor     .78992        .22989        .17972E-03   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32647e-09
Minuit parameter uncertainties:
  1  5.53472e-07
  2  24.9592
  3  5.55287e-06
  4  0.000391929
  5  3.93935e-05
  6  133.579
  7  2.93903e-05
  8  0.00229128
  9  79.6523
  10  41.9568
  11  65.1591
  12  0.000184296
  13  70.3833
  14  0.000438392
  15  13.9996
  16  0.00168269
  17  0.000521489
  18  3.82142e-06
  19  1.31827e-05
  20  9.48059e-06
  21  0.000330749
  22  119.301
  23  142.646
  24  3.83891e-05
  25  4.72903e-05
  26  0.0109546
  27  0.592993
  28  0.230166
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  7.605e+01  6.516e+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:  7.899e-01  2.302e-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.330e+00  5.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.37
Ra Dec: 317.576 8.150
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.52e-07 +/- 1.30e-07
Energy Flux (Fixed Index): 5.01e-05 +/- 4.30e-05

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

Saving results to:
/scratch/kocevski/348907/likelihoodResults_356227201_356486401_4FGL_J2110.3+0808_daily_bin451.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) = 2181.52823055
delta logL = 1.17111405347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2181.52034661
delta logL = 1.17899798941

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.078       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6439       1.0000          .0000       10.000    
     3 'Normalizat'    1.1260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84250       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2181.520     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      322 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.112        46.118        .49943E-03   -.53266E-05
   2  Index         3.6429        1.4727        .26604E-02    .24491E-03
   3  Normalizat    1.1265        .57974        .37750E-03   -.48185E-05
   4  Prefactor     .84236        .22998        .17420E-03   -.12302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1122
  Index      = 3.64294
  Normalizat = 1.12655
  Prefactor  = 0.842362
 **********
 **   18 **HESSE 
 **********

 FCN=   2181.520     FROM HESSE     STATUS=OK            27 CALLS      349 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.112        29.873        .19977E-04   -1.4905    
   2  Index         3.6429        .96102        .53208E-03   -.27486    
   3  Normalizat    1.1265        .57897        .15100E-04   -.88904    
   4  Prefactor     .84236        .22939        .69679E-05   -.98185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01869e-13
Minuit parameter uncertainties:
  1  29.9003
  2  0.967526
  3  0.582286
  4  0.229655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/348907': 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) = 2181.52034487
delta logL = 1.17899972793

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.611e+01  2.990e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  3.643e+00  9.675e-01  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:  8.424e-01  2.297e-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.127e+00  5.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 317.576 8.150
Photon Index (Free Index): 3.64 +/- 0.97
Photon Flux (Free Index): 3.20e-07 +/- 1.99e-07
Energy Flux (Free Index): 5.14e-05 +/- 3.13e-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/348907/cmap_HighResolution_356227201_356486401_4FGL_J2110.3+0808_daily_bin451.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-02', comment='SUCCESS', photon_flux='1.52e-07', energy_flux2='5.14e-05', photon_flux_error='1.30e-07', dlogl='1.18e+00', energy_flux='5.01e-05', photon_flux2='3.20e-07', job_status='DONE', time_completed='2021-09-26 05:34:28.867104', photon_index_error2='0.97', photon_index2='3.64', ts='2.37', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='4.36e-07', energy_flux_error2='3.13e-05', EG='1.33', time_epoch_completed='1632659668.87', return_code='0', job_id='348907', GAL2='0.84', EG2='1.13', return_code2='0', energy_flux_error='4.30e-05', photon_flux_error2='1.99e-07', ts2='5.00', photon_index='2.40' WHERE bin_id='451' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:34:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 348907: <4FGL_J2110.3+0808_daily_bin451> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin451> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep 26 05:20:36 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 05:22:33 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:22:33 2021
Terminated at Sun Sep 26 05:34:29 2021
Results reported at Sun Sep 26 05:34:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin451 317.576 8.1498 356227201 356486401 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 :                                   505.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            833 sec.

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

