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


Performing analysis on: 4FGL_J1549.5+0236_daily_bin518
RA = 237.385, Dec = 2.6084
tmin = 373593601, tmax = 373852801
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='735887', job_status='RUN', time_executed='2021-09-12 14:55:35.221183', time_epoch_executed='1631483735.22' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/735887

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/735887/ft1_4FGL_J1549.5+0236_daily_bin518.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/735887/ft2_4FGL_J1549.5+0236_daily_bin518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/735887/ft1_4FGL_J1549.5+0236_daily_bin518.fits outfile=/scratch/kocevski/735887/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin518.fits ra=237.385 dec=2.6084 rad=12.0 tmin=373593601.0 tmax=373852801.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.58
user 3.35
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/735887/ft1_filtered_4FGL_J1549.5+0236_daily_bin518.fits" evtable="EVENTS" scfile=/scratch/kocevski/735887/ft2_4FGL_J1549.5+0236_daily_bin518.fits sctable="SC_DATA" outfile=/scratch/kocevski/735887/ltcube_373593601_373852801_4FGL_J1549.5+0236_daily_bin518.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/735887/ft2_4FGL_J1549.5+0236_daily_bin518.fits
.....................!
real 14.34
user 13.98
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/735887/ft1_filtered_4FGL_J1549.5+0236_daily_bin518.fits evtable="EVENTS" scfile=/scratch/kocevski/735887/ft2_4FGL_J1549.5+0236_daily_bin518.fits sctable="SC_DATA" expcube=/scratch/kocevski/735887/ltcube_373593601_373852801_4FGL_J1549.5+0236_daily_bin518.fits outfile=/scratch/kocevski/735887/expmap_373593601_373852801_4FGL_J1549.5+0236_daily_bin518.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/735887/ltcube_373593601_373852801_4FGL_J1549.5+0236_daily_bin518.fits
.....................!
real 192.63
user 187.09
sys 4.95

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/735887/ft1_filtered_4FGL_J1549.5+0236_daily_bin518.fits scfile=/scratch/kocevski/735887/ft2_4FGL_J1549.5+0236_daily_bin518.fits outfile=/scratch/kocevski/735887/cmap_373593601_373852801_4FGL_J1549.5+0236_daily_bin518.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/735887/ft1_filtered_4FGL_J1549.5+0236_daily_bin518.fits scfile=/scratch/kocevski/735887/ft2_4FGL_J1549.5+0236_daily_bin518.fits outfile=/scratch/kocevski/735887/cmap_HighResolution_373593601_373852801_4FGL_J1549.5+0236_daily_bin518.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.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22485E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.299       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16688       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.804       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9886       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    52.439       1.0000         .10000E-03   10000.    
    10 'norm      '    16.700       1.0000         .10000E-03   10000.    
    11 'norm      '    4.2112       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4021       1.0000         .10000E-03   10000.    
    13 'norm      '    25.938       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16613E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3873       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .95124       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=   8415.400     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1634 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0031       -.89862E-07** at limit **
   2  norm          .10000E-03    2.7086        .23034E-06** at limit **
   3  Prefactor     33.288        34.642        .14895E-04   -.11206E-04
   4  Prefactor     .18920        2.5397        .18029E-06   -.37701E-04
   5  Prefactor     .10000E-03    25.860        .16092E-05** at limit **
   6  Prefactor     25.789        43.516        .88112E-05   -.14232E-04
   7  Prefactor     1.9865        4.8683       -.73987E-06   -.12194E-02
   8  norm          .10000E-03    1.3976        .16915E-06** at limit **
   9  Prefactor     52.441        45.321       -.66480E-06   -.26960E-05
  10  norm          16.701        8.8146        .65300E-06   -.13823E-04
  11  norm          4.2113        1.9021        .71790E-07    .81195E-05
  12  norm          1.4039        14.380       -.42949E-05   -.40194E-03
  13  norm          26.064        139.11        .19642E-03    .43438E-05
  14  Prefactor     .10000E-03    511.85       -.86123E-06** at limit **
  15  Prefactor     .10000E-03    3.1835        .16133E-06** at limit **
  16  Normalizat    1.3872        .25167        .37485E-06   -.19776E-03
  17  Prefactor     .95124        .90456E-01   -.26890E-05    .36844E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 33.2879
  Prefactor  = 0.189203
  Prefactor  = 0.0001
  Prefactor  = 25.7893
  Prefactor  = 1.98648
  norm       = 0.0001
  Prefactor  = 52.4406
  norm       = 16.701
  norm       = 4.21127
  norm       = 1.40389
  norm       = 26.0639
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.38717
  Prefactor  = 0.951244
 **********
 **   18 **HESSE 
 **********

 FCN=   8415.400     FROM HESSE     STATUS=OK           227 CALLS     1861 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.357        .17763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.7843        .29471E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     33.288        34.601        .69441E-04   -1.4553    
   4  Prefactor     .18920        36.800        .26896E-02   -1.5621    
   5  Prefactor     .10000E-03    25.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.789        43.568        .78860E-04   -1.4692    
   7  Prefactor     1.9865        4.8533        .29035E-03   -1.5426    
   8  norm          .10000E-03    1.4062        .10587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     52.441        45.348        .27693E-03   -1.4258    
  10  norm          16.701        8.8304        .98007E-04   -1.4890    
  11  norm          4.2113        1.9018        .81977E-04   -1.5298    
  12  norm          1.4039        14.469        .36634E-03   -1.5471    
  13  norm          26.064        137.81        .78657E-04   -1.4686    
  14  Prefactor     .10000E-03    516.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.1875        .15985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3872        .29370        .38189E-03   -.81001    
  17  Prefactor     .95124        .10633        .16766E-03   -.94373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74722e-08
