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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1171
RA = 167.641, Dec = -18.6058
tmin = 542851201, tmax = 543110401
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='588330', job_status='RUN', time_executed='2021-09-03 11:53:55.515439', time_epoch_executed='1630695235.52' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588330

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

Retrieving the FT1 file...

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

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

Retrieving 4 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588330/ft1_4FGL_J1110.5-1836_daily_bin1171.fits


Retrieving the FT1 file...

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

Retrieving 4 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588330/ft1_4FGL_J1110.5-1836_daily_bin1171.fits outfile=/scratch/kocevski/588330/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1171.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=542851201.0 tmax=543110401.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 0.80
user 0.62
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.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/588330/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1171.fits evtable="EVENTS" outfile="/scratch/kocevski/588330/ft1_filtered_4FGL_J1110.5-1836_daily_bin1171.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.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588330/ft1_filtered_4FGL_J1110.5-1836_daily_bin1171.fits" evtable="EVENTS" scfile=/scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits sctable="SC_DATA" outfile=/scratch/kocevski/588330/ltcube_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.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/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits
.....................!
real 2.29
user 1.94
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588330/ft1_filtered_4FGL_J1110.5-1836_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits sctable="SC_DATA" expcube=/scratch/kocevski/588330/ltcube_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.fits outfile=/scratch/kocevski/588330/expmap_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.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/588330/ltcube_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.fits
.....................!
real 190.35
user 185.73
sys 4.04

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1110.5-1836 @ 167.641 -18.6058

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/588330/ft1_filtered_4FGL_J1110.5-1836_daily_bin1171.fits scfile=/scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits outfile=/scratch/kocevski/588330/cmap_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.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=167.641 yref=-18.6058 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588330/ft1_filtered_4FGL_J1110.5-1836_daily_bin1171.fits scfile=/scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits outfile=/scratch/kocevski/588330/cmap_HighResolution_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.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=167.641 yref=-18.6058 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588330/ft1_filtered_4FGL_J1110.5-1836_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588330/Model_4FGL_J1110.5-1836_daily_bin1171.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/588330/ft1_filtered_4FGL_J1110.5-1836_daily_bin1171.fits.!
real 13.50
user 12.31
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/588330/ft1_filtered_4FGL_J1110.5-1836_daily_bin1171.fits', '/scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits', expMap='/scratch/kocevski/588330/expmap_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.fits', expCube='/scratch/kocevski/588330/ltcube_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/588330/Model_4FGL_J1110.5-1836_daily_bin1171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1110.5-1836'

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  4.578e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/588330/ft1_filtered_4FGL_J1110.5-1836_daily_bin1171.fits
Spacecraft file(s): /scratch/kocevski/588330/ft2_4FGL_J1110.5-1836_daily_bin1171.fits
Exposure map: /scratch/kocevski/588330/expmap_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.fits
Exposure cube: /scratch/kocevski/588330/ltcube_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/588330/Model_4FGL_J1110.5-1836_daily_bin1171.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) = 10.1542543727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2935.3       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10552E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .18537E-07   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9.950300     FROM MIGRAD    STATUS=CONVERGED    364 CALLS     1578 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2949.4        2750.3        .30912E-02   -.19618E-04
   2  Prefactor     .10000E-03    1649.6       -.48234E-03** at limit **
   3  Prefactor     .10000E-03    1313.1       -.23512E-03** at limit **
   4  Prefactor     .10000E-03    286.15       -.16803E-03** at limit **
   5  norm          .10000E-03    291.31       -.15313E-03** at limit **
   6  Prefactor     .10000E-03    1336.7       -.25421E-03** at limit **
   7  Prefactor     .10000E-03    6569.7       -.11039E-02** at limit **
   8  Prefactor     .10000E-03    456.98        .26877E-03** at limit **
   9  Prefactor     .10000E-03    420.52        .20941E-03** at limit **
  10  Prefactor     .10000E-03    1675.0       -.49867E-03** at limit **
  11  Prefactor     .10000E-03    1316.8       -.23804E-03** at limit **
  12  Prefactor     .10000E-03    400.47        .16754E-03** at limit **
  13  Prefactor     .10000E-03    1473.7       -.36004E-03** at limit **
  14  norm          .10000E-03    30.531       -.47991E-08** at limit **
  15  Prefactor     .10000E-03    200.92       -.97843E-04** at limit **
  16  Prefactor     .10000E-03    770.75        .25012E-03** at limit **
  17  Prefactor     .10000E-03    179.25        .12589E-03** at limit **
  18  norm          .10000E-03    128.43       -.96634E-05** at limit **
  19  Normalizat    .10000E-01    .88738       -.26357E-05** at limit **
  20  Prefactor     .36685E-10    .52555       -.38306E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2949.38
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 3.66845e-11
 **********
 **   18 **HESSE 
 **********

 FCN=   9.950300     FROM HESSE     STATUS=OK           271 CALLS     1849 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2949.4        2753.5        .43920E-04   -.42259    
   2  Prefactor     .10000E-03    1649.7        .13204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1313.1        .11706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    286.15        .53661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    291.31        .54148E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1336.7        .11816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6569.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    456.99        .68012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    420.52        .65201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1675.0        .13311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1316.8        .11724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    400.47        .63605E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1473.7        .12438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    30.531        .17452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    200.92        .44900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    770.75        .88811E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    179.26        .42395E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    128.42        .35853E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .88716        .95540E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .36685E-10    .52538        .73021E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49693e-10
