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


Performing analysis on: 4FGL_J0534.0+3746c_daily_bin1030
RA = 83.5139, Dec = 37.7713
tmin = 506304001, tmax = 506563201
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='588082', job_status='RUN', time_executed='2021-08-23 08:00:44.130872', time_epoch_executed='1629730844.13' WHERE source_name='4FGL J0534.0+3746c' and cadence='daily' and bin_id='1030'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588082

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588082/ft1_4FGL_J0534.0+3746c_daily_bin1030.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588082/ft1_4FGL_J0534.0+3746c_daily_bin1030.fits outfile=/scratch/kocevski/588082/ft1_filteredMKT_4FGL_J0534.0+3746c_daily_bin1030.fits ra=83.5139 dec=37.7713 rad=12.0 tmin=506304001.0 tmax=506563201.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.50
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.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/588082/ft1_filteredMKT_4FGL_J0534.0+3746c_daily_bin1030.fits evtable="EVENTS" outfile="/scratch/kocevski/588082/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1030.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.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588082/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1030.fits" evtable="EVENTS" scfile=/scratch/kocevski/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.fits sctable="SC_DATA" outfile=/scratch/kocevski/588082/ltcube_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.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/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.fits
.....................!
real 12.92
user 12.25
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588082/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1030.fits evtable="EVENTS" scfile=/scratch/kocevski/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.fits sctable="SC_DATA" expcube=/scratch/kocevski/588082/ltcube_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.fits outfile=/scratch/kocevski/588082/expmap_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.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/588082/ltcube_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.fits
.....................!
real 192.58
user 186.39
sys 5.12

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/588082/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1030.fits scfile=/scratch/kocevski/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.fits outfile=/scratch/kocevski/588082/cmap_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588082/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1030.fits scfile=/scratch/kocevski/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.fits outfile=/scratch/kocevski/588082/cmap_HighResolution_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588082/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1030.fits evtable="EVENTS" scfile=/scratch/kocevski/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588082/Model_4FGL_J0534.0+3746c_daily_bin1030.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/588082/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1030.fits.....................!
real 676.75
user 669.66
sys 4.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/588082/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1030.fits', '/scratch/kocevski/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.fits', expMap='/scratch/kocevski/588082/expmap_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.fits', expCube='/scratch/kocevski/588082/ltcube_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/588082/Model_4FGL_J0534.0+3746c_daily_bin1030.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/588082/ft1_filtered_4FGL_J0534.0+3746c_daily_bin1030.fits
Spacecraft file(s): /scratch/kocevski/588082/ft2_4FGL_J0534.0+3746c_daily_bin1030.fits
Exposure map: /scratch/kocevski/588082/expmap_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.fits
Exposure cube: /scratch/kocevski/588082/ltcube_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/588082/Model_4FGL_J0534.0+3746c_daily_bin1030.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) = 26166.0622799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2506       1.0000         .10000E-03   10000.    
     2 'norm      '    .11077E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10749E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.170       1.0000         .10000E-03   10000.    
     5 'norm      '    .55944       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.504       1.0000         .10000E-03   10000.    
     7 'norm      '    1.9681       1.0000         .10000E-03   10000.    
     8 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .12872E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3382       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.2272       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2365       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .98377       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26166.06     FROM MIGRAD    STATUS=CONVERGED    261 CALLS     1148 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2497        4.5332         .0000        .51442E-03
   2  norm          .10000E-03    3.9882         .0000    ** at limit **
   3  Prefactor     .10000E-03    4.1394         .0000    ** at limit **
   4  Prefactor     19.275        30.109         .0000        .10777E-04
   5  norm          .55876        .92753         .0000        .59307E-02
   6  Prefactor     12.354        15.962         .0000        .98025E-03
   7  norm          1.9775        2.2163         .0000        .32465E-02
   8  norm          .10000E-03    1.5591         .0000    ** at limit **
   9  norm          .10000E-03    2.9034         .0000    ** at limit **
  10  norm          2.3230        5.4338         .0000        .19339E-01
  11  Prefactor     8.2235        6.5496         .0000       -.21226E-04
  12  Normalizat    1.2367        .29620         .0000        .10595E-03
  13  Prefactor     .98379        .36340E-01     .0000       -.11046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.24967
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.2746
  norm       = 0.558762
  Prefactor  = 12.3536
  norm       = 1.97747
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.32296
  Prefactor  = 8.22355
  Normalizat = 1.23671
  Prefactor  = 0.983785
 **********
 **   18 **HESSE 
 **********

 FCN=   26166.06     FROM HESSE     STATUS=OK           149 CALLS     1297 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2497        4.5222        .22464E-03   -1.5347    
   2  norm          .10000E-03    4.1233        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.1467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.275        30.110        .91478E-04   -1.4830    
   5  norm          .55876        .90296        .18996E-03   -1.5558    
   6  Prefactor     12.354        15.927        .56641E-03   -1.5005    
   7  norm          1.9775        2.1954        .23787E-03   -1.5427    
   8  norm          .10000E-03    1.6248        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.0394        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3230        5.4230        .13407E-02   -1.5403    
  11  Prefactor     8.2235        6.5527        .13977E-03   -1.5134    
  12  Normalizat    1.2367        .29612        .85006E-03   -.85476    
  13  Prefactor     .98379        .37396E-01    .12153E-03   -.93272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99976e-12
