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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin893
RA = 165.772, Dec = 11.9654
tmin = 470793601, tmax = 471052801
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='441375', job_status='RUN', time_executed='2021-09-03 04:02:17.205379', time_epoch_executed='1630666937.21' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='893'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441375

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441375/ft1_4FGL_J1103.0+1157_daily_bin893.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441375/ft2_4FGL_J1103.0+1157_daily_bin893.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441375/ft1_4FGL_J1103.0+1157_daily_bin893.fits outfile=/scratch/kocevski/441375/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin893.fits ra=165.772 dec=11.9654 rad=12.0 tmin=470793601.0 tmax=471052801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.49
user 3.24
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441375/ft1_filtered_4FGL_J1103.0+1157_daily_bin893.fits" evtable="EVENTS" scfile=/scratch/kocevski/441375/ft2_4FGL_J1103.0+1157_daily_bin893.fits sctable="SC_DATA" outfile=/scratch/kocevski/441375/ltcube_470793601_471052801_4FGL_J1103.0+1157_daily_bin893.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/441375/ft2_4FGL_J1103.0+1157_daily_bin893.fits
.....................!
real 16.21
user 15.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441375/ft1_filtered_4FGL_J1103.0+1157_daily_bin893.fits evtable="EVENTS" scfile=/scratch/kocevski/441375/ft2_4FGL_J1103.0+1157_daily_bin893.fits sctable="SC_DATA" expcube=/scratch/kocevski/441375/ltcube_470793601_471052801_4FGL_J1103.0+1157_daily_bin893.fits outfile=/scratch/kocevski/441375/expmap_470793601_471052801_4FGL_J1103.0+1157_daily_bin893.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/441375/ltcube_470793601_471052801_4FGL_J1103.0+1157_daily_bin893.fits
.....................!
real 190.96
user 185.25
sys 5.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/441375/ft1_filtered_4FGL_J1103.0+1157_daily_bin893.fits scfile=/scratch/kocevski/441375/ft2_4FGL_J1103.0+1157_daily_bin893.fits outfile=/scratch/kocevski/441375/cmap_470793601_471052801_4FGL_J1103.0+1157_daily_bin893.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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441375/ft1_filtered_4FGL_J1103.0+1157_daily_bin893.fits scfile=/scratch/kocevski/441375/ft2_4FGL_J1103.0+1157_daily_bin893.fits outfile=/scratch/kocevski/441375/cmap_HighResolution_470793601_471052801_4FGL_J1103.0+1157_daily_bin893.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7094       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.239       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0184       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.0472       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7061       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .60821E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .29919       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7276       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.189       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11196E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10595E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10784E-01   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .85828       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3804       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=   6112.917     FROM MIGRAD    STATUS=CONVERGED    397 CALLS     1937 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7102        8.6954        .17312E-07    .16577E-04
   2  Prefactor     11.240        4.4406        .49231E-07    .26876E-03
   3  Prefactor     3.0179        4.2157       -.11282E-06    .11915E-03
   4  Prefactor     4.0465        7.9295       -.57930E-06   -.15962E-04
   5  Prefactor     3.7181        8.7691       -.75782E-06   -.12148E-03
   6  Prefactor     .10000E-03    20.181       -.55644E-05** at limit **
   7  norm          .29922        .43565       -.38843E-06   -.57755E-04
   8  Prefactor     4.7308        7.9277        .31761E-07   -.87609E-04
   9  Prefactor     .10000E-03    8.3088       -.18314E-06** at limit **
  10  norm          .10000E-03    .28216       -.11051E-08** at limit **
  11  Prefactor     30.206        24.638        .57328E-06    .15473E-03
  12  Prefactor     .10000E-03    4.9822        .89025E-06** at limit **
  13  norm          .10000E-03    6.0577        .14408E-05** at limit **
  14  Prefactor     .10000E-03    5.2554       -.13353E-05** at limit **
  15  Prefactor     .10102E-03    35.704       -.31641E-05** at limit **
  16  Normalizat    .85802        .18940        .54013E-06    .16747E-03
  17  Prefactor     1.3804        .18106        .55105E-07    .22492E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.7102
  Prefactor  = 11.24
  Prefactor  = 3.01794
  Prefactor  = 4.04648
  Prefactor  = 3.71812
  Prefactor  = 0.0001
  norm       = 0.299215
  Prefactor  = 4.73077
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.2056
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000101015
  Normalizat = 0.858021
  Prefactor  = 1.38037
 **********
 **   18 **HESSE 
 **********

 FCN=   6112.917     FROM HESSE     STATUS=OK           241 CALLS     2178 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7102        8.6757        .14442E-03   -1.5153    
   2  Prefactor     11.240        4.4339        .96958E-04   -1.5037    
   3  Prefactor     3.0179        4.2048        .18275E-03   -1.5361    
   4  Prefactor     4.0465        7.8113        .20043E-03   -1.5306    
   5  Prefactor     3.7181        8.3057        .20977E-03   -1.5322    
   6  Prefactor     .10000E-03    21.800        .36269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .29922        .43502        .61351E-03   -1.5599    
   8  Prefactor     4.7308        7.8563        .18506E-03   -1.5273    
   9  Prefactor     .10000E-03    8.3338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .28482        .40534E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     30.206        24.694        .72921E-04   -1.4608    
  12  Prefactor     .10000E-03    14.917        .32194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    23.422        .33883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.441        .31986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10102E-03    33.175        .11892       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .85802        .22275        .28373E-03   -.97951    
  17  Prefactor     1.3804        .21499        .23018E-03   -.80948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54573e-09
