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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin737
RA = 165.772, Dec = 11.9654
tmin = 430358401, tmax = 430617601
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='440011', job_status='RUN', time_executed='2021-09-03 04:00:11.441175', time_epoch_executed='1630666811.44' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440011

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440011/ft1_4FGL_J1103.0+1157_daily_bin737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440011/ft1_4FGL_J1103.0+1157_daily_bin737.fits outfile=/scratch/kocevski/440011/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin737.fits ra=165.772 dec=11.9654 rad=12.0 tmin=430358401.0 tmax=430617601.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 5.93
user 5.67
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.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/440011/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin737.fits evtable="EVENTS" outfile="/scratch/kocevski/440011/ft1_filtered_4FGL_J1103.0+1157_daily_bin737.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440011/ft1_filtered_4FGL_J1103.0+1157_daily_bin737.fits" evtable="EVENTS" scfile=/scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits sctable="SC_DATA" outfile=/scratch/kocevski/440011/ltcube_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.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/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits
.....................!
real 13.56
user 13.17
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440011/ft1_filtered_4FGL_J1103.0+1157_daily_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits sctable="SC_DATA" expcube=/scratch/kocevski/440011/ltcube_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.fits outfile=/scratch/kocevski/440011/expmap_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.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/440011/ltcube_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.fits
.....................!
real 192.14
user 186.75
sys 4.92

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

Setting source of interest to:
4FGL J1103.0+1157 @ 165.772 11.9654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/440011/ft1_filtered_4FGL_J1103.0+1157_daily_bin737.fits scfile=/scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits outfile=/scratch/kocevski/440011/cmap_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.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=165.772 yref=11.9654 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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440011/ft1_filtered_4FGL_J1103.0+1157_daily_bin737.fits scfile=/scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits outfile=/scratch/kocevski/440011/cmap_HighResolution_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.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=165.772 yref=11.9654 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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/440011/ft1_filtered_4FGL_J1103.0+1157_daily_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440011/Model_4FGL_J1103.0+1157_daily_bin737.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/440011/ft1_filtered_4FGL_J1103.0+1157_daily_bin737.fits.....................!
real 48.62
user 46.74
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/440011/ft1_filtered_4FGL_J1103.0+1157_daily_bin737.fits', '/scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits', expMap='/scratch/kocevski/440011/expmap_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.fits', expCube='/scratch/kocevski/440011/ltcube_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/440011/Model_4FGL_J1103.0+1157_daily_bin737.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1103.0+1157'

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.011e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/440011/ft1_filtered_4FGL_J1103.0+1157_daily_bin737.fits
Spacecraft file(s): /scratch/kocevski/440011/ft2_4FGL_J1103.0+1157_daily_bin737.fits
Exposure map: /scratch/kocevski/440011/expmap_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.fits
Exposure cube: /scratch/kocevski/440011/ltcube_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/440011/Model_4FGL_J1103.0+1157_daily_bin737.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) = 4605.51057309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10629E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13763E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14077E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5348       1.0000         .10000E-03   10000.    
     7 'norm      '    2.0901       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .71889       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.6028       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .27792E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.8132       1.0000         .10000E-03   10000.    
    13 'norm      '    .50208E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3611       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10556E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .94795       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.6296       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4605.440     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1647 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.848        .90712E-02** at limit **
   2  Prefactor     .10000E-03    2.6502        .63303E-01** at limit **
   3  Prefactor     .10000E-03    8.5509        .90712E-02** at limit **
   4  Prefactor     .10003E-03    30.116        .90712E-02** at limit **
   5  Prefactor     .10000E-03    3.9737        .90712E-02** at limit **
   6  Prefactor     3.5333        8.2737        .53750E-02    .18914E-03
   7  norm          2.0891        1.5114        .71388E-02    .21801E-03
   8  Prefactor     .73154        34.368        .80340E-01   -.18774E-03
   9  Prefactor     .10000E-03    6.6281        .90712E-02** at limit **
  10  norm          3.6035        2.0953        .53220E-02    .16759E-03
  11  Prefactor     .16131E-03    17.216        .15576    ** at limit **
  12  Prefactor     9.8273        13.129        .31980E-02   -.46155E-03
  13  norm          .10001E-03    8.9221        .10578    ** at limit **
  14  Prefactor     7.3375        16.843        .36957E-02    .83978E-03
  15  Prefactor     .10010E-03    49.019        .90712E-02** at limit **
  16  Normalizat    .94786        .25498        .72081E-01    .57005E-05
  17  Prefactor     1.6295        .23824        .55297E-01   -.12158E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100027
  Prefactor  = 0.0001
  Prefactor  = 3.53335
  norm       = 2.08913
  Prefactor  = 0.731535
  Prefactor  = 0.0001
  norm       = 3.60345
  Prefactor  = 0.000161312
  Prefactor  = 9.8273
  norm       = 0.000100007
  Prefactor  = 7.33754
  Prefactor  = 0.000100102
  Normalizat = 0.947862
  Prefactor  = 1.62953
 **********
 **   18 **HESSE 
 **********

 FCN=   4605.440     FROM HESSE     STATUS=OK           231 CALLS     1878 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.882        .21122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.6416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10003E-03    31.050        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.9788        .13209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.5333        8.2506        .21500E-03   -1.5332    
   7  norm          2.0891        1.8096        .43074E-04   -1.5419    
   8  Prefactor     .73154        248.58        .47219E-02   -1.5537    
   9  Prefactor     .10000E-03    6.6328        .17063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.6035        2.0878        .71114E-04   -1.5328    
  11  Prefactor     .16131E-03    362.93        .53615E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.8273        13.095        .12792E-03   -1.5081    
  13  norm          .10001E-03    40.303        .38767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.3375        16.797        .14783E-03   -1.5166    
  15  Prefactor     .10010E-03    49.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .94786        .30098        .31893E-03   -.94798    
  17  Prefactor     1.6295        .28497        .24448E-03   -.73974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77252e-07
