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


Performing analysis on: 4FGL_J0534.0+3746c_daily_bin1308
RA = 83.5139, Dec = 37.7713
tmin = 578361601, tmax = 578620801
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='589587', job_status='RUN', time_executed='2021-08-23 08:05:58.765020', time_epoch_executed='1629731158.77' WHERE source_name='4FGL J0534.0+3746c' and cadence='daily' and bin_id='1308'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589587

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589587/ft1_4FGL_J0534.0+3746c_daily_bin1308.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589587/ft1_4FGL_J0534.0+3746c_daily_bin1308.fits outfile=/scratch/kocevski/589587/ft1_filteredMKT_4FGL_J0534.0+3746c_daily_bin1308.fits ra=83.5139 dec=37.7713 rad=12.0 tmin=578361601.0 tmax=578620801.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.99
user 3.41
sys 0.55

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.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/589587/ft1_filteredMKT_4FGL_J0534.0+3746c_daily_bin1308.fits evtable="EVENTS" outfile="/scratch/kocevski/589587/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1308.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.85
user 0.31
sys 0.53

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/589587/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1308.fits" evtable="EVENTS" scfile=/scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits sctable="SC_DATA" outfile=/scratch/kocevski/589587/ltcube_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.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/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits
.....................!
real 12.40
user 11.57
sys 0.78

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589587/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1308.fits evtable="EVENTS" scfile=/scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits sctable="SC_DATA" expcube=/scratch/kocevski/589587/ltcube_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.fits outfile=/scratch/kocevski/589587/expmap_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.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/589587/ltcube_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.fits
.....................!
real 190.82
user 185.50
sys 4.96

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 HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 158 point sources and 4 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 J0534.0+3746c @ 83.5139 37.7713

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/589587/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1308.fits scfile=/scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits outfile=/scratch/kocevski/589587/cmap_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.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=83.5139 yref=37.7713 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.90
user 0.35
sys 0.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589587/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1308.fits scfile=/scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits outfile=/scratch/kocevski/589587/cmap_HighResolution_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.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=83.5139 yref=37.7713 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.89
user 0.40
sys 0.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/589587/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1308.fits evtable="EVENTS" scfile=/scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/589587/Model_4FGL_J0534.0+3746c_daily_bin1308.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source IC 443
adding source S 147
Working on...
/scratch/kocevski/589587/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1308.fits.....................!
real 612.51
user 609.80
sys 1.71

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/589587/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1308.fits', '/scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits', expMap='/scratch/kocevski/589587/expmap_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.fits', expCube='/scratch/kocevski/589587/ltcube_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/589587/Model_4FGL_J0534.0+3746c_daily_bin1308.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0534.0+3746c'

4FGL J0534.0+3746c
   Spectrum: PowerLaw
247    Prefactor:  3.741e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  5.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/589587/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1308.fits
Spacecraft file(s): /scratch/kocevski/589587/ft2_4FGL_J0534.0+3746c_daily_bin1308.fits
Exposure map: /scratch/kocevski/589587/expmap_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.fits
Exposure cube: /scratch/kocevski/589587/ltcube_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/589587/Model_4FGL_J0534.0+3746c_daily_bin1308.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) = 24528.1740446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.3844       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0624       1.0000         .10000E-03   10000.    
     4 'Prefactor '    40.323       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4845       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.3945       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.3013       1.0000         .10000E-03   10000.    
     9 'norm      '    5.0602       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.087       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .62590       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0330       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24528.17     FROM MIGRAD    STATUS=CONVERGED    211 CALLS     1050 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3291        .14060E-06** at limit **
   2  norm          8.3852        5.9221        .46636E-06   -.38448E-03
   3  Prefactor     1.0575        11.835       -.12700E-04   -.32329E-03
   4  Prefactor     40.326        37.861        .43843E-05   -.24564E-03
   5  norm          2.4848        1.0714        .47882E-07    .14422E-03
   6  Prefactor     9.3967        14.823        .54930E-05   -.44974E-03
   7  norm          .10000E-03    .39643       -.16474E-07** at limit **
   8  norm          2.3045        2.8505       -.21533E-05   -.57680E-03
   9  norm          5.0607        2.5698       -.63993E-06    .12129E-02
  10  norm          .10000E-03    2.0152       -.31791E-06** at limit **
  11  Prefactor     11.088        9.0727        .24971E-05   -.62281E-03
  12  Normalizat    .62539        .34640       -.34310E-05   -.13623E-03
  13  Prefactor     1.0330        .44323E-01    .22782E-06    .88859E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 8.38523
  Prefactor  = 1.0575
  Prefactor  = 40.3258
  norm       = 2.48478
  Prefactor  = 9.39666
  norm       = 0.0001
  norm       = 2.30453
  norm       = 5.06065
  norm       = 0.0001
  Prefactor  = 11.0885
  Normalizat = 0.625391
  Prefactor  = 1.03301
 **********
 **   18 **HESSE 
 **********

 FCN=   24528.17     FROM HESSE     STATUS=OK           147 CALLS     1197 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.3852        5.9084        .13845E-03   -1.5129    
   3  Prefactor     1.0575        14.171        .47462E-03   -1.5502    
   4  Prefactor     40.326        37.628        .63124E-04   -1.4437    
   5  norm          2.4848        1.0639        .25935E-04   -1.5393    
   6  Prefactor     9.3967        14.590        .13075E-03   -1.5095    
   7  norm          .10000E-03    .39860        .96244E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3045        2.8885        .27052E-03   -1.5404    
   9  norm          5.0607        2.5514        .17266E-03   -1.5258    
  10  norm          .10000E-03    2.0342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.088        8.9907        .12032E-03   -1.5042    
  12  Normalizat    .62539        .29612        .11384E-02   -1.0692    
  13  Prefactor     1.0330        .39234E-01    .11981E-03   -.91637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57688e-09
