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


Performing analysis on: 4FGL_J1549.5+0236_daily_bin50
RA = 237.385, Dec = 2.6084
tmin = 252288001, tmax = 252547201
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='733125', job_status='RUN', time_executed='2021-09-12 14:44:24.226638', time_epoch_executed='1631483064.23' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='50'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733125

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733125/ft1_4FGL_J1549.5+0236_daily_bin50.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733125/ft2_4FGL_J1549.5+0236_daily_bin50.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/733125/ft1_4FGL_J1549.5+0236_daily_bin50.fits outfile=/scratch/kocevski/733125/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin50.fits ra=237.385 dec=2.6084 rad=12.0 tmin=252288001.0 tmax=252547201.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 2.59
user 2.37
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/733125/ft1_filtered_4FGL_J1549.5+0236_daily_bin50.fits" evtable="EVENTS" scfile=/scratch/kocevski/733125/ft2_4FGL_J1549.5+0236_daily_bin50.fits sctable="SC_DATA" outfile=/scratch/kocevski/733125/ltcube_252288001_252547201_4FGL_J1549.5+0236_daily_bin50.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/733125/ft2_4FGL_J1549.5+0236_daily_bin50.fits
.....................!
real 15.68
user 15.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733125/ft1_filtered_4FGL_J1549.5+0236_daily_bin50.fits evtable="EVENTS" scfile=/scratch/kocevski/733125/ft2_4FGL_J1549.5+0236_daily_bin50.fits sctable="SC_DATA" expcube=/scratch/kocevski/733125/ltcube_252288001_252547201_4FGL_J1549.5+0236_daily_bin50.fits outfile=/scratch/kocevski/733125/expmap_252288001_252547201_4FGL_J1549.5+0236_daily_bin50.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/733125/ltcube_252288001_252547201_4FGL_J1549.5+0236_daily_bin50.fits
.....................!
real 191.11
user 185.62
sys 4.98

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/733125/ft1_filtered_4FGL_J1549.5+0236_daily_bin50.fits scfile=/scratch/kocevski/733125/ft2_4FGL_J1549.5+0236_daily_bin50.fits outfile=/scratch/kocevski/733125/cmap_252288001_252547201_4FGL_J1549.5+0236_daily_bin50.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.58
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733125/ft1_filtered_4FGL_J1549.5+0236_daily_bin50.fits scfile=/scratch/kocevski/733125/ft2_4FGL_J1549.5+0236_daily_bin50.fits outfile=/scratch/kocevski/733125/cmap_HighResolution_252288001_252547201_4FGL_J1549.5+0236_daily_bin50.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2376       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4134       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10264E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.349       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.829       1.0000         .10000E-03   10000.    
     8 'norm      '    .11066E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1861       1.0000         .10000E-03   10000.    
    11 'norm      '    3.3734       1.0000         .10000E-03   10000.    
    12 'norm      '    .14964       1.0000         .10000E-03   10000.    
    13 'norm      '    .10325E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.288       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .46367       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.5033       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98076       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=   13682.33     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1658 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2367        2.0647       -.44105E-06   -.72542E-03
   2  norm          2.4130        2.0269       -.11116E-06    .16256E-03
   3  Prefactor     .10000E-03    17.956       -.72431E-06** at limit **
   4  Prefactor     .10000E-03    1.7424       -.14290E-06** at limit **
   5  Prefactor     .10000E-03    7.9625       -.14246E-06** at limit **
   6  Prefactor     24.366        24.823       -.34322E-04    .14583E-04
   7  Prefactor     13.829        4.0303       -.33446E-06    .23277E-03
   8  norm          .10000E-03    1.3785       -.42527E-06** at limit **
   9  Prefactor     .10000E-03    20.571        .10758E-05** at limit **
  10  norm          2.1885        5.3155       -.15659E-05   -.62171E-03
  11  norm          3.3744        1.5093       -.72283E-07    .26760E-03
  12  norm          .13398E-01    7.2352       -.12468E-05   -.11953E-03
  13  norm          .10000E-03    34.091       -.19992E-05** at limit **
  14  Prefactor     31.148        56.338       -.11196E-03    .17328E-04
  15  Prefactor     .46370        4.3825        .68139E-06   -.15450E-03
  16  Normalizat    1.5038        .20315        .35654E-05    .27081E-03
  17  Prefactor     .98070        .72927E-01    .23164E-05    .28700E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.23672
  norm       = 2.41305
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.3663
  Prefactor  = 13.8286
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.18849
  norm       = 3.37436
  norm       = 0.0133984
  norm       = 0.0001
  Prefactor  = 31.1484
  Prefactor  = 0.463702
  Normalizat = 1.50383
  Prefactor  = 0.980703
 **********
 **   18 **HESSE 
 **********

 FCN=   13682.33     FROM HESSE     STATUS=OK           233 CALLS     1891 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2367        2.0632        .12851E-03   -1.5348    
   2  norm          2.4130        2.0298        .14801E-03   -1.5397    
   3  Prefactor     .10000E-03    17.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.7708        .15069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.9699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.366        24.839        .81179E-04   -1.4720    
   7  Prefactor     13.829        4.0255        .10771E-03   -1.4964    
   8  norm          .10000E-03    3.3031        .26598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1885        5.2900        .27839E-03   -1.5412    
  11  norm          3.3744        1.5075        .92624E-04   -1.5341    
  12  norm          .13398E-01    7.8870        .91806E-01   -1.5685    
  13  norm          .10000E-03    34.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.148        56.353        .71632E-04   -1.4591    
  15  Prefactor     .46370        34.565        .47350E-02   -1.5572    
  16  Normalizat    1.5038        .23570        .39227E-03   -.77671    
  17  Prefactor     .98070        .84911E-01    .17304E-03   -.93376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.26668e-08
