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


Performing analysis on: 4FGL_J0349.6+2410_daily_bin425
RA = 57.423, Dec = 24.1775
tmin = 349488001, tmax = 349747201
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='16079', job_status='RUN', time_executed='2021-08-19 15:03:03.116351', time_epoch_executed='1629410583.12' WHERE source_name='4FGL J0349.6+2410' and cadence='daily' and bin_id='425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16079

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16079/ft1_4FGL_J0349.6+2410_daily_bin425.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16079/ft2_4FGL_J0349.6+2410_daily_bin425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16079/ft1_4FGL_J0349.6+2410_daily_bin425.fits outfile=/scratch/kocevski/16079/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin425.fits ra=57.423 dec=24.1775 rad=12.0 tmin=349488001.0 tmax=349747201.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.75
user 3.21
sys 0.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16079/ft1_filtered_4FGL_J0349.6+2410_daily_bin425.fits" evtable="EVENTS" scfile=/scratch/kocevski/16079/ft2_4FGL_J0349.6+2410_daily_bin425.fits sctable="SC_DATA" outfile=/scratch/kocevski/16079/ltcube_349488001_349747201_4FGL_J0349.6+2410_daily_bin425.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/16079/ft2_4FGL_J0349.6+2410_daily_bin425.fits
.....................!
real 12.21
user 11.56
sys 0.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16079/ft1_filtered_4FGL_J0349.6+2410_daily_bin425.fits evtable="EVENTS" scfile=/scratch/kocevski/16079/ft2_4FGL_J0349.6+2410_daily_bin425.fits sctable="SC_DATA" expcube=/scratch/kocevski/16079/ltcube_349488001_349747201_4FGL_J0349.6+2410_daily_bin425.fits outfile=/scratch/kocevski/16079/expmap_349488001_349747201_4FGL_J0349.6+2410_daily_bin425.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/16079/ltcube_349488001_349747201_4FGL_J0349.6+2410_daily_bin425.fits
.....................!
real 190.79
user 185.71
sys 4.76

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/16079/ft1_filtered_4FGL_J0349.6+2410_daily_bin425.fits scfile=/scratch/kocevski/16079/ft2_4FGL_J0349.6+2410_daily_bin425.fits outfile=/scratch/kocevski/16079/cmap_349488001_349747201_4FGL_J0349.6+2410_daily_bin425.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.80
user 0.38
sys 0.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16079/ft1_filtered_4FGL_J0349.6+2410_daily_bin425.fits scfile=/scratch/kocevski/16079/ft2_4FGL_J0349.6+2410_daily_bin425.fits outfile=/scratch/kocevski/16079/cmap_HighResolution_349488001_349747201_4FGL_J0349.6+2410_daily_bin425.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.80
user 0.37
sys 0.42

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81343E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .93213       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15105E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7909       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    10.596       1.0000         .10000E-03   10000.    
     7 'norm      '    3.1544       1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .46959E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.5953       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12333E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12726E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10488E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.6078       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .89894       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=   14592.70     FROM MIGRAD    STATUS=CONVERGED    285 CALLS     1146 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    72.036        .23953E-06** at limit **
   2  Prefactor     .93036        3.5905        .30507E-05   -.43681E-03
   3  Prefactor     .10000E-03    4.7049       -.22612E-07** at limit **
   4  Prefactor     4.7946        2.3467        .12547E-07   -.14638E-03
   5  norm          .10000E-03    1.1263       -.10115E-06** at limit **
   6  norm          10.517        8.9987        .12957E-05    .63074E-03
   7  norm          3.1506        2.4847        .16332E-06   -.27605E-03
   8  norm          .10000E-03    1.6049        .28873E-08** at limit **
   9  norm          .10000E-03    79.760       -.28973E-05** at limit **
  10  Prefactor     9.5840        23.783       -.27593E-05   -.19386E-03
  11  Prefactor     .10000E-03    16.408       -.13295E-05** at limit **
  12  Prefactor     .10000E-03    10.163        .95165E-07** at limit **
  13  norm          .10000E-03    4.0556        .73344E-08** at limit **
  14  Normalizat    1.6078        .24119       -.18804E-06   -.37897E-04
  15  Prefactor     .89898        .52658E-01   -.93175E-07   -.30177E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.930363
  Prefactor  = 0.0001
  Prefactor  = 4.79461
  norm       = 0.0001
  norm       = 10.5175
  norm       = 3.15064
  norm       = 0.0001
  norm       = 0.000100003
  Prefactor  = 9.58404
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.60778
  Prefactor  = 0.898976
 **********
 **   18 **HESSE 
 **********

 FCN=   14592.70     FROM HESSE     STATUS=OK           180 CALLS     1326 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    72.065        .20892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .93036        3.8369        .46515E-03   -1.5515    
   3  Prefactor     .10000E-03    4.7076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7946        2.3368        .12026E-03   -1.5270    
   5  norm          .10000E-03    1.1799        .25027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.517        9.3923        .12309E-03   -1.5059    
   7  norm          3.1506        2.4767        .15578E-03   -1.5353    
   8  norm          .10000E-03    1.6054        .14946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    80.909        .21188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.5840        24.523        .12937E-03   -1.5089    
  11  Prefactor     .10000E-03    16.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.0594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.6078        .26499        .50293E-03   -.74793    
  15  Prefactor     .89898        .58107E-01    .14252E-03   -.96177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.54512e-10
