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


Performing analysis on: 4FGL_J1549.5+0236_daily_bin278
RA = 237.385, Dec = 2.6084
tmin = 311385601, tmax = 311644801
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='734480', job_status='RUN', time_executed='2021-09-12 14:50:03.455986', time_epoch_executed='1631483403.46' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='278'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/734480

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/734480/ft1_4FGL_J1549.5+0236_daily_bin278.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/734480/ft2_4FGL_J1549.5+0236_daily_bin278.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/734480/ft1_4FGL_J1549.5+0236_daily_bin278.fits outfile=/scratch/kocevski/734480/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin278.fits ra=237.385 dec=2.6084 rad=12.0 tmin=311385601.0 tmax=311644801.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.53
user 3.28
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/734480/ft1_filtered_4FGL_J1549.5+0236_daily_bin278.fits" evtable="EVENTS" scfile=/scratch/kocevski/734480/ft2_4FGL_J1549.5+0236_daily_bin278.fits sctable="SC_DATA" outfile=/scratch/kocevski/734480/ltcube_311385601_311644801_4FGL_J1549.5+0236_daily_bin278.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/734480/ft2_4FGL_J1549.5+0236_daily_bin278.fits
.....................!
real 16.47
user 16.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/734480/ft1_filtered_4FGL_J1549.5+0236_daily_bin278.fits evtable="EVENTS" scfile=/scratch/kocevski/734480/ft2_4FGL_J1549.5+0236_daily_bin278.fits sctable="SC_DATA" expcube=/scratch/kocevski/734480/ltcube_311385601_311644801_4FGL_J1549.5+0236_daily_bin278.fits outfile=/scratch/kocevski/734480/expmap_311385601_311644801_4FGL_J1549.5+0236_daily_bin278.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/734480/ltcube_311385601_311644801_4FGL_J1549.5+0236_daily_bin278.fits
.....................!
real 191.51
user 185.65
sys 5.27

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/734480/ft1_filtered_4FGL_J1549.5+0236_daily_bin278.fits scfile=/scratch/kocevski/734480/ft2_4FGL_J1549.5+0236_daily_bin278.fits outfile=/scratch/kocevski/734480/cmap_311385601_311644801_4FGL_J1549.5+0236_daily_bin278.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.55
user 0.39
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65343       1.0000         .10000E-03   10000.    
     2 'norm      '    4.8446       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.1257       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6460       1.0000         .10000E-03   10000.    
     8 'norm      '    .16172E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.9699       1.0000         .10000E-03   10000.    
    12 'norm      '    10.858       1.0000         .10000E-03   10000.    
    13 'norm      '    71.306       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9189       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4092       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0513       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=   11281.69     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1604 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65321        1.8628        .13059E-05    .32146E-03
   2  norm          4.8443        3.6873        .16348E-05    .58085E-03
   3  Prefactor     .10000E-03    23.254        .13399E-06** at limit **
   4  Prefactor     7.1251        4.5873        .22034E-05    .61410E-03
   5  Prefactor     .10000E-03    14.990       -.12512E-07** at limit **
   6  Prefactor     .10000E-03    25.378        .15714E-06** at limit **
   7  Prefactor     3.6467        3.8586        .13443E-06   -.42665E-03
   8  norm          .63519E-02    3.3790        .20994E-05   -.16059E-02
   9  Prefactor     .10000E-03    21.812       -.55721E-08** at limit **
  10  norm          .10000E-03    3.0792        .78017E-07** at limit **
  11  norm          3.9699        1.6838        .10556E-07   -.12393E-03
  12  norm          10.854        14.296        .59736E-06   -.40165E-04
  13  norm          71.010        104.07       -.20608E-05   -.12241E-03
  14  Prefactor     .10000E-03    34.958        .12648E-07** at limit **
  15  Prefactor     6.9180        8.5815        .21380E-06   -.11641E-04
  16  Normalizat    1.4096        .24049       -.46268E-05   -.28230E-03
  17  Prefactor     1.0512        .83997E-01    .94823E-06   -.87051E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.653207
  norm       = 4.84426
  Prefactor  = 0.0001
  Prefactor  = 7.12509
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.64667
  norm       = 0.00635185
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.96991
  norm       = 10.8539
  norm       = 71.01
  Prefactor  = 0.0001
  Prefactor  = 6.91797
  Normalizat = 1.40958
  Prefactor  = 1.05122
 **********
 **   18 **HESSE 
 **********

 FCN=   11281.69     FROM HESSE     STATUS=OK           231 CALLS     1835 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65321        1.8157        .23270E-03   -1.5546    
   2  norm          4.8443        3.6656        .85417E-03   -1.5268    
   3  Prefactor     .10000E-03    23.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.1251        4.5911        .75137E-03   -1.5174    
   5  Prefactor     .10000E-03    15.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6467        3.8434        .20267E-03   -1.5326    
   8  norm          .63519E-02    3.2079        .50089E-01   -1.5692    
   9  Prefactor     .10000E-03    21.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.0943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.9699        1.6845        .87327E-04   -1.5309    
  12  norm          10.854        14.311        .12159E-03   -1.5049    
  13  norm          71.010        104.34        .23770E-03   -1.4021    
  14  Prefactor     .10000E-03    34.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.9180        8.5800        .15252E-03   -1.5182    
  16  Normalizat    1.4096        .26810        .41218E-03   -.80352    
  17  Prefactor     1.0512        .94925E-01    .17152E-03   -.91041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01216e-09
