/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 1 seconds before starting...
Proceeding.

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

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

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

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

number of points = 7412
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1543.0+6130_daily_bin434
RA = 235.755, Dec = 61.5033
tmin = 351820801, tmax = 352080001
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='663506', job_status='RUN', time_executed='2021-09-12 10:52:57.494814', time_epoch_executed='1631469177.49' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/663506

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/663506/ft1_4FGL_J1543.0+6130_daily_bin434.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/663506/ft2_4FGL_J1543.0+6130_daily_bin434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/663506/ft1_4FGL_J1543.0+6130_daily_bin434.fits outfile=/scratch/kocevski/663506/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin434.fits ra=235.755 dec=61.5033 rad=12.0 tmin=351820801.0 tmax=352080001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.74
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/663506/ft2_4FGL_J1543.0+6130_daily_bin434.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/663506/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin434.fits evtable="EVENTS" outfile="/scratch/kocevski/663506/ft1_filtered_4FGL_J1543.0+6130_daily_bin434.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/663506/ft1_filtered_4FGL_J1543.0+6130_daily_bin434.fits" evtable="EVENTS" scfile=/scratch/kocevski/663506/ft2_4FGL_J1543.0+6130_daily_bin434.fits sctable="SC_DATA" outfile=/scratch/kocevski/663506/ltcube_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.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/663506/ft2_4FGL_J1543.0+6130_daily_bin434.fits
.....................!
real 13.99
user 13.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/663506/ft1_filtered_4FGL_J1543.0+6130_daily_bin434.fits evtable="EVENTS" scfile=/scratch/kocevski/663506/ft2_4FGL_J1543.0+6130_daily_bin434.fits sctable="SC_DATA" expcube=/scratch/kocevski/663506/ltcube_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.fits outfile=/scratch/kocevski/663506/expmap_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.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/663506/ltcube_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.fits
.....................!
real 192.01
user 185.98
sys 5.28

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/663506/ft1_filtered_4FGL_J1543.0+6130_daily_bin434.fits scfile=/scratch/kocevski/663506/ft2_4FGL_J1543.0+6130_daily_bin434.fits outfile=/scratch/kocevski/663506/cmap_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/663506/ft1_filtered_4FGL_J1543.0+6130_daily_bin434.fits scfile=/scratch/kocevski/663506/ft2_4FGL_J1543.0+6130_daily_bin434.fits outfile=/scratch/kocevski/663506/cmap_HighResolution_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.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.55
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/663506/ft1_filtered_4FGL_J1543.0+6130_daily_bin434.fits', '/scratch/kocevski/663506/ft2_4FGL_J1543.0+6130_daily_bin434.fits', expMap='/scratch/kocevski/663506/expmap_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.fits', expCube='/scratch/kocevski/663506/ltcube_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/663506/Model_4FGL_J1543.0+6130_daily_bin434.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/663506/ft1_filtered_4FGL_J1543.0+6130_daily_bin434.fits
Spacecraft file(s): /scratch/kocevski/663506/ft2_4FGL_J1543.0+6130_daily_bin434.fits
Exposure map: /scratch/kocevski/663506/expmap_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.fits
Exposure cube: /scratch/kocevski/663506/ltcube_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/663506/Model_4FGL_J1543.0+6130_daily_bin434.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) = 8085.1743735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.200       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.388       1.0000         .10000E-03   10000.    
    11 'norm      '    6.9049       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.4937       1.0000         .10000E-03   10000.    
    15 'Prefactor '    57.215       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15153E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    35.441       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    9.9440       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.804       1.0000         .10000E-03   10000.    
    22 'norm      '    .84129       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.270       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0726       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .91676       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=   8085.156     FROM MIGRAD    STATUS=CONVERGED    644 CALLS     2782 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.681        .64336E-05** at limit **
   2  Prefactor     .10000E-03    133.30       -.54818E-05** at limit **
   3  Prefactor     .10000E-03    13.378       -.31602E-05** at limit **
   4  Prefactor     .10000E-03    12.938        .17104E-05** at limit **
   5  Prefactor     .10000E-03    5.0521       -.21498E-07** at limit **
   6  Prefactor     .10000E-03    14.661        .24702E-06** at limit **
   7  Prefactor     .10000E-03    2.2206        .26324E-07** at limit **
   8  Prefactor     .10000E-03    2.0676       -.79195E-08** at limit **
   9  Prefactor     23.197        16.273        .44269E-06   -.59895E-04
  10  Prefactor     26.388        32.329        .26923E-06   -.18642E-04
  11  norm          6.9047        2.8545       -.13237E-06   -.13118E-02
  12  Prefactor     .10000E-03    19.676       -.75664E-05** at limit **
  13  Prefactor     .10000E-03    2.2121        .77822E-07** at limit **
  14  norm          2.4933        5.0875       -.38960E-05   -.36679E-03
  15  Prefactor     57.217        34.954        .81217E-06    .32442E-04
  16  Prefactor     .10001E-03    4.0383        .12449E-05** at limit **
  17  norm          35.454        18.977       -.30546E-05    .16099E-03
  18  Prefactor     .10000E-03    1.8050        .68906E-07** at limit **
  19  Prefactor     .10000E-03    33.354        .15607E-05** at limit **
  20  norm          9.9426        6.4496        .20521E-05   -.51353E-03
  21  Prefactor     12.803        13.854        .78215E-07   -.61947E-04
  22  norm          .84159        .66325       -.26429E-06   -.63962E-03
  23  Prefactor     .10000E-03    3.0085       -.10353E-06** at limit **
  24  Prefactor     12.255        22.209        .40430E-05   -.12210E-03
  25  Prefactor     .10000E-03    1.6982       -.45024E-07** at limit **
  26  Normalizat    1.0726        .15025        .23081E-06   -.13576E-03
  27  Prefactor     .91683        .15176       -.29535E-06   -.10448E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.1966
  Prefactor  = 26.3876
  norm       = 6.90468
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.49334
  Prefactor  = 57.2168
  Prefactor  = 0.000100013
  norm       = 35.4536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.94258
  Prefactor  = 12.8035
  norm       = 0.841594
  Prefactor  = 0.0001
  Prefactor  = 12.2546
  Prefactor  = 0.0001
  Normalizat = 1.07264
  Prefactor  = 0.916825
 **********
 **   18 **HESSE 
 **********

 FCN=   8085.156     FROM HESSE     STATUS=OK           484 CALLS     3266 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    133.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.0560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2261        .13085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.0826        .12624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.197        16.280        .83162E-04   -1.4744    
  10  Prefactor     26.388        32.311        .77985E-04   -1.4680    
  11  norm          6.9047        2.8681        .47398E-03   -1.5182    
  12  Prefactor     .10000E-03    19.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.2168        .13058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.4933        5.2764        .25883E-03   -1.5392    
  15  Prefactor     57.217        34.960        .53036E-04   -1.4194    
  16  Prefactor     .10001E-03    21.005        .34506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          35.454        18.841        .33658E-03   -1.4516    
  18  Prefactor     .10000E-03    3.3684        .23463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    33.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          9.9426        6.4046        .12707E-03   -1.5077    
  21  Prefactor     12.803        13.837        .11195E-03   -1.4992    
  22  norm          .84159        .65769        .55378E-04   -1.5524    
  23  Prefactor     .10000E-03    3.0479        .15224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     12.255        22.136        .11436E-03   -1.5008    
  25  Prefactor     .10000E-03    1.7002        .11443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0726        .17455        .23048E-03   -.90635    
  27  Prefactor     .91683        .17643        .25197E-03   -.95556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2884e-09
