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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin748
RA = 357.356, Dec = 5.579
tmin = 433209601, tmax = 433468801
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='153169', job_status='RUN', time_executed='2021-09-30 06:53:36.468856', time_epoch_executed='1633010016.47' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153169

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153169/ft1_4FGL_J2349.4+0534_daily_bin748.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153169/ft2_4FGL_J2349.4+0534_daily_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153169/ft1_4FGL_J2349.4+0534_daily_bin748.fits outfile=/scratch/kocevski/153169/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin748.fits ra=357.356 dec=5.579 rad=12.0 tmin=433209601.0 tmax=433468801.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 6.04
user 5.74
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153169/ft1_filtered_4FGL_J2349.4+0534_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/153169/ft2_4FGL_J2349.4+0534_daily_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/153169/ltcube_433209601_433468801_4FGL_J2349.4+0534_daily_bin748.fits outfile=/scratch/kocevski/153169/expmap_433209601_433468801_4FGL_J2349.4+0534_daily_bin748.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/153169/ltcube_433209601_433468801_4FGL_J2349.4+0534_daily_bin748.fits
.....................!
real 190.29
user 185.52
sys 4.39

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/153169/ft1_filtered_4FGL_J2349.4+0534_daily_bin748.fits scfile=/scratch/kocevski/153169/ft2_4FGL_J2349.4+0534_daily_bin748.fits outfile=/scratch/kocevski/153169/cmap_433209601_433468801_4FGL_J2349.4+0534_daily_bin748.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153169/ft1_filtered_4FGL_J2349.4+0534_daily_bin748.fits scfile=/scratch/kocevski/153169/ft2_4FGL_J2349.4+0534_daily_bin748.fits outfile=/scratch/kocevski/153169/cmap_HighResolution_433209601_433468801_4FGL_J2349.4+0534_daily_bin748.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.704       1.0000         .10000E-03   10000.    
     2 'norm      '    7.5906       1.0000         .10000E-03   10000.    
     3 'norm      '    5.0298       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .85261       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9100       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.778       1.0000         .10000E-03   10000.    
     8 'norm      '    2.9774       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4365       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    69.774       1.0000         .10000E-03   10000.    
    16 'norm      '    19.965       1.0000         .10000E-03   10000.    
    17 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0404       1.0000         .10000E-03   10000.    
    19 'Prefactor '    81.408       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.1260       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.5201       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .75717       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82587       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=   3534.103     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2592 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.702        21.002        .61069E-06    .82998E-04
   2  norm          7.5894        4.5302        .31529E-06    .32769E-03
   3  norm          5.0376        4.6583        .10425E-05    .29488E-03
   4  Prefactor     .65987        88.700       -.18544E-04    .77299E-04
   5  Prefactor     .10000E-03    16.841       -.28125E-07** at limit **
   6  Prefactor     2.9076        14.234       -.23975E-05   -.15175E-04
   7  Prefactor     31.773        24.193       -.16548E-06    .11143E-04
   8  norm          2.9768        1.4248        .15875E-07    .39412E-04
   9  Prefactor     .10000E-03    9.2347        .96587E-06** at limit **
  10  Prefactor     .10000E-03    32.392        .10036E-05** at limit **
  11  norm          .10000E-03    3.7988        .52588E-06** at limit **
  12  Prefactor     6.4276        10.313       -.62972E-06   -.56671E-05
  13  Prefactor     .10000E-03    144.25       -.30426E-06** at limit **
  14  Prefactor     .10000E-03    7.5619        .60508E-06** at limit **
  15  Prefactor     69.752        42.307        .24863E-06    .39820E-04
  16  norm          19.963        17.646        .32584E-08    .13583E-04
  17  norm          .10000E-03    50.493        .65137E-06** at limit **
  18  Prefactor     8.0305        5.9204       -.67846E-06   -.10174E-03
  19  Prefactor     81.342        65.412        .15400E-05    .88148E-04
  20  Prefactor     7.0917        51.785        .20797E-05    .33610E-04
  21  Prefactor     3.4676        36.519       -.44162E-05   -.22754E-04
  22  Normalizat    .75864        .30239        .19173E-05    .27040E-03
  23  Prefactor     .82519        .18714        .10094E-05    .96015E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.702
  norm       = 7.58937
  norm       = 5.03761
  Prefactor  = 0.659873
  Prefactor  = 0.0001
  Prefactor  = 2.9076
  Prefactor  = 31.7725
  norm       = 2.97681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.42755
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 69.7522
  norm       = 19.9634
  norm       = 0.0001
  Prefactor  = 8.03051
  Prefactor  = 81.3417
  Prefactor  = 7.09173
  Prefactor  = 3.46764
  Normalizat = 0.75864
  Prefactor  = 0.825192
 **********
 **   18 **HESSE 
 **********

 FCN=   3534.103     FROM HESSE     STATUS=OK           372 CALLS     2964 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.702        21.012        .92609E-04   -1.4843    
   2  norm          7.5894        4.5384        .84668E-04   -1.5157    
   3  norm          5.0376        4.6650        .11598E-03   -1.5259    
   4  Prefactor     .65987        92.219        .36395E-02   -1.5546    
   5  Prefactor     .10000E-03    16.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9076        14.215        .23817E-03   -1.5367    
   7  Prefactor     31.773        24.196        .71079E-04   -1.4580    
   8  norm          2.9768        1.4237        .47394E-04   -1.5363    
   9  Prefactor     .10000E-03    9.2464        .17617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    32.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.7994        .11311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.4276        10.333        .15820E-03   -1.5201    
  13  Prefactor     .10000E-03    144.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.5885        .15963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     69.752        42.238        .48056E-04   -1.4036    
  16  norm          19.963        17.648        .89640E-04   -1.4814    
  17  norm          .10000E-03    50.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.0305        5.9391        .11796E-03   -1.5141    
  19  Prefactor     81.342        65.571        .22258E-03   -1.3902    
  20  Prefactor     7.0917        51.473        .15027E-03   -1.5175    
  21  Prefactor     3.4676        37.064        .21547E-03   -1.5336    
  22  Normalizat    .75864        .33470        .31276E-03   -1.0162    
  23  Prefactor     .82519        .20644        .20809E-03   -.98806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05253e-09
