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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin393
RA = 167.641, Dec = -18.6058
tmin = 341193601, tmax = 341452801
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='584017', job_status='RUN', time_executed='2021-09-03 11:40:41.104350', time_epoch_executed='1630694441.1' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='393'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584017

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584017/ft1_4FGL_J1110.5-1836_daily_bin393.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584017/ft2_4FGL_J1110.5-1836_daily_bin393.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584017/ft1_4FGL_J1110.5-1836_daily_bin393.fits outfile=/scratch/kocevski/584017/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin393.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=341193601.0 tmax=341452801.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.47
user 3.22
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584017/ft1_filtered_4FGL_J1110.5-1836_daily_bin393.fits" evtable="EVENTS" scfile=/scratch/kocevski/584017/ft2_4FGL_J1110.5-1836_daily_bin393.fits sctable="SC_DATA" outfile=/scratch/kocevski/584017/ltcube_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.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/584017/ft2_4FGL_J1110.5-1836_daily_bin393.fits
.....................!
real 15.75
user 15.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584017/ft1_filtered_4FGL_J1110.5-1836_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/584017/ft2_4FGL_J1110.5-1836_daily_bin393.fits sctable="SC_DATA" expcube=/scratch/kocevski/584017/ltcube_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.fits outfile=/scratch/kocevski/584017/expmap_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.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/584017/ltcube_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.fits
.....................!
real 190.75
user 185.45
sys 4.75

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/584017/ft1_filtered_4FGL_J1110.5-1836_daily_bin393.fits scfile=/scratch/kocevski/584017/ft2_4FGL_J1110.5-1836_daily_bin393.fits outfile=/scratch/kocevski/584017/cmap_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584017/ft1_filtered_4FGL_J1110.5-1836_daily_bin393.fits scfile=/scratch/kocevski/584017/ft2_4FGL_J1110.5-1836_daily_bin393.fits outfile=/scratch/kocevski/584017/cmap_HighResolution_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/584017/ft1_filtered_4FGL_J1110.5-1836_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/584017/ft2_4FGL_J1110.5-1836_daily_bin393.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/584017/Model_4FGL_J1110.5-1836_daily_bin393.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/584017/ft1_filtered_4FGL_J1110.5-1836_daily_bin393.fits.....................!
real 63.85
user 62.55
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/584017/ft1_filtered_4FGL_J1110.5-1836_daily_bin393.fits', '/scratch/kocevski/584017/ft2_4FGL_J1110.5-1836_daily_bin393.fits', expMap='/scratch/kocevski/584017/expmap_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.fits', expCube='/scratch/kocevski/584017/ltcube_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/584017/Model_4FGL_J1110.5-1836_daily_bin393.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/584017/ft1_filtered_4FGL_J1110.5-1836_daily_bin393.fits
Spacecraft file(s): /scratch/kocevski/584017/ft2_4FGL_J1110.5-1836_daily_bin393.fits
Exposure map: /scratch/kocevski/584017/expmap_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.fits
Exposure cube: /scratch/kocevski/584017/ltcube_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/584017/Model_4FGL_J1110.5-1836_daily_bin393.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) = 6790.71720557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5500       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4877       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.659       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    13.691       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.711       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .58722E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6394       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .34388E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    47.935       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10366E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    13.180       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.7945       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.2150       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1464       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0578       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=   6790.708     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2038 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5509        7.7246       -.19373E-06   -.15561E-03
   2  Prefactor     5.4840        17.190        .37423E-05   -.53486E-04
   3  Prefactor     12.666        19.119        .52004E-06   -.37889E-04
   4  Prefactor     .10000E-03    2.2720        .24751E-07** at limit **
   5  norm          13.692        7.4670       -.79933E-06   -.10138E-03
   6  Prefactor     21.640        20.368        .10278E-05   -.11568E-05
   7  Prefactor     .10000E-03    268.94        .18458E-05** at limit **
   8  Prefactor     5.6479        15.295        .17041E-04   -.12343E-03
   9  Prefactor     .10000E-03    5.7991       -.45184E-06** at limit **
  10  Prefactor     .10001E-03    151.74        .41468E-04** at limit **
  11  Prefactor     47.877        45.201       -.23308E-04   -.57809E-05
  12  Prefactor     .10000E-03    8.5758        .51354E-06** at limit **
  13  Prefactor     .10000E-03    28.514        .45596E-06** at limit **
  14  norm          13.176        2.3798        .35346E-07   -.11007E-03
  15  Prefactor     .10000E-03    11.046        .24456E-10** at limit **
  16  Prefactor     7.7964        23.512       -.23941E-05   -.20884E-04
  17  Prefactor     .10000E-03    2.6297        .31485E-07** at limit **
  18  norm          4.2181        8.5903        .22570E-05   -.22183E-03
  19  Normalizat    1.1461        .24393       -.20487E-05   -.74814E-04
  20  Prefactor     1.0578        .14696        .10248E-05   -.26861E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.5509
  Prefactor  = 5.48404
  Prefactor  = 12.6658
  Prefactor  = 0.0001
  norm       = 13.6915
  Prefactor  = 21.6405
  Prefactor  = 0.0001
  Prefactor  = 5.64786
  Prefactor  = 0.000100001
  Prefactor  = 0.00010001
  Prefactor  = 47.8767
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 13.1761
  Prefactor  = 0.0001
  Prefactor  = 7.7964
  Prefactor  = 0.0001
  norm       = 4.21808
  Normalizat = 1.14606
  Prefactor  = 1.05784
 **********
 **   18 **HESSE 
 **********

 FCN=   6790.708     FROM HESSE     STATUS=OK           291 CALLS     2329 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5509        7.7249        .17054E-03   -1.5237    
   2  Prefactor     5.4840        17.098        .17152E-03   -1.5240    
   3  Prefactor     12.666        19.036        .11258E-03   -1.4996    
   4  Prefactor     .10000E-03    2.2812        .12127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          13.692        7.4737        .10825E-03   -1.4968    
   6  Prefactor     21.640        20.367        .85963E-04   -1.4777    
   7  Prefactor     .10000E-03    271.20        .18972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.6479        15.219        .16916E-03   -1.5233    
   9  Prefactor     .10000E-03    5.8059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    151.52        .21331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     47.877        45.417        .57916E-04   -1.4323    
  12  Prefactor     .10000E-03    8.6097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.176        2.3838        .51359E-04   -1.4982    
  15  Prefactor     .10000E-03    11.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.7964        23.509        .14363E-03   -1.5149    
  17  Prefactor     .10000E-03    2.6367        .13050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.2181        8.5662        .19628E-03   -1.5297    
  19  Normalizat    1.1461        .28742        .33793E-03   -.88287    
  20  Prefactor     1.0578        .17344        .21466E-03   -.90825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02307e-10
