aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 79 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1549.5+0236_daily_bin1745
RA = 237.385, Dec = 2.6084
tmin = 691632001, tmax = 691891201
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='650297', job_status='RUN', time_executed='2022-12-05 00:56:49.390248', time_epoch_executed='1670230609.39' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/650297

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/650297/ft1_4FGL_J1549.5+0236_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/650297/ft2_4FGL_J1549.5+0236_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/650297/ft1_4FGL_J1549.5+0236_daily_bin1745.fits outfile=/scratch/kocevski/650297/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin1745.fits ra=237.385 dec=2.6084 rad=12.0 tmin=691632001.0 tmax=691891201.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.37
user 2.16
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/650297/ft2_4FGL_J1549.5+0236_daily_bin1745.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/650297/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/650297/ft1_filtered_4FGL_J1549.5+0236_daily_bin1745.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 963

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/650297/ft1_filtered_4FGL_J1549.5+0236_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/650297/ft2_4FGL_J1549.5+0236_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/650297/ltcube_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.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/650297/ft2_4FGL_J1549.5+0236_daily_bin1745.fits
.....................!
real 12.77
user 12.36
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/650297/ft1_filtered_4FGL_J1549.5+0236_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/650297/ft2_4FGL_J1549.5+0236_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/650297/ltcube_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.fits outfile=/scratch/kocevski/650297/expmap_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.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/650297/ltcube_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.fits
.....................!
real 192.22
user 186.77
sys 5.06

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/650297/ft1_filtered_4FGL_J1549.5+0236_daily_bin1745.fits scfile=/scratch/kocevski/650297/ft2_4FGL_J1549.5+0236_daily_bin1745.fits outfile=/scratch/kocevski/650297/cmap_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/650297/ft1_filtered_4FGL_J1549.5+0236_daily_bin1745.fits scfile=/scratch/kocevski/650297/ft2_4FGL_J1549.5+0236_daily_bin1745.fits outfile=/scratch/kocevski/650297/cmap_HighResolution_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.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.54
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/650297/ft1_filtered_4FGL_J1549.5+0236_daily_bin1745.fits', '/scratch/kocevski/650297/ft2_4FGL_J1549.5+0236_daily_bin1745.fits', expMap='/scratch/kocevski/650297/expmap_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.fits', expCube='/scratch/kocevski/650297/ltcube_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/650297/Model_4FGL_J1549.5+0236_daily_bin1745.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  0.000e+00  1.000e+06 ( 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/650297/ft1_filtered_4FGL_J1549.5+0236_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/650297/ft2_4FGL_J1549.5+0236_daily_bin1745.fits
Exposure map: /scratch/kocevski/650297/expmap_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.fits
Exposure cube: /scratch/kocevski/650297/ltcube_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/650297/Model_4FGL_J1549.5+0236_daily_bin1745.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) = 10612.9476425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2582       1.0000          .0000       .10000E+07
     2 'norm      '    2.9473       1.0000          .0000       .10000E+07
     3 'Prefactor '    .75767E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.3531       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16595E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9178       1.0000          .0000       .10000E+07
     7 'norm      '    2.5141       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99512E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .27089E-06   1.0000          .0000       .10000E+07
    10 'norm      '    4.0333       1.0000          .0000       .10000E+07
    11 'norm      '    38.248       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19245E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .27222E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1811       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0918       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10612.83     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      820 TOTAL
                     EDM=   .39E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2488        3.1738        .29595E-07   -.27401E-04
   2  norm          2.9514        3.2445       -.32882E-08   -.22857E-04
   3  Prefactor      .0000        7.5712        .22115E-06** at limit **
   4  Prefactor     7.3163        2.1557       -.73144E-08    .69986E-02
   5  Prefactor      .0000        20.875       -.17281E-06** at limit **
   6  Prefactor     4.9115        4.8500       -.14553E-07    .35861E-04
   7  norm          2.5187        3.9557       -.38903E-07   -.12280E-03
   8  Prefactor      .0000        35.938        .11657E-06** at limit **
   9  norm           .0000        3.3184        .80224E-07** at limit **
  10  norm          4.0333        1.5755        .34029E-07   -.22694E-03
  11  norm          38.187        15.967       -.17391E-07   -.19108E-02
  12  Prefactor      .0000        40.169        .25223E-06** at limit **
  13  Prefactor      .0000        3.9547       -.50654E-07** at limit **
  14  Normalizat    1.1813        .27235        .27798E-05   -.25458E-05
  15  Prefactor     1.0917        .10130       -.11442E-05    .26351E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.24885
  norm       = 2.95137
  Prefactor  = 0
  Prefactor  = 7.31634
  Prefactor  = 0
  Prefactor  = 4.9115
  norm       = 2.51871
  Prefactor  = 0
  norm       = 0
  norm       = 4.03329
  norm       = 38.1872
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.18133
  Prefactor  = 1.09172
 **********
 **   18 **HESSE 
 **********

 FCN=   10612.83     FROM HESSE     STATUS=OK           212 CALLS     1032 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2488        3.1711        .40103E-03   -1.5658    
   2  norm          2.9514        3.2621        .59133E-03   -1.5674    
   3  Prefactor      .0000        7.4921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.3163        17.644        .36964E-03   -1.5654    
   5  Prefactor      .0000        20.912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.9115        4.8692        .45331E-03   -1.5664    
   7  norm          2.5187        4.0071        .64411E-03   -1.5676    
   8  Prefactor      .0000        35.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.3147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.0333        1.5743        .50187E-03   -1.5668    
  11  norm          38.187        15.991        .16171E-03   -1.5584    
  12  Prefactor      .0000        40.066        .17087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.9494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1813        .24093        .97995E-01   -.87182    
  15  Prefactor     1.0917        .89262E-01    .37906E-01   -.89732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74827e-09