Minuit parameter uncertainties:
  1  0.00025906
  2  2.03713e-06
  3  34.622
  4  5.27925
  5  6.08878e-05
  6  43.6219
  7  4.85423
  8  5.38556e-06
  9  45.3777
  10  8.83105
  11  1.90182
  12  9.01647
  13  120.301
  14  0.00150728
  15  3.88511e-06
  16  0.294062
  17  0.106349
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.986e+00  4.854e+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:  9.512e-01  1.063e-01  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.387e+00  2.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 237.385 2.608
Photon Flux Upper Limit: 1.52e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/735887/likelihoodResults_373593601_373852801_4FGL_J1549.5+0236_daily_bin518.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) = 8413.51537476
delta logL = 1.88507479297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8413.43932993
delta logL = 1.96111962633

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39743E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.6978       1.0000          .0000       10.000    
     3 'Normalizat'    1.2163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99048       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=   8413.439     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      294 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39683E-01    .28401        .22474E-02    .36137E-02
   2  Index         5.6990        2.2194        .11480        .18251E-03
   3  Normalizat    1.2161        .69760E-01    .91134E-01    .76519E-05
   4  Prefactor     .99058        .26035E-01    .46148E-01   -.25451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0396833
  Index      = 5.69902
  Normalizat = 1.21614
  Prefactor  = 0.990575
 **********
 **   18 **HESSE 
 **********

 FCN=   8413.439     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      327 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39683E-01    .63231        .10144E-04   -1.5668    
   2  Index         5.6990        3.6110        .44230E-02    .14026    
   3  Normalizat    1.2161        .25588        .40364E-03   -.86105    
   4  Prefactor     .99058        .93238E-01    .16460E-03   -.93044    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.69651e-07
Minuit parameter uncertainties:
  1  0.316413
  2  4.04685
  3  0.256145
  4  0.0932528
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/735887': 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) = 8413.43932848
delta logL = 1.96112107088

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  3.968e-02  3.164e-01  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  5.699e+00  4.047e+00  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:  9.906e-01  9.325e-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.216e+00  2.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.50
Ra Dec: 237.385 2.608
Photon Index (Free Index): 5.70 +/- 4.05
Photon Flux (Free Index): 1.62e-07 +/- 9.60e-08
Energy Flux (Free Index): 2.05e-05 +/- 1.44e-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/735887/cmap_HighResolution_373593601_373852801_4FGL_J1549.5+0236_daily_bin518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', comment='SUCCESS', energy_flux2='2.05e-05', dlogl='1.96e+00', photon_flux2='1.62e-07', job_status='DONE', time_completed='2021-09-12 15:05:44.944419', photon_index_error2='4.05', photon_index2='5.70', ts='0.20', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='1.44e-05', EG='1.39', time_epoch_completed='1631484344.94', return_code='0', job_id='735887', GAL2='0.99', EG2='1.22', return_code2='102', photon_flux_error2='9.60e-08', ts2='4.50', photon_index='2.41' WHERE bin_id='518' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:05:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 735887: <4FGL_J1549.5+0236_daily_bin518> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.5+0236_daily_bin518 237.385 2.6084 373593601 373852801 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 :                                   608.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             278.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            914 sec.

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

