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


Performing analysis on: 4FGL_J0349.6+2410_daily_bin77
RA = 57.423, Dec = 24.1775
tmin = 259286401, tmax = 259545601
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='13429', job_status='RUN', time_executed='2021-08-19 14:51:23.238814', time_epoch_executed='1629409883.24' WHERE source_name='4FGL J0349.6+2410' and cadence='daily' and bin_id='77'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13429

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13429/ft1_4FGL_J0349.6+2410_daily_bin77.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13429/ft1_4FGL_J0349.6+2410_daily_bin77.fits outfile=/scratch/kocevski/13429/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin77.fits ra=57.423 dec=24.1775 rad=12.0 tmin=259286401.0 tmax=259545601.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 2.57
user 2.06
sys 0.50

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.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/13429/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin77.fits evtable="EVENTS" outfile="/scratch/kocevski/13429/ft1_filtered_4FGL_J0349.6+2410_daily_bin77.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.82
user 0.33
sys 0.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13429/ft1_filtered_4FGL_J0349.6+2410_daily_bin77.fits" evtable="EVENTS" scfile=/scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits sctable="SC_DATA" outfile=/scratch/kocevski/13429/ltcube_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.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/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits
.....................!
real 12.63
user 11.89
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13429/ft1_filtered_4FGL_J0349.6+2410_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/13429/ltcube_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.fits outfile=/scratch/kocevski/13429/expmap_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.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/13429/ltcube_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.fits
.....................!
real 191.28
user 185.87
sys 5.07

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J0349.6+2410 @ 57.423 24.1775

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/13429/ft1_filtered_4FGL_J0349.6+2410_daily_bin77.fits scfile=/scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits outfile=/scratch/kocevski/13429/cmap_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.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=57.423 yref=24.1775 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.86
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13429/ft1_filtered_4FGL_J0349.6+2410_daily_bin77.fits scfile=/scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits outfile=/scratch/kocevski/13429/cmap_HighResolution_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.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=57.423 yref=24.1775 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.87
user 0.37
sys 0.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/13429/ft1_filtered_4FGL_J0349.6+2410_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/13429/Model_4FGL_J0349.6+2410_daily_bin77.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/13429/ft1_filtered_4FGL_J0349.6+2410_daily_bin77.fits.....................!
real 252.61
user 250.49
sys 1.71

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/13429/ft1_filtered_4FGL_J0349.6+2410_daily_bin77.fits', '/scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits', expMap='/scratch/kocevski/13429/expmap_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.fits', expCube='/scratch/kocevski/13429/ltcube_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/13429/Model_4FGL_J0349.6+2410_daily_bin77.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0349.6+2410'

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  7.855e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  2.734e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  4.428e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  7.904e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/13429/ft1_filtered_4FGL_J0349.6+2410_daily_bin77.fits
Spacecraft file(s): /scratch/kocevski/13429/ft2_4FGL_J0349.6+2410_daily_bin77.fits
Exposure map: /scratch/kocevski/13429/expmap_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.fits
Exposure cube: /scratch/kocevski/13429/ltcube_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/13429/Model_4FGL_J0349.6+2410_daily_bin77.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) = 14763.6187983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23332E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7642       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11593E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.0074       1.0000         .10000E-03   10000.    
     6 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.9984       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2373       1.0000         .10000E-03   10000.    
     9 'norm      '    92.812       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1082       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2763       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .96907       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+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=   14763.61     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     1752 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    54.217        .50000    ** at limit **
   2  Prefactor     .10000E-03    1.6039        .15001E-02** at limit **
   3  Prefactor     3.7643        8.2757        .20809E-03   -.25131E-05
   4  Prefactor     .10000E-03    7.0341        .17028E-02** at limit **
   5  norm          1.0077        1.7532        .20175E-03    .41586E-04
   6  norm          .10000E-03    3.0106        .18142E-02** at limit **
   7  norm          3.0024        2.1942        .14586E-03   -.98052E-04
   8  norm          1.2390        3.4728        .37650E-03   -.30015E-04
   9  norm          92.818        57.767        .41715E-04   -.23002E-04
  10  Prefactor     .10000E-03    6.1944        .18142E-02** at limit **
  11  Prefactor     .10000E-03    11.368        .18142E-02** at limit **
  12  Prefactor     3.1105        16.203        .23000E-03   -.93915E-05
  13  norm          1.2514        23.517        .39328E-03    .87879E-05
  14  Normalizat    .96895        .25174        .57296E-03   -.69249E-04
  15  Prefactor     1.0348        .59600E-01    .13345E-03    .11927E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.7643
  Prefactor  = 0.0001
  norm       = 1.00768
  norm       = 0.0001
  norm       = 3.00237
  norm       = 1.23904
  norm       = 92.8182
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.11049
  norm       = 1.25144
  Normalizat = 0.968951
  Prefactor  = 1.03475
 **********
 **   18 **HESSE 
 **********

 FCN=   14763.61     FROM HESSE     STATUS=OK           174 CALLS     1926 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.216        .50000       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6041        .30003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.7643        8.2755        .83236E-05   -1.5320    
   4  Prefactor     .10000E-03    7.1535        .34056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0077        1.7528        .80701E-05   -1.5507    
   6  norm          .10000E-03    3.0106        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.0024        2.1922        .58344E-05   -1.5361    
   8  norm          1.2390        3.4727        .15060E-04   -1.5485    
   9  norm          92.818        57.767        .83429E-05   -1.3778    
  10  Prefactor     .10000E-03    6.1945        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.368        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1105        16.200        .92000E-05   -1.5355    
  13  norm          1.2514        23.511        .15731E-04   -1.5484    
  14  Normalizat    .96895        .25172        .22918E-04   -.94078    
  15  Prefactor     1.0348        .59606E-01    .53380E-05   -.91580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2537e-11
