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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin1078
RA = 165.772, Dec = 11.9654
tmin = 518745601, tmax = 519004801
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='441655', job_status='RUN', time_executed='2021-09-03 04:04:50.600107', time_epoch_executed='1630667090.6' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='1078'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441655

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441655/ft1_4FGL_J1103.0+1157_daily_bin1078.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441655/ft2_4FGL_J1103.0+1157_daily_bin1078.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441655/ft1_4FGL_J1103.0+1157_daily_bin1078.fits outfile=/scratch/kocevski/441655/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin1078.fits ra=165.772 dec=11.9654 rad=12.0 tmin=518745601.0 tmax=519004801.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.36
user 4.09
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441655/ft1_filtered_4FGL_J1103.0+1157_daily_bin1078.fits evtable="EVENTS" scfile=/scratch/kocevski/441655/ft2_4FGL_J1103.0+1157_daily_bin1078.fits sctable="SC_DATA" expcube=/scratch/kocevski/441655/ltcube_518745601_519004801_4FGL_J1103.0+1157_daily_bin1078.fits outfile=/scratch/kocevski/441655/expmap_518745601_519004801_4FGL_J1103.0+1157_daily_bin1078.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/441655/ltcube_518745601_519004801_4FGL_J1103.0+1157_daily_bin1078.fits
.....................!
real 190.80
user 185.85
sys 4.48

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/441655/ft1_filtered_4FGL_J1103.0+1157_daily_bin1078.fits scfile=/scratch/kocevski/441655/ft2_4FGL_J1103.0+1157_daily_bin1078.fits outfile=/scratch/kocevski/441655/cmap_518745601_519004801_4FGL_J1103.0+1157_daily_bin1078.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441655/ft1_filtered_4FGL_J1103.0+1157_daily_bin1078.fits scfile=/scratch/kocevski/441655/ft2_4FGL_J1103.0+1157_daily_bin1078.fits outfile=/scratch/kocevski/441655/cmap_HighResolution_518745601_519004801_4FGL_J1103.0+1157_daily_bin1078.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.59
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.183       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9803       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .17612E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9548       1.0000         .10000E-03   10000.    
     7 'norm      '    .29497       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.336       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.5699       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0160       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14772E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.762       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.129       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .97017       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0254       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=   6445.916     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1404 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.113        11.136        .44624E-07    .58223E-04
   2  Prefactor     .10000E-03    .86000        .30686E-07** at limit **
   3  Prefactor     .10000E-03    3.0632       -.11553E-06** at limit **
   4  Prefactor     2.9830        6.1309        .39606E-05   -.23615E-04
   5  Prefactor     .10000E-03    5.3893       -.30588E-06** at limit **
   6  Prefactor     5.9549        6.6094       -.15185E-06    .43180E-04
   7  norm          .29590        .49513        .10364E-06    .23778E-03
   8  Prefactor     17.284        9.7406       -.50598E-06   -.16697E-04
   9  Prefactor     7.5507        10.136       -.54540E-07    .41987E-04
  10  norm          1.0144        1.3447        .21608E-07    .42751E-04
  11  Prefactor     .10000E-03    25.072       -.36404E-06** at limit **
  12  Prefactor     .10000E-03    1.4925        .11132E-07** at limit **
  13  norm          11.774        10.633        .95017E-06    .49681E-04
  14  Prefactor     .10000E-03    4.0972       -.30815E-07** at limit **
  15  Prefactor     15.168        37.555       -.92769E-05   -.24677E-05
  16  Normalizat    .97031        .17912       -.85000E-06    .31000E-04
  17  Prefactor     1.0254        .16006        .77187E-06    .62162E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.98303
  Prefactor  = 0.000100001
  Prefactor  = 5.95489
  norm       = 0.295895
  Prefactor  = 17.2838
  Prefactor  = 7.55066
  norm       = 1.01442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.7737
  Prefactor  = 0.0001
  Prefactor  = 15.1682
  Normalizat = 0.970312
  Prefactor  = 1.02541
 **********
 **   18 **HESSE 
 **********

 FCN=   6445.916     FROM HESSE     STATUS=OK           231 CALLS     1635 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.113        11.065        .10635E-03   -1.4956    
   2  Prefactor     .10000E-03    .86661        .72703E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.0917        .13718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9830        6.1425        .11759E-02   -1.5363    
   5  Prefactor     .10000E-03    16.715        .34766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9549        6.5724        .16455E-03   -1.5220    
   7  norm          .29590        .44633        .59187E-03   -1.5599    
   8  Prefactor     17.284        9.3838        .96194E-04   -1.4876    
   9  Prefactor     7.5507        10.051        .14576E-03   -1.5158    
  10  norm          1.0144        1.3459        .51747E-04   -1.5507    
  11  Prefactor     .10000E-03    25.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.4932        .95789E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.774        10.638        .11681E-03   -1.5022    
  14  Prefactor     .10000E-03    4.1074        .15870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.168        37.563        .10297E-03   -1.4929    
  16  Normalizat    .97031        .20629        .25369E-03   -.94032    
  17  Prefactor     1.0254        .18587        .23270E-03   -.91887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47093e-10