Minuit parameter uncertainties:
  1  2.06324
  2  2.02987
  3  6.2752e-05
  4  2.00873e-05
  5  1.55626e-05
  6  24.8495
  7  4.02558
  8  7.87484e-05
  9  3.50562e-05
  10  5.29113
  11  1.50751
  12  0.647801
  13  3.02234e-06
  14  56.4491
  15  8.01094
  16  0.235874
  17  0.0849224
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.383e+01  4.026e+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.807e-01  8.492e-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.504e+00  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.99
Ra Dec: 237.385 2.608
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.69e-07 +/- 4.91e-08
Energy Flux (Fixed Index): 5.43e-05 +/- 1.58e-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) = 13680.6712041
delta logL = 1.65821468641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13680.3915631
delta logL = 1.93785567707

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.760       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9479       1.0000          .0000       10.000    
     3 'Normalizat'    1.5595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96874       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=   13680.39     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      219 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.759        7.5892        .23759E-02    .69467E-04
   2  Index         1.9479        .29072        .14191       -.23117E-05
   3  Normalizat    1.5595        .19936        .87307E-01    .20442E-04
   4  Prefactor     .96876        .72729E-01    .45875E-01    .17151E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7589
  Index      = 1.94787
  Normalizat = 1.55946
  Prefactor  = 0.968762
 **********
 **   18 **HESSE 
 **********

 FCN=   13680.39     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.759        5.3278        .95038E-04   -1.4865    
   2  Index         1.9479        .22105        .57599E-02   -.65660    
   3  Normalizat    1.5595        .23004        .38654E-03   -.76121    
   4  Prefactor     .96876        .84313E-01    .17394E-03   -.93778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44464e-12
Minuit parameter uncertainties:
  1  5.32791
  2  0.221164
  3  0.230194
  4  0.0843247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733125': 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) = 13680.391563
delta logL = 1.9378558182

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.776e+01  5.328e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  1.948e+00  2.212e-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:  9.688e-01  8.432e-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.559e+00  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.88
Ra Dec: 237.385 2.608
Photon Index (Free Index): 1.95 +/- 0.22
Photon Flux (Free Index): 1.19e-07 +/- 4.41e-08
Energy Flux (Free Index): 9.42e-05 +/- 4.41e-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/733125/cmap_HighResolution_252288001_252547201_4FGL_J1549.5+0236_daily_bin50.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.69e-07', energy_flux2='9.42e-05', photon_flux_error='4.91e-08', dlogl='1.94e+00', energy_flux='5.43e-05', photon_flux2='1.19e-07', job_status='DONE', time_completed='2021-09-12 14:56:13.167157', photon_index_error2='0.22', photon_index2='1.95', ts='29.99', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='4.41e-05', EG='1.50', time_epoch_completed='1631483773.17', return_code='0', job_id='733125', GAL2='0.97', EG2='1.56', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='4.41e-08', ts2='33.88', photon_index='2.41' WHERE bin_id='50' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 14:56:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 733125: <4FGL_J1549.5+0236_daily_bin50> in cluster <slac> Done

Job <4FGL_J1549.5+0236_daily_bin50> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 14:40:39 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 14:43:59 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:43:59 2021
Terminated at Sun Sep 12 14:56:14 2021
Results reported at Sun Sep 12 14:56:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.5+0236_daily_bin50 237.385 2.6084 252288001 252547201 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 :                                   706.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             349.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            935 sec.

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

