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


Performing analysis on: 4FGL_J0349.6+2410_daily_bin702
RA = 57.423, Dec = 24.1775
tmin = 421286401, tmax = 421545601
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='19883', job_status='RUN', time_executed='2021-08-19 15:16:27.032261', time_epoch_executed='1629411387.03' WHERE source_name='4FGL J0349.6+2410' and cadence='daily' and bin_id='702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19883

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19883/ft1_4FGL_J0349.6+2410_daily_bin702.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19883/ft2_4FGL_J0349.6+2410_daily_bin702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19883/ft1_4FGL_J0349.6+2410_daily_bin702.fits outfile=/scratch/kocevski/19883/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin702.fits ra=57.423 dec=24.1775 rad=12.0 tmin=421286401.0 tmax=421545601.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 6.65
user 3.42
sys 3.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/19883/ft2_4FGL_J0349.6+2410_daily_bin702.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/19883/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin702.fits evtable="EVENTS" outfile="/scratch/kocevski/19883/ft1_filtered_4FGL_J0349.6+2410_daily_bin702.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 3.51
user 0.31
sys 3.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/19883/ft1_filtered_4FGL_J0349.6+2410_daily_bin702.fits" evtable="EVENTS" scfile=/scratch/kocevski/19883/ft2_4FGL_J0349.6+2410_daily_bin702.fits sctable="SC_DATA" outfile=/scratch/kocevski/19883/ltcube_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.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/19883/ft2_4FGL_J0349.6+2410_daily_bin702.fits
.....................!
real 15.45
user 11.73
sys 3.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19883/ft1_filtered_4FGL_J0349.6+2410_daily_bin702.fits evtable="EVENTS" scfile=/scratch/kocevski/19883/ft2_4FGL_J0349.6+2410_daily_bin702.fits sctable="SC_DATA" expcube=/scratch/kocevski/19883/ltcube_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.fits outfile=/scratch/kocevski/19883/expmap_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.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/19883/ltcube_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.fits
.....................!
real 195.24
user 186.03
sys 8.88

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/19883/ft1_filtered_4FGL_J0349.6+2410_daily_bin702.fits scfile=/scratch/kocevski/19883/ft2_4FGL_J0349.6+2410_daily_bin702.fits outfile=/scratch/kocevski/19883/cmap_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.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 3.49
user 0.37
sys 3.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19883/ft1_filtered_4FGL_J0349.6+2410_daily_bin702.fits scfile=/scratch/kocevski/19883/ft2_4FGL_J0349.6+2410_daily_bin702.fits outfile=/scratch/kocevski/19883/cmap_HighResolution_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.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 3.47
user 0.38
sys 3.08

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/19883/ft1_filtered_4FGL_J0349.6+2410_daily_bin702.fits', '/scratch/kocevski/19883/ft2_4FGL_J0349.6+2410_daily_bin702.fits', expMap='/scratch/kocevski/19883/expmap_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.fits', expCube='/scratch/kocevski/19883/ltcube_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/19883/Model_4FGL_J0349.6+2410_daily_bin702.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/19883/ft1_filtered_4FGL_J0349.6+2410_daily_bin702.fits
Spacecraft file(s): /scratch/kocevski/19883/ft2_4FGL_J0349.6+2410_daily_bin702.fits
Exposure map: /scratch/kocevski/19883/expmap_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.fits
Exposure cube: /scratch/kocevski/19883/ltcube_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/19883/Model_4FGL_J0349.6+2410_daily_bin702.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) = 13984.6466844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    173.54       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6955       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1477       1.0000         .10000E-03   10000.    
     5 'norm      '    7.2346       1.0000         .10000E-03   10000.    
     6 'norm      '    17.749       1.0000         .10000E-03   10000.    
     7 'norm      '    7.4945       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    63.614       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .26512E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9067       1.0000         .10000E-03   10000.    
    13 'norm      '    14.546       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .90447       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0434       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.

 FCN=   13984.64     FROM MIGRAD    STATUS=CONVERGED    269 CALLS     1322 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     173.50        162.37       -.29408E-04    .86449E-06
   2  Prefactor     .10000E-03    3.0247        .53673E-07** at limit **
   3  Prefactor     2.7026        24.888       -.19029E-05   -.67982E-04
   4  Prefactor     1.1478        1.5949       -.53349E-06   -.20033E-02
   5  norm          7.2351        2.6835        .29374E-07   -.34079E-03
   6  norm          17.750        14.139       -.64615E-06   -.15358E-04
   7  norm          7.4950        2.3762       -.38077E-07   -.30649E-03
   8  norm          .10000E-03    1.9190       -.56944E-08** at limit **
   9  norm          63.602        54.475       -.12880E-04    .26549E-05
  10  Prefactor     .10000E-03    79.078       -.17832E-05** at limit **
  11  Prefactor     .10000E-03    11.272       -.69123E-07** at limit **
  12  Prefactor     3.9076        11.261       -.31472E-05   -.12405E-03
  13  norm          14.547        12.014       -.81235E-06   -.21671E-04
  14  Normalizat    .90420        .25712        .35379E-05   -.17179E-04
  15  Prefactor     1.0434        .59368E-01    .59797E-07    .94786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 173.504
  Prefactor  = 0.0001
  Prefactor  = 2.7026
  Prefactor  = 1.14781
  norm       = 7.23506
  norm       = 17.7503
  norm       = 7.49504
  norm       = 0.0001
  norm       = 63.6023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.90763
  norm       = 14.547
  Normalizat = 0.904201
  Prefactor  = 1.04337
 **********
 **   18 **HESSE 
 **********

 FCN=   13984.64     FROM HESSE     STATUS=OK           186 CALLS     1508 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     173.50        160.93        .15315E-03   -1.3066    
   2  Prefactor     .10000E-03    3.0480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.7026        24.936        .24814E-03   -1.5379    
   4  Prefactor     1.1478        1.5810        .16785E-03   -1.5494    
   5  norm          7.2351        2.6819        .11095E-03   -1.5170    
   6  norm          17.750        14.144        .95067E-04   -1.4865    
   7  norm          7.4950        2.3594        .96017E-04   -1.5160    
   8  norm          .10000E-03    1.9196        .15999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          63.602        54.276        .50313E-04   -1.4111    
  10  Prefactor     .10000E-03    81.672        .42882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.9076        11.302        .20412E-03   -1.5313    
  13  norm          14.547        12.028        .10502E-03   -1.4945    
  14  Normalizat    .90420        .26753        .60722E-03   -.96313    
  15  Prefactor     1.0434        .62619E-01    .13611E-03   -.91297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8046e-10
