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


Performing analysis on: 4FGL_J1549.5+0236_daily_bin49
RA = 237.385, Dec = 2.6084
tmin = 252028801, tmax = 252288001
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='733124', job_status='RUN', time_executed='2021-09-12 14:45:10.959310', time_epoch_executed='1631483110.96' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='49'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733124

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733124/ft1_4FGL_J1549.5+0236_daily_bin49.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733124/ft2_4FGL_J1549.5+0236_daily_bin49.fits


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

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

Done.
real 1.21
user 1.05
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/733124/ft2_4FGL_J1549.5+0236_daily_bin49.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/733124/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin49.fits evtable="EVENTS" outfile="/scratch/kocevski/733124/ft1_filtered_4FGL_J1549.5+0236_daily_bin49.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.46
user 0.29
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733124/ft1_filtered_4FGL_J1549.5+0236_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/733124/ft2_4FGL_J1549.5+0236_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/733124/ltcube_252028801_252288001_4FGL_J1549.5+0236_daily_bin49.fits outfile=/scratch/kocevski/733124/expmap_252028801_252288001_4FGL_J1549.5+0236_daily_bin49.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/733124/ltcube_252028801_252288001_4FGL_J1549.5+0236_daily_bin49.fits
.....................!
real 157.84
user 152.93
sys 4.47

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/733124/ft1_filtered_4FGL_J1549.5+0236_daily_bin49.fits scfile=/scratch/kocevski/733124/ft2_4FGL_J1549.5+0236_daily_bin49.fits outfile=/scratch/kocevski/733124/cmap_252028801_252288001_4FGL_J1549.5+0236_daily_bin49.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.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733124/ft1_filtered_4FGL_J1549.5+0236_daily_bin49.fits scfile=/scratch/kocevski/733124/ft2_4FGL_J1549.5+0236_daily_bin49.fits outfile=/scratch/kocevski/733124/cmap_HighResolution_252028801_252288001_4FGL_J1549.5+0236_daily_bin49.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.35
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8539       1.0000         .10000E-03   10000.    
     2 'norm      '    .10397E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.920       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6179       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5761       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.913       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.884       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.5075       1.0000         .10000E-03   10000.    
    11 'norm      '    3.1288       1.0000         .10000E-03   10000.    
    12 'norm      '    12.139       1.0000         .10000E-03   10000.    
    13 'norm      '    38.348       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4173       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3823       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1934       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0671       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=   14741.11     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1591 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8542        2.3430       -.13052E-06   -.53102E-03
   2  norm          .10000E-03    1.5258       -.74529E-07** at limit **
   3  Prefactor     45.918        30.464       -.39680E-06    .17304E-04
   4  Prefactor     2.6177        2.8094       -.61865E-09   -.72991E-03
   5  Prefactor     6.5754        12.564        .11483E-05   -.51704E-04
   6  Prefactor     12.914        23.751       -.91146E-05    .12785E-03
   7  Prefactor     26.883        5.2381       -.16093E-05    .10193E-02
   8  norm          .10000E-03    .84948        .59492E-07** at limit **
   9  Prefactor     .10000E-03    26.268       -.49287E-07** at limit **
  10  norm          5.5066        5.9973        .22817E-05   -.46613E-03
  11  norm          3.1287        1.3382       -.10956E-06   -.72597E-05
  12  norm          12.136        11.812        .24074E-05   -.19334E-03
  13  norm          38.347        75.133       -.15315E-05    .66176E-05
  14  Prefactor     3.2946        199.71       -.92984E-05    .70173E-05
  15  Prefactor     1.3819        8.9538       -.97619E-05   -.45413E-03
  16  Normalizat    1.1936        .20864        .74670E-06    .81694E-04
  17  Prefactor     1.0671        .74900E-01    .59683E-06    .11439E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.85424
  norm       = 0.0001
  Prefactor  = 45.9177
  Prefactor  = 2.61768
  Prefactor  = 6.57542
  Prefactor  = 12.9139
  Prefactor  = 26.8832
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.5066
  norm       = 3.12869
  norm       = 12.1361
  norm       = 38.3466
  Prefactor  = 3.29464
  Prefactor  = 1.38189
  Normalizat = 1.19356
  Prefactor  = 1.06705
 **********
 **   18 **HESSE 
 **********

 FCN=   14741.11     FROM HESSE     STATUS=OK           227 CALLS     1818 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8542        2.3132        .12215E-03   -1.5267    
   2  norm          .10000E-03    3.4153        .28690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     45.918        30.472        .59168E-04   -1.4352    
   4  Prefactor     2.6177        2.8036        .20234E-03   -1.5384    
   5  Prefactor     6.5754        12.544        .15649E-03   -1.5195    
   6  Prefactor     12.914        23.623        .11147E-03   -1.4989    
   7  Prefactor     26.883        5.1934        .77263E-04   -1.4671    
   8  norm          .10000E-03    .85878        .10926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    26.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.5066        5.9381        .17121E-03   -1.5239    
  11  norm          3.1287        1.3374        .89024E-04   -1.5354    
  12  norm          12.136        11.777        .11498E-03   -1.5011    
  13  norm          38.347        75.168        .64723E-04   -1.4469    
  14  Prefactor     3.2946        199.95        .21883E-03   -1.5345    
  15  Prefactor     1.3819        10.300        .37011E-03   -1.5473    
  16  Normalizat    1.1936        .23624        .43807E-03   -.86802    
  17  Prefactor     1.0671        .85167E-01    .17141E-03   -.90527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49371e-09
