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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin675
RA = 357.356, Dec = 5.579
tmin = 414288001, tmax = 414547201
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='152095', job_status='RUN', time_executed='2021-09-30 06:47:57.122994', time_epoch_executed='1633009677.12' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152095

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152095/ft1_4FGL_J2349.4+0534_daily_bin675.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152095/ft1_4FGL_J2349.4+0534_daily_bin675.fits outfile=/scratch/kocevski/152095/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin675.fits ra=357.356 dec=5.579 rad=12.0 tmin=414288001.0 tmax=414547201.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 5.48
user 5.23
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.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/152095/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin675.fits evtable="EVENTS" outfile="/scratch/kocevski/152095/ft1_filtered_4FGL_J2349.4+0534_daily_bin675.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152095/ft1_filtered_4FGL_J2349.4+0534_daily_bin675.fits" evtable="EVENTS" scfile=/scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits sctable="SC_DATA" outfile=/scratch/kocevski/152095/ltcube_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.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/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits
.....................!
real 11.86
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152095/ft1_filtered_4FGL_J2349.4+0534_daily_bin675.fits evtable="EVENTS" scfile=/scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits sctable="SC_DATA" expcube=/scratch/kocevski/152095/ltcube_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.fits outfile=/scratch/kocevski/152095/expmap_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.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/152095/ltcube_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.fits
.....................!
real 190.06
user 185.13
sys 4.58

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/152095/ft1_filtered_4FGL_J2349.4+0534_daily_bin675.fits scfile=/scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits outfile=/scratch/kocevski/152095/cmap_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.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=357.356 yref=5.579 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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152095/ft1_filtered_4FGL_J2349.4+0534_daily_bin675.fits scfile=/scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits outfile=/scratch/kocevski/152095/cmap_HighResolution_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.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=357.356 yref=5.579 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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/152095/ft1_filtered_4FGL_J2349.4+0534_daily_bin675.fits evtable="EVENTS" scfile=/scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/152095/Model_4FGL_J2349.4+0534_daily_bin675.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/152095/ft1_filtered_4FGL_J2349.4+0534_daily_bin675.fits.....................!
real 41.26
user 39.88
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/152095/ft1_filtered_4FGL_J2349.4+0534_daily_bin675.fits', '/scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits', expMap='/scratch/kocevski/152095/expmap_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.fits', expCube='/scratch/kocevski/152095/ltcube_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/152095/Model_4FGL_J2349.4+0534_daily_bin675.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/152095/ft1_filtered_4FGL_J2349.4+0534_daily_bin675.fits
Spacecraft file(s): /scratch/kocevski/152095/ft2_4FGL_J2349.4+0534_daily_bin675.fits
Exposure map: /scratch/kocevski/152095/expmap_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.fits
Exposure cube: /scratch/kocevski/152095/ltcube_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/152095/Model_4FGL_J2349.4+0534_daily_bin675.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) = 3373.50623685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7680       1.0000         .10000E-03   10000.    
     3 'norm      '    9.5756       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    63.896       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .77873       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8643       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.756       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21888E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    27.651       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.1479       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    73.371       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .55078       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2940       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3373.489     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2566 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.265       -.33306E-05** at limit **
   2  norm          1.7622        4.5630       -.94355E-06   -.39002E-03
   3  norm          9.5744        7.3862       -.96088E-06   -.71973E-04
   4  Prefactor     .10000E-03    6.0179       -.50365E-07** at limit **
   5  Prefactor     63.889        89.056       -.85049E-05    .12152E-04
   6  Prefactor     .10000E-03    10.684        .20669E-05** at limit **
   7  Prefactor     .10000E-03    26.377        .23311E-05** at limit **
   8  norm          .77873        .86647        .28849E-07    .54000E-03
   9  Prefactor     1.8560        26.584       -.40485E-05   -.14330E-03
  10  Prefactor     .10000E-03    50.548        .21124E-04** at limit **
  11  norm          .10000E-03    7.8505        .14905E-06** at limit **
  12  Prefactor     27.745        15.465       -.13532E-05    .26356E-04
  13  Prefactor     .10000E-03    99.794        .38923E-04** at limit **
  14  Prefactor     .10000E-03    40.621       -.30479E-04** at limit **
  15  Prefactor     .10000E-03    26.077        .56964E-05** at limit **
  16  norm          .10000E-03    10.980        .26838E-05** at limit **
  17  norm          27.672        26.272        .56164E-05    .61492E-03
  18  Prefactor     .10000E-03    3.5096        .36760E-06** at limit **
  19  Prefactor     2.0544        146.04       -.19700E-03    .38541E-04
  20  Prefactor     .10000E-03    13.937       -.23600E-05** at limit **
  21  Prefactor     73.357        42.034       -.87440E-05    .20688E-03
  22  Normalizat    .55122        .33694        .18007E-04    .30796E-03
  23  Prefactor     1.2938        .22300       -.78254E-07    .48943E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.76223
  norm       = 9.5744
  Prefactor  = 0.0001
  Prefactor  = 63.8886
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.778732
  Prefactor  = 1.85604
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.7453
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 27.6717
  Prefactor  = 0.0001
  Prefactor  = 2.05442
  Prefactor  = 0.0001
  Prefactor  = 73.3565
  Normalizat = 0.551217
  Prefactor  = 1.29376
 **********
 **   18 **HESSE 
 **********

 FCN=   3373.489     FROM HESSE     STATUS=OK           360 CALLS     2926 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7622        4.5084        .18293E-03   -1.5442    
   3  norm          9.5744        7.3790        .12950E-03   -1.5089    
   4  Prefactor     .10000E-03    6.0269        .13915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     63.889        88.998        .50203E-04   -1.4108    
   6  Prefactor     .10000E-03    10.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .77873        .86464        .55564E-04   -1.5531    
   9  Prefactor     1.8560        26.708        .30514E-03   -1.5435    
  10  Prefactor     .10000E-03    50.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    7.8575        .15879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.745        15.411        .76042E-04   -1.4654    
  13  Prefactor     .10000E-03    99.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    41.364        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    10.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          27.672        26.183        .76186E-04   -1.4655    
  18  Prefactor     .10000E-03    3.5336        .10619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0544        147.68        .28117E-03   -1.5421    
  20  Prefactor     .10000E-03    13.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     73.357        41.968        .46871E-04   -1.3993    
  22  Normalizat    .55122        .35681        .41325E-03   -1.1010    
  23  Prefactor     1.2938        .24031        .19732E-03   -.83493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17178e-09
