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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin499
RA = 167.641, Dec = -18.6058
tmin = 368668801, tmax = 368928001
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='584183', job_status='RUN', time_executed='2021-09-03 11:37:49.234794', time_epoch_executed='1630694269.23' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='499'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584183

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584183/ft1_4FGL_J1110.5-1836_daily_bin499.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584183/ft2_4FGL_J1110.5-1836_daily_bin499.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584183/ft1_4FGL_J1110.5-1836_daily_bin499.fits outfile=/scratch/kocevski/584183/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin499.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=368668801.0 tmax=368928001.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 2.77
user 2.55
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584183/ft1_filtered_4FGL_J1110.5-1836_daily_bin499.fits" evtable="EVENTS" scfile=/scratch/kocevski/584183/ft2_4FGL_J1110.5-1836_daily_bin499.fits sctable="SC_DATA" outfile=/scratch/kocevski/584183/ltcube_368668801_368928001_4FGL_J1110.5-1836_daily_bin499.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/584183/ft2_4FGL_J1110.5-1836_daily_bin499.fits
.....................!
real 15.79
user 15.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584183/ft1_filtered_4FGL_J1110.5-1836_daily_bin499.fits evtable="EVENTS" scfile=/scratch/kocevski/584183/ft2_4FGL_J1110.5-1836_daily_bin499.fits sctable="SC_DATA" expcube=/scratch/kocevski/584183/ltcube_368668801_368928001_4FGL_J1110.5-1836_daily_bin499.fits outfile=/scratch/kocevski/584183/expmap_368668801_368928001_4FGL_J1110.5-1836_daily_bin499.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/584183/ltcube_368668801_368928001_4FGL_J1110.5-1836_daily_bin499.fits
.....................!
real 158.07
user 152.73
sys 4.47

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/584183/ft1_filtered_4FGL_J1110.5-1836_daily_bin499.fits scfile=/scratch/kocevski/584183/ft2_4FGL_J1110.5-1836_daily_bin499.fits outfile=/scratch/kocevski/584183/cmap_368668801_368928001_4FGL_J1110.5-1836_daily_bin499.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.48
user 0.34
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584183/ft1_filtered_4FGL_J1110.5-1836_daily_bin499.fits scfile=/scratch/kocevski/584183/ft2_4FGL_J1110.5-1836_daily_bin499.fits outfile=/scratch/kocevski/584183/cmap_HighResolution_368668801_368928001_4FGL_J1110.5-1836_daily_bin499.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.70
user 0.33
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/584183/ft1_filtered_4FGL_J1110.5-1836_daily_bin499.fits evtable="EVENTS" scfile=/scratch/kocevski/584183/ft2_4FGL_J1110.5-1836_daily_bin499.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/584183/Model_4FGL_J1110.5-1836_daily_bin499.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/584183/ft1_filtered_4FGL_J1110.5-1836_daily_bin499.fits.....................!
real 56.90
user 49.33
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5622       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28356E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.591       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6466       1.0000         .10000E-03   10000.    
     5 'norm      '    3.5528       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.600       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.184       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .76508E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12703E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.480       1.0000         .10000E-03   10000.    
    13 'Prefactor '    77.797       1.0000         .10000E-03   10000.    
    14 'norm      '    6.2595       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4854       1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.681       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .22580E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0986       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1281       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6209.914     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     1768 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5624        6.9060        .54495E-06    .10426E-03
   2  Prefactor     .22754E-03    94.847       -.32491E-03** at limit **
   3  Prefactor     35.553        5.5585        .65456E-05    .44454E-02
   4  Prefactor     2.6467        4.1132        .15178E-06    .73060E-05
   5  norm          3.5529        4.1986        .26843E-06   -.16364E-04
   6  Prefactor     20.599        1.2432       -.28413E-05   -.76723E-03
   7  Prefactor     .10112E-03    22.382       -.50973E-06** at limit **
   8  Prefactor     30.188        7.0985       -.20501E-04   -.15068E-01
   9  Prefactor     .10019E-03    36.725        .10561E-03** at limit **
  10  Prefactor     .10130E-03    22.322       -.27948E-04** at limit **
  11  Prefactor     .10009E-03    127.77        .51161E-04** at limit **
  12  Prefactor     18.469        2.6799        .70553E-05    .50668E-02
  13  Prefactor     77.799        1.1097        .98001E-06    .46197E-03
  14  norm          6.2590        1.9956       -.64317E-06    .56755E-03
  15  Prefactor     5.4910        3.9097        .29125E-04    .41041E-03
  16  Prefactor     36.504        42.909       -.13165E-03    .88246E-02
  17  Prefactor     .10000E-03    4.4500        .16101E-05** at limit **
  18  norm          .10001E-03    25.519       -.16668E-04** at limit **
  19  Normalizat    1.0989        .29754        .10557E-04    .62663E-03
  20  Prefactor     1.1279        .18076        .79018E-06    .10575E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.56239
  Prefactor  = 0.000227538
  Prefactor  = 35.5526
  Prefactor  = 2.64668
  norm       = 3.55293
  Prefactor  = 20.5995
  Prefactor  = 0.000101122
  Prefactor  = 30.1876
  Prefactor  = 0.000100192
  Prefactor  = 0.000101302
  Prefactor  = 0.000100092
  Prefactor  = 18.4691
  Prefactor  = 77.7988
  norm       = 6.25898
  Prefactor  = 5.49102
  Prefactor  = 36.5045
  Prefactor  = 0.000100001
  norm       = 0.000100008
  Normalizat = 1.09888
  Prefactor  = 1.12794
 **********
 **   18 **HESSE 
 **********

 FCN=   6209.914     FROM HESSE     STATUS=OK           349 CALLS     2117 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5624        6.9185        .36459E-02   -1.5158    
   2  Prefactor     .22754E-03    24.284        .11530       -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.553        28.813        .16794E-02   -1.4515    
   4  Prefactor     2.6467        4.1405        .62650E-02   -1.5383    
   5  norm          3.5529        4.2088        .53608E-02   -1.5331    
   6  Prefactor     20.599        21.318        .22062E-02   -1.4800    
   7  Prefactor     .10112E-03    43.861        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.188        20.490        .18232E-02   -1.4609    
   9  Prefactor     .10019E-03    35.600        .10464E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10130E-03    43.299        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10009E-03    141.65        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.469        21.078        .23292E-02   -1.4848    
  13  Prefactor     77.799        68.200        .11382E-02   -1.3942    
  14  norm          6.2590        2.0491        .40112E-02   -1.5208    
  15  Prefactor     5.4910        15.107        .42889E-02   -1.5239    
  16  Prefactor     36.504        57.689        .16543E-02   -1.4499    
  17  Prefactor     .10000E-03    4.4347        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    4.7962        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0989        .27538        .80431E-01   -.89788    
  20  Prefactor     1.1279        .15760        .36605E-01   -.88579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25627e-06