Minuit parameter uncertainties:
  1  7.44159e-05
  2  3.77896
  3  2.69569e-06
  4  2.33684
  5  5.51633e-06
  6  9.39364
  7  2.47674
  8  1.09036e-07
  9  0.00095013
  10  24.5486
  11  0.000212392
  12  1.36456e-05
  13  5.56309e-07
  14  0.265218
  15  0.0581108
Done.

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

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  1.000e-04  9.501e-04  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:  8.990e-01  5.811e-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.608e+00  2.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 57.423 24.177
Photon Flux Upper Limit: 7.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/16079/likelihoodResults_349488001_349747201_4FGL_J0349.6+2410_daily_bin425.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) = 14592.7032926
delta logL = -5.87736849411e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14592.7032926
delta logL = -5.87736794841e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96366E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7338       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89898       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.

 FCN=   14592.70     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      193 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    103.24        .90712E-02** at limit **
   2  alpha         2.8005        3.6475        .41381       -.43349E-05
   3  Normalizat    1.6078        .23609        .11345       -.22865E-03
   4  Prefactor     .89898        .52330E-01    .32253E-01   -.98610E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100034
  alpha      = 2.80054
  Normalizat = 1.60778
  Prefactor  = 0.898977
 **********
 **   18 **HESSE 
 **********

 FCN=   14592.70     FROM HESSE     STATUS=OK            27 CALLS      220 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    95.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8005        3.6139        .16553E-01    .12051    
   3  Normalizat    1.6078        .25957        .50293E-03   -.74793    
   4  Prefactor     .89898        .57727E-01    .14252E-03   -.96177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25629e-10
Minuit parameter uncertainties:
  1  0.0036255
  2  2.48377
  3  0.259788
  4  0.0577309
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16079': 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) = 14592.7032337
delta logL = 1.13243004307e-07

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  1.000e-04  3.625e-03  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  2.801e+00  2.484e+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:  8.990e-01  5.773e-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.608e+00  2.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/16079/cmap_HighResolution_349488001_349747201_4FGL_J0349.6+2410_daily_bin425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-05', job_status='DONE', photon_flux_upper_limit='7.89e-08', time_completed='2021-08-19 15:16:55.571408', job_id='16079', GAL2='0.90', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1629411415.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.13e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='425' AND source_name='4FGL J0349.6+2410' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 15:16:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 16079: <4FGL_J0349.6+2410_daily_bin425> in cluster <slac> Done

Job <4FGL_J0349.6+2410_daily_bin425> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Aug 19 15:00:33 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 15:00:34 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:00:34 2021
Terminated at Thu Aug 19 15:16:56 2021
Results reported at Thu Aug 19 15:16:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0349.6+2410_daily_bin425 57.423 24.1775 349488001 349747201 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 :                                   834.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