Minuit parameter uncertainties:
  1  7.72626
  2  17.113
  3  19.0447
  4  6.56846e-06
  5  7.47423
  6  20.3732
  7  8.39666e-05
  8  15.2297
  9  0.000110296
  10  0.00247346
  11  45.4498
  12  0.000152192
  13  1.57029e-05
  14  2.38385
  15  9.2722e-06
  16  23.5368
  17  5.25309e-06
  18  8.56871
  19  0.287812
  20  0.173535
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  2.164e+01  2.037e+01  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:  1.058e+00  1.735e-01  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.146e+00  2.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.64
Ra Dec: 167.641 -18.606
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.02e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 1.50e-05

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) = 6789.27096054
delta logL = 1.43743851403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6789.26722743
delta logL = 1.4411716157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.243       1.0000         .10000E-03   10000.    
     2 'Index     '    .81329       1.0000          .0000       10.000    
     3 'Normalizat'    1.1538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0591       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.

 FCN=   6789.267     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      208 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.194        19.224        .22826E-02   -.95079E-05
   2  Index         .81155        .51379        .33573       -.24843E-04
   3  Normalizat    1.1534        .23564        .76151E-01    .15570E-04
   4  Prefactor     1.0591        .14522        .39402E-01    .43592E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1936
  Index      = 0.811546
  Normalizat = 1.15344
  Prefactor  = 1.0591
 **********
 **   18 **HESSE 
 **********

 FCN=   6789.267     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .68E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.194        27.769        .91305E-04   -1.4831    
   2  Index         .81155        .72044        .15185E-02   -.99304    
   3  Normalizat    1.1534        .27745        .33705E-03   -.88054    
   4  Prefactor     1.0591        .17131        .21459E-03   -.90785    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76765e-14
Minuit parameter uncertainties:
  1  27.7875
  2  0.729067
  3  0.277807
  4  0.171395
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584017': 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) = 6789.26722072
delta logL = 1.44117833348

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.919e+01  2.779e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  8.115e-01  7.291e-01  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:  1.059e+00  1.714e-01  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.153e+00  2.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.52
Ra Dec: 167.641 -18.606
Photon Index (Free Index): 0.81 +/- 0.73
Photon Flux (Free Index): 4.61e-09 +/- 5.24e-09
Energy Flux (Free Index): 1.00e-04 +/- 1.31e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/584017/cmap_HighResolution_341193601_341452801_4FGL_J1110.5-1836_daily_bin393.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.02e-08', energy_flux2='1.00e-04', photon_flux_error='1.90e-08', dlogl='1.44e+00', energy_flux='1.60e-05', photon_flux2='4.61e-09', job_status='DONE', time_completed='2021-09-03 11:50:44.429843', photon_index_error2='0.73', photon_index2='0.81', ts='8.64', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.31e-04', EG='1.15', time_epoch_completed='1630695044.43', return_code='0', job_id='584017', GAL2='1.06', EG2='1.15', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='5.24e-09', ts2='11.52', photon_index='1.95' WHERE bin_id='393' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 11:50:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 584017: <4FGL_J1110.5-1836_daily_bin393> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin393> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 11:36:24 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:36:35 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:36:35 2021
Terminated at Fri Sep  3 11:50:45 2021
Results reported at Fri Sep  3 11:50:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin393 167.641 -18.6058 341193601 341452801 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 :                                   601.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            861 sec.

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

