/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 120 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 = 7398
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0552.8+0313_daily_bin1514
RA = 88.218, Dec = 3.2322
tmin = 631756801, tmax = 632016001
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='877139', job_status='RUN', time_executed='2021-08-23 23:55:25.789436', time_epoch_executed='1629788125.79' WHERE source_name='4FGL J0552.8+0313' and cadence='daily' and bin_id='1514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877139

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877139/ft1_4FGL_J0552.8+0313_daily_bin1514.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877139/ft1_4FGL_J0552.8+0313_daily_bin1514.fits outfile=/scratch/kocevski/877139/ft1_filteredMKT_4FGL_J0552.8+0313_daily_bin1514.fits ra=88.218 dec=3.2322 rad=12.0 tmin=631756801.0 tmax=632016001.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 10.89
user 2.23
sys 8.49

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.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/877139/ft1_filteredMKT_4FGL_J0552.8+0313_daily_bin1514.fits evtable="EVENTS" outfile="/scratch/kocevski/877139/ft1_filtered_4FGL_J0552.8+0313_daily_bin1514.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 8.93
user 0.36
sys 8.27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877139/ft1_filtered_4FGL_J0552.8+0313_daily_bin1514.fits" evtable="EVENTS" scfile=/scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits sctable="SC_DATA" outfile=/scratch/kocevski/877139/ltcube_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.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/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits
.....................!
real 25.39
user 15.13
sys 9.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877139/ft1_filtered_4FGL_J0552.8+0313_daily_bin1514.fits evtable="EVENTS" scfile=/scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits sctable="SC_DATA" expcube=/scratch/kocevski/877139/ltcube_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.fits outfile=/scratch/kocevski/877139/expmap_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.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/877139/ltcube_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.fits
.....................!
real 203.47
user 186.02
sys 15.54

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 150 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0552.8+0313 @ 88.218 3.2322

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/877139/ft1_filtered_4FGL_J0552.8+0313_daily_bin1514.fits scfile=/scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits outfile=/scratch/kocevski/877139/cmap_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.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=88.218 yref=3.2322 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 9.00
user 0.40
sys 8.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877139/ft1_filtered_4FGL_J0552.8+0313_daily_bin1514.fits scfile=/scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits outfile=/scratch/kocevski/877139/cmap_HighResolution_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.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=88.218 yref=3.2322 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 9.32
user 0.40
sys 8.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877139/ft1_filtered_4FGL_J0552.8+0313_daily_bin1514.fits evtable="EVENTS" scfile=/scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877139/Model_4FGL_J0552.8+0313_daily_bin1514.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
adding source IC 443
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/877139/ft1_filtered_4FGL_J0552.8+0313_daily_bin1514.fits.....................!
real 108.74
user 93.08
sys 13.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/877139/ft1_filtered_4FGL_J0552.8+0313_daily_bin1514.fits', '/scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits', expMap='/scratch/kocevski/877139/expmap_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.fits', expCube='/scratch/kocevski/877139/ltcube_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/877139/Model_4FGL_J0552.8+0313_daily_bin1514.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0552.8+0313'

4FGL J0552.8+0313
   Spectrum: LogParabola
