/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 82 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 = 7511
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1103.0+1157_daily_bin1642
RA = 165.772, Dec = 11.9654
tmin = 664934401, tmax = 665193601
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='435691', job_status='RUN', time_executed='2022-01-30 00:11:03.275946', time_epoch_executed='1643530263.28' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='1642'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435691/ft1_4FGL_J1103.0+1157_daily_bin1642.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435691/ft2_4FGL_J1103.0+1157_daily_bin1642.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435691/ft1_4FGL_J1103.0+1157_daily_bin1642.fits outfile=/scratch/kocevski/435691/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin1642.fits ra=165.772 dec=11.9654 rad=12.0 tmin=664934401.0 tmax=665193601.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.30
user 2.79
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435691/ft1_filtered_4FGL_J1103.0+1157_daily_bin1642.fits evtable="EVENTS" scfile=/scratch/kocevski/435691/ft2_4FGL_J1103.0+1157_daily_bin1642.fits sctable="SC_DATA" expcube=/scratch/kocevski/435691/ltcube_664934401_665193601_4FGL_J1103.0+1157_daily_bin1642.fits outfile=/scratch/kocevski/435691/expmap_664934401_665193601_4FGL_J1103.0+1157_daily_bin1642.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/435691/ltcube_664934401_665193601_4FGL_J1103.0+1157_daily_bin1642.fits
.....................!
real 157.02
user 150.88
sys 4.70

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/435691/ft1_filtered_4FGL_J1103.0+1157_daily_bin1642.fits scfile=/scratch/kocevski/435691/ft2_4FGL_J1103.0+1157_daily_bin1642.fits outfile=/scratch/kocevski/435691/cmap_664934401_665193601_4FGL_J1103.0+1157_daily_bin1642.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.47
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435691/ft1_filtered_4FGL_J1103.0+1157_daily_bin1642.fits scfile=/scratch/kocevski/435691/ft2_4FGL_J1103.0+1157_daily_bin1642.fits outfile=/scratch/kocevski/435691/cmap_HighResolution_664934401_665193601_4FGL_J1103.0+1157_daily_bin1642.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.47
user 0.31
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    5.3262       1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.363       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .33792E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.4306       1.0000         .10000E-03   10000.    
     7 'norm      '    .62392       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22890E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .28391       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24767E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.5103       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1725       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0239       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=   6999.494     FROM MIGRAD    STATUS=CONVERGED    345 CALLS     1424 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5508        .67301E-07** at limit **
   2  Prefactor     5.3259        3.0837        .12573E-06   -.15527E-03
   3  Prefactor     37.364        10.518        .52939E-06    .43891E-04
   4  Prefactor     .10000E-03    2.0153       -.76950E-06** at limit **
   5  Prefactor     .10001E-03    5.8061       -.12019E-05** at limit **
   6  Prefactor     9.4344        8.7199        .38202E-05   -.68827E-04
   7  norm          .62392        .41230        .81135E-07   -.12832E-03
   8  Prefactor     .10000E-03    4.8378       -.43414E-06** at limit **
   9  Prefactor     .10000E-03    55.645        .27011E-05** at limit **
  10  norm          .28336        .70790       -.19936E-06   -.21051E-02
  11  Prefactor     .10018E-03    9.1671       -.55056E-06** at limit **
  12  Prefactor     7.5111        5.9630        .63284E-06   -.78821E-04
  13  norm          .10000E-03    8.4925        .61031E-06** at limit **
  14  Prefactor     .10000E-03    4.1781        .27178E-06** at limit **
  15  Prefactor     .10000E-03    12.036        .13257E-05** at limit **
  16  Normalizat    1.1726        .18355       -.12459E-05    .23532E-03
  17  Prefactor     1.0237        .16396       -.40801E-06    .12328E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.32591
  Prefactor  = 37.3642
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 9.43439
  norm       = 0.623922
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.283361
  Prefactor  = 0.000100182
  Prefactor  = 7.51113
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17256
  Prefactor  = 1.02374
 **********
 **   18 **HESSE 
 **********

 FCN=   6999.494     FROM HESSE     STATUS=OK           225 CALLS     1649 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5570        .15395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.3259        3.0781        .10736E-03   -1.5246    
   3  Prefactor     37.364        10.548        .65568E-04   -1.4485    
   4  Prefactor     .10000E-03    2.0153        .11574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    16.525        .38246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.4344        8.5414        .13050E-03   -1.5094    
   7  norm          .62392        .40076        .42102E-04   -1.5550    
   8  Prefactor     .10000E-03    4.8992        .17928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    56.984        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .28336        .63232        .11047E-02   -1.5602    
  11  Prefactor     .10018E-03    69.158        .48433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.5111        5.9484        .14634E-03   -1.5160    
  13  norm          .10000E-03    8.6700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.1933        .16699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1726        .21102        .25885E-03   -.87455    
  17  Prefactor     1.0237        .19208        .25394E-03   -.91942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55368e-09
