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


Performing analysis on: 4FGL_J1308.5+3547_daily_bin1289
RA = 197.129, Dec = 35.7918
tmin = 573436801, tmax = 573696001
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='272498', job_status='RUN', time_executed='2021-09-07 00:37:41.397503', time_epoch_executed='1631000261.4' WHERE source_name='4FGL J1308.5+3547' and cadence='daily' and bin_id='1289'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272498

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272498/ft1_4FGL_J1308.5+3547_daily_bin1289.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272498/ft1_4FGL_J1308.5+3547_daily_bin1289.fits outfile=/scratch/kocevski/272498/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin1289.fits ra=197.129 dec=35.7918 rad=12.0 tmin=573436801.0 tmax=573696001.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 5.43
user 5.16
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.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/272498/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin1289.fits evtable="EVENTS" outfile="/scratch/kocevski/272498/ft1_filtered_4FGL_J1308.5+3547_daily_bin1289.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.56
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/272498/ft1_filtered_4FGL_J1308.5+3547_daily_bin1289.fits" evtable="EVENTS" scfile=/scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits sctable="SC_DATA" outfile=/scratch/kocevski/272498/ltcube_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.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/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits
.....................!
real 15.36
user 14.70
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272498/ft1_filtered_4FGL_J1308.5+3547_daily_bin1289.fits evtable="EVENTS" scfile=/scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits sctable="SC_DATA" expcube=/scratch/kocevski/272498/ltcube_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.fits outfile=/scratch/kocevski/272498/expmap_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.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/272498/ltcube_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.fits
.....................!
real 191.11
user 186.06
sys 4.55

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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1308.5+3547 @ 197.129 35.7918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/272498/ft1_filtered_4FGL_J1308.5+3547_daily_bin1289.fits scfile=/scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits outfile=/scratch/kocevski/272498/cmap_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.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=197.129 yref=35.7918 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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272498/ft1_filtered_4FGL_J1308.5+3547_daily_bin1289.fits scfile=/scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits outfile=/scratch/kocevski/272498/cmap_HighResolution_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.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=197.129 yref=35.7918 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/272498/ft1_filtered_4FGL_J1308.5+3547_daily_bin1289.fits evtable="EVENTS" scfile=/scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/272498/Model_4FGL_J1308.5+3547_daily_bin1289.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/272498/ft1_filtered_4FGL_J1308.5+3547_daily_bin1289.fits.....................!
real 51.07
user 49.78
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/272498/ft1_filtered_4FGL_J1308.5+3547_daily_bin1289.fits', '/scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits', expMap='/scratch/kocevski/272498/expmap_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.fits', expCube='/scratch/kocevski/272498/ltcube_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/272498/Model_4FGL_J1308.5+3547_daily_bin1289.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1308.5+3547'

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.918e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/272498/ft1_filtered_4FGL_J1308.5+3547_daily_bin1289.fits
Spacecraft file(s): /scratch/kocevski/272498/ft2_4FGL_J1308.5+3547_daily_bin1289.fits
Exposure map: /scratch/kocevski/272498/expmap_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.fits
Exposure cube: /scratch/kocevski/272498/ltcube_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/272498/Model_4FGL_J1308.5+3547_daily_bin1289.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) = 6246.52826968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7020       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3589       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.1756       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    11.612       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.112       1.0000         .10000E-03   10000.    
    13 'norm      '    15.737       1.0000         .10000E-03   10000.    
    14 'norm      '    4.5305       1.0000         .10000E-03   10000.    
    15 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12058E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.266       1.0000         .10000E-03   10000.    
    18 'Prefactor '    85.162       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.165       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    17.725       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.6261       1.0000         .10000E-03   10000.    
    24 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .93089       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.4134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6246.512     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     3032 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2946        .84154E-07** at limit **
   2  Prefactor     2.7021        2.8408       -.11675E-06   -.31037E-03
   3  Prefactor     .10000E-03    5.4347       -.18264E-05** at limit **
   4  Prefactor     8.3586        13.369       -.16187E-06   -.42140E-04
   5  Prefactor     .10000E-03    31.155        .96886E-05** at limit **
   6  Prefactor     .10000E-03    3.1525       -.89448E-07** at limit **
   7  norm          5.1761        4.4722       -.10084E-06   -.12971E-03
   8  Prefactor     .10000E-03    24.635       -.11442E-04** at limit **
   9  Prefactor     .10000E-03    14.921       -.27974E-05** at limit **
  10  norm          11.612        6.0542       -.67833E-07   -.68828E-04
  11  Prefactor     .10000E-03    34.441        .13537E-04** at limit **
  12  norm          11.110        7.1616       -.28024E-07   -.41067E-03
  13  norm          15.738        14.759       -.68251E-07    .10592E-04
  14  norm          4.5308        3.2850        .10612E-06   -.13662E-03
  15  norm          .10000E-03    2.7872        .25860E-07** at limit **
  16  Prefactor     .10000E-03    5.3304        .23708E-05** at limit **
  17  Prefactor     10.255        18.423       -.13177E-05   -.19676E-03
  18  Prefactor     85.152        67.682       -.86168E-05   -.64747E-04
  19  Prefactor     .10000E-03    13.431        .53510E-05** at limit **
  20  Prefactor     18.166        24.068        .23089E-06   -.33895E-04
  21  Prefactor     .10000E-03    45.248       -.14292E-04** at limit **
  22  norm          17.725        3.2750       -.27220E-07    .88938E-04
  23  Prefactor     2.6261        4.6935       -.62096E-06   -.63239E-03
  24  norm          .10000E-03    10.443       -.16053E-05** at limit **
  25  Normalizat    .93102        .19458        .61668E-06   -.16675E-03
  26  Prefactor     1.4132        .24000        .21136E-06   -.10992E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.70212
  Prefactor  = 0.0001
  Prefactor  = 8.35863
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.1761
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.6115
  Prefactor  = 0.0001
  norm       = 11.1105
  norm       = 15.738
  norm       = 4.5308
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2545
  Prefactor  = 85.1521
  Prefactor  = 0.0001
  Prefactor  = 18.1657
  Prefactor  = 0.0001
  norm       = 17.725
  Prefactor  = 2.62605
  norm       = 0.0001
  Normalizat = 0.931018
  Prefactor  = 1.41324
 **********
 **   18 **HESSE 
 **********

 FCN=   6246.512     FROM HESSE     STATUS=OK           454 CALLS     3486 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3005        .14010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7021        2.8333        .13294E-03   -1.5379    
   3  Prefactor     .10000E-03    5.4426        .17989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3586        13.365        .13866E-03   -1.5130    
   5  Prefactor     .10000E-03    31.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.1634        .13701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.1761        4.4712        .15003E-03   -1.5253    
   8  Prefactor     .10000E-03    24.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.612        6.0557        .11756E-03   -1.5026    
  11  Prefactor     .10000E-03    34.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.110        7.1501        .12018E-03   -1.5041    
  13  norm          15.738        14.772        .10096E-03   -1.4914    
  14  norm          4.5308        3.2761        .11586E-03   -1.5282    
  15  norm          .10000E-03    2.7901        .12869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.5266        .35443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.255        18.316        .12505E-03   -1.5067    
  18  Prefactor     85.152        67.597        .21766E-03   -1.3860    
  19  Prefactor     .10000E-03    13.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.166        24.065        .93972E-04   -1.4855    
  21  Prefactor     .10000E-03    45.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          17.725        3.2787        .59226E-04   -1.4866    
  23  Prefactor     2.6261        4.7121        .22019E-03   -1.5384    
  24  norm          .10000E-03    10.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .93102        .22966        .28558E-03   -.95379    
  26  Prefactor     1.4132        .28421        .29646E-03   -.80000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14651e-10
