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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin1411
RA = 235.755, Dec = 61.5033
tmin = 605059201, tmax = 605318401
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='669544', job_status='RUN', time_executed='2021-09-12 11:10:57.864080', time_epoch_executed='1631470257.86' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='1411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669544

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669544/ft1_4FGL_J1543.0+6130_daily_bin1411.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669544/ft2_4FGL_J1543.0+6130_daily_bin1411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669544/ft1_4FGL_J1543.0+6130_daily_bin1411.fits outfile=/scratch/kocevski/669544/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1411.fits ra=235.755 dec=61.5033 rad=12.0 tmin=605059201.0 tmax=605318401.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.41
user 5.12
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/669544/ft2_4FGL_J1543.0+6130_daily_bin1411.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/669544/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1411.fits evtable="EVENTS" outfile="/scratch/kocevski/669544/ft1_filtered_4FGL_J1543.0+6130_daily_bin1411.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.52
user 0.35
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669544/ft1_filtered_4FGL_J1543.0+6130_daily_bin1411.fits evtable="EVENTS" scfile=/scratch/kocevski/669544/ft2_4FGL_J1543.0+6130_daily_bin1411.fits sctable="SC_DATA" expcube=/scratch/kocevski/669544/ltcube_605059201_605318401_4FGL_J1543.0+6130_daily_bin1411.fits outfile=/scratch/kocevski/669544/expmap_605059201_605318401_4FGL_J1543.0+6130_daily_bin1411.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/669544/ltcube_605059201_605318401_4FGL_J1543.0+6130_daily_bin1411.fits
.....................!
real 191.49
user 186.04
sys 4.96

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/669544/ft1_filtered_4FGL_J1543.0+6130_daily_bin1411.fits scfile=/scratch/kocevski/669544/ft2_4FGL_J1543.0+6130_daily_bin1411.fits outfile=/scratch/kocevski/669544/cmap_605059201_605318401_4FGL_J1543.0+6130_daily_bin1411.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669544/ft1_filtered_4FGL_J1543.0+6130_daily_bin1411.fits scfile=/scratch/kocevski/669544/ft2_4FGL_J1543.0+6130_daily_bin1411.fits outfile=/scratch/kocevski/669544/cmap_HighResolution_605059201_605318401_4FGL_J1543.0+6130_daily_bin1411.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    439.70       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.945       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.784       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4241       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.035       1.0000         .10000E-03   10000.    
    11 'norm      '    3.0250       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .41572E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    29.091       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.7148       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.4275       1.0000         .10000E-03   10000.    
    17 'norm      '    39.791       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8204       1.0000         .10000E-03   10000.    
    22 'norm      '    3.5155       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.8361       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .14711E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .97245       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1032       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=   7891.214     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     3256 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.359        .35314E-05** at limit **
   2  Prefactor     439.75        566.30        .22845E-04    .10795E-05
   3  Prefactor     13.943        26.564        .75779E-06    .29331E-04
   4  Prefactor     11.773        35.190       -.20673E-04   -.39714E-05
   5  Prefactor     6.4245        10.326       -.18403E-06   -.23172E-04
   6  Prefactor     .10000E-03    7.2447        .16619E-05** at limit **
   7  Prefactor     .10000E-03    4.1981       -.70700E-06** at limit **
   8  Prefactor     .10000E-03    1.8679       -.31425E-07** at limit **
   9  Prefactor     .10000E-03    4.9201        .45401E-05** at limit **
  10  Prefactor     24.032        22.023       -.32365E-05    .59595E-04
  11  norm          3.0222        2.2049        .22287E-06    .16016E-02
  12  Prefactor     .10001E-03    239.25       -.23306E-03** at limit **
  13  Prefactor     .10000E-03    5.4673       -.64946E-05** at limit **
  14  norm          29.095        8.8323        .31092E-06    .72042E-03
  15  Prefactor     4.7108        40.442       -.12896E-04    .19173E-04
  16  Prefactor     3.4283        4.9466       -.72982E-06   -.41248E-03
  17  norm          39.794        22.267        .17218E-05    .18108E-04
  18  Prefactor     .10000E-03    3.0355        .23335E-06** at limit **
  19  Prefactor     .10000E-03    11.131       -.52938E-05** at limit **
  20  norm          .10000E-03    7.0549        .21146E-05** at limit **
  21  Prefactor     2.8215        7.8498       -.72567E-06   -.24099E-03
  22  norm          3.5153        .95105        .86212E-08    .36021E-03
  23  Prefactor     2.8365        7.4004       -.12052E-05   -.43276E-03
  24  Prefactor     .10000E-03    7.1526        .10647E-05** at limit **
  25  Prefactor     .10000E-03    3.2763        .21389E-06** at limit **
  26  Normalizat    .97233        .15605        .15339E-05    .68826E-03
  27  Prefactor     1.1032        .15843        .13340E-06    .64708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 439.745
  Prefactor  = 13.9434
  Prefactor  = 11.7734
  Prefactor  = 6.42452
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.0321
  norm       = 3.02215
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  norm       = 29.0954
  Prefactor  = 4.71079
  Prefactor  = 3.42829
  norm       = 39.7936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.82151
  norm       = 3.51533
  Prefactor  = 2.83652
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Normalizat = 0.972334
  Prefactor  = 1.10324
 **********
 **   18 **HESSE 
 **********

 FCN=   7891.214     FROM HESSE     STATUS=OK           480 CALLS     3736 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     439.75        566.16        .97548E-04   -1.1483    
   3  Prefactor     13.943        26.508        .10726E-03   -1.4961    
   4  Prefactor     11.773        35.075        .11670E-03   -1.5022    
   5  Prefactor     6.4245        10.319        .15835E-03   -1.5201    
   6  Prefactor     .10000E-03    7.2479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.2227        .17773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8728        .11855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.9280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.032        22.021        .81706E-04   -1.4727    
  11  norm          3.0222        2.2054        .10919E-03   -1.5360    
  12  Prefactor     .10001E-03    238.86        .21246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.5386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          29.095        8.8206        .74281E-04   -1.4629    
  15  Prefactor     4.7108        40.398        .18532E-03   -1.5274    
  16  Prefactor     3.4283        4.9344        .21849E-03   -1.5338    
  17  norm          39.794        22.249        .63543E-04   -1.4445    
  18  Prefactor     .10000E-03    3.0730        .15108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    7.3428        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.8215        7.8089        .24218E-03   -1.5372    
  22  norm          3.5153        .94713        .41424E-04   -1.5333    
  23  Prefactor     2.8365        7.3553        .24147E-03   -1.5371    
  24  Prefactor     .10000E-03    7.1560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    15.529        .30957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .97233        .18473        .25235E-03   -.93963    
  27  Prefactor     1.1032        .18822        .24615E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03105e-09
