/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 87 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 = 7653
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1543.6+0452_daily_bin35
RA = 235.906, Dec = 4.8689
tmin = 248400001, tmax = 248659201
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='681235', job_status='RUN', time_executed='2021-09-12 11:55:03.345270', time_epoch_executed='1631472903.35' WHERE source_name='4FGL J1543.6+0452' and cadence='daily' and bin_id='35'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/681235

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/681235/ft1_4FGL_J1543.6+0452_daily_bin35.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/681235/ft2_4FGL_J1543.6+0452_daily_bin35.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/681235/ft1_4FGL_J1543.6+0452_daily_bin35.fits outfile=/scratch/kocevski/681235/ft1_filteredMKT_4FGL_J1543.6+0452_daily_bin35.fits ra=235.906 dec=4.8689 rad=12.0 tmin=248400001.0 tmax=248659201.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.18
user 1.02
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/681235/ft1_filtered_4FGL_J1543.6+0452_daily_bin35.fits" evtable="EVENTS" scfile=/scratch/kocevski/681235/ft2_4FGL_J1543.6+0452_daily_bin35.fits sctable="SC_DATA" outfile=/scratch/kocevski/681235/ltcube_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.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/681235/ft2_4FGL_J1543.6+0452_daily_bin35.fits
.....................!
real 15.53
user 15.18
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/681235/ft1_filtered_4FGL_J1543.6+0452_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/681235/ft2_4FGL_J1543.6+0452_daily_bin35.fits sctable="SC_DATA" expcube=/scratch/kocevski/681235/ltcube_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.fits outfile=/scratch/kocevski/681235/expmap_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.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/681235/ltcube_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.fits
.....................!
real 157.58
user 151.59
sys 4.60

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/681235/ft1_filtered_4FGL_J1543.6+0452_daily_bin35.fits scfile=/scratch/kocevski/681235/ft2_4FGL_J1543.6+0452_daily_bin35.fits outfile=/scratch/kocevski/681235/cmap_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.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.50
user 0.32
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/681235/ft1_filtered_4FGL_J1543.6+0452_daily_bin35.fits scfile=/scratch/kocevski/681235/ft2_4FGL_J1543.6+0452_daily_bin35.fits outfile=/scratch/kocevski/681235/cmap_HighResolution_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.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.48
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/681235/ft1_filtered_4FGL_J1543.6+0452_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/681235/ft2_4FGL_J1543.6+0452_daily_bin35.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/681235/Model_4FGL_J1543.6+0452_daily_bin35.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/681235/ft1_filtered_4FGL_J1543.6+0452_daily_bin35.fits.....................!
real 60.70
user 59.32
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/681235/ft1_filtered_4FGL_J1543.6+0452_daily_bin35.fits', '/scratch/kocevski/681235/ft2_4FGL_J1543.6+0452_daily_bin35.fits', expMap='/scratch/kocevski/681235/expmap_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.fits', expCube='/scratch/kocevski/681235/ltcube_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/681235/Model_4FGL_J1543.6+0452_daily_bin35.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/681235/ft1_filtered_4FGL_J1543.6+0452_daily_bin35.fits
Spacecraft file(s): /scratch/kocevski/681235/ft2_4FGL_J1543.6+0452_daily_bin35.fits
Exposure map: /scratch/kocevski/681235/expmap_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.fits
Exposure cube: /scratch/kocevski/681235/ltcube_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/681235/Model_4FGL_J1543.6+0452_daily_bin35.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) = 9174.81320706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4002       1.0000         .10000E-03   10000.    
     2 'norm      '    .56418       1.0000         .10000E-03   10000.    
     3 'norm      '    3.6542       1.0000         .10000E-03   10000.    
     4 'norm      '    .61873       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    73.392       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.377       1.0000         .10000E-03   10000.    
    10 'norm      '    .61705       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9812       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    19.350       1.0000         .10000E-03   10000.    
    15 'norm      '    5.5755       1.0000         .10000E-03   10000.    
    16 'norm      '    22.909       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.986       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0111       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0572       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=   9174.809     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2059 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4002        .36161       -.10513E-08   -.40475E-03
   2  norm          .56239        1.8313        .59816E-06   -.67799E-03
   3  norm          3.6542        4.4039       -.18279E-06   -.99607E-04
   4  norm          .61906        2.3532        .13141E-05   -.36992E-03
   5  Prefactor     .10000E-03    20.189        .34767E-06** at limit **
   6  Prefactor     73.374        41.487       -.22102E-05   -.29470E-03
   7  Prefactor     .10000E-03    1.5489        .19992E-07** at limit **
   8  Prefactor     .10000E-03    15.785        .98708E-08** at limit **
   9  Prefactor     17.376        31.454        .39070E-07   -.71763E-05
  10  norm          .61734        1.5017        .69940E-06    .27115E-03
  11  Prefactor     1.9812        3.1786        .42082E-06   -.14363E-03
  12  norm          .10000E-03    1.6809        .24449E-07** at limit **
  13  Prefactor     .10000E-03    19.631       -.27463E-06** at limit **
  14  norm          19.347        9.8349       -.61170E-07   -.76076E-04
  15  norm          5.5754        2.0663       -.36147E-08   -.15900E-04
  16  norm          22.906        15.297       -.43759E-07   -.38344E-04
  17  norm          .10000E-03    32.156       -.35144E-07** at limit **
  18  Prefactor     56.986        54.277        .61283E-07   -.20926E-05
  19  Normalizat    1.0115        .24695        .39911E-06   -.14366E-03
  20  Prefactor     1.0570        .94574E-01   -.43854E-06   -.11860E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.40019
  norm       = 0.562389
  norm       = 3.65422
  norm       = 0.619058
  Prefactor  = 0.0001
  Prefactor  = 73.3743
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.3764
  norm       = 0.617342
  Prefactor  = 1.98118
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 19.3474
  norm       = 5.57543
  norm       = 22.9064
  norm       = 0.0001
  Prefactor  = 56.9858
  Normalizat = 1.01149
  Prefactor  = 1.05703
 **********
 **   18 **HESSE 
 **********

 FCN=   9174.809     FROM HESSE     STATUS=OK           297 CALLS     2356 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4002        .36268        .21520E-04   -1.5398    
   2  norm          .56239        2.2984        .20647E-02   -1.5558    
   3  norm          3.6542        4.4064        .21132E-03   -1.5326    
   4  norm          .61906        2.3858        .28250E-03   -1.5551    
   5  Prefactor     .10000E-03    20.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     73.374        43.803        .46865E-04   -1.3993    
   7  Prefactor     .10000E-03    1.5642        .11637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.376        31.472        .96080E-04   -1.4874    
  10  norm          .61734        1.4215        .18730E-02   -1.5551    
  11  Prefactor     1.9812        3.1728        .20761E-03   -1.5426    
  12  norm          .10000E-03    1.7050        .12123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.347        9.8229        .91052E-04   -1.4828    
  15  norm          5.5754        2.0665        .81088E-04   -1.5236    
  16  norm          22.906        15.319        .83688E-04   -1.4750    
  17  norm          .10000E-03    32.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.986        54.281        .53141E-04   -1.4197    
  19  Normalizat    1.0115        .27558        .42625E-03   -.92647    
  20  Prefactor     1.0570        .10644        .17128E-03   -.90852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.01767e-10