Minuit parameter uncertainties:
  1  1.19775e-06
  2  2.83343
  3  4.73066e-07
  4  13.3701
  5  2.94703e-06
  6  4.19978e-06
  7  4.47144
  8  7.67555e-07
  9  5.39279e-06
  10  6.056
  11  9.36643e-05
  12  7.15062
  13  14.7759
  14  3.27626
  15  9.05748e-07
  16  9.98527e-05
  17  18.3263
  18  67.6585
  19  3.07952e-06
  20  24.0778
  21  2.01754e-05
  22  3.2787
  23  4.71276
  24  6.04094e-07
  25  0.229904
  26  0.284522
Done.

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

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.111e+01  7.151e+00  1.000e-04  1.000e+04 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.413e+00  2.845e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.310e-01  2.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.21
Ra Dec: 197.129 35.792
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 4.84e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 2.00e-05 +/- 1.29e-05

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) = 6246.51028117
delta logL = 0.00127869430071

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6246.51020578
delta logL = 0.00135409193626

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.070       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2179       1.0000          .0000       5.0000    
     3 'Normalizat'    .92928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4143       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6246.510     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      226 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.059        192.10        .30104E-02    .54098E-04
   2  alpha         2.2166        2.5337        .41487        .20972E-04
   3  Normalizat    .92936        .15631        .45275E-01    .16110E-04
   4  Prefactor     1.4143        .13169        .66999E-01    .42121E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.059
  alpha      = 2.21661
  Normalizat = 0.929357
  Prefactor  = 1.41431
 **********
 **   18 **HESSE 
 **********

 FCN=   6246.510     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.059        7.1632        .12042E-03   -1.5043    
   2  alpha         2.2166        .65963        .16510E-01   -.11360    
   3  Normalizat    .92936        .22704        .28580E-03   -.95436    
   4  Prefactor     1.4143        .28160        .29636E-03   -.79969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07512e-12
