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


Performing analysis on: 4FGL_J1549.5+0236_daily_bin171
RA = 237.385, Dec = 2.6084
tmin = 283651201, tmax = 283910401
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='734316', job_status='RUN', time_executed='2021-09-12 14:48:31.470582', time_epoch_executed='1631483311.47' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/734316

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/734316/ft1_4FGL_J1549.5+0236_daily_bin171.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/734316/ft2_4FGL_J1549.5+0236_daily_bin171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/734316/ft1_4FGL_J1549.5+0236_daily_bin171.fits outfile=/scratch/kocevski/734316/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin171.fits ra=237.385 dec=2.6084 rad=12.0 tmin=283651201.0 tmax=283910401.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.60
user 3.36
sys 0.22

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/734316/ft1_filtered_4FGL_J1549.5+0236_daily_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/734316/ft2_4FGL_J1549.5+0236_daily_bin171.fits sctable="SC_DATA" expcube=/scratch/kocevski/734316/ltcube_283651201_283910401_4FGL_J1549.5+0236_daily_bin171.fits outfile=/scratch/kocevski/734316/expmap_283651201_283910401_4FGL_J1549.5+0236_daily_bin171.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/734316/ltcube_283651201_283910401_4FGL_J1549.5+0236_daily_bin171.fits
.....................!
real 192.02
user 186.41
sys 5.22

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/734316/ft1_filtered_4FGL_J1549.5+0236_daily_bin171.fits scfile=/scratch/kocevski/734316/ft2_4FGL_J1549.5+0236_daily_bin171.fits outfile=/scratch/kocevski/734316/cmap_283651201_283910401_4FGL_J1549.5+0236_daily_bin171.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4720       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.186       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.701       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .40048       1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.504       1.0000         .10000E-03   10000.    
    10 'norm      '    19.360       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0917       1.0000         .10000E-03   10000.    
    12 'norm      '    11.748       1.0000         .10000E-03   10000.    
    13 'norm      '    73.791       1.0000         .10000E-03   10000.    
    14 'Prefactor '    54.104       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1851       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=   11967.34     FROM MIGRAD    STATUS=CONVERGED    351 CALLS     1618 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4719        1.4984       -.93924E-07   -.18548E-03
   2  norm          .10000E-03    .93653        .15407E-07** at limit **
   3  Prefactor     .10000E-03    10.843        .35751E-07** at limit **
   4  Prefactor     14.186        5.0758       -.11567E-06    .91130E-04
   5  Prefactor     10.702        24.820        .76989E-06    .14251E-04
   6  Prefactor     .10000E-03    102.03        .75090E-06** at limit **
   7  Prefactor     .39706        1.4465       -.67721E-06   -.20678E-03
   8  norm          .10000E-03    1.9506        .49817E-08** at limit **
   9  Prefactor     32.329        53.848       -.36737E-05    .91554E-05
  10  norm          19.361        10.146        .26100E-05    .16067E-04
  11  norm          2.0919        1.2981        .10390E-07    .26695E-03
  12  norm          11.748        13.716       -.11292E-04   -.28710E-04
  13  norm          73.786        89.748       -.31687E-05    .52778E-06
  14  Prefactor     54.096        60.870       -.42606E-05    .31180E-05
  15  Prefactor     .10000E-03    2.6679        .23140E-07** at limit **
  16  Normalizat    1.0594        .24194        .21005E-05    .47222E-04
  17  Prefactor     1.1852        .86754E-01    .73431E-07    .25564E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.47194
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1863
  Prefactor  = 10.7022
  Prefactor  = 0.0001
  Prefactor  = 0.397062
  norm       = 0.0001
  Prefactor  = 32.3291
  norm       = 19.3609
  norm       = 2.09194
  norm       = 11.7479
  norm       = 73.7863
  Prefactor  = 54.0961
  Prefactor  = 0.0001
  Normalizat = 1.05938
  Prefactor  = 1.18515
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.34     FROM HESSE     STATUS=OK           223 CALLS     1841 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4719        1.4986        .13080E-03   -1.5465    
   2  norm          .10000E-03    .93987        .10337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.186        5.0724        .10634E-03   -1.4954    
   5  Prefactor     10.702        24.768        .12248E-03   -1.5054    
   6  Prefactor     .10000E-03    104.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39706        5.0368        .23884E-02   -1.5582    
   8  norm          .10000E-03    1.9819        .14902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.329        53.851        .70283E-04   -1.4570    
  10  norm          19.361        10.142        .91028E-04   -1.4828    
  11  norm          2.0919        1.3000        .95009E-04   -1.5419    
  12  norm          11.748        13.748        .11688E-03   -1.5022    
  13  norm          73.786        89.777        .46739E-04   -1.3988    
  14  Prefactor     54.096        60.885        .54531E-04   -1.4236    
  15  Prefactor     .10000E-03    2.6707        .17450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0594        .26749        .47244E-03   -.91067    
  17  Prefactor     1.1852        .97048E-01    .16708E-03   -.86789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33224e-08
Minuit parameter uncertainties:
  1  1.49863
  2  8.60361e-07
  3  4.68844e-06
  4  5.07255
  5  24.7915
  6  0.000194672
  7  2.8283
  8  3.6783e-07
  9  53.9325
  10  10.1431
  11  1.29999
  12  13.7518
  13  89.9421
  14  60.9553
  15  1.63639e-06
  16  0.267833
  17  0.0970624
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  3.971e-01  2.828e+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.185e+00  9.706e-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.059e+00  2.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 237.385 2.608
Photon Flux Upper Limit: 9.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/734316/likelihoodResults_283651201_283910401_4FGL_J1549.5+0236_daily_bin171.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) = 11967.2929029
delta logL = 0.0429297824467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.2434518
delta logL = 0.0923809096639

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3883       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8571       1.0000          .0000       10.000    
     3 'Normalizat'    1.0633       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1824       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.24     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      307 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3848        3.3271        .30188E-03    .14763E-04
   2  Index         1.8554        .94976        .14200E-01    .11247E-04
   3  Normalizat    1.0632        .25706        .47169E-03    .32297E-05
   4  Prefactor     1.1824        .96505E-01    .16723E-03   -.40788E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38482
  Index      = 1.85536
  Normalizat = 1.06315
  Prefactor  = 1.18242
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.24     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3848        3.3415        .12075E-04   -1.5473    
   2  Index         1.8554        .95446        .56798E-03   -.68017    
   3  Normalizat    1.0632        .25721        .18868E-04   -.90944    
   4  Prefactor     1.1824        .96557E-01    .66894E-05   -.86874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52666e-11
Minuit parameter uncertainties:
  1  3.34198
  2  0.964324
  3  0.257508
  4  0.0965714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/734316': 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) = 11967.2434496
delta logL = 0.0923830899828

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.385e+00  3.342e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  1.855e+00  9.643e-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.182e+00  9.657e-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.063e+00  2.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 237.385 2.608

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/734316/cmap_HighResolution_283651201_283910401_4FGL_J1549.5+0236_daily_bin171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.20e-03', job_status='DONE', photon_flux_upper_limit='9.31e-08', time_completed='2021-09-12 15:00:39.660176', job_id='734316', GAL2='1.18', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631484039.66', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='9.24e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='171' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:00:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 734316: <4FGL_J1549.5+0236_daily_bin171> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.5+0236_daily_bin171 237.385 2.6084 283651201 283910401 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 :                                   724.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            924 sec.

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

