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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin1281
RA = 357.356, Dec = 5.579
tmin = 571363201, tmax = 571622401
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='154961', job_status='RUN', time_executed='2021-09-30 06:55:36.843504', time_epoch_executed='1633010136.84' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154961

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154961/ft1_4FGL_J2349.4+0534_daily_bin1281.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154961/ft2_4FGL_J2349.4+0534_daily_bin1281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154961/ft1_4FGL_J2349.4+0534_daily_bin1281.fits outfile=/scratch/kocevski/154961/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1281.fits ra=357.356 dec=5.579 rad=12.0 tmin=571363201.0 tmax=571622401.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 2.86
user 2.63
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/154961/ft1_filtered_4FGL_J2349.4+0534_daily_bin1281.fits" evtable="EVENTS" scfile=/scratch/kocevski/154961/ft2_4FGL_J2349.4+0534_daily_bin1281.fits sctable="SC_DATA" outfile=/scratch/kocevski/154961/ltcube_571363201_571622401_4FGL_J2349.4+0534_daily_bin1281.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/154961/ft2_4FGL_J2349.4+0534_daily_bin1281.fits
.....................!
real 12.29
user 11.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154961/ft1_filtered_4FGL_J2349.4+0534_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/154961/ft2_4FGL_J2349.4+0534_daily_bin1281.fits sctable="SC_DATA" expcube=/scratch/kocevski/154961/ltcube_571363201_571622401_4FGL_J2349.4+0534_daily_bin1281.fits outfile=/scratch/kocevski/154961/expmap_571363201_571622401_4FGL_J2349.4+0534_daily_bin1281.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/154961/ltcube_571363201_571622401_4FGL_J2349.4+0534_daily_bin1281.fits
.....................!
real 192.56
user 186.53
sys 5.64

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/154961/ft1_filtered_4FGL_J2349.4+0534_daily_bin1281.fits scfile=/scratch/kocevski/154961/ft2_4FGL_J2349.4+0534_daily_bin1281.fits outfile=/scratch/kocevski/154961/cmap_571363201_571622401_4FGL_J2349.4+0534_daily_bin1281.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/154961/ft1_filtered_4FGL_J2349.4+0534_daily_bin1281.fits scfile=/scratch/kocevski/154961/ft2_4FGL_J2349.4+0534_daily_bin1281.fits outfile=/scratch/kocevski/154961/cmap_HighResolution_571363201_571622401_4FGL_J2349.4+0534_daily_bin1281.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.133       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9824       1.0000         .10000E-03   10000.    
     3 'norm      '    2.9795       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.366       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .69814       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.3629       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .51181E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23679E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.339       1.0000         .10000E-03   10000.    
    17 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .51959       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1161       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2553       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3314       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91341       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=   7485.595     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2581 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.129        15.851        .48756E-07   -.13504E-04
   2  norm          2.9817        2.7533        .19330E-06   -.69037E-04
   3  norm          2.9787        2.9449        .14462E-06   -.50179E-04
   4  Prefactor     .10000E-03    15.863        .59757E-06** at limit **
   5  Prefactor     21.332        48.567        .38547E-06   -.19608E-04
   6  Prefactor     .10000E-03    7.2105       -.36131E-07** at limit **
   7  Prefactor     .10000E-03    13.789       -.95036E-07** at limit **
   8  norm          .69963        1.2441       -.22242E-05   -.55500E-03
   9  Prefactor     .10000E-03    5.7382       -.33539E-07** at limit **
  10  Prefactor     .10000E-03    35.673        .40484E-06** at limit **
  11  norm          6.3607        7.5546        .18111E-06   -.21772E-04
  12  Prefactor     .10000E-03    3.9329        .22877E-07** at limit **
  13  Prefactor     .10075E-03    7574.1       -.11708E-03** at limit **
  14  Prefactor     .10136E-03    15.640        .17450E-05** at limit **
  15  Prefactor     .10000E-03    9.4652        .10796E-07** at limit **
  16  norm          10.337        12.355        .12736E-06   -.41631E-05
  17  norm          .10000E-03    28.720       -.73718E-06** at limit **
  18  Prefactor     .47548        4.1905       -.15016E-06    .87598E-03
  19  Prefactor     5.1254        84.834        .32822E-05   -.15978E-04
  20  Prefactor     4.2516        26.228        .10445E-04   -.85692E-04
  21  Prefactor     .10000E-03    5.6408        .71406E-07** at limit **
  22  Normalizat    1.3318        .19775        .12013E-07    .53405E-04
  23  Prefactor     .91319        .12912       -.70656E-06    .82291E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1288
  norm       = 2.98165
  norm       = 2.97866
  Prefactor  = 0.0001
  Prefactor  = 21.3318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.699631
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.36068
  Prefactor  = 0.0001
  Prefactor  = 0.000100747
  Prefactor  = 0.000101362
  Prefactor  = 0.0001
  norm       = 10.3373
  norm       = 0.0001
  Prefactor  = 0.475475
  Prefactor  = 5.12538
  Prefactor  = 4.25158
  Prefactor  = 0.0001
  Normalizat = 1.33183
  Prefactor  = 0.913185
 **********
 **   18 **HESSE 
 **********

 FCN=   7485.595     FROM HESSE     STATUS=OK           380 CALLS     2961 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.129        15.817        .10654E-03   -1.4956    
   2  norm          2.9817        2.7456        .12362E-03   -1.5363    
   3  norm          2.9787        2.9391        .14296E-03   -1.5363    
   4  Prefactor     .10000E-03    16.412        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     21.332        48.669        .86652E-04   -1.4784    
   6  Prefactor     .10000E-03    7.3012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .69963        1.2277        .12926E-02   -1.5541    
   9  Prefactor     .10000E-03    5.7644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.3607        7.5453        .15912E-03   -1.5204    
  12  Prefactor     .10000E-03    3.9568        .16733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10075E-03    7557.1        .37103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10136E-03    136.58        .55221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.4813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.337        12.356        .12461E-03   -1.5065    
  17  norm          .10000E-03    28.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .47548        20.882        .28151E-02   -1.5570    
  19  Prefactor     5.1254        83.527        .17775E-03   -1.5255    
  20  Prefactor     4.2516        25.676        .97662E-03   -1.5296    
  21  Prefactor     .10000E-03    5.6483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3318        .23195        .27933E-03   -.82621    
  23  Prefactor     .91319        .15088        .22317E-03   -.95682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45329e-08
