/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 7 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7443
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1308.5+3547_daily_bin49
RA = 197.129, Dec = 35.7918
tmin = 252028801, tmax = 252288001
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='259856', job_status='RUN', time_executed='2021-09-06 23:55:58.038987', time_epoch_executed='1630997758.04' WHERE source_name='4FGL J1308.5+3547' and cadence='daily' and bin_id='49'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259856

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259856/ft1_4FGL_J1308.5+3547_daily_bin49.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259856/ft2_4FGL_J1308.5+3547_daily_bin49.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259856/ft1_4FGL_J1308.5+3547_daily_bin49.fits outfile=/scratch/kocevski/259856/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin49.fits ra=197.129 dec=35.7918 rad=12.0 tmin=252028801.0 tmax=252288001.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 1.48
user 1.26
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259856/ft1_filtered_4FGL_J1308.5+3547_daily_bin49.fits" evtable="EVENTS" scfile=/scratch/kocevski/259856/ft2_4FGL_J1308.5+3547_daily_bin49.fits sctable="SC_DATA" outfile=/scratch/kocevski/259856/ltcube_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.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/259856/ft2_4FGL_J1308.5+3547_daily_bin49.fits
.....................!
real 15.75
user 15.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259856/ft1_filtered_4FGL_J1308.5+3547_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/259856/ft2_4FGL_J1308.5+3547_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/259856/ltcube_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.fits outfile=/scratch/kocevski/259856/expmap_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.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/259856/ltcube_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.fits
.....................!
real 192.92
user 186.11
sys 4.52

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/259856/ft1_filtered_4FGL_J1308.5+3547_daily_bin49.fits scfile=/scratch/kocevski/259856/ft2_4FGL_J1308.5+3547_daily_bin49.fits outfile=/scratch/kocevski/259856/cmap_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.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/259856/ft1_filtered_4FGL_J1308.5+3547_daily_bin49.fits scfile=/scratch/kocevski/259856/ft2_4FGL_J1308.5+3547_daily_bin49.fits outfile=/scratch/kocevski/259856/cmap_HighResolution_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.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.61
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259856/ft1_filtered_4FGL_J1308.5+3547_daily_bin49.fits', '/scratch/kocevski/259856/ft2_4FGL_J1308.5+3547_daily_bin49.fits', expMap='/scratch/kocevski/259856/expmap_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.fits', expCube='/scratch/kocevski/259856/ltcube_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259856/Model_4FGL_J1308.5+3547_daily_bin49.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/259856/ft1_filtered_4FGL_J1308.5+3547_daily_bin49.fits
Spacecraft file(s): /scratch/kocevski/259856/ft2_4FGL_J1308.5+3547_daily_bin49.fits
Exposure map: /scratch/kocevski/259856/expmap_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.fits
Exposure cube: /scratch/kocevski/259856/ltcube_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259856/Model_4FGL_J1308.5+3547_daily_bin49.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) = 7117.90599383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5652       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17405E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.934       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.967       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9506       1.0000         .10000E-03   10000.    
     7 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.550       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10726E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.6893       1.0000         .10000E-03   10000.    
    13 'norm      '    5.7640       1.0000         .10000E-03   10000.    
    14 'norm      '    4.0300       1.0000         .10000E-03   10000.    
    15 'norm      '    .13914E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.5163       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16315E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.2291       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .56709       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    3.3415       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .89918       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0336       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=   7117.828     FROM MIGRAD    STATUS=CONVERGED    623 CALLS     3147 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.2598        .90712E-02** at limit **
   2  Prefactor     2.5653        1.8333        .63719E-02   -.23990E-03
   3  Prefactor     .10000E-03    3.7436        .90712E-01** at limit **
   4  Prefactor     34.933        20.336        .16950E-02   -.23226E-03
   5  Prefactor     26.966        31.994        .19286E-02    .87136E-04
   6  Prefactor     2.9503        3.7098        .59107E-02    .76842E-03
   7  norm          .10000E-03    1.2924        .90712E-02** at limit **
   8  Prefactor     13.549        29.297        .27203E-02    .16951E-03
   9  Prefactor     .10000E-03    6.4326        .90712E-02** at limit **
  10  norm          .10000E-03    1.6446        .90712E-02** at limit **
  11  Prefactor     .10000E-03    30.759        .90712E-02** at limit **
  12  norm          3.6875        4.7411        .52567E-02   -.30289E-02
  13  norm          5.7643        7.1588        .41823E-02    .14078E-04
  14  norm          4.0371        2.9482        .50218E-02    .33799E-03
  15  norm          .10000E-03    2.8374        .48972E-01** at limit **
  16  Prefactor     .10000E-03    1.4380        .90712E-02** at limit **
  17  Prefactor     3.5175        9.5705        .53897E-02    .44219E-03
  18  Prefactor     .10000E-03    129.85        .90712E-02** at limit **
  19  Prefactor     2.2287        8.2618        .68842E-02    .37861E-03
  20  Prefactor     .10001E-03    6.8251        .90712E-02** at limit **
  21  Prefactor     .10000E-03    22.064        .90712E-02** at limit **
  22  norm          .56726        1.1243        .26359E-01    .17135E-02
  23  Prefactor     .10000E-03    1.7836        .90712E-02** at limit **
  24  norm          3.3415        9.0690        .55353E-02    .20557E-03
  25  Normalizat    .89926        .14299        .44891E-01    .12683E-03
  26  Prefactor     1.0335        .17972        .59807E-01    .93080E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 2.56529
  Prefactor  = 0.000100001
  Prefactor  = 34.9325
  Prefactor  = 26.9662
  Prefactor  = 2.9503
  norm       = 0.0001
  Prefactor  = 13.5487
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.68754
  norm       = 5.76429
  norm       = 4.0371
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.51751
  Prefactor  = 0.0001
  Prefactor  = 2.22875
  Prefactor  = 0.000100011
  Prefactor  = 0.000100002
  norm       = 0.56726
  Prefactor  = 0.0001
  norm       = 3.34154
  Normalizat = 0.899261
  Prefactor  = 1.03355
 **********
 **   18 **HESSE 
 **********

 FCN=   7117.828     FROM HESSE     STATUS=OK           456 CALLS     3603 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5653        1.8300        .93812E-04   -1.5388    
   3  Prefactor     .10000E-03    21.787        .31573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.933        20.327        .67802E-04   -1.4525    
   5  Prefactor     26.966        31.991        .77145E-04   -1.4669    
   6  Prefactor     2.9503        3.6950        .17416E-03   -1.5364    
   7  norm          .10000E-03    1.2994        .93618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.549        29.304        .10881E-03   -1.4972    
   9  Prefactor     .10000E-03    6.4397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.6874        .21126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    31.321        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.6875        4.6923        .19628E-03   -1.5324    
  13  norm          5.7643        7.1565        .16729E-03   -1.5228    
  14  norm          4.0371        2.7096        .10799E-03   -1.5306    
  15  norm          .10000E-03    5.0757        .25417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.4544        .98396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.5175        9.5048        .21559E-03   -1.5333    
  18  Prefactor     .10000E-03    131.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.2287        8.2421        .27537E-03   -1.5409    
  20  Prefactor     .10001E-03    6.8367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    22.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .56726        1.0345        .12145E-02   -1.5557    
  23  Prefactor     .10000E-03    1.8123        .10997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          3.3415        9.0478        .22141E-03   -1.5342    
  25  Normalizat    .89926        .17382        .22373E-03   -.96486    
  26  Prefactor     1.0335        .21940        .26448E-03   -.91620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12029e-08