Minuit parameter uncertainties:
  1  0.000519016
  2  6.45789e-07
  3  8.27802
  4  1.06911e-05
  5  1.75287
  6  1.33662e-06
  7  2.19221
  8  3.47324
  9  57.8018
  10  6.324e-06
  11  8.9513e-06
  12  14.2028
  13  10.8531
  14  0.252025
  15  0.0596101
Done.

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

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  9.282e+01  5.780e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  2.734e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  4.428e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  7.904e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.035e+00  5.961e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.690e-01  2.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.12
Ra Dec: 57.423 24.177
Photon Index (Fixed Index): 2.73 +/- 0.00
Photon Flux (Fixed Index): 5.77e-08 +/- 3.59e-08
Energy Flux (Fixed Index): 1.84e-05 +/- 1.14e-05

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) = 14763.6117788
delta logL = 0.00225750459867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14763.6101265
delta logL = 0.00390981153032

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    88.799       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8120       1.0000          .0000       5.0000    
     3 'Normalizat'    .96516       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+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=   14763.61     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      283 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          88.799        80.277        .42638E-04   -.99826E-04
   2  alpha         2.8120        .94883        .24197E-01   -.26274E-04
   3  Normalizat    .96520        .24841        .57396E-03    .21749E-03
   4  Prefactor     1.0352        .59060E-01    .13342E-03    .62713E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 88.7988
  alpha      = 2.81195
  Normalizat = 0.965199
  Prefactor  = 1.03523
 **********
 **   18 **HESSE 
 **********

 FCN=   14763.61     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          88.799        73.070        .85277E-05   -1.3821    
   2  alpha         2.8120        .86633        .96786E-03    .12511    
   3  Normalizat    .96520        .24782        .22958E-04   -.94206    
   4  Prefactor     1.0352        .59012E-01    .53369E-05   -.91564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37236e-10
Minuit parameter uncertainties:
  1  73.1443
  2  0.884984
  3  0.248117
  4  0.0590162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13429': 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) = 14763.6101265
delta logL = 0.00390981878445

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  8.880e+01  7.314e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  2.812e+00  8.850e-01  0.000e+00  5.000e+00 ( 1.000e+00)
277         beta:  4.428e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  7.904e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.035e+00  5.902e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.652e-01  2.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.13
Ra Dec: 57.423 24.177
Photon Index (Free Index): 2.81 +/- 0.88
Photon Flux (Free Index): 6.06e-08 +/- 4.93e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.14e-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/13429/cmap_HighResolution_259286401_259545601_4FGL_J0349.6+2410_daily_bin77.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.77e-08', energy_flux2='1.84e-05', photon_flux_error='3.59e-08', dlogl='3.91e-03', energy_flux='1.84e-05', photon_flux2='6.06e-08', job_status='DONE', time_completed='2021-08-19 15:06:12.379715', photon_index_error2='0.88', photon_index2='2.81', ts='4.12', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.14e-05', EG='0.97', time_epoch_completed='1629410772.38', return_code='0', job_id='13429', GAL2='1.04', EG2='0.97', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='4.93e-08', ts2='4.13', photon_index='2.73' WHERE bin_id='77' AND source_name='4FGL J0349.6+2410' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 15:06:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 13429: <4FGL_J0349.6+2410_daily_bin77> in cluster <slac> Done

Job <4FGL_J0349.6+2410_daily_bin77> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 19 14:50:46 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 14:50:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 19 14:50:48 2021
Terminated at Thu Aug 19 15:06:13 2021
Results reported at Thu Aug 19 15:06:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0349.6+2410_daily_bin77 57.423 24.1775 259286401 259545601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0349.6+2410 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   891.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             384.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            927 sec.

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

