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


Performing analysis on: 4FGL_J1543.6+0452_daily_bin128
RA = 235.906, Dec = 4.8689
tmin = 272505601, tmax = 272764801
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='682585', job_status='RUN', time_executed='2021-09-12 11:58:12.862238', time_epoch_executed='1631473092.86' WHERE source_name='4FGL J1543.6+0452' and cadence='daily' and bin_id='128'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/682585

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/682585/ft1_4FGL_J1543.6+0452_daily_bin128.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/682585/ft1_4FGL_J1543.6+0452_daily_bin128.fits outfile=/scratch/kocevski/682585/ft1_filteredMKT_4FGL_J1543.6+0452_daily_bin128.fits ra=235.906 dec=4.8689 rad=12.0 tmin=272505601.0 tmax=272764801.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.77
user 1.58
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.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/682585/ft1_filteredMKT_4FGL_J1543.6+0452_daily_bin128.fits evtable="EVENTS" outfile="/scratch/kocevski/682585/ft1_filtered_4FGL_J1543.6+0452_daily_bin128.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/682585/ft1_filtered_4FGL_J1543.6+0452_daily_bin128.fits" evtable="EVENTS" scfile=/scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits sctable="SC_DATA" outfile=/scratch/kocevski/682585/ltcube_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.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/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits
.....................!
real 14.60
user 14.23
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/682585/ft1_filtered_4FGL_J1543.6+0452_daily_bin128.fits evtable="EVENTS" scfile=/scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits sctable="SC_DATA" expcube=/scratch/kocevski/682585/ltcube_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.fits outfile=/scratch/kocevski/682585/expmap_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.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/682585/ltcube_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.fits
.....................!
real 191.78
user 186.53
sys 4.58

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

Setting source of interest to:
4FGL J1543.6+0452 @ 235.906 4.8689

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/682585/ft1_filtered_4FGL_J1543.6+0452_daily_bin128.fits scfile=/scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits outfile=/scratch/kocevski/682585/cmap_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.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.906 yref=4.8689 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/682585/ft1_filtered_4FGL_J1543.6+0452_daily_bin128.fits scfile=/scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits outfile=/scratch/kocevski/682585/cmap_HighResolution_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.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.906 yref=4.8689 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/682585/ft1_filtered_4FGL_J1543.6+0452_daily_bin128.fits evtable="EVENTS" scfile=/scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/682585/Model_4FGL_J1543.6+0452_daily_bin128.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/682585/ft1_filtered_4FGL_J1543.6+0452_daily_bin128.fits.....................!
real 89.58
user 88.06
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/682585/ft1_filtered_4FGL_J1543.6+0452_daily_bin128.fits', '/scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits', expMap='/scratch/kocevski/682585/expmap_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.fits', expCube='/scratch/kocevski/682585/ltcube_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/682585/Model_4FGL_J1543.6+0452_daily_bin128.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.6+0452'

4FGL J1543.6+0452
   Spectrum: PowerLaw
216    Prefactor:  3.372e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  1.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  3.797e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/682585/ft1_filtered_4FGL_J1543.6+0452_daily_bin128.fits
Spacecraft file(s): /scratch/kocevski/682585/ft2_4FGL_J1543.6+0452_daily_bin128.fits
Exposure map: /scratch/kocevski/682585/expmap_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.fits
Exposure cube: /scratch/kocevski/682585/ltcube_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/682585/Model_4FGL_J1543.6+0452_daily_bin128.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) = 11426.8413162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0747       1.0000         .10000E-03   10000.    
     2 'norm      '    2.6314       1.0000         .10000E-03   10000.    
     3 'norm      '    .13100E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15201E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0724       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.5299       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.8730       1.0000         .10000E-03   10000.    
    12 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    62.291       1.0000         .10000E-03   10000.    
    14 'norm      '    11.826       1.0000         .10000E-03   10000.    
    15 'norm      '    1.1448       1.0000         .10000E-03   10000.    
    16 'norm      '    24.385       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4454       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11426.84     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2361 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0747        .31318        .77974E-08   -.19969E-03
   2  norm          2.6308        2.2626        .86201E-07   -.10439E-03
   3  norm          .10000E-03    4.5591        .41056E-08** at limit **
   4  norm          .10000E-03    1.2987        .47757E-08** at limit **
   5  Prefactor     .10000E-03    14.424       -.30900E-07** at limit **
   6  Prefactor     .10002E-03    18.584        .16599E-06** at limit **
   7  Prefactor     5.0729        1.1567        .28886E-07   -.15399E-02
   8  Prefactor     .10000E-03    5.0915       -.36801E-08** at limit **
   9  Prefactor     .10000E-03    16.147        .33444E-07** at limit **
  10  norm          2.5303        1.8674       -.35609E-07   -.48972E-04
  11  Prefactor     5.8725        3.7584        .59552E-07   -.66601E-04
  12  norm          .10000E-03    1.1236       -.31440E-08** at limit **
  13  Prefactor     62.286        56.202        .14221E-05   -.12568E-06
  14  norm          11.824        8.1662        .91427E-06   -.87740E-06
  15  norm          1.1449        .96554       -.67950E-07   -.62095E-04
  16  norm          24.381        15.044        .20325E-05    .11706E-04
  17  norm          .10000E-03    41.014       -.60099E-07** at limit **
  18  Prefactor     .10000E-03    32.485       -.22323E-07** at limit **
  19  Normalizat    1.4456        .21596       -.11094E-05    .20198E-04
  20  Prefactor     .87034        .79730E-01    .63459E-07   -.90660E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.07469
  norm       = 2.6308
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  Prefactor  = 5.07291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.53028
  Prefactor  = 5.87248
  norm       = 0.0001
  Prefactor  = 62.2857
  norm       = 11.824
  norm       = 1.14493
  norm       = 24.381
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.44559
  Prefactor  = 0.87034
 **********
 **   18 **HESSE 
 **********

 FCN=   11426.84     FROM HESSE     STATUS=OK           301 CALLS     2662 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0747        .31464        .22374E-04   -1.5420    
   2  norm          2.6308        2.2692        .14155E-03   -1.5384    
   3  norm          .10000E-03    4.7670        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.3048        .11892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    18.969        .13949       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0729        3.9442        .88952E-03   -1.5257    
   8  Prefactor     .10000E-03    5.0924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5303        1.8649        .12172E-03   -1.5390    
  11  Prefactor     5.8725        3.7597        .15736E-03   -1.5223    
  12  norm          .10000E-03    1.1393        .11061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     62.286        56.227        .50842E-04   -1.4128    
  14  norm          11.824        8.1607        .11649E-03   -1.5020    
  15  norm          1.1449        .98550        .93432E-04   -1.5494    
  16  norm          24.381        15.052        .81119E-04   -1.4720    
  17  norm          .10000E-03    41.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    32.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4456        .25270        .36822E-03   -.79319    
  20  Prefactor     .87034        .92972E-01    .18165E-03   -.97185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.38151e-10