Minuit parameter uncertainties:
  1  1.81583
  2  3.66579
  3  2.68551e-05
  4  4.59135
  5  2.6883e-05
  6  2.5616e-06
  7  3.84362
  8  0.28325
  9  2.36028e-05
  10  5.51363e-06
  11  1.68448
  12  14.3159
  13  104.607
  14  8.46452e-06
  15  8.5815
  16  0.268367
  17  0.0949404
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  3.647e+00  3.844e+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.051e+00  9.494e-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.410e+00  2.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 237.385 2.608
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.45e-08 +/- 4.69e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 1.51e-05

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

Saving results to:
/scratch/kocevski/734480/likelihoodResults_311385601_311644801_4FGL_J1549.5+0236_daily_bin278.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) = 11281.6852534
delta logL = 0.0016441239768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11281.6847908
delta logL = 0.00210678027179

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5402       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4670       1.0000          .0000       10.000    
     3 'Normalizat'    1.4072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0517       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=   11281.68     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      207 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5412        92.657        .53707E-02    .72236E-03
   2  Index         2.4676        6.2284        .23653        .84575E-04
   3  Normalizat    1.4072        .84073E-01    .93129E-01    .28290E-04
   4  Prefactor     1.0517        .26509E-01    .39811E-01    .11700E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.5412
  Index      = 2.46757
  Normalizat = 1.40719
  Prefactor  = 1.05171
 **********
 **   18 **HESSE 
 **********

 FCN=   11281.68     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5412        4.2742        .19846E-03   -1.5332    
   2  Index         2.4676        .85394        .11347E-01   -.53110    
   3  Normalizat    1.4072        .25987        .41248E-03   -.80421    
   4  Prefactor     1.0517        .94654E-01    .17149E-03   -.91025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0889e-12
Minuit parameter uncertainties:
  1  4.27457
  2  0.859623
  3  0.260113
  4  0.0946686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/734480': 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) = 11281.6847903
delta logL = 0.00210728210368

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  3.541e+00  4.275e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  2.468e+00  8.596e-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.052e+00  9.467e-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.407e+00  2.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 237.385 2.608
Photon Index (Free Index): 2.47 +/- 0.86
Photon Flux (Free Index): 4.67e-08 +/- 5.67e-08
Energy Flux (Free Index): 1.41e-05 +/- 1.55e-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/734480/cmap_HighResolution_311385601_311644801_4FGL_J1549.5+0236_daily_bin278.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', photon_flux='4.45e-08', energy_flux2='1.41e-05', photon_flux_error='4.69e-08', dlogl='2.11e-03', energy_flux='1.43e-05', photon_flux2='4.67e-08', job_status='DONE', time_completed='2021-09-12 15:01:44.358844', photon_index_error2='0.86', photon_index2='2.47', ts='1.32', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='1.55e-05', EG='1.41', time_epoch_completed='1631484104.36', return_code='0', job_id='734480', GAL2='1.05', EG2='1.41', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='5.67e-08', ts2='1.33', photon_index='2.41' WHERE bin_id='278' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:01:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 734480: <4FGL_J1549.5+0236_daily_bin278> in cluster <slac> Done

Job <4FGL_J1549.5+0236_daily_bin278> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 14:45:30 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 14:48:01 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:48:01 2021
Terminated at Sun Sep 12 15:01:45 2021
Results reported at Sun Sep 12 15:01:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.5+0236_daily_bin278 237.385 2.6084 311385601 311644801 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 :                                   698.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            975 sec.

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