Minuit parameter uncertainties:
  1  21.0202
  2  4.53856
  3  4.66532
  4  15.625
  5  3.75692e-06
  6  12.8625
  7  24.2032
  8  1.42373
  9  1.35607e-05
  10  2.32679e-05
  11  2.36254e-06
  12  10.3354
  13  6.70433e-06
  14  1.81722e-05
  15  42.2562
  16  17.6524
  17  0.000199809
  18  5.93956
  19  65.6297
  20  38.2577
  21  22.6913
  22  0.335612
  23  0.206631
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  7.092e+00  3.826e+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:  8.252e-01  2.066e-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:  7.586e-01  3.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 1.81e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/153169/likelihoodResults_433209601_433468801_4FGL_J2349.4+0534_daily_bin748.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) = 3534.09987864
delta logL = 0.00299028139898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3534.09938372
delta logL = 0.0034852014237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0909       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6563       1.0000          .0000       10.000    
     3 'Normalizat'    .75544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82589       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=   3534.099     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      236 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0426        813.49        .40670E-02    .36869E-04
   2  Index         2.6575        3.0096        .35468        .11381E-04
   3  Normalizat    .75595        .33766E-01    .70785E-01    .50607E-04
   4  Prefactor     .82633        .23591E-01    .44053E-01    .86653E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.04258
  Index      = 2.65753
  Normalizat = 0.755947
  Prefactor  = 0.826327
 **********
 **   18 **HESSE 
 **********

 FCN=   3534.099     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0426        59.128        .16268E-03   -1.5216    
   2  Index         2.6575        2.3866        .84054E-02   -.48759    
   3  Normalizat    .75595        .28977        .31326E-03   -1.0172    
   4  Prefactor     .82633        .20058        .20796E-03   -.98765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17286e-11
Minuit parameter uncertainties:
  1  37.8525
  2  2.52126
  3  0.290362
  4  0.200753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153169': 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) = 3534.09935606
delta logL = 0.00351286067871

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  6.043e+00  3.785e+01  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.658e+00  2.521e+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:  8.263e-01  2.008e-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:  7.559e-01  2.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/153169/cmap_HighResolution_433209601_433468801_4FGL_J2349.4+0534_daily_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', job_status='DONE', photon_flux_upper_limit='1.81e-07', time_completed='2021-09-30 07:02:21.439075', job_id='153169', GAL2='0.83', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1633010541.44', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.51e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='748' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:02:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 153169: <4FGL_J2349.4+0534_daily_bin748> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep 30 06:50:11 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:50:12 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:50:12 2021
Terminated at Thu Sep 30 07:02:22 2021
Results reported at Thu Sep 30 07:02:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin748 357.356 5.579 433209601 433468801 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 :                                   516.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            731 sec.

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

