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


Performing analysis on: 4FGL_J1549.5+0236_daily_bin616
RA = 237.385, Dec = 2.6084
tmin = 398995201, tmax = 399254401
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='736047', job_status='RUN', time_executed='2021-09-12 14:57:14.906669', time_epoch_executed='1631483834.91' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='616'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/736047

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/736047/ft1_4FGL_J1549.5+0236_daily_bin616.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/736047/ft1_4FGL_J1549.5+0236_daily_bin616.fits outfile=/scratch/kocevski/736047/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin616.fits ra=237.385 dec=2.6084 rad=12.0 tmin=398995201.0 tmax=399254401.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 4.56
user 4.28
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.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/736047/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin616.fits evtable="EVENTS" outfile="/scratch/kocevski/736047/ft1_filtered_4FGL_J1549.5+0236_daily_bin616.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.44
user 0.29
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/736047/ft1_filtered_4FGL_J1549.5+0236_daily_bin616.fits" evtable="EVENTS" scfile=/scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits sctable="SC_DATA" outfile=/scratch/kocevski/736047/ltcube_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.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/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits
.....................!
real 13.13
user 12.81
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/736047/ft1_filtered_4FGL_J1549.5+0236_daily_bin616.fits evtable="EVENTS" scfile=/scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits sctable="SC_DATA" expcube=/scratch/kocevski/736047/ltcube_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.fits outfile=/scratch/kocevski/736047/expmap_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.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/736047/ltcube_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.fits
.....................!
real 156.36
user 152.18
sys 3.70

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

Setting source of interest to:
4FGL J1549.5+0236 @ 237.385 2.6084

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/736047/ft1_filtered_4FGL_J1549.5+0236_daily_bin616.fits scfile=/scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits outfile=/scratch/kocevski/736047/cmap_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.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=237.385 yref=2.6084 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.48
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/736047/ft1_filtered_4FGL_J1549.5+0236_daily_bin616.fits scfile=/scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits outfile=/scratch/kocevski/736047/cmap_HighResolution_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.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=237.385 yref=2.6084 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/736047/ft1_filtered_4FGL_J1549.5+0236_daily_bin616.fits evtable="EVENTS" scfile=/scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/736047/Model_4FGL_J1549.5+0236_daily_bin616.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/736047/ft1_filtered_4FGL_J1549.5+0236_daily_bin616.fits....................!
real 71.33
user 70.15
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/736047/ft1_filtered_4FGL_J1549.5+0236_daily_bin616.fits', '/scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits', expMap='/scratch/kocevski/736047/expmap_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.fits', expCube='/scratch/kocevski/736047/ltcube_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/736047/Model_4FGL_J1549.5+0236_daily_bin616.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1549.5+0236'

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  2.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/736047/ft1_filtered_4FGL_J1549.5+0236_daily_bin616.fits
Spacecraft file(s): /scratch/kocevski/736047/ft2_4FGL_J1549.5+0236_daily_bin616.fits
Exposure map: /scratch/kocevski/736047/expmap_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.fits
Exposure cube: /scratch/kocevski/736047/ltcube_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/736047/Model_4FGL_J1549.5+0236_daily_bin616.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) = 10261.6402854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1250       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11161E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2129       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.026       1.0000         .10000E-03   10000.    
    11 'norm      '    3.8260       1.0000         .10000E-03   10000.    
    12 'norm      '    13.615       1.0000         .10000E-03   10000.    
    13 'norm      '    196.34       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.696       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .98254       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0449       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10261.64     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     1552 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1255        3.4821       -.13538E-06   -.35395E-03
   2  norm          .10000E-03    2.5000       -.68329E-07** at limit **
   3  Prefactor     .10000E-03    11.768        .10923E-06** at limit **
   4  Prefactor     .10000E-03    1.6846        .12306E-06** at limit **
   5  Prefactor     .10000E-03    6.5894        .19220E-06** at limit **
   6  Prefactor     .10000E-03    123.76       -.37833E-06** at limit **
   7  Prefactor     6.2130        4.2411       -.28673E-05   -.32635E-03
   8  norm          .10000E-03    1.2369        .15060E-06** at limit **
   9  Prefactor     .10000E-03    20.972        .80840E-06** at limit **
  10  norm          10.026        8.9798        .20584E-06   -.78768E-04
  11  norm          3.8260        1.5763        .16350E-07    .18168E-03
  12  norm          13.616        16.445       -.53593E-06   -.25863E-04
  13  norm          196.35        114.37        .30750E-05   -.46441E-06
  14  Prefactor     21.705        72.267        .16183E-04   -.20758E-05
  15  Prefactor     .10000E-03    4.4579       -.96163E-07** at limit **
  16  Normalizat    .98256        .24191        .16410E-05   -.64668E-04
  17  Prefactor     1.0449        .82217E-01   -.39261E-06    .13571E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.1255
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.21302
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.026
  norm       = 3.82601
  norm       = 13.6156
  norm       = 196.346
  Prefactor  = 21.7051
  Prefactor  = 0.0001
  Normalizat = 0.982563
  Prefactor  = 1.04489
 **********
 **   18 **HESSE 
 **********

 FCN=   10261.64     FROM HESSE     STATUS=OK           221 CALLS     1773 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1255        3.4866        .15000E-03   -1.5255    
   2  norm          .10000E-03    2.5244        .15633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.6980        .12839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.5912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    124.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2130        4.2955        .16105E-03   -1.5209    
   8  norm          .10000E-03    1.2470        .11004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.026        8.9784        .12655E-03   -1.5075    
  11  norm          3.8260        1.5771        .79085E-04   -1.5317    
  12  norm          13.616        16.489        .10855E-03   -1.4970    
  13  norm          196.35        114.33        .14416E-03   -1.2896    
  14  Prefactor     21.705        72.004        .85992E-04   -1.4776    
  15  Prefactor     .10000E-03    4.4948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .98256        .27174        .45857E-03   -.93617    
  17  Prefactor     1.0449        .93094E-01    .15869E-03   -.91248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48697e-10