Minuit parameter uncertainties:
  1  161.344
  2  1.45371e-05
  3  16.4272
  4  1.58101
  5  2.68194
  6  14.1462
  7  2.35945
  8  4.77133e-07
  9  54.3184
  10  4.41199e-05
  11  3.8325e-06
  12  11.3083
  13  12.03
  14  0.26792
  15  0.0626231
Done.

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

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  6.360e+01  5.432e+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.043e+00  6.262e-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.042e-01  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.10
Ra Dec: 57.423 24.177
Photon Index (Fixed Index): 2.73 +/- 0.00
Photon Flux (Fixed Index): 3.95e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 1.08e-05

TS (Fixed Index): 2.10
Ra Dec: 57.423 24.177
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/19883/likelihoodResults_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.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): 102
logL (Free Index) = 13984.6407482
delta logL = 0.00338107496827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13983.6027527
delta logL = 1.04137666206

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.464       1.0000         .10000E-03   10000.    
     2 'alpha     '    .11313E-04   1.0000          .0000       5.0000    
     3 'Normalizat'    .93694       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0407       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=   13983.60     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      315 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.451        20.247        .82694E-04    .91836E-05
   2  alpha         .62700E-12    1.1253        .82273E-01** at limit **
   3  Normalizat    .93655        .25406        .59735E-03    .20063E-03
   4  Prefactor     1.0409        .61436E-01    .13624E-03    .57351E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.4512
  alpha      = 6.26998e-13
  Normalizat = 0.936553
  Prefactor  = 1.04087
 **********
 **   18 **HESSE 
 **********

 FCN=   13983.60     FROM HESSE     STATUS=OK            23 CALLS      338 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.451        19.898        .16539E-04   -1.4739    
   2  alpha         .62700E-12    1.1312        .32909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .93655        .25410        .23894E-04   -.95187    
   4  Prefactor     1.0409        .61446E-01    .27248E-04   -.91379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14455e-10
Minuit parameter uncertainties:
  1  19.9035
  2  1.75539e-06
  3  0.254422
  4  0.06145
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19883': 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) = 13983.6027459
delta logL = 1.0413834583

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  2.345e+01  1.990e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  6.270e-13  1.755e-06  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.041e+00  6.145e-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.366e-01  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.16
Ra Dec: 57.423 24.177
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 8.67e-09 +/- 7.36e-09
Energy Flux (Free Index): 3.70e-05 +/- 3.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/19883/cmap_HighResolution_421286401_421545601_4FGL_J0349.6+2410_daily_bin702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-05', comment='SUCCESS', photon_flux='3.95e-08', energy_flux2='3.70e-05', photon_flux_error='3.38e-08', dlogl='1.04e+00', energy_flux='1.26e-05', photon_flux2='8.67e-09', job_status='DONE', time_completed='2021-08-19 15:31:50.883082', photon_index_error2='0.00', photon_index2='0.00', ts='2.10', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='3.14e-05', EG='0.90', time_epoch_completed='1629412310.88', return_code='0', job_id='19883', GAL2='1.04', EG2='0.94', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='7.36e-09', ts2='4.16', photon_index='2.73' WHERE bin_id='702' AND source_name='4FGL J0349.6+2410' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 15:31:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 19883: <4FGL_J0349.6+2410_daily_bin702> in cluster <slac> Done

Job <4FGL_J0349.6+2410_daily_bin702> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Aug 19 15:15:25 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 15:15:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 19 15:15:27 2021
Terminated at Thu Aug 19 15:31:51 2021
Results reported at Thu Aug 19 15:31:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0349.6+2410_daily_bin702 57.423 24.1775 421286401 421545601 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 :                                   968.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             375.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            986 sec.

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