Minuit parameter uncertainties:
  1  0.314645
  2  2.26925
  3  1.62465e-06
  4  7.51678e-07
  5  4.62925e-06
  6  0.0013081
  7  3.94444
  8  3.54112e-07
  9  2.71588e-06
  10  1.86494
  11  3.75981
  12  4.34136e-08
  13  56.275
  14  8.16143
  15  0.985515
  16  15.0545
  17  1.3179e-06
  18  7.05688e-06
  19  0.252916
  20  0.0929887
Done.

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

Extracting fit parameters...

4FGL J1543.6+0452
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  3.541e-07  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  1.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  3.797e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  8.703e-01  9.299e-02  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.446e+00  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 235.906 4.869
Photon Flux Upper Limit: 3.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/682585/likelihoodResults_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.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): 102
logL (Free Index) = 11426.8397432
delta logL = -0.000930149935812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11426.8388127
delta logL = 3.2707612263e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8445       1.0000          .0000       10.000    
     3 'Normalizat'    1.4456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+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=   11426.84     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10175E-03    38.232        .18142E-02** at limit **
   2  Index         1.7828        7.0810        .50000        .38171E-04
   3  Normalizat    1.4456        .14408E-01    .36822E-03    .60206E-04
   4  Prefactor     .87034        .57255E-02    .18165E-03    .60082E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101746
  Index      = 1.78277
  Normalizat = 1.44559
  Prefactor  = 0.87034
 **********
 **   18 **HESSE 
 **********

 FCN=   11426.84     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10175E-03    170.51        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7828        8.9728        .50000       -.69899    
   3  Normalizat    1.4456        .31293E-01    .14729E-04   -.79319    
   4  Prefactor     .87034        .12434E-01    .72660E-05   -.97185    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.65039e-08
Minuit parameter uncertainties:
  1  0.0346028
  2  326.726
  3  0.0312935
  4  0.012434
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/682585': 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): 102
logL (Free Index) = 11426.8388122
delta logL = 8.62564775161e-07

Extracting fit parameters...

4FGL J1543.6+0452
   Spectrum: PowerLaw
216    Prefactor:  1.017e-04  3.460e-02  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  1.783e+00  3.267e+02  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  3.797e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  8.703e-01  1.243e-02  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.446e+00  3.129e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 235.906 4.869

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/682585/cmap_HighResolution_272505601_272764801_4FGL_J1543.6+0452_daily_bin128.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-03', job_status='DONE', photon_flux_upper_limit='3.05e-08', time_completed='2021-09-12 12:11:33.577484', job_id='682585', GAL2='0.87', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1631473893.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='8.63e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.87' WHERE bin_id='128' AND source_name='4FGL J1543.6+0452' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 12:11:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 682585: <4FGL_J1543.6+0452_daily_bin128> in cluster <slac> Done

Job <4FGL_J1543.6+0452_daily_bin128> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 11:55:20 2021
Job was executed on host(s) <bullet0138>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 11:56:00 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:56:00 2021
Terminated at Sun Sep 12 12:11:33 2021
Results reported at Sun Sep 12 12:11:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.6+0452_daily_bin128 235.906 4.8689 272505601 272764801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1543.6+0452 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   799.41 sec.
    Max Memory :                                 1161 MB
    Average Memory :                             320.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            973 sec.

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