Minuit parameter uncertainties:
  1  0.000458149
  2  9.47919e-05
  3  1.22859e-05
  4  0.00183958
  5  7.03958e-06
  6  8.25322
  7  1.80967
  8  27.0824
  9  1.34487e-05
  10  2.08784
  11  0.300176
  12  13.0985
  13  0.00102868
  14  16.8075
  15  0.00448196
  16  0.301519
  17  0.285252
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  3.603e+00  2.088e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.630e+00  2.853e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  9.479e-01  3.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.38
Ra Dec: 165.772 11.965
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 9.62e-08 +/- 5.57e-08
Energy Flux (Fixed Index): 3.18e-05 +/- 1.84e-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) = 4605.36591028
delta logL = 0.0739442493086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4605.36326172
delta logL = 0.0765928152241

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4737       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4997       1.0000          .0000       5.0000    
     3 'Normalizat'    .93167       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4605.363     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4735        53.448        .54241E-02    .16269E-03
   2  alpha         2.4996        3.0891        .29415        .12332E-04
   3  Normalizat    .93169        .18617        .72627E-01    .13991E-04
   4  Prefactor     1.6394        .21001        .55158E-01   -.17361E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.47345
  alpha      = 2.49962
  Normalizat = 0.931695
  Prefactor  = 1.63944
 **********
 **   18 **HESSE 
 **********

 FCN=   4605.363     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4735        2.0587        .67502E-04   -1.5335    
   2  alpha         2.4996        .52544        .12255E-01   -.15312E-03
   3  Normalizat    .93169        .29678        .32136E-03   -.95355    
   4  Prefactor     1.6394        .28486        .24386E-03   -.73706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60825e-13
Minuit parameter uncertainties:
  1  2.05876
  2  0.529388
  3  0.297301
  4  0.285143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440011': 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) = 4605.36326167
delta logL = 0.0765928635128

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  3.473e+00  2.059e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.500e+00  5.294e-01  0.000e+00  5.000e+00 ( 1.000e+00)
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.639e+00  2.851e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  9.317e-01  2.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.53
Ra Dec: 165.772 11.965
Photon Index (Free Index): 2.50 +/- 0.53
Photon Flux (Free Index): 1.10e-07 +/- 6.94e-08
Energy Flux (Free Index): 3.03e-05 +/- 1.75e-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/440011/cmap_HighResolution_430358401_430617601_4FGL_J1103.0+1157_daily_bin737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.62e-08', energy_flux2='3.03e-05', photon_flux_error='5.57e-08', dlogl='7.66e-02', energy_flux='3.18e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-03 04:08:25.061102', photon_index_error2='0.53', photon_index2='2.50', ts='6.38', fit_tolerance='1e-08', GAL='1.63', photon_index_error='0.00', energy_flux_error2='1.75e-05', EG='0.95', time_epoch_completed='1630667305.06', return_code='0', job_id='440011', GAL2='1.64', EG2='0.93', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='6.94e-08', ts2='6.53', photon_index='2.30' WHERE bin_id='737' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:08:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 440011: <4FGL_J1103.0+1157_daily_bin737> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin737> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep  3 03:56:36 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 03:59:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 03:59:54 2021
Terminated at Fri Sep  3 04:08:25 2021
Results reported at Fri Sep  3 04:08:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin737 165.772 11.9654 430358401 430617601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1103.0+1157 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   490.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   511 sec.
    Turnaround time :                            709 sec.

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

