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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin452
RA = 165.772, Dec = 11.9654
tmin = 356486401, tmax = 356745601
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='439593', job_status='RUN', time_executed='2021-09-03 03:56:27.817708', time_epoch_executed='1630666587.82' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='452'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439593

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439593/ft1_4FGL_J1103.0+1157_daily_bin452.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439593/ft2_4FGL_J1103.0+1157_daily_bin452.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439593/ft1_4FGL_J1103.0+1157_daily_bin452.fits outfile=/scratch/kocevski/439593/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin452.fits ra=165.772 dec=11.9654 rad=12.0 tmin=356486401.0 tmax=356745601.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.46
user 3.22
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439593/ft1_filtered_4FGL_J1103.0+1157_daily_bin452.fits evtable="EVENTS" scfile=/scratch/kocevski/439593/ft2_4FGL_J1103.0+1157_daily_bin452.fits sctable="SC_DATA" expcube=/scratch/kocevski/439593/ltcube_356486401_356745601_4FGL_J1103.0+1157_daily_bin452.fits outfile=/scratch/kocevski/439593/expmap_356486401_356745601_4FGL_J1103.0+1157_daily_bin452.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/439593/ltcube_356486401_356745601_4FGL_J1103.0+1157_daily_bin452.fits
.....................!
real 191.70
user 185.21
sys 5.27

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/439593/ft1_filtered_4FGL_J1103.0+1157_daily_bin452.fits scfile=/scratch/kocevski/439593/ft2_4FGL_J1103.0+1157_daily_bin452.fits outfile=/scratch/kocevski/439593/cmap_356486401_356745601_4FGL_J1103.0+1157_daily_bin452.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/439593/ft1_filtered_4FGL_J1103.0+1157_daily_bin452.fits scfile=/scratch/kocevski/439593/ft2_4FGL_J1103.0+1157_daily_bin452.fits outfile=/scratch/kocevski/439593/cmap_HighResolution_356486401_356745601_4FGL_J1103.0+1157_daily_bin452.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9933       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.649       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9695       1.0000         .10000E-03   10000.    
     7 'norm      '    .77069       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.3125       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .59465       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .31219E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.602       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .49756       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.5617       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=   5481.513     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1382 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7452        .90712E-02** at limit **
   2  Prefactor     9.9937        4.2653        .31689E-02    .60512E-03
   3  Prefactor     .10004E-03    6.1627        .61330E-01** at limit **
   4  Prefactor     15.647        10.130        .25312E-02    .70857E-04
   5  Prefactor     .10000E-03    6.1688        .90712E-02** at limit **
   6  Prefactor     5.9673        6.5378        .41087E-02   -.10585E-03
   7  norm          .77062        .68818        .10552E-01    .22076E-03
   8  Prefactor     7.3121        12.225        .37081E-02    .13174E-03
   9  Prefactor     .10001E-03    16.196        .90712E-02** at limit **
  10  norm          .59436        1.2532        .23940E-01    .10881E-02
  11  Prefactor     .10039E-03    10.059        .10686    ** at limit **
  12  Prefactor     20.603        9.7208        .22061E-02    .28916E-04
  13  norm          .10000E-03    6.6679        .90712E-02** at limit **
  14  Prefactor     .10000E-03    3.3932        .90712E-02** at limit **
  15  Prefactor     .10000E-03    16.409        .90712E-02** at limit **
  16  Normalizat    .49737        .20543        .79601E-01    .35436E-04
  17  Prefactor     1.5617        .19634        .47745E-01    .55227E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.99375
  Prefactor  = 0.000100043
  Prefactor  = 15.6473
  Prefactor  = 0.0001
  Prefactor  = 5.96734
  norm       = 0.770625
  Prefactor  = 7.31214
  Prefactor  = 0.000100008
  norm       = 0.594363
  Prefactor  = 0.000100387
  Prefactor  = 20.603
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Normalizat = 0.497365
  Prefactor  = 1.56167
 **********
 **   18 **HESSE 
 **********

 FCN=   5481.513     FROM HESSE     STATUS=OK           227 CALLS     1609 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7545        .13992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.9937        4.2617        .94728E-04   -1.5076    
   3  Prefactor     .10004E-03    18.058        .34020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.647        10.103        .10125E-03   -1.4917    
   5  Prefactor     .10000E-03    6.2742        .17930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9673        6.5274        .16435E-03   -1.5219    
   7  norm          .77062        .68452        .47355E-04   -1.5532    
   8  Prefactor     7.3121        12.370        .14832E-03   -1.5167    
   9  Prefactor     .10001E-03    16.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .59436        1.1101        .11104E-02   -1.5554    
  11  Prefactor     .10039E-03    37.553        .45322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.603        9.7122        .88243E-04   -1.4800    
  13  norm          .10000E-03    6.7207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.3980        .13318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .49737        .22422        .35255E-03   -1.1254    
  17  Prefactor     1.5617        .22341        .21104E-03   -.75827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.743e-08
