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


Performing analysis on: 4FGL_J1549.5+0236_daily_bin423
RA = 237.385, Dec = 2.6084
tmin = 348969601, tmax = 349228801
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='735735', job_status='RUN', time_executed='2021-09-12 14:53:45.121820', time_epoch_executed='1631483625.12' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='423'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/735735

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/735735/ft1_4FGL_J1549.5+0236_daily_bin423.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/735735/ft2_4FGL_J1549.5+0236_daily_bin423.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/735735/ft1_4FGL_J1549.5+0236_daily_bin423.fits outfile=/scratch/kocevski/735735/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin423.fits ra=237.385 dec=2.6084 rad=12.0 tmin=348969601.0 tmax=349228801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.79
user 3.56
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/735735/ft2_4FGL_J1549.5+0236_daily_bin423.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/735735/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin423.fits evtable="EVENTS" outfile="/scratch/kocevski/735735/ft1_filtered_4FGL_J1549.5+0236_daily_bin423.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.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/735735/ft1_filtered_4FGL_J1549.5+0236_daily_bin423.fits" evtable="EVENTS" scfile=/scratch/kocevski/735735/ft2_4FGL_J1549.5+0236_daily_bin423.fits sctable="SC_DATA" outfile=/scratch/kocevski/735735/ltcube_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.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/735735/ft2_4FGL_J1549.5+0236_daily_bin423.fits
.....................!
real 14.07
user 13.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/735735/ft1_filtered_4FGL_J1549.5+0236_daily_bin423.fits evtable="EVENTS" scfile=/scratch/kocevski/735735/ft2_4FGL_J1549.5+0236_daily_bin423.fits sctable="SC_DATA" expcube=/scratch/kocevski/735735/ltcube_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.fits outfile=/scratch/kocevski/735735/expmap_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.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/735735/ltcube_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.fits
.....................!
real 193.36
user 187.68
sys 5.08

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/735735/ft1_filtered_4FGL_J1549.5+0236_daily_bin423.fits scfile=/scratch/kocevski/735735/ft2_4FGL_J1549.5+0236_daily_bin423.fits outfile=/scratch/kocevski/735735/cmap_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/735735/ft1_filtered_4FGL_J1549.5+0236_daily_bin423.fits scfile=/scratch/kocevski/735735/ft2_4FGL_J1549.5+0236_daily_bin423.fits outfile=/scratch/kocevski/735735/cmap_HighResolution_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.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.56
user 0.41
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/735735/ft1_filtered_4FGL_J1549.5+0236_daily_bin423.fits', '/scratch/kocevski/735735/ft2_4FGL_J1549.5+0236_daily_bin423.fits', expMap='/scratch/kocevski/735735/expmap_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.fits', expCube='/scratch/kocevski/735735/ltcube_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/735735/Model_4FGL_J1549.5+0236_daily_bin423.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/735735/ft1_filtered_4FGL_J1549.5+0236_daily_bin423.fits
Spacecraft file(s): /scratch/kocevski/735735/ft2_4FGL_J1549.5+0236_daily_bin423.fits
Exposure map: /scratch/kocevski/735735/expmap_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.fits
Exposure cube: /scratch/kocevski/735735/ltcube_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/735735/Model_4FGL_J1549.5+0236_daily_bin423.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) = 10058.598845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8600       1.0000         .10000E-03   10000.    
     2 'norm      '    2.2655       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6602       1.0000         .10000E-03   10000.    
     8 'norm      '    4.4707       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0857       1.0000         .10000E-03   10000.    
    11 'norm      '    3.0709       1.0000         .10000E-03   10000.    
    12 'norm      '    5.1760       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    149.87       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0155       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0314       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=   10058.60     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1554 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8600        2.8582       -.51785E-07   -.39182E-04
   2  norm          2.2653        1.5284        .23751E-06   -.32895E-02
   3  Prefactor     .10000E-03    12.731       -.44478E-05** at limit **
   4  Prefactor     .10000E-03    1.5300       -.52913E-09** at limit **
   5  Prefactor     .10000E-03    9.1701        .50013E-06** at limit **
   6  Prefactor     .10000E-03    25.364        .88596E-05** at limit **
   7  Prefactor     5.6603        3.6867       -.13508E-06   -.98979E-04
   8  norm          4.4707        3.5378        .21525E-06   -.64890E-04
   9  Prefactor     .10000E-03    13.541        .40501E-05** at limit **
  10  norm          5.0859        6.7380        .15313E-07   -.43922E-04
  11  norm          3.0709        1.4371       -.36820E-08    .86050E-05
  12  norm          5.1765        14.444        .59095E-06   -.34935E-03
  13  norm          .10000E-03    27.002       -.91556E-05** at limit **
  14  Prefactor     149.88        88.177        .38563E-05    .27946E-04
  15  Prefactor     .10000E-03    4.9198       -.55287E-07** at limit **
  16  Normalizat    1.0155        .22902       -.38706E-06   -.21324E-04
  17  Prefactor     1.0314        .82817E-01   -.86622E-07   -.35809E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.86003
  norm       = 2.26526
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.66029
  norm       = 4.47065
  Prefactor  = 0.0001
  norm       = 5.08588
  norm       = 3.07089
  norm       = 5.17649
  norm       = 0.0001
  Prefactor  = 149.875
  Prefactor  = 0.0001
  Normalizat = 1.01546
  Prefactor  = 1.0314
 **********
 **   18 **HESSE 
 **********

 FCN=   10058.60     FROM HESSE     STATUS=OK           223 CALLS     1777 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8600        2.8756        .10429E-03   -1.5184    
   2  norm          2.2653        2.9604        .95412E-03   -1.5407    
   3  Prefactor     .10000E-03    12.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.5432        .12109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.1771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.6603        3.6851        .14858E-03   -1.5232    
   8  norm          4.4707        3.5328        .16143E-03   -1.5285    
   9  Prefactor     .10000E-03    13.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0859        6.7358        .17829E-03   -1.5257    
  11  norm          3.0709        1.4376        .79739E-04   -1.5357    
  12  norm          5.1765        15.246        .88349E-03   -1.5253    
  13  norm          .10000E-03    27.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     149.88        88.213        .32922E-04   -1.3253    
  15  Prefactor     .10000E-03    4.9409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0155        .25920        .43130E-03   -.92514    
  17  Prefactor     1.0314        .94039E-01    .16090E-03   -.91690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72252e-09
