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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin353
RA = 357.356, Dec = 5.579
tmin = 330825601, tmax = 331084801
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='149481', job_status='RUN', time_executed='2021-09-30 06:38:46.422858', time_epoch_executed='1633009126.42' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='353'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149481

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149481/ft1_4FGL_J2349.4+0534_daily_bin353.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149481/ft2_4FGL_J2349.4+0534_daily_bin353.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149481/ft1_4FGL_J2349.4+0534_daily_bin353.fits outfile=/scratch/kocevski/149481/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin353.fits ra=357.356 dec=5.579 rad=12.0 tmin=330825601.0 tmax=331084801.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.40
user 3.17
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/149481/ft2_4FGL_J2349.4+0534_daily_bin353.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/149481/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin353.fits evtable="EVENTS" outfile="/scratch/kocevski/149481/ft1_filtered_4FGL_J2349.4+0534_daily_bin353.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149481/ft1_filtered_4FGL_J2349.4+0534_daily_bin353.fits" evtable="EVENTS" scfile=/scratch/kocevski/149481/ft2_4FGL_J2349.4+0534_daily_bin353.fits sctable="SC_DATA" outfile=/scratch/kocevski/149481/ltcube_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.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/149481/ft2_4FGL_J2349.4+0534_daily_bin353.fits
.....................!
real 11.73
user 11.32
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149481/ft1_filtered_4FGL_J2349.4+0534_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/149481/ft2_4FGL_J2349.4+0534_daily_bin353.fits sctable="SC_DATA" expcube=/scratch/kocevski/149481/ltcube_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.fits outfile=/scratch/kocevski/149481/expmap_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.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/149481/ltcube_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.fits
.....................!
real 191.13
user 185.83
sys 4.92

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/149481/ft1_filtered_4FGL_J2349.4+0534_daily_bin353.fits scfile=/scratch/kocevski/149481/ft2_4FGL_J2349.4+0534_daily_bin353.fits outfile=/scratch/kocevski/149481/cmap_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/149481/ft1_filtered_4FGL_J2349.4+0534_daily_bin353.fits scfile=/scratch/kocevski/149481/ft2_4FGL_J2349.4+0534_daily_bin353.fits outfile=/scratch/kocevski/149481/cmap_HighResolution_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.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.54
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/149481/ft1_filtered_4FGL_J2349.4+0534_daily_bin353.fits', '/scratch/kocevski/149481/ft2_4FGL_J2349.4+0534_daily_bin353.fits', expMap='/scratch/kocevski/149481/expmap_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.fits', expCube='/scratch/kocevski/149481/ltcube_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/149481/Model_4FGL_J2349.4+0534_daily_bin353.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/149481/ft1_filtered_4FGL_J2349.4+0534_daily_bin353.fits
Spacecraft file(s): /scratch/kocevski/149481/ft2_4FGL_J2349.4+0534_daily_bin353.fits
Exposure map: /scratch/kocevski/149481/expmap_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.fits
Exposure cube: /scratch/kocevski/149481/ltcube_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/149481/Model_4FGL_J2349.4+0534_daily_bin353.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) = 6015.49162683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0314       1.0000         .10000E-03   10000.    
     3 'norm      '    .11388E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.574       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.349       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10959E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.866       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .42087       1.0000         .10000E-03   10000.    
    15 'Prefactor '    36.979       1.0000         .10000E-03   10000.    
    16 'norm      '    2.7833       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8982       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.0966       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.255       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.356       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .64787       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0269       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=   6015.447     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2561 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7227        .90712E-02** at limit **
   2  norm          1.0316        1.6020        .23942E-01    .20749E-02
   3  norm          .10000E-03    2.3813        .40792E-01** at limit **
   4  Prefactor     16.576        11.912        .24595E-02   -.16656E-02
   5  Prefactor     .10000E-03    9.8781        .90712E-02** at limit **
   6  Prefactor     .10000E-03    4.8549        .90712E-02** at limit **
   7  Prefactor     13.349        15.356        .27408E-02    .43131E-04
   8  norm          .10000E-03    .34934        .90712E-02** at limit **
   9  Prefactor     .10000E-03    9.5519        .90712E-02** at limit **
  10  Prefactor     .10004E-03    41.706        .90712E-02** at limit **
  11  norm          .10000E-03    4.0639        .90712E-02** at limit **
  12  Prefactor     12.866        6.9174        .27918E-02    .12604E-03
  13  Prefactor     .10004E-03    55.661        .90712E-02** at limit **
  14  Prefactor     .40074        8.6346        .74284E-01    .96133E-03
  15  Prefactor     36.975        26.361        .16477E-02    .15278E-02
  16  norm          2.7825        9.8563        .60977E-02    .28997E-03
  17  norm          .10000E-03    10.323        .90712E-02** at limit **
  18  Prefactor     1.8988        2.7480        .75477E-02    .38896E-03
  19  Prefactor     7.0965        60.882        .37646E-02   -.23347E-03
  20  Prefactor     16.251        22.200        .24835E-02    .63579E-03
  21  Prefactor     17.356        14.873        .24034E-02    .40138E-03
  22  Normalizat    .64782        .19070        .71588E-01   -.35570E-03
  23  Prefactor     1.0270        .12867        .41508E-01   -.32729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.03156
  norm       = 0.0001
  Prefactor  = 16.5761
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.3487
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100035
  norm       = 0.000100005
  Prefactor  = 12.8658
  Prefactor  = 0.000100043
  Prefactor  = 0.400744
  Prefactor  = 36.9748
  norm       = 2.78254
  norm       = 0.0001
  Prefactor  = 1.89875
  Prefactor  = 7.09648
  Prefactor  = 16.2507
  Prefactor  = 17.3556
  Normalizat = 0.647816
  Prefactor  = 1.02701
 **********
 **   18 **HESSE 
 **********

 FCN=   6015.447     FROM HESSE     STATUS=OK           368 CALLS     2929 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7474        .18115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0316        1.3693        .11781E-02   -1.5505    
   3  norm          .10000E-03    5.3374        .22971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.576        11.812        .98379E-04   -1.4893    
   5  Prefactor     .10000E-03    9.8815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.8756        .16690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.349        15.355        .10963E-03   -1.4977    
   8  norm          .10000E-03    .36503        .89388E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.7111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10004E-03    41.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.0830        .15245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.866        6.9051        .11167E-03   -1.4990    
  13  Prefactor     .10004E-03    55.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .40074        49.207        .41247E-02   -1.5581    
  15  Prefactor     36.975        26.335        .65906E-04   -1.4491    
  16  norm          2.7825        9.8374        .24391E-03   -1.5374    
  17  norm          .10000E-03    10.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.8988        2.7199        .14470E-03   -1.5432    
  19  Prefactor     7.0965        60.459        .15058E-03   -1.5175    
  20  Prefactor     16.251        22.173        .99342E-04   -1.4902    
  21  Prefactor     17.356        14.882        .48069E-03   -1.4875    
  22  Normalizat    .64782        .21526        .31687E-03   -1.0599    
  23  Prefactor     1.0270        .14740        .18435E-03   -.91835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36132e-08
