/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 114 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 = 7469
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1543.0+6130_daily_bin237
RA = 235.755, Dec = 61.5033
tmin = 300758401, tmax = 301017601
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='663214', job_status='RUN', time_executed='2021-09-12 10:53:05.441987', time_epoch_executed='1631469185.44' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='237'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/663214

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/663214/ft1_4FGL_J1543.0+6130_daily_bin237.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/663214/ft1_4FGL_J1543.0+6130_daily_bin237.fits outfile=/scratch/kocevski/663214/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin237.fits ra=235.755 dec=61.5033 rad=12.0 tmin=300758401.0 tmax=301017601.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 2.92
user 2.69
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.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/663214/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin237.fits evtable="EVENTS" outfile="/scratch/kocevski/663214/ft1_filtered_4FGL_J1543.0+6130_daily_bin237.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.45
user 0.29
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/663214/ft1_filtered_4FGL_J1543.0+6130_daily_bin237.fits" evtable="EVENTS" scfile=/scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits sctable="SC_DATA" outfile=/scratch/kocevski/663214/ltcube_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.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/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits
.....................!
real 13.79
user 13.48
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/663214/ft1_filtered_4FGL_J1543.0+6130_daily_bin237.fits evtable="EVENTS" scfile=/scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits sctable="SC_DATA" expcube=/scratch/kocevski/663214/ltcube_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.fits outfile=/scratch/kocevski/663214/expmap_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.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/663214/ltcube_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.fits
.....................!
real 154.39
user 150.87
sys 3.21

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

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/663214/ft1_filtered_4FGL_J1543.0+6130_daily_bin237.fits scfile=/scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits outfile=/scratch/kocevski/663214/cmap_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.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=235.755 yref=61.5033 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.49
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/663214/ft1_filtered_4FGL_J1543.0+6130_daily_bin237.fits scfile=/scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits outfile=/scratch/kocevski/663214/cmap_HighResolution_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.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=235.755 yref=61.5033 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.48
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/663214/ft1_filtered_4FGL_J1543.0+6130_daily_bin237.fits evtable="EVENTS" scfile=/scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/663214/Model_4FGL_J1543.0+6130_daily_bin237.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/663214/ft1_filtered_4FGL_J1543.0+6130_daily_bin237.fits.....................!
real 48.60
user 47.46
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/663214/ft1_filtered_4FGL_J1543.0+6130_daily_bin237.fits', '/scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits', expMap='/scratch/kocevski/663214/expmap_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.fits', expCube='/scratch/kocevski/663214/ltcube_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/663214/Model_4FGL_J1543.0+6130_daily_bin237.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/663214/ft1_filtered_4FGL_J1543.0+6130_daily_bin237.fits
Spacecraft file(s): /scratch/kocevski/663214/ft2_4FGL_J1543.0+6130_daily_bin237.fits
Exposure map: /scratch/kocevski/663214/expmap_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.fits
Exposure cube: /scratch/kocevski/663214/ltcube_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/663214/Model_4FGL_J1543.0+6130_daily_bin237.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) = 7111.58700391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .27685E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.340       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10681E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.066       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10591E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    14.050       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11244E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5261       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10751E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .69037       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.107       1.0000         .10000E-03   10000.    
    20 'norm      '    .62165E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.449       1.0000         .10000E-03   10000.    
    22 'norm      '    .83520       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.8055       1.0000         .10000E-03   10000.    
    24 'Prefactor '    25.561       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .47878E-01   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .77622       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7111.559     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3353 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.938       -.20677E-06** at limit **
   2  Prefactor     .10058E-03    6550.3        .10996E-04** at limit **
   3  Prefactor     10.277        24.729        .82139E-06   -.11974E-03
   4  Prefactor     .10000E-03    9.6750        .44897E-06** at limit **
   5  Prefactor     13.061        11.576        .22231E-06   -.43022E-04
   6  Prefactor     .10000E-03    7.6580       -.31569E-07** at limit **
   7  Prefactor     .10000E-03    11.285        .33944E-07** at limit **
   8  Prefactor     .10000E-03    4.3190       -.15158E-07** at limit **
   9  Prefactor     .10000E-03    3.8376       -.50163E-07** at limit **
  10  Prefactor     .10000E-03    6.1664        .71560E-09** at limit **
  11  norm          14.047        3.6955        .46579E-07   -.19378E-03
  12  Prefactor     .10000E-03    103.65       -.22305E-06** at limit **
  13  Prefactor     .10000E-03    6.1304        .12227E-07** at limit **
  14  norm          1.5236        5.4870        .95868E-05   -.29514E-03
  15  Prefactor     .10000E-03    15.702        .12900E-06** at limit **
  16  Prefactor     .10000E-03    4.4893       -.26897E-05** at limit **
  17  norm          .10000E-03    13.579        .25167E-07** at limit **
  18  Prefactor     .69064        3.2261        .10630E-05   -.27271E-04
  19  Prefactor     12.104        22.277       -.13147E-06   -.17793E-04
  20  norm          .10001E-03    4.4118       -.31834E-05** at limit **
  21  Prefactor     20.467        16.920        .71480E-06    .32340E-03
  22  norm          .83534        .78479       -.39788E-07    .57794E-03
  23  Prefactor     1.7959        7.1406        .90469E-05   -.39650E-04
  24  Prefactor     25.558        28.751       -.17169E-05   -.31045E-05
  25  Prefactor     .10006E-03    4.3694       -.53795E-06** at limit **
  26  Normalizat    .77640        .16023       -.38182E-05   -.70365E-03
  27  Prefactor     1.1663        .16171        .38994E-06   -.53175E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100584
  Prefactor  = 10.2766
  Prefactor  = 0.0001
  Prefactor  = 13.0609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.0472
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.52363
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.690636
  Prefactor  = 12.1039
  norm       = 0.000100006
  Prefactor  = 20.4674
  norm       = 0.83534
  Prefactor  = 1.79587
  Prefactor  = 25.5578
  Prefactor  = 0.000100058
  Normalizat = 0.776404
  Prefactor  = 1.16629
 **********
 **   18 **HESSE 
 **********

 FCN=   7111.559     FROM HESSE     STATUS=OK           496 CALLS     3849 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10058E-03    6553.9        .19914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.277        24.817        .12460E-03   -1.5067    
   4  Prefactor     .10000E-03    9.6811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.061        11.577        .11081E-03   -1.4985    
   6  Prefactor     .10000E-03    7.6651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.3887        .17102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.8465        .16133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.1673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.047        3.6962        .80306E-04   -1.4958    
  12  Prefactor     .10000E-03    103.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5236        5.4975        .17283E-02   -1.5461    
  15  Prefactor     .10000E-03    15.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.528        .33440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .69064        13.413        .27719E-02   -1.5542    
  19  Prefactor     12.104        22.220        .11513E-03   -1.5012    
  20  norm          .10001E-03    13.488        .33374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.467        16.897        .88572E-04   -1.4803    
  22  norm          .83534        .73559        .59436E-03   -1.5525    
  23  Prefactor     1.7959        7.1490        .15551E-02   -1.5440    
  24  Prefactor     25.558        28.334        .79233E-04   -1.4696    
  25  Prefactor     .10006E-03    8.9348        .55828E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .77640        .18547        .25222E-03   -1.0095    
  27  Prefactor     1.1663        .18856        .22091E-03   -.87375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14056e-08
