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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1473
RA = 167.641, Dec = -18.6058
tmin = 621129601, tmax = 621388801
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='590041', job_status='RUN', time_executed='2021-09-03 11:59:47.101261', time_epoch_executed='1630695587.1' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590041

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590041/ft1_4FGL_J1110.5-1836_daily_bin1473.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590041/ft2_4FGL_J1110.5-1836_daily_bin1473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590041/ft1_4FGL_J1110.5-1836_daily_bin1473.fits outfile=/scratch/kocevski/590041/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1473.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=621129601.0 tmax=621388801.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.29
user 3.02
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590041/ft2_4FGL_J1110.5-1836_daily_bin1473.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/590041/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1473.fits evtable="EVENTS" outfile="/scratch/kocevski/590041/ft1_filtered_4FGL_J1110.5-1836_daily_bin1473.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.54
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590041/ft1_filtered_4FGL_J1110.5-1836_daily_bin1473.fits" evtable="EVENTS" scfile=/scratch/kocevski/590041/ft2_4FGL_J1110.5-1836_daily_bin1473.fits sctable="SC_DATA" outfile=/scratch/kocevski/590041/ltcube_621129601_621388801_4FGL_J1110.5-1836_daily_bin1473.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/590041/ft2_4FGL_J1110.5-1836_daily_bin1473.fits
.....................!
real 17.98
user 17.50
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590041/ft1_filtered_4FGL_J1110.5-1836_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/590041/ft2_4FGL_J1110.5-1836_daily_bin1473.fits sctable="SC_DATA" expcube=/scratch/kocevski/590041/ltcube_621129601_621388801_4FGL_J1110.5-1836_daily_bin1473.fits outfile=/scratch/kocevski/590041/expmap_621129601_621388801_4FGL_J1110.5-1836_daily_bin1473.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/590041/ltcube_621129601_621388801_4FGL_J1110.5-1836_daily_bin1473.fits
.....................!
real 192.37
user 186.99
sys 4.81

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/590041/ft1_filtered_4FGL_J1110.5-1836_daily_bin1473.fits scfile=/scratch/kocevski/590041/ft2_4FGL_J1110.5-1836_daily_bin1473.fits outfile=/scratch/kocevski/590041/cmap_621129601_621388801_4FGL_J1110.5-1836_daily_bin1473.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590041/ft1_filtered_4FGL_J1110.5-1836_daily_bin1473.fits scfile=/scratch/kocevski/590041/ft2_4FGL_J1110.5-1836_daily_bin1473.fits outfile=/scratch/kocevski/590041/cmap_HighResolution_621129601_621388801_4FGL_J1110.5-1836_daily_bin1473.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590041/ft1_filtered_4FGL_J1110.5-1836_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/590041/ft2_4FGL_J1110.5-1836_daily_bin1473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590041/Model_4FGL_J1110.5-1836_daily_bin1473.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/590041/ft1_filtered_4FGL_J1110.5-1836_daily_bin1473.fits.....................!
real 59.76
user 58.27
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42655E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9899       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.2217       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.2944       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13877E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4123       1.0000         .10000E-03   10000.    
    14 'norm      '    .12592       1.0000         .10000E-03   10000.    
    15 'Prefactor '    77.413       1.0000         .10000E-03   10000.    
    16 'Prefactor '    43.040       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    15.008       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3441       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0970       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=   6072.929     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2091 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32196E-01    6.0856        .14212E-05   -.56115E-03
   2  Prefactor     .10000E-03    13.087       -.83385E-06** at limit **
   3  Prefactor     3.9875        13.733        .10944E-04    .10356E-03
   4  Prefactor     .10000E-03    3.1038       -.63623E-07** at limit **
   5  norm          9.2194        12.652        .31511E-06    .59465E-04
   6  Prefactor     9.2975        24.666        .51152E-06   -.30053E-05
   7  Prefactor     .10000E-03    48.266       -.56766E-07** at limit **
   8  Prefactor     .10000E-03    14.681        .21790E-06** at limit **
   9  Prefactor     .10000E-03    12.941        .15923E-06** at limit **
  10  Prefactor     .10002E-03    136.93       -.27591E-05** at limit **
  11  Prefactor     .10004E-03    155.52        .95776E-05** at limit **
  12  Prefactor     .10000E-03    10.575        .12130E-06** at limit **
  13  Prefactor     2.2013        345.55        .63619E-05   -.62167E-04
  14  norm          .12614        1.0112        .58002E-06   -.17751E-02
  15  Prefactor     77.422        22.604        .60120E-06    .12003E-03
  16  Prefactor     43.037        54.268        .10215E-06   -.72237E-05
  17  Prefactor     .10000E-03    14.892       -.19979E-06** at limit **
  18  norm          15.009        10.142        .15524E-06   -.84981E-04
  19  Normalizat    1.3443        .28307       -.80051E-06   -.15560E-03
  20  Prefactor     1.0969        .16088       -.14284E-06   -.25826E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.032196
  Prefactor  = 0.000100001
  Prefactor  = 3.98754
  Prefactor  = 0.0001
  norm       = 9.21943
  Prefactor  = 9.29755
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 2.20129
  norm       = 0.126143
  Prefactor  = 77.4219
  Prefactor  = 43.0371
  Prefactor  = 0.0001
  norm       = 15.0086
  Normalizat = 1.34432
  Prefactor  = 1.09693
 **********
 **   18 **HESSE 
 **********

 FCN=   6072.929     FROM HESSE     STATUS=OK           297 CALLS     2388 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32196E-01    6.9765        .60482E-01   -1.5672    
   2  Prefactor     .10000E-03    13.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.9875        13.764        .10096E-02   -1.5309    
   4  Prefactor     .10000E-03    3.1344        .13402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.2194        12.653        .13198E-03   -1.5101    
   6  Prefactor     9.2975        24.653        .13146E-03   -1.5098    
   7  Prefactor     .10000E-03    48.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    137.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10004E-03    160.74        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2013        354.97        .26357E-03   -1.5411    
  14  norm          .12614        4.8233        .13094E-02   -1.5637    
  15  Prefactor     77.422        22.640        .45641E-04   -1.3946    
  16  Prefactor     43.037        54.278        .61107E-04   -1.4395    
  17  Prefactor     .10000E-03    15.533        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.009        10.157        .10339E-03   -1.4933    
  19  Normalizat    1.3443        .33663        .34347E-03   -.82253    
  20  Prefactor     1.0969        .19212        .21782E-03   -.89565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40685e-09
