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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin1009
RA = 165.772, Dec = 11.9654
tmin = 500860801, tmax = 501120001
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='441551', job_status='RUN', time_executed='2021-09-03 04:04:11.988744', time_epoch_executed='1630667051.99' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='1009'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441551

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441551/ft1_4FGL_J1103.0+1157_daily_bin1009.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441551/ft2_4FGL_J1103.0+1157_daily_bin1009.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441551/ft1_4FGL_J1103.0+1157_daily_bin1009.fits outfile=/scratch/kocevski/441551/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin1009.fits ra=165.772 dec=11.9654 rad=12.0 tmin=500860801.0 tmax=501120001.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 4.68
user 4.41
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441551/ft1_filtered_4FGL_J1103.0+1157_daily_bin1009.fits" evtable="EVENTS" scfile=/scratch/kocevski/441551/ft2_4FGL_J1103.0+1157_daily_bin1009.fits sctable="SC_DATA" outfile=/scratch/kocevski/441551/ltcube_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.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/441551/ft2_4FGL_J1103.0+1157_daily_bin1009.fits
.....................!
real 11.99
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441551/ft1_filtered_4FGL_J1103.0+1157_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/441551/ft2_4FGL_J1103.0+1157_daily_bin1009.fits sctable="SC_DATA" expcube=/scratch/kocevski/441551/ltcube_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.fits outfile=/scratch/kocevski/441551/expmap_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.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/441551/ltcube_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.fits
.....................!
real 189.94
user 185.08
sys 4.33

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/441551/ft1_filtered_4FGL_J1103.0+1157_daily_bin1009.fits scfile=/scratch/kocevski/441551/ft2_4FGL_J1103.0+1157_daily_bin1009.fits outfile=/scratch/kocevski/441551/cmap_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441551/ft1_filtered_4FGL_J1103.0+1157_daily_bin1009.fits scfile=/scratch/kocevski/441551/ft2_4FGL_J1103.0+1157_daily_bin1009.fits outfile=/scratch/kocevski/441551/cmap_HighResolution_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.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.58
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/441551/ft1_filtered_4FGL_J1103.0+1157_daily_bin1009.fits', '/scratch/kocevski/441551/ft2_4FGL_J1103.0+1157_daily_bin1009.fits', expMap='/scratch/kocevski/441551/expmap_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.fits', expCube='/scratch/kocevski/441551/ltcube_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/441551/Model_4FGL_J1103.0+1157_daily_bin1009.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/441551/ft1_filtered_4FGL_J1103.0+1157_daily_bin1009.fits
Spacecraft file(s): /scratch/kocevski/441551/ft2_4FGL_J1103.0+1157_daily_bin1009.fits
Exposure map: /scratch/kocevski/441551/expmap_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.fits
Exposure cube: /scratch/kocevski/441551/ltcube_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/441551/Model_4FGL_J1103.0+1157_daily_bin1009.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) = 5551.37218515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4223       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .25025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.0157       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8940       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.2124       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0978       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2881       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .52807E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    18.613       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2462       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0305       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0998       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5551.363     FROM MIGRAD    STATUS=CONVERGED    367 CALLS     1657 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4223        6.5524        .11383E-05   -.83432E-03
   2  Prefactor     .10000E-03    2.2244        .19552E-06** at limit **
   3  Prefactor     .10000E-03    9.6675        .25216E-06** at limit **
   4  Prefactor     4.0088        7.8598       -.12347E-05   -.20794E-03
   5  Prefactor     5.8933        6.9435        .56555E-06    .68137E-04
   6  Prefactor     8.2121        7.4816        .33510E-06    .78112E-04
   7  norm          1.0978        .51072       -.71774E-07    .31121E-03
   8  Prefactor     4.2884        5.7344        .22048E-05    .28339E-03
   9  Prefactor     .10000E-03    6.2093       -.10836E-06** at limit **
  10  norm          .10000E-03    .70398       -.30687E-07** at limit **
  11  Prefactor     .10000E-03    24.583       -.17253E-06** at limit **
  12  Prefactor     .10000E-03    3.2865       -.20788E-06** at limit **
  13  norm          18.611        17.602        .62799E-06    .39328E-04
  14  Prefactor     .10000E-03    18.033        .28891E-06** at limit **
  15  Prefactor     2.0784        222.26       -.19394E-05   -.84501E-05
  16  Normalizat    1.0305        .19737       -.81411E-06   -.36848E-04
  17  Prefactor     1.0997        .17772        .98788E-07   -.66454E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.42234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.0088
  Prefactor  = 5.89334
  Prefactor  = 8.21212
  norm       = 1.09777
  Prefactor  = 4.28841
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.6112
  Prefactor  = 0.0001
  Prefactor  = 2.07842
  Normalizat = 1.03048
  Prefactor  = 1.09968
 **********
 **   18 **HESSE 
 **********

 FCN=   5551.363     FROM HESSE     STATUS=OK           229 CALLS     1886 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4223        11.194        .95750E-03   -1.5287    
   2  Prefactor     .10000E-03    5.6036        .21276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.8745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.0088        7.9020        .20124E-03   -1.5308    
   5  Prefactor     5.8933        7.0148        .16541E-03   -1.5222    
   6  Prefactor     8.2121        7.4901        .13990E-03   -1.5135    
   7  norm          1.0978        .51550        .34212E-04   -1.5498    
   8  Prefactor     4.2884        5.7770        .19455E-03   -1.5294    
   9  Prefactor     .10000E-03    6.2369        .18132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    9.5706        .11755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    24.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.3005        .13189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          18.611        17.342        .92836E-04   -1.4845    
  14  Prefactor     .10000E-03    18.891        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.0784        219.14        .27419E-03   -1.5420    
  16  Normalizat    1.0305        .22296        .25682E-03   -.92016    
  17  Prefactor     1.0997        .20227        .23595E-03   -.89477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34632e-09