Minuit parameter uncertainties:
  1  3.17111
  2  3.26206
  3  3.326e-06
  4  17.6446
  5  1.22667e-05
  6  4.86922
  7  4.00715
  8  2.65072e-06
  9  2.16211e-06
  10  1.57426
  11  15.9911
  12  9.26548e-06
  13  6.09513e-08
  14  0.241161
  15  0.0892747
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  4.912e+00  4.869e+00  0.000e+00  1.000e+06 ( 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.092e+00  8.927e-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.181e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.40
Ra Dec: 237.385 2.608
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 6.00e-08 +/- 5.94e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.91e-05

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

Saving results to:
/scratch/kocevski/650297/likelihoodResults_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.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): 0
logL (Free Index) = 10612.5454546
delta logL = 0.285000201444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10612.5432453
delta logL = 0.287209481579

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2182       1.0000          .0000       .10000E+07
     2 'Index     '    3.0358       1.0000          .0000       10.000    
     3 'Normalizat'    1.1352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1016       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=   10612.54     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      252 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2171        49.346        .56446E-03    .93550E-02
   2  Index         3.0354        3.4984        .14856        .19694E-03
   3  Normalizat    1.1353        .85161E-01    .99695E-01    .27524E-04
   4  Prefactor     1.1016        .29480E-01    .37525E-01   -.12418E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.21712
  Index      = 3.03537
  Normalizat = 1.13534
  Prefactor  = 1.10156
 **********
 **   18 **HESSE 
 **********

 FCN=   10612.54     FROM HESSE     STATUS=OK            33 CALLS      285 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2171        6.2748        .13645E-04   -1.5672    
   2  Index         3.0354        1.2802        .83749E-02   -.40381    
   3  Normalizat    1.1353        .27309        .44177E-03   -.88625    
   4  Prefactor     1.1016        .10302        .17277E-03   -.89417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00603e-11
Minuit parameter uncertainties:
  1  6.27486
  2  1.29731
  3  0.27343
  4  0.103043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/650297': 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) = 10612.5432443
delta logL = 0.287210539444

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  3.217e+00  6.275e+00  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  3.035e+00  1.297e+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:  1.102e+00  1.030e-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.135e+00  2.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.03
Ra Dec: 237.385 2.608
Photon Index (Free Index): 3.04 +/- 1.30
Photon Flux (Free Index): 1.03e-07 +/- 8.93e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.69e-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/650297/cmap_HighResolution_691632001_691891201_4FGL_J1549.5+0236_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-02', comment='SUCCESS', photon_flux='6.00e-08', energy_flux2='2.02e-05', photon_flux_error='5.94e-08', dlogl='2.87e-01', energy_flux='1.93e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2022-12-05 01:06:12.046960', photon_index_error2='1.30', photon_index2='3.04', ts='1.40', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.80e-07', energy_flux_error2='1.69e-05', EG='1.18', time_epoch_completed='1670231172.05', return_code='0', job_id='650297', GAL2='1.10', EG2='1.14', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='8.93e-08', ts2='2.03', photon_index='2.41' WHERE bin_id='1745' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:06:12 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 650297: <4FGL_J1549.5+0236_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1549.5+0236_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:55:16 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:55:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:55:18 2022
Terminated at Mon Dec  5 01:06:12 2022
Results reported at Mon Dec  5 01:06:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.5+0236_daily_bin1745 237.385 2.6084 691632001 691891201 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 :                                   565.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            656 sec.

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