Minuit parameter uncertainties:
  1  3.48675
  2  1.15791e-06
  3  1.40895e-06
  4  7.88047e-06
  5  8.20949e-06
  6  3.76559e-05
  7  4.2957
  8  6.41449e-06
  9  3.45348e-06
  10  8.97958
  11  1.5771
  12  16.4949
  13  114.464
  14  72.2949
  15  7.79518e-06
  16  0.272121
  17  0.0931082
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  6.213e+00  4.296e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.045e+00  9.311e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  9.826e-01  2.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.40
Ra Dec: 237.385 2.608
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 7.58e-08 +/- 5.24e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 1.69e-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) = 10261.6075802
delta logL = 0.0323065277698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10261.5962986
delta logL = 0.0435881622616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6722       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6762       1.0000          .0000       10.000    
     3 'Normalizat'    .95130       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0507       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10261.60     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      239 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6723        63.293        .42165E-02    .14846E-02
   2  Index         2.6769        6.3371        .16288        .16599E-03
   3  Normalizat    .95189        .14111        .10494        .43801E-04
   4  Prefactor     1.0506        .31240E-01    .39867E-01    .22522E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.67231
  Index      = 2.67685
  Normalizat = 0.951894
  Prefactor  = 1.05061
 **********
 **   18 **HESSE 
 **********

 FCN=   10261.60     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6723        5.1877        .14227E-03   -1.5232    
   2  Index         2.6769        .98723        .93127E-02   -.48322    
   3  Normalizat    .95189        .28531        .46512E-03   -.94660    
   4  Prefactor     1.0506        .95268E-01    .15830E-03   -.91061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83864e-08
Minuit parameter uncertainties:
  1  5.18807
  2  0.995594
  3  0.285764
  4  0.0952829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/736047': 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) = 10261.5962935
delta logL = 0.0435932914934

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  5.672e+00  5.188e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  2.677e+00  9.956e-01  0.000e+00  1.000e+01 (-1.000e+00)
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.051e+00  9.528e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  9.519e-01  2.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.53
Ra Dec: 237.385 2.608
Photon Index (Free Index): 2.68 +/- 1.00
Photon Flux (Free Index): 1.02e-07 +/- 1.09e-07
Energy Flux (Free Index): 2.51e-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/736047/cmap_HighResolution_398995201_399254401_4FGL_J1549.5+0236_daily_bin616.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.58e-08', energy_flux2='2.51e-05', photon_flux_error='5.24e-08', dlogl='4.36e-02', energy_flux='2.44e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-09-12 15:05:29.807387', photon_index_error2='1.00', photon_index2='2.68', ts='4.40', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='0.98', time_epoch_completed='1631484329.81', return_code='0', job_id='736047', GAL2='1.05', EG2='0.95', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='1.09e-07', ts2='4.53', photon_index='2.41' WHERE bin_id='616' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:05:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 736047: <4FGL_J1549.5+0236_daily_bin616> in cluster <slac> Done

Job <4FGL_J1549.5+0236_daily_bin616> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 14:50:44 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 14:55:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 14:55:17 2021
Terminated at Sun Sep 12 15:05:30 2021
Results reported at Sun Sep 12 15:05:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.5+0236_daily_bin616 237.385 2.6084 398995201 399254401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1549.5+0236 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   491.55 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             338.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            886 sec.

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