254         norm:  3.813e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
255        alpha:  2.535e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  2.793e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/877139/ft1_filtered_4FGL_J0552.8+0313_daily_bin1514.fits
Spacecraft file(s): /scratch/kocevski/877139/ft2_4FGL_J0552.8+0313_daily_bin1514.fits
Exposure map: /scratch/kocevski/877139/expmap_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.fits
Exposure cube: /scratch/kocevski/877139/ltcube_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/877139/Model_4FGL_J0552.8+0313_daily_bin1514.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) = 4272.14843233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0328       1.0000         .10000E-03   10000.    
     2 'norm      '    6.8827       1.0000         .10000E-03   10000.    
     3 'Prefactor '    57.112       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10589E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .12596E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4891       1.0000         .10000E-03   10000.    
     7 'Prefactor '    115.11       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2378       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13778E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    17.464       1.0000         .10000E-03   10000.    
    11 'norm      '    24.044       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0679       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4272.049     FROM MIGRAD    STATUS=CONVERGED     47 CALLS     1395 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0296        2.2325        .19118E-06    .47448E-03
   2  norm          6.8956        1.2825        .90180E-06   -.19510E-02
   3  Prefactor     57.108        1.1633       -.22035E-06    .46001E-02
   4  Prefactor     .10000E-03    18.658       -.25968E-05** at limit **
   5  norm          .10001E-03    27.470        .29927E-05** at limit **
   6  norm          2.4891        4.6493       -.13373E-04   -.19615E-02
   7  Prefactor     115.10        1.1044       -.14469E-06    .41158E-02
   8  Prefactor     2.2207        2.6823       -.47981E-05    .35796E-02
   9  Prefactor     .10071E-03    78.971       -.56649E-05** at limit **
  10  norm          17.445        2.5888       -.14300E-05    .88863E-02
  11  norm          24.029        1.7449       -.16327E-06    .54097E-03
  12  Normalizat    .10000E-01    1.1587        .19415E-04** at limit **
  13  Prefactor     1.0680        .62639E-01    .22571E-05    .82667E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.02965
  norm       = 6.89555
  Prefactor  = 57.1075
  Prefactor  = 0.000100003
  norm       = 0.000100014
  norm       = 2.48911
  Prefactor  = 115.103
  Prefactor  = 2.22071
  Prefactor  = 0.000100711
  norm       = 17.4452
  norm       = 24.0292
  Normalizat = 0.01
  Prefactor  = 1.06798
 **********
 **   18 **HESSE 
 **********

 FCN=   4272.049     FROM HESSE     STATUS=OK           177 CALLS     1572 TOTAL
                     EDM=   .12E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0296        2.7727        .12449E-01   -1.5505    
   2  norm          6.8956        10.106        .38232E-02   -1.5183    
   3  Prefactor     57.108        88.437        .13271E-02   -1.4195    
   4  Prefactor     .10000E-03    18.583        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10001E-03    27.494        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4891        7.2925        .64772E-02   -1.5392    
   7  Prefactor     115.10        656.21        .93750E-03   -1.3558    
   8  Prefactor     2.2207        9762.8        .68692E-02   -1.5410    
   9  Prefactor     .10071E-03    78.985        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.445        98.854        .23960E-02   -1.4872    
  11  norm          24.029        29.675        .20423E-02   -1.4727    
  12  Normalizat    .10000E-01    .40210        .50000       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0680        .81474E-01    .28804E-01   -.90497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000121892
Minuit parameter uncertainties:
  1  2.77302
  2  10.1081
  3  88.6408
  4  0.000490344
  5  0.00122792
  6  7.29507
  7  559.27
  8  537.811
  9  0.0150068
  10  83.2652
  11  29.693
  12  5.46577e-05
  13  0.0814836
Done.

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

Extracting fit parameters...

4FGL J0552.8+0313
   Spectrum: LogParabola
254         norm:  1.745e+01  8.327e+01  1.000e-04  1.000e+04 ( 1.000e-13)
255        alpha:  2.535e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  2.793e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.068e+00  8.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  1.000e-02  5.466e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 88.218 3.232
Photon Flux Upper Limit: 4.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.93e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877139/likelihoodResults_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.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) = 4271.95255896
delta logL = 0.095942297713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4271.92990779
delta logL = 0.118593467002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    31.359       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4628       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0687       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4271.930     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      268 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.332        69.157        .71551E-04   -.46014E-04
   2  alpha         1.4612        1.6366        .45870E-01    .37752E-05
   3  Normalizat    .10000E-01    1.2232        .19233E-01** at limit **
   4  Prefactor     1.0686        .61940E-01    .12726E-03    .81062E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 31.3318
  alpha      = 1.4612
  Normalizat = 0.01
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   4271.930     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.332        70.664        .14310E-04   -1.4588    
   2  alpha         1.4612        1.6649        .18348E-02   -.42851    
   3  Normalizat    .10000E-01    1.2267        .38466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0686        .61809E-01    .25452E-04   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53521e-10
Minuit parameter uncertainties:
  1  70.8539
  2  1.86808
  3  1.65059e-05
  4  0.0618131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877139': 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) = 4271.92990607
delta logL = 0.118595182257

Extracting fit parameters...

4FGL J0552.8+0313
   Spectrum: LogParabola
254         norm:  3.133e+01  7.085e+01  1.000e-04  1.000e+04 ( 1.000e-13)
255        alpha:  1.461e+00  1.868e+00  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  2.793e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.069e+00  6.181e-02  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  1.000e-02  1.651e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 88.218 3.232

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/877139/cmap_HighResolution_631756801_632016001_4FGL_J0552.8+0313_daily_bin1514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-04', job_status='DONE', photon_flux_upper_limit='4.31e-07', time_completed='2021-08-24 00:05:47.961426', job_id='877139', GAL2='1.07', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629788747.96', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.19e-01', ts2='0.32', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1514' AND source_name='4FGL J0552.8+0313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 00:05:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 877139: <4FGL_J0552.8+0313_daily_bin1514> in cluster <slac> Done

Job <4FGL_J0552.8+0313_daily_bin1514> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Aug 23 23:50:28 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 23 23:50:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 23 23:50:29 2021
Terminated at Tue Aug 24 00:05:50 2021
Results reported at Tue Aug 24 00:05:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0552.8+0313_daily_bin1514 88.218 3.2322 631756801 632016001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0552.8+0313 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   747.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            922 sec.

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