Minuit parameter uncertainties:
  1  8.67707
  2  4.43399
  3  4.2052
  4  7.81329
  5  8.3083
  6  2.9117e-05
  7  0.435024
  8  7.85802
  9  1.36543e-05
  10  8.53551e-07
  11  24.702
  12  0.000253788
  13  0.000159397
  14  0.000399511
  15  0.0116143
  16  0.222986
  17  0.215129
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.000e-04  8.536e-07  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.380e+00  2.151e-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:  8.580e-01  2.230e-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: 4.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441375/likelihoodResults_470793601_471052801_4FGL_J1103.0+1157_daily_bin893.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) = 6112.91711732
delta logL = -0.000139626113196

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6112.91697493
delta logL = 2.75737511402e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5180       1.0000          .0000       5.0000    
     3 'Normalizat'    .85809       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3804       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=   6112.917     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      271 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .29993        .40959E-03** at limit **
   2  alpha         2.7746        3.0805        .16461       -.20977E-06
   3  Normalizat    .85802        .21106        .28373E-03    .86549E-05
   4  Prefactor     1.3804        .21242        .23018E-03   -.26977E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.77459
  Normalizat = 0.858019
  Prefactor  = 1.38037
 **********
 **   18 **HESSE 
 **********

 FCN=   6112.917     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .95E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .29586        .81918E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7746        3.2141        .32922E-01    .11006    
   3  Normalizat    .85802        .21122        .11349E-04   -.97951    
   4  Prefactor     1.3804        .21260        .46036E-04   -.80948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.51732e-12
Minuit parameter uncertainties:
  1  1.21921e-06
  2  150.458
  3  0.211428
  4  0.21273
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441375': 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) = 6112.91697115
delta logL = 6.54372979625e-06

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.000e-04  1.219e-06  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.775e+00  1.505e+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.380e+00  2.127e-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:  8.580e-01  2.114e-01  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/441375/cmap_HighResolution_470793601_471052801_4FGL_J1103.0+1157_daily_bin893.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-05', job_status='DONE', photon_flux_upper_limit='4.11e-08', time_completed='2021-09-03 04:12:21.887551', job_id='441375', GAL2='1.38', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1630667541.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='6.54e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='893' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:12:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 441375: <4FGL_J1103.0+1157_daily_bin893> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin893 165.772 11.9654 470793601 471052801 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 :                                   601.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            659 sec.

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