Minuit parameter uncertainties:
  1  1.4013e-05
  2  4.50931
  3  7.37972
  4  1.50263e-05
  5  89.1846
  6  1.54889e-05
  7  2.08294e-05
  8  0.864656
  9  14.0885
  10  9.40619e-05
  11  1.43692e-05
  12  15.4129
  13  7.41973e-06
  14  0.000225451
  15  6.25433e-05
  16  2.6124e-05
  17  26.1942
  18  1.57621e-05
  19  34.9254
  20  5.73943e-05
  21  41.9853
  22  0.358311
  23  0.240518
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.000e-04  5.739e-05  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.294e+00  2.405e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.512e-01  3.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152095/likelihoodResults_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.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) = 3373.48947647
delta logL = -0.000340870255059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3373.4891356
delta logL = -4.78394213133e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4675       1.0000          .0000       10.000    
     3 'Normalizat'    .55121       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2938       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3373.489     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1095.9        .90712E-02** at limit **
   2  Index         2.4683        6.6842        .50000       -.62897E-06
   3  Normalizat    .55122        .73843E-01    .93255E-01   -.51614E-04
   4  Prefactor     1.2938        .52410E-01    .32719E-01   -.35980E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.46834
  Normalizat = 0.551216
  Prefactor  = 1.29375
 **********
 **   18 **HESSE 
 **********

 FCN=   3373.489     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      237 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6255.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4683        5.9496        .50000       -.53093    
   3  Normalizat    .55122        .16110        .41324E-03   -1.1010    
   4  Prefactor     1.2938        .11481        .19732E-03   -.83493    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.60148e-09
Minuit parameter uncertainties:
  1  0.00162946
  2  60.7431
  3  0.161238
  4  0.114828
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152095': 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): 102
logL (Free Index) = 3373.4891356
delta logL = 3.33784555551e-10

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.000e-04  1.629e-03  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.468e+00  6.074e+01  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.294e+00  1.148e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.512e-01  1.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/152095/cmap_HighResolution_414288001_414547201_4FGL_J2349.4+0534_daily_bin675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.40e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-30 06:56:07.697702', job_id='152095', GAL2='1.29', fit_tolerance='1e-08', EG2='0.55', EG='0.55', time_epoch_completed='1633010167.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='3.34e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='675' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 06:56:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 152095: <4FGL_J2349.4+0534_daily_bin675> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin675> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 06:45:32 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:45:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 06:45:33 2021
Terminated at Thu Sep 30 06:56:08 2021
Results reported at Thu Sep 30 06:56:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin675 357.356 5.579 414288001 414547201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2349.4+0534 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   488.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            636 sec.

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

