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


Performing analysis on: 4FGL_J0349.6+2410_daily_bin689
RA = 57.423, Dec = 24.1775
tmin = 417916801, tmax = 418176001
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='19865', job_status='RUN', time_executed='2021-08-19 15:15:47.633639', time_epoch_executed='1629411347.63' WHERE source_name='4FGL J0349.6+2410' and cadence='daily' and bin_id='689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19865

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19865/ft1_4FGL_J0349.6+2410_daily_bin689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19865/ft2_4FGL_J0349.6+2410_daily_bin689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19865/ft1_4FGL_J0349.6+2410_daily_bin689.fits outfile=/scratch/kocevski/19865/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin689.fits ra=57.423 dec=24.1775 rad=12.0 tmin=417916801.0 tmax=418176001.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 8.20
user 6.95
sys 1.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/19865/ft1_filtered_4FGL_J0349.6+2410_daily_bin689.fits" evtable="EVENTS" scfile=/scratch/kocevski/19865/ft2_4FGL_J0349.6+2410_daily_bin689.fits sctable="SC_DATA" outfile=/scratch/kocevski/19865/ltcube_417916801_418176001_4FGL_J0349.6+2410_daily_bin689.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/19865/ft2_4FGL_J0349.6+2410_daily_bin689.fits
.....................!
real 13.09
user 11.71
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19865/ft1_filtered_4FGL_J0349.6+2410_daily_bin689.fits evtable="EVENTS" scfile=/scratch/kocevski/19865/ft2_4FGL_J0349.6+2410_daily_bin689.fits sctable="SC_DATA" expcube=/scratch/kocevski/19865/ltcube_417916801_418176001_4FGL_J0349.6+2410_daily_bin689.fits outfile=/scratch/kocevski/19865/expmap_417916801_418176001_4FGL_J0349.6+2410_daily_bin689.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/19865/ltcube_417916801_418176001_4FGL_J0349.6+2410_daily_bin689.fits
.....................!
real 192.32
user 186.03
sys 5.98

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/19865/ft1_filtered_4FGL_J0349.6+2410_daily_bin689.fits scfile=/scratch/kocevski/19865/ft2_4FGL_J0349.6+2410_daily_bin689.fits outfile=/scratch/kocevski/19865/cmap_417916801_418176001_4FGL_J0349.6+2410_daily_bin689.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 1.42
user 0.37
sys 1.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19865/ft1_filtered_4FGL_J0349.6+2410_daily_bin689.fits scfile=/scratch/kocevski/19865/ft2_4FGL_J0349.6+2410_daily_bin689.fits outfile=/scratch/kocevski/19865/cmap_HighResolution_417916801_418176001_4FGL_J0349.6+2410_daily_bin689.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 1.43
user 0.38
sys 1.04

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10472E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.325       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5521       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    20.126       1.0000         .10000E-03   10000.    
     7 'norm      '    1.5012       1.0000         .10000E-03   10000.    
     8 'norm      '    2.6786       1.0000         .10000E-03   10000.    
     9 'norm      '    17.952       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0559       1.0000         .10000E-03   10000.    
    13 'norm      '    4.6695       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.3508       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .90269       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=   8856.422     FROM MIGRAD    STATUS=CONVERGED    285 CALLS     1183 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.391        .39346E-05** at limit **
   2  Prefactor     .10000E-03    4.1184       -.37133E-06** at limit **
   3  Prefactor     32.308        24.459        .80873E-06    .27505E-04
   4  Prefactor     1.5521        1.8042        .17091E-07    .71650E-05
   5  norm          .10000E-03    1.0555       -.13202E-07** at limit **
   6  norm          20.133        16.087        .69572E-07    .34626E-05
   7  norm          1.5015        2.4653        .52481E-07   -.81273E-05
   8  norm          2.6791        5.9715        .19269E-05    .32914E-05
   9  norm          18.003        68.942       -.97467E-05   -.25077E-05
  10  Prefactor     .10000E-03    26.327        .27091E-06** at limit **
  11  Prefactor     .10000E-03    57.100       -.38631E-05** at limit **
  12  Prefactor     1.0534        16.626        .55583E-06   -.69995E-04
  13  norm          4.6701        20.724        .21476E-07   -.59249E-06
  14  Normalizat    1.3509        .29214        .69069E-06    .22135E-04
  15  Prefactor     .90267        .66506E-01   -.46033E-07    .96104E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 32.308
  Prefactor  = 1.55208
  norm       = 0.0001
  norm       = 20.133
  norm       = 1.50145
  norm       = 2.67906
  norm       = 18.0032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.05341
  norm       = 4.6701
  Normalizat = 1.35086
  Prefactor  = 0.902673
 **********
 **   18 **HESSE 
 **********

 FCN=   8856.422     FROM HESSE     STATUS=OK           190 CALLS     1373 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.415        .36538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     32.308        24.425        .70477E-04   -1.4571    
   4  Prefactor     1.5521        1.7704        .12803E-03   -1.5459    
   5  norm          .10000E-03    1.0661        .94300E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          20.133        16.082        .89279E-04   -1.4810    
   7  norm          1.5015        2.4291        .17467E-03   -1.5463    
   8  norm          2.6791        5.9753        .12449E-02   -1.5381    
   9  norm          18.003        69.024        .94529E-04   -1.4859    
  10  Prefactor     .10000E-03    26.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    57.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.0534        102.76        .72934E-02   -1.5503    
  13  norm          4.6701        20.831        .18624E-03   -1.5276    
  14  Normalizat    1.3509        .31646        .49800E-03   -.82061    
  15  Prefactor     .90267        .72972E-01    .13612E-03   -.96048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69935e-08