Minuit parameter uncertainties:
  1  0.946509
  2  0.000187947
  3  13.7753
  4  7.6449e-06
  5  12.6571
  6  24.68
  7  2.36437e-05
  8  5.13782e-05
  9  4.09976e-05
  10  0.00328103
  11  0.00535059
  12  7.87026e-07
  13  56.2477
  14  1.55955
  15  22.6421
  16  54.3401
  17  1.67154e-05
  18  10.1579
  19  0.337182
  20  0.192239
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  9.298e+00  2.468e+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.097e+00  1.922e-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.344e+00  3.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 167.641 -18.606
Photon Flux Upper Limit: 8.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590041/likelihoodResults_621129601_621388801_4FGL_J1110.5-1836_daily_bin1473.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) = 6072.89097852
delta logL = 0.0377884873542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6072.88124489
delta logL = 0.0475221139359

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6072.881     FROM MIGRAD    STATUS=FAILED       106 CALLS      285 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2466        29.071        .80184E-03    .42929E-04
   2  Index         2.3541        1.7745        .11961E-01    .41969E-03
   3  Normalizat    1.3366        .32888        .34429E-03   -.36322E-06
   4  Prefactor     1.0987        .19107        .21765E-03   -.22461E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6072.881     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      360 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2466        29.071        .37578E-03   -1.5208    
   2  Index         2.3541        1.7745        .12447E-02   -.55763    
   3  Normalizat    1.3366        .32888        .35722E-03   -.82479    
   4  Prefactor     1.0987        .19107        .16568E-03   -.89509    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6072.881     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      389 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2466        20.611        .16037E-03   -.16305E-05
   2  Index         2.3541        1.3759        .23922E-02    .16132E-04
   3  Normalizat    1.3366        .32818        .13772E-04   -.49531E-06
   4  Prefactor     1.0987        .19089        .87059E-05   -.20894E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.24658
  Index      = 2.35411
  Normalizat = 1.33664
  Prefactor  = 1.09868
 **********
 **   18 **HESSE 
 **********

 FCN=   6072.881     FROM HESSE     STATUS=OK            25 CALLS      414 TOTAL
                     EDM=   .38E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2466        19.893        .64147E-05   -1.5208    
   2  Index         2.3541        1.3292        .47845E-03   -.55763    
   3  Normalizat    1.3366        .32770        .27543E-05   -.82479    
   4  Prefactor     1.0987        .19064        .17412E-05   -.89509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78995e-14
Minuit parameter uncertainties:
  1  19.914
  2  1.35197
  3  0.328209
  4  0.19076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590041': 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) = 6072.88124417
delta logL = 0.0475228328223

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  6.247e+00  1.991e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  2.354e+00  1.352e+00  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.099e+00  1.908e-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.337e+00  3.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
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/590041/cmap_HighResolution_621129601_621388801_4FGL_J1110.5-1836_daily_bin1473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.42e-03', job_status='DONE', photon_flux_upper_limit='8.59e-08', time_completed='2021-09-03 12:10:51.424889', job_id='590041', GAL2='1.10', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1630696251.42', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.75e-02', ts2='0.28', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1473' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:10:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 590041: <4FGL_J1110.5-1836_daily_bin1473> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin1473> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 11:56:35 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:57:33 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:57:33 2021
Terminated at Fri Sep  3 12:10:56 2021
Results reported at Fri Sep  3 12:10:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1473 167.641 -18.6058 621129601 621388801 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 :                                   642.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            861 sec.

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