Minuit parameter uncertainties:
  1  0.00021196
  2  1.83006
  3  0.000288386
  4  20.331
  5  32.011
  6  3.69525
  7  1.37032e-07
  8  29.3353
  9  0.00031587
  10  7.06404e-06
  11  0.000269157
  12  4.69273
  13  7.15756
  14  2.70971
  15  8.02539e-05
  16  3.58336e-06
  17  9.50887
  18  9.39638e-05
  19  8.24625
  20  0.000545417
  21  0.000450887
  22  1.03452
  23  2.72731e-06
  24  9.05148
  25  0.173925
  26  0.21959
Done.

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

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  3.688e+00  4.693e+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.034e+00  2.196e-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:  8.993e-01  1.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.84
Ra Dec: 197.129 35.792
Photon Flux Upper Limit: 6.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259856/likelihoodResults_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.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) = 7117.28532572
delta logL = 0.542322127792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7117.28304777
delta logL = 0.544600079214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1836       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3548       1.0000          .0000       5.0000    
     3 'Normalizat'    .85949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0665       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7117.283     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      274 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1833        5.7234        .97254E-04   -.13396E-02
   2  alpha         3.3553        1.6820        .16180E-01   -.75365E-04
   3  Normalizat    .85936        .17984        .22823E-03   -.43336E-03
   4  Prefactor     1.0667        .22447        .26079E-03   -.44221E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.18331
  alpha      = 3.35526
  Normalizat = 0.859363
  Prefactor  = 1.06667
 **********
 **   18 **HESSE 
 **********

 FCN=   7117.283     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1833        3.7853        .38902E-05   -1.5412    
   2  alpha         3.3553        1.1818        .64721E-03    .34916    
   3  Normalizat    .85936        .17793        .45646E-04   -.97903    
   4  Prefactor     1.0667        .22161        .52157E-04   -.90539    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04721e-10
Minuit parameter uncertainties:
  1  3.78572
  2  1.2384
  3  0.17805
  4  0.221798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259856': 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) = 7117.28304732
delta logL = 0.544600531164

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  2.183e+00  3.786e+00  1.000e-04  1.000e+04 ( 1.000e-12)
318        alpha:  3.355e+00  1.238e+00  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.067e+00  2.218e-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:  8.594e-01  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 197.129 35.792
Photon Index (Free Index): 3.36 +/- 1.24
Photon Flux (Free Index): 4.25e-08 +/- 3.72e-08
Energy Flux (Free Index): 8.44e-06 +/- 7.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/259856/cmap_HighResolution_252028801_252288001_4FGL_J1308.5+3547_daily_bin49.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.60e-05', comment='SUCCESS', energy_flux2='8.44e-06', dlogl='5.45e-01', photon_flux2='4.25e-08', job_status='DONE', time_completed='2021-09-07 00:09:31.587141', photon_index_error2='1.24', photon_index2='3.36', ts='0.84', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='6.29e-08', energy_flux_error2='7.07e-06', EG='0.90', time_epoch_completed='1630998571.59', return_code='0', job_id='259856', GAL2='1.07', EG2='0.86', return_code2='0', photon_flux_error2='3.72e-08', ts2='1.97', photon_index='2.18' WHERE bin_id='49' AND source_name='4FGL J1308.5+3547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 00:09:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 259856: <4FGL_J1308.5+3547_daily_bin49> in cluster <slac> Done

Job <4FGL_J1308.5+3547_daily_bin49> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Sep  6 23:55:32 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 23:55:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 23:55:42 2021
Terminated at Tue Sep  7 00:09:31 2021
Results reported at Tue Sep  7 00:09:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1308.5+3547_daily_bin49 197.129 35.7918 252028801 252288001 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 :                                   802.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            839 sec.

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