Minuit parameter uncertainties:
  1  4.1907e-06
  2  4.26184
  3  0.00175817
  4  10.1036
  5  3.71511e-05
  6  6.52815
  7  0.684532
  8  12.3738
  9  0.000706659
  10  1.11012
  11  0.00763342
  12  9.71295
  13  5.20831e-05
  14  2.34409e-06
  15  0.000551263
  16  0.224632
  17  0.223555
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  5.944e-01  1.110e+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.562e+00  2.236e-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:  4.974e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/439593/likelihoodResults_356486401_356745601_4FGL_J1103.0+1157_daily_bin452.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) = 5481.51053515
delta logL = 0.0020229139609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5481.51039096
delta logL = 0.00216710857785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58453       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1763       1.0000          .0000       5.0000    
     3 'Normalizat'    .50039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5596       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5481.510     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      292 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58258        1.1062        .11227E-02    .43707E-02
   2  alpha         2.1722        1.6309        .39539E-01   -.89205E-05
   3  Normalizat    .50052        .22442        .35145E-03   -.93161E-05
   4  Prefactor     1.5595        .22423        .21116E-03   -.31820E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.582576
  alpha      = 2.17222
  Normalizat = 0.500519
  Prefactor  = 1.55953
 **********
 **   18 **HESSE 
 **********

 FCN=   5481.510     FROM HESSE     STATUS=OK            27 CALLS      319 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58258        1.1195        .22453E-03   -1.5555    
   2  alpha         2.1722        1.6490        .15815E-02   -.13149    
   3  Normalizat    .50052        .22441        .14058E-04   -1.1239    
   4  Prefactor     1.5595        .22424        .84462E-05   -.75886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.87354e-12
Minuit parameter uncertainties:
  1  1.1195
  2  1.80415
  3  0.224812
  4  0.224385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439593': 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) = 5481.51038759
delta logL = 0.00217047783462

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  5.826e-01  1.119e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.172e+00  1.804e+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.560e+00  2.244e-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:  5.005e-01  2.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
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/439593/cmap_HighResolution_356486401_356745601_4FGL_J1103.0+1157_daily_bin452.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.12e-05', job_status='DONE', photon_flux_upper_limit='9.44e-08', time_completed='2021-09-03 04:05:05.782203', job_id='439593', GAL2='1.56', fit_tolerance='1e-08', EG2='0.50', EG='0.50', time_epoch_completed='1630667105.78', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='2.17e-03', ts2='0.40', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='452' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:05:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 439593: <4FGL_J1103.0+1157_daily_bin452> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin452> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep  3 03:56:10 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 03:56:14 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:56:14 2021
Terminated at Fri Sep  3 04:05:06 2021
Results reported at Fri Sep  3 04:05:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin452 165.772 11.9654 356486401 356745601 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 :                                   513.00 sec.
    Max Memory :                                 1113 MB
    Average Memory :                             356.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   533 sec.
    Turnaround time :                            536 sec.

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