Minuit parameter uncertainties:
  1  4.62205e-06
  2  5.90886
  3  7.74422
  4  37.6502
  5  1.06392
  6  14.596
  7  1.86849e-07
  8  2.88867
  9  2.55142
  10  1.16861e-05
  11  8.99183
  12  0.296871
  13  0.0392348
Done.

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

Extracting fit parameters...

4FGL J0534.0+3746c
   Spectrum: PowerLaw
247    Prefactor:  9.397e+00  1.460e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  5.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.033e+00  3.923e-02  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.254e-01  2.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 83.514 37.771
Photon Flux Upper Limit: 2.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.66e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/589587/likelihoodResults_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.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) = 24527.2078206
delta logL = 0.965653453597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24527.0708852
delta logL = 1.10258884887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3000       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3180       1.0000          .0000       10.000    
     3 'Normalizat'    .64645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0333       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24527.07     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      228 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3000        3.6250        .55717E-02    .21909E-02
   2  Index         1.3180        .27207        .32303       -.24131E-03
   3  Normalizat    .64645        .32501        .25230        .16164E-03
   4  Prefactor     1.0333        .43424E-01    .27101E-01   -.51602E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.30002
  Index      = 1.31799
  Normalizat = 0.646449
  Prefactor  = 1.03326
 **********
 **   18 **HESSE 
 **********

 FCN=   24527.07     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3000        6.3436        .22287E-03   -1.5345    
   2  Index         1.3180        .64212        .12279E-01   -.82774    
   3  Normalizat    .64645        .28706        .11220E-02   -1.0605    
   4  Prefactor     1.0333        .38595E-01    .11978E-03   -.91629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57508e-08
Minuit parameter uncertainties:
  1  6.3449
  2  0.646041
  3  0.287726
  4  0.0385964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589587': 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) = 24527.0708852
delta logL = 1.102588851

Extracting fit parameters...

4FGL J0534.0+3746c
   Spectrum: PowerLaw
247    Prefactor:  3.300e+00  6.345e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  1.318e+00  6.460e-01  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  5.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.033e+00  3.860e-02  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.464e-01  2.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.67
Ra Dec: 83.514 37.771
Photon Index (Free Index): 1.32 +/- 0.65
Photon Flux (Free Index): 8.05e-09 +/- 1.29e-08
Energy Flux (Free Index): 4.65e-05 +/- 6.64e-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/589587/cmap_HighResolution_578361601_578620801_4FGL_J0534.0+3746c_daily_bin1308.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-02', comment='SUCCESS', energy_flux2='4.65e-05', dlogl='1.10e+00', photon_flux2='8.05e-09', job_status='DONE', time_completed='2021-08-23 08:29:49.704552', photon_index_error2='0.65', photon_index2='1.32', ts='0.47', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='2.10e-07', energy_flux_error2='6.64e-05', EG='0.63', time_epoch_completed='1629732589.7', return_code='0', job_id='589587', GAL2='1.03', EG2='0.65', return_code2='0', photon_flux_error2='1.29e-08', ts2='2.67', photon_index='2.76' WHERE bin_id='1308' AND source_name='4FGL J0534.0+3746c' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 23 08:29:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 589587: <4FGL_J0534.0+3746c_daily_bin1308> in cluster <slac> Done

Job <4FGL_J0534.0+3746c_daily_bin1308> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug 23 08:05:37 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 23 08:05:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 23 08:05:39 2021
Terminated at Mon Aug 23 08:29:50 2021
Results reported at Mon Aug 23 08:29:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0534.0+3746c_daily_bin1308 83.5139 37.7713 578361601 578620801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0534.0+3746c fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1428.31 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             463.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1451 sec.
    Turnaround time :                            1453 sec.

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