Minuit parameter uncertainties:
  1  0.36268
  2  2.27379
  3  4.40679
  4  2.38618
  5  4.05596e-05
  6  43.8227
  7  1.03468e-06
  8  1.00138e-06
  9  31.502
  10  1.42158
  11  3.17303
  12  8.24415e-08
  13  4.10482e-05
  14  9.82372
  15  2.06656
  16  15.3215
  17  6.72873e-06
  18  54.3282
  19  0.275969
  20  0.106463
Done.

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

Extracting fit parameters...

4FGL J1543.6+0452
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  1.001e-06  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:  1.057e+00  1.065e-01  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.011e+00  2.760e-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: 4.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/681235/likelihoodResults_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.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) = 9174.809425
delta logL = -0.000299730711049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9174.80913486
delta logL = -9.59893986874e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18367E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8194       1.0000          .0000       10.000    
     3 'Normalizat'    1.0120       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0567       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.

 FCN=   9174.809     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.8461        .90712E-02** at limit **
   2  Index         1.7761        5.1403        .50000        .15331E-04
   3  Normalizat    1.0115        .41898E-02    .96218E-01   -.23658E-03
   4  Prefactor     1.0570        .17253E-02    .39534E-01   -.81076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.77611
  Normalizat = 1.01149
  Prefactor  = 1.05703
 **********
 **   18 **HESSE 
 **********

 FCN=   9174.809     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      245 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7761        5.8875        .50000       -.70073    
   3  Normalizat    1.0115        .10401E-01    .42624E-03   -.92647    
   4  Prefactor     1.0570        .42949E-02    .17128E-03   -.90852    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.29452e-08
Minuit parameter uncertainties:
  1  8.37726e-05
  2  75.4471
  3  0.010401
  4  0.00429491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/681235': 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) = 9174.80912476
delta logL = 5.04876879859e-07

Extracting fit parameters...

4FGL J1543.6+0452
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  8.377e-05  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  1.776e+00  7.545e+01  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:  1.057e+00  4.295e-03  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.011e+00  1.040e-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/681235/cmap_HighResolution_248400001_248659201_4FGL_J1543.6+0452_daily_bin35.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-03', job_status='DONE', photon_flux_upper_limit='4.71e-08', time_completed='2021-09-12 12:04:39.147090', job_id='681235', GAL2='1.06', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1631473479.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.87' WHERE bin_id='35' AND source_name='4FGL J1543.6+0452' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 12:04:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 681235: <4FGL_J1543.6+0452_daily_bin35> in cluster <slac> Done

Job <4FGL_J1543.6+0452_daily_bin35> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 11:50:18 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 11:53:27 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:53:27 2021
Terminated at Sun Sep 12 12:04:39 2021
Results reported at Sun Sep 12 12:04:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.6+0452_daily_bin35 235.906 4.8689 248400001 248659201 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 :                                   573.08 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             315.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            861 sec.

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