Minuit parameter uncertainties:
  1  4.50847e-06
  2  1.36935
  3  6.75852e-05
  4  11.8134
  5  3.03134e-05
  6  8.02522e-05
  7  15.3591
  8  4.64395e-06
  9  0.000327984
  10  0.0024283
  11  0.000279955
  12  6.90551
  13  0.00309843
  14  8.88764
  15  26.3434
  16  9.84315
  17  7.71786e-06
  18  2.72004
  19  41.4831
  20  22.1839
  21  14.8856
  22  0.215539
  23  0.147461
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.625e+01  2.218e+01  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.027e+00  1.475e-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:  6.478e-01  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/149481/likelihoodResults_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.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) = 6015.38104306
delta logL = 0.0655319816597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6015.36854176
delta logL = 0.0780332878812

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2465       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0774       1.0000          .0000       10.000    
     3 'Normalizat'    .62622       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0377       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6015.369     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      289 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2443        505.92        .13961E-03   -.87687E-03
   2  Index         3.0779        5.5783        .84268E-02   -.20561E-03
   3  Normalizat    .62626        .30913        .32194E-03   -.29264E-03
   4  Prefactor     1.0377        .20893        .18350E-03   -.65312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.24427
  Index      = 3.07786
  Normalizat = 0.626263
  Prefactor  = 1.03769
 **********
 **   18 **HESSE 
 **********

 FCN=   6015.369     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2443        24.283        .55843E-05   -1.5134    
   2  Index         3.0779        1.7471        .33707E-03   -.39459    
   3  Normalizat    .62626        .21196        .12877E-04   -1.0688    
   4  Prefactor     1.0377        .14960        .36700E-04   -.91484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37063e-09
Minuit parameter uncertainties:
  1  24.3117
  2  1.79178
  3  0.212236
  4  0.14966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149481': 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) = 6015.36854157
delta logL = 0.0780334753927

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.244e+00  2.431e+01  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  3.078e+00  1.792e+00  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.038e+00  1.497e-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:  6.263e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
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/149481/cmap_HighResolution_330825601_331084801_4FGL_J2349.4+0534_daily_bin353.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.84e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-30 06:49:19.176759', job_id='149481', GAL2='1.04', fit_tolerance='1e-08', EG2='0.63', EG='0.65', time_epoch_completed='1633009759.18', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='7.80e-02', ts2='0.85', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='353' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 06:49:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 149481: <4FGL_J2349.4+0534_daily_bin353> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin353> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 06:35:57 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:35:59 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:35:59 2021
Terminated at Thu Sep 30 06:49:22 2021
Results reported at Thu Sep 30 06:49:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin353 357.356 5.579 330825601 331084801 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 :                                   629.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            805 sec.

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

