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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin236
RA = 357.356, Dec = 5.579
tmin = 300499201, tmax = 300758401
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='149276', job_status='RUN', time_executed='2021-09-30 06:37:13.161155', time_epoch_executed='1633009033.16' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='236'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149276

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149276/ft1_4FGL_J2349.4+0534_daily_bin236.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149276/ft2_4FGL_J2349.4+0534_daily_bin236.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149276/ft1_4FGL_J2349.4+0534_daily_bin236.fits outfile=/scratch/kocevski/149276/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin236.fits ra=357.356 dec=5.579 rad=12.0 tmin=300499201.0 tmax=300758401.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.46
user 3.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149276/ft1_filtered_4FGL_J2349.4+0534_daily_bin236.fits" evtable="EVENTS" scfile=/scratch/kocevski/149276/ft2_4FGL_J2349.4+0534_daily_bin236.fits sctable="SC_DATA" outfile=/scratch/kocevski/149276/ltcube_300499201_300758401_4FGL_J2349.4+0534_daily_bin236.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/149276/ft2_4FGL_J2349.4+0534_daily_bin236.fits
.....................!
real 12.00
user 11.68
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149276/ft1_filtered_4FGL_J2349.4+0534_daily_bin236.fits evtable="EVENTS" scfile=/scratch/kocevski/149276/ft2_4FGL_J2349.4+0534_daily_bin236.fits sctable="SC_DATA" expcube=/scratch/kocevski/149276/ltcube_300499201_300758401_4FGL_J2349.4+0534_daily_bin236.fits outfile=/scratch/kocevski/149276/expmap_300499201_300758401_4FGL_J2349.4+0534_daily_bin236.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/149276/ltcube_300499201_300758401_4FGL_J2349.4+0534_daily_bin236.fits
.....................!
real 192.59
user 187.61
sys 4.67

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/149276/ft1_filtered_4FGL_J2349.4+0534_daily_bin236.fits scfile=/scratch/kocevski/149276/ft2_4FGL_J2349.4+0534_daily_bin236.fits outfile=/scratch/kocevski/149276/cmap_300499201_300758401_4FGL_J2349.4+0534_daily_bin236.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/149276/ft1_filtered_4FGL_J2349.4+0534_daily_bin236.fits scfile=/scratch/kocevski/149276/ft2_4FGL_J2349.4+0534_daily_bin236.fits outfile=/scratch/kocevski/149276/cmap_HighResolution_300499201_300758401_4FGL_J2349.4+0534_daily_bin236.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7112       1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.5029       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .21744       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    38.714       1.0000         .10000E-03   10000.    
    11 'norm      '    5.8788       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.1734       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10468E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1232       1.0000         .10000E-03   10000.    
    16 'norm      '    5.0964       1.0000         .10000E-03   10000.    
    17 'norm      '    6.0087       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0276       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.142       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.8988       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.601       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .82748       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0899       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=   7053.197     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2543 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7106        11.340        .33952E-02   -.70209E-03
   2  norm          .10000E-03    .88637        .90712E-02** at limit **
   3  norm          3.5027        3.0840        .54005E-02   -.66698E-04
   4  Prefactor     .10000E-03    5.7730        .90712E-02** at limit **
   5  Prefactor     .10000E-03    35.068        .90712E-02** at limit **
   6  Prefactor     .10000E-03    3.0176        .90712E-02** at limit **
   7  Prefactor     .10000E-03    3.4665        .90712E-02** at limit **
   8  norm          .21709        .70632        .22992E-01    .19573E-02
   9  Prefactor     .10000E-03    3.8195        .90712E-02** at limit **
  10  Prefactor     38.714        46.642        .16104E-02    .66267E-04
  11  norm          5.8791        9.0139        .41407E-02   -.20192E-02
  12  Prefactor     9.1726        10.204        .33081E-02    .30548E-03
  13  Prefactor     .10000E-03    166.43        .90712E-02** at limit **
  14  Prefactor     .10000E-03    4.9240        .90712E-02** at limit **
  15  Prefactor     5.1226        15.031        .44406E-02   -.21323E-03
  16  norm          5.0975        17.021        .44525E-02    .41378E-03
  17  norm          6.0051        19.125        .40951E-02   -.50574E-03
  18  Prefactor     8.0256        5.1822        .35378E-02    .12256E-02
  19  Prefactor     29.140        36.782        .18554E-02    .44208E-03
  20  Prefactor     8.8996        15.808        .33591E-02    .14462E-03
  21  Prefactor     15.601        17.609        .25351E-02    .22058E-03
  22  Normalizat    .82745        .20426        .72436E-01   -.94863E-05
  23  Prefactor     1.0899        .13478        .37985E-01   -.60593E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.71063
  norm       = 0.0001
  norm       = 3.50267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.217085
  Prefactor  = 0.0001
  Prefactor  = 38.714
  norm       = 5.87913
  Prefactor  = 9.17257
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 5.12259
  norm       = 5.09749
  norm       = 6.00511
  Prefactor  = 8.02561
  Prefactor  = 29.1399
  Prefactor  = 8.89962
  Prefactor  = 15.6013
  Normalizat = 0.827448
  Prefactor  = 1.08986
 **********
 **   18 **HESSE 
 **********

 FCN=   7053.197     FROM HESSE     STATUS=OK           370 CALLS     2913 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7106        11.352        .13581E-03   -1.5118    
   2  norm          .10000E-03    .91197        .15427E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.5027        3.0876        .13428E-03   -1.5334    
   4  Prefactor     .10000E-03    5.8302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    35.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.0195        .14248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4675        .15271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .21709        .94062        .11859E-02   -1.5615    
   9  Prefactor     .10000E-03    3.8307        .16022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     38.714        46.626        .64417E-04   -1.4463    
  11  norm          5.8791        8.9095        .16563E-03   -1.5223    
  12  Prefactor     9.1726        10.115        .13233E-03   -1.5102    
  13  Prefactor     .10000E-03    166.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.9304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1226        15.018        .17762E-03   -1.5255    
  16  norm          5.0975        17.011        .17810E-03   -1.5256    
  17  norm          6.0051        19.044        .16380E-03   -1.5218    
  18  Prefactor     8.0256        5.1550        .13057E-03   -1.5141    
  19  Prefactor     29.140        36.850        .74216E-04   -1.4628    
  20  Prefactor     8.8996        15.800        .13436E-03   -1.5111    
  21  Prefactor     15.601        17.707        .10140E-03   -1.4918    
  22  Normalizat    .82745        .23509        .32056E-03   -.99058    
  23  Prefactor     1.0899        .15598        .20002E-03   -.89791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23586e-08