Minuit parameter uncertainties:
  1  2.73837e-06
  2  0.0903653
  3  24.8423
  4  0.000128927
  5  11.5791
  6  7.88679e-06
  7  2.56703e-05
  8  5.38777e-07
  9  7.38376e-06
  10  4.13341e-06
  11  3.69626
  12  0.000229883
  13  2.87191e-07
  14  5.49932
  15  4.97538e-05
  16  0.000322864
  17  0.000109114
  18  6.08827
  19  22.2355
  20  0.000569239
  21  16.9014
  22  0.735595
  23  7.15241
  24  28.3486
  25  0.00144456
  26  0.185622
  27  0.18867
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.405e+01  3.696e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  1.166e+00  1.887e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  7.764e-01  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 63.53
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 2.80e-08
Energy Flux (Fixed Index): 8.11e-05 +/- 2.13e-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) = 7111.51825171
delta logL = 0.0403017491353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7111.51541381
delta logL = 0.0431396487356

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7111.515     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.313        5.0512        .26467E-02   -.46381E-03
   2  alpha         1.8356        .27212        .16209        .27820E-04
   3  Normalizat    .78282        .15312        .43384E-01    .22232E-04
   4  Prefactor     1.1627        .16044        .35576E-01    .22692E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 14.3127
  alpha      = 1.83558
  Normalizat = 0.782819
  Prefactor  = 1.16272
 **********
 **   18 **HESSE 
 **********

 FCN=   7111.515     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.313        3.8849        .41038E-03   -1.4951    
   2  alpha         1.8356        .21793        .68733E-02   -.26900    
   3  Normalizat    .78282        .17730        .25134E-03   -1.0071    
   4  Prefactor     1.1627        .18615        .22124E-03   -.87486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04227e-10
Minuit parameter uncertainties:
  1  3.88498
  2  0.218223
  3  0.177435
  4  0.186258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/663214': 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) = 7111.51541359
delta logL = 0.043139872555

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.431e+01  3.885e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.836e+00  2.182e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  1.163e+00  1.863e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  7.828e-01  1.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 63.53
Ra Dec: 235.755 61.503
Photon Index (Free Index): 1.84 +/- 0.22
Photon Flux (Free Index): 1.01e-07 +/- 3.25e-08
Energy Flux (Free Index): 8.89e-05 +/- 3.74e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/663214/cmap_HighResolution_300758401_301017601_4FGL_J1543.0+6130_daily_bin237.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='8.89e-05', photon_flux_error='2.80e-08', dlogl='4.31e-02', energy_flux='8.11e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-12 11:05:05.172142', photon_index_error2='0.22', photon_index2='1.84', ts='63.53', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='3.74e-05', EG='0.78', time_epoch_completed='1631469905.17', return_code='0', job_id='663214', GAL2='1.16', EG2='0.78', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='3.25e-08', ts2='63.53', photon_index='1.90' WHERE bin_id='237' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 11:05:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 663214: <4FGL_J1543.0+6130_daily_bin237> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin237> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 10:50:25 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 10:51:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 10:51:01 2021
Terminated at Sun Sep 12 11:05:05 2021
Results reported at Sun Sep 12 11:05:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin237 235.755 61.5033 300758401 301017601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1543.0+6130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   706.08 sec.
    Max Memory :                                 1241 MB
    Average Memory :                             308.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            880 sec.

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