Minuit parameter uncertainties:
  1  2.87563
  2  2.96056
  3  5.91491e-05
  4  1.19757e-06
  5  5.21308e-06
  6  0.000173539
  7  3.68527
  8  3.53292
  9  5.83452e-05
  10  6.73678
  11  1.43765
  12  15.2575
  13  0.000186991
  14  88.2903
  15  2.99679e-06
  16  0.25952
  17  0.0940538
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  5.660e+00  3.685e+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.031e+00  9.405e-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:  1.015e+00  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.43
Ra Dec: 237.385 2.608
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 6.91e-08 +/- 4.50e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 1.45e-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) = 10058.3874276
delta logL = 0.21098402556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10058.3871066
delta logL = 0.211305004943

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10058.39     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      307 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8814        4.6155        .15288E-03    .72623E-03
   2  Index         2.0989        .46312        .91518E-02    .13465E-03
   3  Normalizat    1.0318        .24782        .42824E-03    .41945E-05
   4  Prefactor     1.0277        .93453E-01    .16115E-03    .98062E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.8814
  Index      = 2.09885
  Normalizat = 1.03179
  Prefactor  = 1.02771
 **********
 **   18 **HESSE 
 **********

 FCN=   10058.39     FROM HESSE     STATUS=OK            23 CALLS      330 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8814        4.5789        .61152E-05   -1.5183    
   2  Index         2.0989        .45940        .36607E-03   -.61901    
   3  Normalizat    1.0318        .24790        .17130E-04   -.91973    
   4  Prefactor     1.0277        .93491E-01    .64459E-05   -.91812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16233e-10
Minuit parameter uncertainties:
  1  4.57914
  2  0.460378
  3  0.248182
  4  0.0935054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/735735': 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) = 10058.3871042
delta logL = 0.21130742789

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  6.881e+00  4.579e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  2.099e+00  4.604e-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.028e+00  9.351e-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:  1.032e+00  2.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.85
Ra Dec: 237.385 2.608
Photon Index (Free Index): 2.10 +/- 0.46
Photon Flux (Free Index): 5.51e-08 +/- 4.39e-08
Energy Flux (Free Index): 3.03e-05 +/- 2.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/735735/cmap_HighResolution_348969601_349228801_4FGL_J1549.5+0236_daily_bin423.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.91e-08', energy_flux2='3.03e-05', photon_flux_error='4.50e-08', dlogl='2.11e-01', energy_flux='2.22e-05', photon_flux2='5.51e-08', job_status='DONE', time_completed='2021-09-12 15:03:41.372438', photon_index_error2='0.46', photon_index2='2.10', ts='4.43', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.58e-05', EG='1.02', time_epoch_completed='1631484221.37', return_code='0', job_id='735735', GAL2='1.03', EG2='1.03', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='4.39e-08', ts2='4.85', photon_index='2.41' WHERE bin_id='423' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:03:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 735735: <4FGL_J1549.5+0236_daily_bin423> in cluster <slac> Done

Job <4FGL_J1549.5+0236_daily_bin423> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 14:50:18 2021
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 14:50:53 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:50:53 2021
Terminated at Sun Sep 12 15:03:42 2021
Results reported at Sun Sep 12 15:03:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.5+0236_daily_bin423 237.385 2.6084 348969601 349228801 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 :                                   594.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            804 sec.

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

