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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin203
RA = 357.356, Dec = 5.579
tmin = 291945601, tmax = 292204801
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='149224', job_status='RUN', time_executed='2021-09-30 06:39:10.784973', time_epoch_executed='1633009150.79' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149224

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149224/ft1_4FGL_J2349.4+0534_daily_bin203.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149224/ft2_4FGL_J2349.4+0534_daily_bin203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149224/ft1_4FGL_J2349.4+0534_daily_bin203.fits outfile=/scratch/kocevski/149224/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin203.fits ra=357.356 dec=5.579 rad=12.0 tmin=291945601.0 tmax=292204801.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.81
user 3.55
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149224/ft1_filtered_4FGL_J2349.4+0534_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/149224/ft2_4FGL_J2349.4+0534_daily_bin203.fits sctable="SC_DATA" expcube=/scratch/kocevski/149224/ltcube_291945601_292204801_4FGL_J2349.4+0534_daily_bin203.fits outfile=/scratch/kocevski/149224/expmap_291945601_292204801_4FGL_J2349.4+0534_daily_bin203.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/149224/ltcube_291945601_292204801_4FGL_J2349.4+0534_daily_bin203.fits
.....................!
real 193.70
user 186.99
sys 5.95

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/149224/ft1_filtered_4FGL_J2349.4+0534_daily_bin203.fits scfile=/scratch/kocevski/149224/ft2_4FGL_J2349.4+0534_daily_bin203.fits outfile=/scratch/kocevski/149224/cmap_291945601_292204801_4FGL_J2349.4+0534_daily_bin203.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/149224/ft1_filtered_4FGL_J2349.4+0534_daily_bin203.fits scfile=/scratch/kocevski/149224/ft2_4FGL_J2349.4+0534_daily_bin203.fits outfile=/scratch/kocevski/149224/cmap_HighResolution_291945601_292204801_4FGL_J2349.4+0534_daily_bin203.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .28668E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.3051       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .93274E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.094       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10496E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .42982       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.0948       1.0000         .10000E-03   10000.    
    10 'Prefactor '    48.541       1.0000         .10000E-03   10000.    
    11 'norm      '    .37912E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.796       1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.750       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.286       1.0000         .10000E-03   10000.    
    16 'norm      '    3.7277       1.0000         .10000E-03   10000.    
    17 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.520       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1253       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0527       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=   7626.251     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2982 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9599        .12796E-06** at limit **
   2  norm          .10000E-03    1.4697        .21033E-06** at limit **
   3  norm          8.3121        4.4131       -.73668E-07    .20160E-04
   4  Prefactor     .88414E-03    9.5002       -.45463E-07** at limit **
   5  Prefactor     17.084        38.395        .18048E-06   -.22358E-04
   6  Prefactor     .10000E-03    6.0783       -.25965E-07** at limit **
   7  Prefactor     .10000E-03    16.700       -.68326E-07** at limit **
   8  norm          .42949        .86839        .11098E-05    .31310E-03
   9  Prefactor     9.0804        10.097        .29631E-06   -.11955E-03
  10  Prefactor     48.553        44.983       -.43230E-06   -.79837E-04
  11  norm          .10043E-03    8.1387        .48215E-06** at limit **
  12  Prefactor     13.771        9.7217        .38654E-06   -.23064E-03
  13  Prefactor     38.851        223.57       -.13097E-04   -.83034E-05
  14  Prefactor     .10000E-03    5.1864        .28691E-06** at limit **
  15  Prefactor     11.278        14.969       -.83951E-08   -.12414E-03
  16  norm          3.7252        14.762        .69569E-06   -.11851E-04
  17  norm          .10000E-03    7.6150        .17063E-06** at limit **
  18  Prefactor     .10000E-03    2.2766        .33523E-06** at limit **
  19  Prefactor     18.512        37.572       -.21008E-06   -.56839E-04
  20  Prefactor     .10000E-03    15.468       -.23638E-06** at limit **
  21  Prefactor     .10000E-03    5.6847        .44943E-07** at limit **
  22  Normalizat    1.1258        .19742       -.53757E-06   -.17158E-03
  23  Prefactor     1.0526        .13363       -.31142E-06   -.19578E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.31211
  Prefactor  = 0.000884144
  Prefactor  = 17.0844
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.429488
  Prefactor  = 9.08041
  Prefactor  = 48.5533
  norm       = 0.000100432
  Prefactor  = 13.7709
  Prefactor  = 38.8512
  Prefactor  = 0.0001
  Prefactor  = 11.2776
  norm       = 3.72518
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.5121
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.12576
  Prefactor  = 1.05255
 **********
 **   18 **HESSE 
 **********

 FCN=   7626.251     FROM HESSE     STATUS=OK           386 CALLS     3368 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.8484        .20331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.3121        4.4193        .12728E-03   -1.5131    
   4  Prefactor     .88414E-03    15.007        .72072E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.084        38.404        .96872E-04   -1.4881    
   6  Prefactor     .10000E-03    6.0865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .42949        .86593        .10812E-03   -1.5577    
   9  Prefactor     9.0804        10.089        .13290E-03   -1.5105    
  10  Prefactor     48.553        44.904        .57555E-04   -1.4313    
  11  norm          .10043E-03    10.441        .63031E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.771        9.7878        .10784E-03   -1.4966    
  13  Prefactor     38.851        225.01        .64388E-04   -1.4461    
  14  Prefactor     .10000E-03    5.2131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.278        14.931        .11925E-03   -1.5036    
  16  norm          3.7252        14.763        .20914E-03   -1.5322    
  17  norm          .10000E-03    7.6228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3109        .12844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.512        37.577        .93069E-04   -1.4847    
  20  Prefactor     .10000E-03    15.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.6942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1258        .22707        .30369E-03   -.88929    
  23  Prefactor     1.0526        .15377        .21734E-03   -.90998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38302e-10