Minuit parameter uncertainties:
  1  15.8214
  2  2.7457
  3  2.93929
  4  1.48941e-06
  5  48.7601
  6  3.13267e-06
  7  4.59592e-06
  8  1.22771
  9  4.91652e-07
  10  0.000108526
  11  7.54638
  12  3.58979e-06
  13  0.137746
  14  0.0273389
  15  7.62678e-06
  16  12.3595
  17  7.84268e-05
  18  6.30371
  19  41.4496
  20  20.9095
  21  4.62261e-07
  22  0.232137
  23  0.150944
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  4.252e+00  2.091e+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:  9.132e-01  1.509e-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.332e+00  2.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/154961/likelihoodResults_571363201_571622401_4FGL_J2349.4+0534_daily_bin1281.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) = 7485.58060785
delta logL = 0.0145688417015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7485.57938844
delta logL = 0.0157882503927

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4044       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8729       1.0000          .0000       10.000    
     3 'Normalizat'    1.3266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91481       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=   7485.579     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      302 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4461        114.40        .54816E-02    .20233E-03
   2  Index         2.8729        .83307        .50000        .14509E-04
   3  Normalizat    1.3267        .16181E-01    .63256E-01   -.56820E-05
   4  Prefactor     .91482        .11002E-01    .45193E-01    .30739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.44606
  Index      = 2.87287
  Normalizat = 1.3267
  Prefactor  = 0.914819
 **********
 **   18 **HESSE 
 **********

 FCN=   7485.579     FROM HESSE     STATUS=OK            33 CALLS      335 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4461        24.962        .21926E-03   -1.5337    
   2  Index         2.8729        2.5572        .48873E-02   -.43943    
   3  Normalizat    1.3267        .22129        .27979E-03   -.82773    
   4  Prefactor     .91482        .14884        .22299E-03   -.95625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67639e-11
Minuit parameter uncertainties:
  1  18.56
  2  2.71763
  3  0.221445
  4  0.148909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154961': 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) = 7485.57938144
delta logL = 0.0157952504424

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.446e+00  1.856e+01  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.873e+00  2.718e+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:  9.148e-01  1.489e-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.327e+00  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/154961/cmap_HighResolution_571363201_571622401_4FGL_J2349.4+0534_daily_bin1281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-30 07:07:47.306815', job_id='154961', GAL2='0.91', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1633010867.31', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.58e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1281' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:07:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 154961: <4FGL_J2349.4+0534_daily_bin1281> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1281> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 06:55:18 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:55:20 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:55:20 2021
Terminated at Thu Sep 30 07:07:48 2021
Results reported at Thu Sep 30 07:07:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1281 357.356 5.579 571363201 571622401 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 :                                   717.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             365.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            750 sec.

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