Minuit parameter uncertainties:
  1  1.36996e-05
  2  573.616
  3  26.5301
  4  35.1362
  5  10.322
  6  3.60733e-06
  7  4.94323e-06
  8  7.9034e-07
  9  6.7632e-06
  10  22.0286
  11  2.20542
  12  0.00362389
  13  1.34082e-05
  14  8.82097
  15  27.6153
  16  4.93501
  17  22.2541
  18  4.98858e-06
  19  3.68957e-07
  20  2.73474e-05
  21  7.81169
  22  0.947137
  23  7.3576
  24  2.12907e-06
  25  0.000526476
  26  0.184848
  27  0.188334
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  3.022e+00  2.205e+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.103e+00  1.883e-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:  9.723e-01  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.19
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 2.29e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.27e-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) = 7891.21393432
delta logL = 1.26142849695e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7891.21393176
delta logL = 1.51728099809e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0221       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8972       1.0000          .0000       5.0000    
     3 'Normalizat'    .97236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1033       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=   7891.214     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      193 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0210        68.498        .58360E-02    .70579E-04
   2  alpha         1.8965        2.9229        .42776        .94688E-05
   3  Normalizat    .97242        .92698E-01    .45820E-01    .16513E-04
   4  Prefactor     1.1032        .74698E-01    .55671E-01    .10574E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.02097
  alpha      = 1.89649
  Normalizat = 0.972419
  Prefactor  = 1.10321
 **********
 **   18 **HESSE 
 **********

 FCN=   7891.214     FROM HESSE     STATUS=OK            33 CALLS      226 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0210        2.2086        .10927E-03   -1.5360    
   2  alpha         1.8965        .54703        .14960E-01   -.24381    
   3  Normalizat    .97242        .18080        .25234E-03   -.93960    
   4  Prefactor     1.1032        .18671        .24616E-03   -.89364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55989e-13
Minuit parameter uncertainties:
  1  2.20866
  2  0.551774
  3  0.180917
  4  0.186823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669544': 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) = 7891.21393093
delta logL = 1.60011968546e-05

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  3.021e+00  2.209e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.896e+00  5.518e-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.103e+00  1.868e-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:  9.724e-01  1.809e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.18
Ra Dec: 235.755 61.503
Photon Index (Free Index): 1.90 +/- 0.55
Photon Flux (Free Index): 2.28e-08 +/- 2.27e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.58e-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/669544/cmap_HighResolution_605059201_605318401_4FGL_J1543.0+6130_daily_bin1411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.29e-08', energy_flux2='1.75e-05', photon_flux_error='1.67e-08', dlogl='1.60e-05', energy_flux='1.74e-05', photon_flux2='2.28e-08', job_status='DONE', time_completed='2021-09-12 11:26:22.546464', photon_index_error2='0.55', photon_index2='1.90', ts='8.19', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='0.97', time_epoch_completed='1631471182.55', return_code='0', job_id='669544', GAL2='1.10', EG2='0.97', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='2.27e-08', ts2='8.18', photon_index='1.90' WHERE bin_id='1411' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 11:26:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 669544: <4FGL_J1543.0+6130_daily_bin1411> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin1411> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 11:10:22 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 11:10:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 11:10:45 2021
Terminated at Sun Sep 12 11:26:23 2021
Results reported at Sun Sep 12 11:26:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin1411 235.755 61.5033 605059201 605318401 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 :                                   913.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             299.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            961 sec.

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