Minuit parameter uncertainties:
  1  0.000258358
  2  0.000599634
  3  0.00011345
  4  5.62259e-05
  5  1.99698e-07
  6  1.20231e-05
  7  7.62032e-09
  8  1.03396e-06
  9  16.2835
  10  32.3322
  11  2.86815
  12  0.000317537
  13  1.62745e-05
  14  5.27735
  15  34.9725
  16  0.00102732
  17  18.8441
  18  1.74963e-05
  19  9.64373e-05
  20  6.40503
  21  13.8409
  22  0.657692
  23  1.59442e-05
  24  22.151
  25  1.43698e-06
  26  0.174648
  27  0.176537
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.905e+00  2.868e+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:  9.168e-01  1.765e-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:  1.073e+00  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.33
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 5.23e-08 +/- 2.17e-08
Energy Flux (Fixed Index): 3.99e-05 +/- 1.66e-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) = 8084.98799296
delta logL = 0.167545848649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8084.98607206
delta logL = 0.169466755628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5130       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1019       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0597       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92368       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=   8084.986     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      229 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5130        47.102        .39314E-02    .16807E-03
   2  alpha         2.1019        3.5370        .25269        .74465E-04
   3  Normalizat    1.0597        .11364        .39949E-01    .99032E-05
   4  Prefactor     .92368        .84904E-01    .45306E-01   -.13175E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.51304
  alpha      = 2.1019
  Normalizat = 1.05971
  Prefactor  = 0.923683
 **********
 **   18 **HESSE 
 **********

 FCN=   8084.986     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5130        2.8562        .87924E-04   -1.5197    
   2  alpha         2.1019        .35404        .98998E-02   -.15992    
   3  Normalizat    1.0597        .17277        .23162E-03   -.91056    
   4  Prefactor     .92368        .17528        .25107E-03   -.95318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96366e-11
Minuit parameter uncertainties:
  1  2.85631
  2  0.35527
  3  0.17286
  4  0.175388
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/663506': 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) = 8084.98607206
delta logL = 0.169466755635

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.513e+00  2.856e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  2.102e+00  3.553e-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:  9.237e-01  1.754e-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:  1.060e+00  1.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.63
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.10 +/- 0.36
Photon Flux (Free Index): 6.36e-08 +/- 3.13e-08
Energy Flux (Free Index): 3.26e-05 +/- 1.67e-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/663506/cmap_HighResolution_351820801_352080001_4FGL_J1543.0+6130_daily_bin434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.23e-08', energy_flux2='3.26e-05', photon_flux_error='2.17e-08', dlogl='1.69e-01', energy_flux='3.99e-05', photon_flux2='6.36e-08', job_status='DONE', time_completed='2021-09-12 11:07:20.296226', photon_index_error2='0.36', photon_index2='2.10', ts='20.33', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='1.07', time_epoch_completed='1631470040.3', return_code='0', job_id='663506', GAL2='0.92', EG2='1.06', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='3.13e-08', ts2='20.63', photon_index='1.90' WHERE bin_id='434' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 11:07:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 663506: <4FGL_J1543.0+6130_daily_bin434> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin434> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 10:50:44 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 10:52:48 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:52:48 2021
Terminated at Sun Sep 12 11:07:21 2021
Results reported at Sun Sep 12 11:07:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin434 235.755 61.5033 351820801 352080001 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 :                                   852.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            997 sec.

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