Minuit parameter uncertainties:
  1  7.16372
  2  0.66764
  3  0.227278
  4  0.281911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272498': 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) = 6246.51020192
delta logL = 0.00135794716607

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.106e+01  7.164e+00  1.000e-04  1.000e+04 ( 1.000e-12)
318        alpha:  2.217e+00  6.676e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.414e+00  2.819e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.294e-01  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 197.129 35.792
Photon Index (Free Index): 2.22 +/- 0.67
Photon Flux (Free Index): 4.99e-08 +/- 4.22e-08
Energy Flux (Free Index): 1.99e-05 +/- 1.28e-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/272498/cmap_HighResolution_573436801_573696001_4FGL_J1308.5+3547_daily_bin1289.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.84e-08', energy_flux2='1.99e-05', photon_flux_error='3.12e-08', dlogl='1.36e-03', energy_flux='2.00e-05', photon_flux2='4.99e-08', job_status='DONE', time_completed='2021-09-07 00:49:49.888226', photon_index_error2='0.67', photon_index2='2.22', ts='6.21', fit_tolerance='1e-08', GAL='1.41', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='0.93', time_epoch_completed='1631000989.89', return_code='0', job_id='272498', GAL2='1.41', EG2='0.93', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='4.22e-08', ts2='6.19', photon_index='2.18' WHERE bin_id='1289' AND source_name='4FGL J1308.5+3547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 00:49:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 272498: <4FGL_J1308.5+3547_daily_bin1289> in cluster <slac> Done

Job <4FGL_J1308.5+3547_daily_bin1289> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 00:35:38 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 00:36:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 00:36:00 2021
Terminated at Tue Sep  7 00:49:50 2021
Results reported at Tue Sep  7 00:49:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1308.5+3547_daily_bin1289 197.129 35.7918 573436801 573696001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1308.5+3547 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   676.59 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            852 sec.

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