Minuit parameter uncertainties:
  1  6.9192
  2  0.111349
  3  28.8247
  4  4.14098
  5  4.20912
  6  21.3256
  7  0.0140432
  8  20.4949
  9  0.00523828
  10  0.0150282
  11  0.00722839
  12  21.0866
  13  68.2683
  14  2.04908
  15  15.1173
  16  57.7771
  17  0.000131755
  18  0.000381081
  19  0.275737
  20  0.157666
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  2.060e+01  2.133e+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.128e+00  1.577e-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.099e+00  2.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.58
Ra Dec: 167.641 -18.606
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.93e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.58e-05

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

Saving results to:
/scratch/kocevski/584183/likelihoodResults_368668801_368928001_4FGL_J1110.5-1836_daily_bin499.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) = 6209.7769505
delta logL = 0.136749512828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6209.77167368
delta logL = 0.14202633767

Fit tolerance = 1e-08

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

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

 FCN=   6209.772     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      313 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.016        30.461        .75697E-04    .11865E-04
   2  Index         1.5554        .71337        .11928E-01    .13826E-03
   3  Normalizat    1.1054        .29480        .35516E-03   -.53137E-05
   4  Prefactor     1.1267        .18044        .21408E-03   -.28677E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.0162
  Index      = 1.55537
  Normalizat = 1.10539
  Prefactor  = 1.12672
 **********
 **   18 **HESSE 
 **********

 FCN=   6209.772     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.016        30.196        .30279E-05   -1.4649    
   2  Index         1.5554        .70774        .23856E-02   -.76001    
   3  Normalizat    1.1054        .29502        .14206E-04   -.89579    
   4  Prefactor     1.1267        .18059        .85632E-05   -.88617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.98254e-13
Minuit parameter uncertainties:
  1  30.2123
  2  0.712322
  3  0.295465
  4  0.180687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584183': 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) = 6209.77167352
delta logL = 0.142026491615

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  2.802e+01  3.021e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.555e+00  7.123e-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.127e+00  1.807e-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.105e+00  2.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.87
Ra Dec: 167.641 -18.606
Photon Index (Free Index): 1.56 +/- 0.71
Photon Flux (Free Index): 1.12e-08 +/- 1.66e-08
Energy Flux (Free Index): 2.93e-05 +/- 4.96e-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/584183/cmap_HighResolution_368668801_368928001_4FGL_J1110.5-1836_daily_bin499.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='2.93e-05', photon_flux_error='1.99e-08', dlogl='1.42e-01', energy_flux='1.52e-05', photon_flux2='1.12e-08', job_status='DONE', time_completed='2021-09-03 11:46:45.664016', photon_index_error2='0.71', photon_index2='1.56', ts='3.58', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='8.42e-08', energy_flux_error2='4.96e-05', EG='1.10', time_epoch_completed='1630694805.66', return_code='0', job_id='584183', GAL2='1.13', EG2='1.11', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='1.66e-08', ts2='3.87', photon_index='1.95' WHERE bin_id='499' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 11:46:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 584183: <4FGL_J1110.5-1836_daily_bin499> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin499> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 11:36:38 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:37:31 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:37:31 2021
Terminated at Fri Sep  3 11:46:46 2021
Results reported at Fri Sep  3 11:46:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin499 167.641 -18.6058 368668801 368928001 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 :                                   521.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   554 sec.
    Turnaround time :                            608 sec.

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