Minuit parameter uncertainties:
  1  4.52264
  2  3.79063e-06
  3  3.8474e-06
  4  30.1341
  5  0.902983
  6  15.932
  7  2.19549
  8  1.30083e-06
  9  2.53044e-06
  10  5.42411
  11  6.55323
  12  0.296526
  13  0.0373968
Done.

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

Extracting fit parameters...

4FGL J0534.0+3746c
   Spectrum: PowerLaw
247    Prefactor:  1.235e+01  1.593e+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:  9.838e-01  3.740e-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:  1.237e+00  2.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/588082/likelihoodResults_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.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) = 26165.9663112
delta logL = 0.0954202695248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26165.9353186
delta logL = 0.126412837457

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3511       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3699       1.0000          .0000       10.000    
     3 'Normalizat'    1.2121       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98545       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26165.94     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      275 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3503        24.450        .13872E-03   -.56841E-03
   2  Index         3.3700        2.1724        .95792E-02   -.26621E-03
   3  Normalizat    1.2122        .29165        .85722E-03   -.34339E-03
   4  Prefactor     .98545        .37695E-01    .12143E-03   -.20906E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.35028
  Index      = 3.37005
  Normalizat = 1.21215
  Prefactor  = 0.985449
 **********
 **   18 **HESSE 
 **********

 FCN=   26165.94     FROM HESSE     STATUS=OK            23 CALLS      298 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3503        16.874        .55490E-05   -1.5130    
   2  Index         3.3700        1.5265        .38317E-03   -.33206    
   3  Normalizat    1.2122        .28976        .34289E-04   -.86228    
   4  Prefactor     .98545        .37309E-01    .24286E-04   -.93216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43828e-09
Minuit parameter uncertainties:
  1  16.8833
  2  1.55434
  3  0.290141
  4  0.0373101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588082': 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) = 26165.9353186
delta logL = 0.126412853871

Extracting fit parameters...

4FGL J0534.0+3746c
   Spectrum: PowerLaw
247    Prefactor:  8.350e+00  1.688e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.370e+00  1.554e+00  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:  9.854e-01  3.731e-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:  1.212e+00  2.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.67
Ra Dec: 83.514 37.771

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/588082/cmap_HighResolution_506304001_506563201_4FGL_J0534.0+3746c_daily_bin1030.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-02', job_status='DONE', photon_flux_upper_limit='2.29e-07', time_completed='2021-08-23 08:27:15.553008', job_id='588082', GAL2='0.99', fit_tolerance='1e-08', EG2='1.21', EG='1.24', time_epoch_completed='1629732435.55', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.26e-01', ts2='0.94', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1030' AND source_name='4FGL J0534.0+3746c' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 23 08:27:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 588082: <4FGL_J0534.0+3746c_daily_bin1030> in cluster <slac> Done

Job <4FGL_J0534.0+3746c_daily_bin1030> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug 23 08:00:30 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 23 08:00:33 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:00:33 2021
Terminated at Mon Aug 23 08:27:19 2021
Results reported at Mon Aug 23 08:27:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0534.0+3746c_daily_bin1030 83.5139 37.7713 506304001 506563201 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 :                                   1581.40 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             434.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1602 sec.
    Turnaround time :                            1609 sec.

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