Minuit parameter uncertainties:
  1  11.3546
  2  2.47018e-06
  3  3.08772
  4  1.52035e-06
  5  5.53765e-05
  6  1.31744e-06
  7  7.09086e-06
  8  0.903573
  9  2.21052e-06
  10  46.6698
  11  8.91151
  12  10.1169
  13  0.00115799
  14  8.39743e-06
  15  15.0288
  16  17.0276
  17  19.0634
  18  5.15533
  19  36.8785
  20  15.8076
  21  17.7132
  22  0.235376
  23  0.156048
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.900e+00  1.581e+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.090e+00  1.560e-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:  8.274e-01  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 9.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/149276/likelihoodResults_300499201_300758401_4FGL_J2349.4+0534_daily_bin236.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) = 7053.17788399
delta logL = 0.019227702277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7053.17242096
delta logL = 0.0246907352503

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2146       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7531       1.0000          .0000       10.000    
     3 'Normalizat'    .82130       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0922       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=   7053.172     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      213 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2284        377.56        .37334E-02   -.19528E-03
   2  Index         2.7519        6.3691        .22737       -.12293E-04
   3  Normalizat    .82133        .52859E-01    .72683E-01   -.20669E-03
   4  Prefactor     1.0922        .34234E-01    .37892E-01   -.19037E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.22837
  Index      = 2.75189
  Normalizat = 0.821332
  Prefactor  = 1.09219
 **********
 **   18 **HESSE 
 **********

 FCN=   7053.172     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2284        17.830        .14934E-03   -1.5170    
   2  Index         2.7519        1.4780        .10692E-01   -.46634    
   3  Normalizat    .82133        .21660        .32165E-03   -.99282    
   4  Prefactor     1.0922        .15263        .19983E-03   -.89717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8411e-10
Minuit parameter uncertainties:
  1  17.8429
  2  1.50638
  3  0.216832
  4  0.152689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149276': 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) = 7053.1724204
delta logL = 0.0246912998482

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  7.228e+00  1.784e+01  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.752e+00  1.506e+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.092e+00  1.527e-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:  8.213e-01  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
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/149276/cmap_HighResolution_300499201_300758401_4FGL_J2349.4+0534_daily_bin236.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', job_status='DONE', photon_flux_upper_limit='9.78e-08', time_completed='2021-09-30 06:48:39.669229', job_id='149276', GAL2='1.09', fit_tolerance='1e-08', EG2='0.82', EG='0.83', time_epoch_completed='1633009719.67', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.47e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='236' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 06:48:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 149276: <4FGL_J2349.4+0534_daily_bin236> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin236> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 06:35:39 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:35:41 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:41 2021
Terminated at Thu Sep 30 06:48:42 2021
Results reported at Thu Sep 30 06:48:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin236 357.356 5.579 300499201 300758401 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 :                                   683.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            783 sec.

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