Minuit parameter uncertainties:
  1  4.65346e-06
  2  0.000197597
  3  24.4324
  4  1.77045
  5  1.54702e-07
  6  16.085
  7  2.42922
  8  5.97661
  9  69.3322
  10  6.65012e-06
  11  1.49788e-05
  12  20.8448
  13  19.7374
  14  0.316913
  15  0.0729803
Done.

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

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  1.800e+01  6.933e+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:  9.027e-01  7.298e-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:  1.351e+00  3.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/19865/likelihoodResults_417916801_418176001_4FGL_J0349.6+2410_daily_bin689.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) = 8856.42069281
delta logL = 0.00168418977592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8856.41972884
delta logL = 0.00264816041636

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.675       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5085       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90238       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=   8856.420     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      279 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.656        155.78        .86033E-04    .23416E-04
   2  alpha         2.5094        3.7547        .87982E-01    .12921E-04
   3  Normalizat    1.3522        .31042        .49777E-03    .17308E-03
   4  Prefactor     .90241        .71396E-01    .13614E-03    .78205E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.6558
  alpha      = 2.50944
  Normalizat = 1.35224
  Prefactor  = 0.902411
 **********
 **   18 **HESSE 
 **********

 FCN=   8856.420     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.656        94.915        .17207E-04   -1.4777    
   2  alpha         2.5094        3.6781        .35193E-02    .37741E-02
   3  Normalizat    1.3522        .31023        .19911E-04   -.82020    
   4  Prefactor     .90241        .71293E-01    .27228E-04   -.96057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43874e-10
Minuit parameter uncertainties:
  1  90.9175
  2  3.05627
  3  0.31066
  4  0.0713002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19865': 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) = 8856.41972869
delta logL = 0.0026483061738

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  2.166e+01  9.092e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  2.509e+00  3.056e+00  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:  9.024e-01  7.130e-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:  1.352e+00  3.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 57.423 24.177

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/19865/cmap_HighResolution_417916801_418176001_4FGL_J0349.6+2410_daily_bin689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-05', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-08-19 15:27:01.510264', job_id='19865', GAL2='0.90', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1629412021.51', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.65e-03', ts2='0.08', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='689' AND source_name='4FGL J0349.6+2410' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 15:27:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 19865: <4FGL_J0349.6+2410_daily_bin689> in cluster <slac> Done

Job <4FGL_J0349.6+2410_daily_bin689> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Aug 19 15:15:24 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 15:15:25 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:25 2021
Terminated at Thu Aug 19 15:27:02 2021
Results reported at Thu Aug 19 15:27:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0349.6+2410_daily_bin689 57.423 24.1775 417916801 418176001 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 :                                   685.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             390.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            698 sec.

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