Minuit parameter uncertainties:
  1  2.31322
  2  2.267e-07
  3  30.4826
  4  2.80371
  5  12.5488
  6  23.6402
  7  5.19349
  8  2.92844e-06
  9  2.41612e-05
  10  5.93872
  11  1.33744
  12  11.7796
  13  75.3546
  14  51.513
  15  7.54694
  16  0.236452
  17  0.0851778
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  2.688e+01  5.193e+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.067e+00  8.518e-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.194e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 68.92
Ra Dec: 237.385 2.608
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.28e-07 +/- 6.33e-08
Energy Flux (Fixed Index): 1.06e-04 +/- 2.04e-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) = 14739.2658081
delta logL = 1.84889482258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14739.2657166
delta logL = 1.84898632195

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.539       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0703       1.0000          .0000       10.000    
     3 'Normalizat'    1.2768       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0478       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=   14739.27     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      241 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.506        14.267        .17298E-02    .43758E-03
   2  Index         2.0705        .32852        .10443        .12536E-03
   3  Normalizat    1.2768        .20760        .96164E-01    .37507E-04
   4  Prefactor     1.0478        .75290E-01    .40040E-01   -.36534E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.5062
  Index      = 2.07054
  Normalizat = 1.27683
  Prefactor  = 1.04782
 **********
 **   18 **HESSE 
 **********

 FCN=   14739.27     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.506        7.0020        .34596E-03   -1.4550    
   2  Index         2.0705        .17085        .43300E-02   -.62598    
   3  Normalizat    1.2768        .22979        .42602E-03   -.84261    
   4  Prefactor     1.0478        .84565E-01    .17277E-03   -.91152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03617e-12
Minuit parameter uncertainties:
  1  7.00216
  2  0.170899
  3  0.229973
  4  0.0845756
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733124': 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) = 14739.2657054
delta logL = 1.84899755837

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  3.351e+01  7.002e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  2.071e+00  1.709e-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.048e+00  8.458e-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.277e+00  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 72.35
Ra Dec: 237.385 2.608
Photon Index (Free Index): 2.07 +/- 0.17
Photon Flux (Free Index): 2.59e-07 +/- 6.44e-08
Energy Flux (Free Index): 1.52e-04 +/- 4.71e-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/733124/cmap_HighResolution_252028801_252288001_4FGL_J1549.5+0236_daily_bin49.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.28e-07', energy_flux2='1.52e-04', photon_flux_error='6.33e-08', dlogl='1.85e+00', energy_flux='1.06e-04', photon_flux2='2.59e-07', job_status='DONE', time_completed='2021-09-12 14:55:11.571664', photon_index_error2='0.17', photon_index2='2.07', ts='68.92', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='4.71e-05', EG='1.19', time_epoch_completed='1631483711.57', return_code='0', job_id='733124', GAL2='1.05', EG2='1.28', return_code2='0', energy_flux_error='2.04e-05', photon_flux_error2='6.44e-08', ts2='72.35', photon_index='2.41' WHERE bin_id='49' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 14:55:11 PDT 2021


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

Job <4FGL_J1549.5+0236_daily_bin49> 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) <bullet0033>, 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:55:12 2021
Results reported at Sun Sep 12 14:55:12 2021

Your job looked like:

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

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