Minuit parameter uncertainties:
  1  2956.29
  2  0.000253687
  3  0.000455436
  4  0.000100978
  5  0.000331893
  6  0.000198233
  7  0.000261382
  8  1.19608e-05
  9  1.1325e-05
  10  4.52228e-05
  11  1.62266e-05
  12  3.31938e-06
  13  3.19469e-05
  14  2.79684e-06
  15  5.75737e-06
  16  1.96161e-06
  17  5.03347e-07
  18  5.25953e-07
  19  7.96746e-06
  20  8.85904e-06
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.982e-04  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
609    Prefactor:  3.668e-11  8.859e-06  0.000e+00  1.000e+01 ( 1.000e+00)
610        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
611        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
608   Normalization:  1.000e-02  7.967e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 167.641 -18.606
Photon Flux Upper Limit: 6.73e-06 ph cm-2 s-1
Energy Flux Upper Limit: 5.03e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588330/likelihoodResults_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.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) = 9.95030426478
delta logL = -4.15000320153e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9.95030361667
delta logL = -3.50189242049e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96243E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9473       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .26437E-08   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9.950300     FROM MIGRAD    STATUS=FAILED        74 CALLS      197 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    8789.8        .11817E-01** at limit **
   2  Index         2.1003        5.6692        .46240E-01    .38348E-06
   3  Normalizat    .10000E-01    .19820E-01    .95533E-03** at limit **
   4  Prefactor     .28755E-12    .11592E-01    .73013E-03** at limit **
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9.950300     FROM SIMPLEX   STATUS=UNCHANGED    169 CALLS      366 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    8789.8        .47446E-02** at limit **
   2  Index         2.1003        5.6692        .97217E-06    .38348E-06
   3  Normalizat    .10000E-01    .19820E-01    .50893E-03** at limit **
   4  Prefactor     .28755E-12    .11592E-01    .13303E-02** at limit **
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9.950300     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      406 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13604E-03    1902.9        .10231E-01** at limit **
   2  Index         1.7496        5.3085        .50000        .19995E-06
   3  Normalizat    .10000E-01    .19232E-02    .19107E-03** at limit **
   4  Prefactor     .25924E-12    .11245E-02    .14603E-03** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000136036
  Index      = 1.74957
  Normalizat = 0.01
  Prefactor  = 2.59237e-13
 **********
 **   18 **HESSE 
 **********

 FCN=   9.950300     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      435 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13604E-03    9118.3        .13903E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7496        5.8681        .50000       -.70770    
   3  Normalizat    .10000E-01    .12347E-01    .38213E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .25924E-12    .72203E-02    .29205E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.77711e-08
Minuit parameter uncertainties:
  1  1.36568
  2  1746.19
  3  3.95396e-06
  4  8.6554e-08
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588330': 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) = 9.9503001143
delta logL = 4.81175987943e-10

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.360e-04  1.366e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.750e+00  1.746e+03  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
609    Prefactor:  2.592e-13  8.655e-08  0.000e+00  1.000e+01 ( 1.000e+00)
610        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
611        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
608   Normalization:  1.000e-02  3.954e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 167.641 -18.606

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/588330/cmap_HighResolution_542851201_543110401_4FGL_J1110.5-1836_daily_bin1171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.03e-01', job_status='DONE', photon_flux_upper_limit='6.73e-06', time_completed='2021-09-03 11:58:50.871774', job_id='588330', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630695530.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.00', dlogl='4.81e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1171' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 11:58:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 588330: <4FGL_J1110.5-1836_daily_bin1171> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin1171> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 11:50:58 2021
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:51:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 11:51:23 2021
Terminated at Fri Sep  3 11:58:51 2021
Results reported at Fri Sep  3 11:58:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1171 167.641 -18.6058 542851201 543110401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1110.5-1836 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   297.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             420.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   448 sec.
    Turnaround time :                            473 sec.

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