Minuit parameter uncertainties:
  1  1.55213e-06
  2  3.07816
  3  10.5483
  4  8.76019e-06
  5  0.000614167
  6  8.54247
  7  0.400761
  8  8.37455e-06
  9  0.000865421
  10  0.632339
  11  0.00710242
  12  5.9489
  13  1.03536e-05
  14  1.58451e-06
  15  1.47388e-05
  16  0.211177
  17  0.192204
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  2.834e-01  6.323e-01  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.024e+00  1.922e-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.173e+00  2.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/435691/likelihoodResults_664934401_665193601_4FGL_J1103.0+1157_daily_bin1642.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) = 6999.48336958
delta logL = 0.0101579491266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6999.48322157
delta logL = 0.0103059579496

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27555       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0541       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1744       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0226       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=   6999.483     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      291 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27554        .61148        .10979E-02    .76157E-02
   2  alpha         2.0542        1.4895        .44497E-01   -.13366E-03
   3  Normalizat    1.1744        .20596        .25867E-03    .39555E-06
   4  Prefactor     1.0226        .19106        .25406E-03   -.31324E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.275545
  alpha      = 2.05415
  Normalizat = 1.17437
  Prefactor  = 1.0226
 **********
 **   18 **HESSE 
 **********

 FCN=   6999.483     FROM HESSE     STATUS=OK            27 CALLS      318 TOTAL
                     EDM=   .91E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27554        .61575        .21957E-03   -1.5603    
   2  alpha         2.0542        1.5021        .88995E-02   -.17930    
   3  Normalizat    1.1744        .20613        .10347E-04   -.87399    
   4  Prefactor     1.0226        .19124        .10162E-04   -.91980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13011e-13
Minuit parameter uncertainties:
  1  0.615768
  2  1.6158
  3  0.20627
  4  0.191364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435691': 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) = 6999.48322157
delta logL = 0.0103059590901

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  2.755e-01  6.158e-01  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.054e+00  1.616e+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.023e+00  1.914e-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.174e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
Ra Dec: 165.772 11.965

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/435691/cmap_HighResolution_664934401_665193601_4FGL_J1103.0+1157_daily_bin1642.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-05', job_status='DONE', photon_flux_upper_limit='6.36e-08', time_completed='2022-01-30 00:19:35.943664', job_id='435691', GAL2='1.02', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1643530775.94', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.03e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1642' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 30 00:19:35 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 435866: <4FGL_J1103.0+1157_daily_bin1642> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin1642> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan 30 00:07:02 2022
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 30 00:07:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 30 00:07:04 2022
Terminated at Sun Jan 30 00:19:07 2022
Results reported at Sun Jan 30 00:19:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin1642 165.772 11.9654 664934401 665193601 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 :                                   582.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            725 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 435691: <4FGL_J1103.0+1157_daily_bin1642> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin1642> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jan 30 00:06:52 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 30 00:06:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 30 00:06:54 2022
Terminated at Sun Jan 30 00:19:36 2022
Results reported at Sun Jan 30 00:19:36 2022

Your job looked like:

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

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