Minuit parameter uncertainties:
  1  11.1996
  2  5.57647e-05
  3  1.95977e-05
  4  7.90403
  5  7.01575
  6  7.49093
  7  0.515504
  8  5.77776
  9  7.09105e-06
  10  0.000261042
  11  8.76998e-06
  12  3.45863e-06
  13  17.3466
  14  2.51761e-05
  15  42.8446
  16  0.223166
  17  0.202414
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.000e-04  2.610e-04  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.100e+00  2.024e-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:  1.030e+00  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 165.772 11.965
Photon Flux Upper Limit: 9.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441551/likelihoodResults_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5551.36361643
delta logL = -0.000510091258548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5551.36311019
delta logL = -3.84298618883e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15041E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3829       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0993       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5551.363     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      269 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10207E-03    13.019        .17740E-01** at limit **
   2  alpha         2.6806        3.3326        .16484       -.47051E-06
   3  Normalizat    1.0305        .11790E-01    .25682E-03    .22748E-03
   4  Prefactor     1.0997        .11190E-01    .23595E-03    .20336E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000102073
  alpha      = 2.6806
  Normalizat = 1.03048
  Prefactor  = 1.09968
 **********
 **   18 **HESSE 
 **********

 FCN=   5551.363     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      302 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10207E-03    7.6212        .25053E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6806        3.6564        .65934E-02    .72303E-01
   3  Normalizat    1.0305        .12036E-01    .51364E-04   -.92016    
   4  Prefactor     1.0997        .11422E-01    .47190E-04   -.89477    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.24502e-09
Minuit parameter uncertainties:
  1  0.00794971
  2  340.755
  3  0.0120364
  4  0.0114224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441551': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5551.36310246
delta logL = 3.88088119507e-06

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.021e-04  7.950e-03  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.681e+00  3.408e+02  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.100e+00  1.142e-02  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:  1.030e+00  1.204e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 165.772 11.965

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/441551/cmap_HighResolution_500860801_501120001_4FGL_J1103.0+1157_daily_bin1009.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.15e-05', job_status='DONE', photon_flux_upper_limit='9.52e-08', time_completed='2021-09-03 04:13:24.741109', job_id='441551', GAL2='1.10', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1630667604.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='3.88e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1009' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:13:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 441551: <4FGL_J1103.0+1157_daily_bin1009> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin1009> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 04:01:35 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 04:03:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 04:03:25 2021
Terminated at Fri Sep  3 04:13:25 2021
Results reported at Fri Sep  3 04:13:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin1009 165.772 11.9654 500860801 501120001 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 :                                   545.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            710 sec.

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