Minuit parameter uncertainties:
  1  11.0664
  2  2.42431e-06
  3  5.35136e-06
  4  6.1438
  5  0.000264776
  6  6.57324
  7  0.44633
  8  9.38464
  9  10.0537
  10  1.34595
  11  5.55763e-05
  12  1.15228e-07
  13  10.64
  14  1.37639e-06
  15  37.622
  16  0.206463
  17  0.185986
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.014e+00  1.346e+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.025e+00  1.860e-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.703e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.70
Ra Dec: 165.772 11.965
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441655/likelihoodResults_518745601_519004801_4FGL_J1103.0+1157_daily_bin1078.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) = 6445.46494658
delta logL = 0.451245408587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6445.45781592
delta logL = 0.458376072649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86194       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2472       1.0000          .0000       5.0000    
     3 'Normalizat'    .92678       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0523       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=   6445.458     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      208 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86179        13.017        .12669E-01    .14584E-02
   2  alpha         3.2473        3.9903        .43756        .49600E-04
   3  Normalizat    .92676        .43729E-01    .45243E-01    .61989E-04
   4  Prefactor     1.0523        .42217E-01    .39777E-01   -.82360E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.861792
  alpha      = 3.24731
  Normalizat = 0.92676
  Prefactor  = 1.05232
 **********
 **   18 **HESSE 
 **********

 FCN=   6445.458     FROM HESSE     STATUS=OK            35 CALLS      243 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86179        1.7654        .62010E-03   -1.5522    
   2  alpha         3.2473        1.5551        .20124E-01    .30357    
   3  Normalizat    .92676        .20319        .25884E-03   -.95526    
   4  Prefactor     1.0523        .18829        .23004E-03   -.91005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70899e-11
Minuit parameter uncertainties:
  1  1.76546
  2  1.6939
  3  0.203359
  4  0.188408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441655': 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) = 6445.4578159
delta logL = 0.458376091097

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  8.618e-01  1.765e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  3.247e+00  1.694e+00  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.052e+00  1.884e-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.268e-01  2.034e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.69
Ra Dec: 165.772 11.965
Photon Index (Free Index): 3.25 +/- 1.69
Photon Flux (Free Index): 5.89e-08 +/- 5.16e-08
Energy Flux (Free Index): 1.09e-05 +/- 1.12e-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/441655/cmap_HighResolution_518745601_519004801_4FGL_J1103.0+1157_daily_bin1078.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.42e-05', comment='SUCCESS', energy_flux2='1.09e-05', dlogl='4.58e-01', photon_flux2='5.89e-08', job_status='DONE', time_completed='2021-09-03 04:14:23.772348', photon_index_error2='1.69', photon_index2='3.25', ts='0.70', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.12e-05', EG='0.97', time_epoch_completed='1630667663.77', return_code='0', job_id='441655', GAL2='1.05', EG2='0.93', return_code2='0', photon_flux_error2='5.16e-08', ts2='1.69', photon_index='2.30' WHERE bin_id='1078' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:14:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 441655: <4FGL_J1103.0+1157_daily_bin1078> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin1078> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 04:01:42 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 04:04:29 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:04:29 2021
Terminated at Fri Sep  3 04:14:24 2021
Results reported at Fri Sep  3 04:14:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin1078 165.772 11.9654 518745601 519004801 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 :                                   564.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            762 sec.

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