Minuit parameter uncertainties:
  1  1.65851e-05
  2  5.72113e-05
  3  4.41946
  4  0.217011
  5  38.4595
  6  1.11884e-05
  7  1.44245e-05
  8  0.86596
  9  10.091
  10  44.9355
  11  0.00424679
  12  9.78895
  13  188.077
  14  2.66937e-06
  15  14.9364
  16  14.7771
  17  2.76379e-07
  18  1.60826e-06
  19  37.6247
  20  1.41168e-05
  21  2.53911e-06
  22  0.227272
  23  0.153831
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.000e-04  1.412e-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.053e+00  1.538e-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:  1.126e+00  2.273e-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: 8.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/149224/likelihoodResults_291945601_292204801_4FGL_J2349.4+0534_daily_bin203.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) = 7626.2517657
delta logL = -0.000306730894408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7626.25145901
delta logL = -3.98813426727e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4685       1.0000          .0000       10.000    
     3 'Normalizat'    1.1257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0526       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=   7626.251     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      211 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6370.1        .90712E-02** at limit **
   2  Index         2.4703        5.9922        .50000       -.10911E-05
   3  Normalizat    1.1258        .10696        .68640E-01    .16257E-04
   4  Prefactor     1.0526        .74276E-01    .39761E-01    .72184E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.47029
  Normalizat = 1.12576
  Prefactor  = 1.05255
 **********
 **   18 **HESSE 
 **********

 FCN=   7626.251     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4703        6.2057        .50000       -.53047    
   3  Normalizat    1.1258        .21509        .30369E-03   -.88929    
   4  Prefactor     1.0526        .15040        .21734E-03   -.90998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21931e-12
Minuit parameter uncertainties:
  1  1.70407e-05
  2  5.14888
  3  0.215254
  4  0.150455
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149224': 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) = 7626.25145896
delta logL = 9.09494701773e-10

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.000e-04  1.704e-05  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.470e+00  5.149e+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.053e+00  1.505e-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:  1.126e+00  2.153e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/149224/cmap_HighResolution_291945601_292204801_4FGL_J2349.4+0534_daily_bin203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-03', job_status='DONE', photon_flux_upper_limit='8.32e-08', time_completed='2021-09-30 06:51:46.743741', job_id='149224', GAL2='1.05', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1633009906.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='9.09e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='203' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 06:51:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 149224: <4FGL_J2349.4+0534_daily_bin203> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin203> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 06:35:34 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:35:36 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:36 2021
Terminated at Thu Sep 30 06:51:47 2021
Results reported at Thu Sep 30 06:51:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin203 357.356 5.579 291945601 292204801 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 :                                   754.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            973 sec.

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

