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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1257
RA = 352.329, Dec = -49.9324
tmin = 565142401, tmax = 565401601
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='968688', job_status='RUN', time_executed='2021-09-29 21:31:16.102443', time_epoch_executed='1632976276.1' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1257'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968688

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968688/ft1_4FGL_J2329.3-4955_daily_bin1257.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968688/ft1_4FGL_J2329.3-4955_daily_bin1257.fits outfile=/scratch/kocevski/968688/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1257.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=565142401.0 tmax=565401601.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.90
user 3.35
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.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/968688/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1257.fits evtable="EVENTS" outfile="/scratch/kocevski/968688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1257.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1257.fits" evtable="EVENTS" scfile=/scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits sctable="SC_DATA" outfile=/scratch/kocevski/968688/ltcube_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.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/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits
.....................!
real 12.41
user 12.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1257.fits evtable="EVENTS" scfile=/scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits sctable="SC_DATA" expcube=/scratch/kocevski/968688/ltcube_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.fits outfile=/scratch/kocevski/968688/expmap_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.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/968688/ltcube_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.fits
.....................!
real 189.64
user 185.40
sys 3.93

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 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J2329.3-4955 @ 352.329 -49.9324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/968688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1257.fits scfile=/scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits outfile=/scratch/kocevski/968688/cmap_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.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=352.329 yref=-49.9324 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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1257.fits scfile=/scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits outfile=/scratch/kocevski/968688/cmap_HighResolution_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.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=352.329 yref=-49.9324 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/968688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1257.fits evtable="EVENTS" scfile=/scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968688/Model_4FGL_J2329.3-4955_daily_bin1257.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/968688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1257.fits.....................!
real 41.36
user 40.22
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/968688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1257.fits', '/scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits', expMap='/scratch/kocevski/968688/expmap_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.fits', expCube='/scratch/kocevski/968688/ltcube_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/968688/Model_4FGL_J2329.3-4955_daily_bin1257.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2329.3-4955'

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.291e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/968688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1257.fits
Spacecraft file(s): /scratch/kocevski/968688/ft2_4FGL_J2329.3-4955_daily_bin1257.fits
Exposure map: /scratch/kocevski/968688/expmap_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.fits
Exposure cube: /scratch/kocevski/968688/ltcube_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/968688/Model_4FGL_J2329.3-4955_daily_bin1257.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) = 5908.98441509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.968       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.848       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.9635       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9372       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.7075       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1039       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.688       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.6064       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0364       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .12201E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .37883E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3969       1.0000         .10000E-03   10000.    
    21 'Prefactor '    35.511       1.0000         .10000E-03   10000.    
    22 'norm      '    14.029       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.3842       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.1559       1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.5175       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .69168       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1043       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5908.951     FROM MIGRAD    STATUS=CONVERGED    876 CALLS     4575 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.965        32.129        .10859E-07   -.83592E-05
   2  Prefactor     .10000E-03    10.002        .97027E-07** at limit **
   3  Prefactor     13.848        32.772       -.29042E-06    .10660E-04
   4  Prefactor     8.9644        7.6383        .48262E-07    .12149E-04
   5  Prefactor     7.9373        5.9254        .24178E-07    .11886E-04
   6  Prefactor     .10000E-03    5.6723        .10650E-06** at limit **
   7  norm          .10000E-03    16.698       -.11138E-07** at limit **
   8  norm          8.7077        7.3801        .16218E-07   -.18599E-05
   9  Prefactor     6.1044        4.0035        .12194E-06    .30549E-03
  10  Prefactor     .10000E-03    2.9281       -.28978E-06** at limit **
  11  Prefactor     29.666        36.338        .42527E-06   -.76930E-04
  12  Prefactor     5.6159        15.706       -.31202E-06    .26373E-05
  13  Prefactor     .10000E-03    46.414        .55653E-06** at limit **
  14  Prefactor     .10000E-03    1.8078        .19859E-07** at limit **
  15  Prefactor     5.0392        29.940        .49444E-06    .13894E-04
  16  Prefactor     .10000E-03    5.5152       -.70416E-07** at limit **
  17  norm          .10014E-03    11.293       -.17126E-05** at limit **
  18  norm          .10000E-03    1.6543       -.44826E-08** at limit **
  19  norm          .10010E-03    9.1018       -.13783E-05** at limit **
  20  Prefactor     1.3959        3.0620        .34669E-06    .18450E-03
  21  Prefactor     35.509        35.867       -.25831E-06    .10664E-03
  22  norm          14.037        7.2111        .50098E-07    .76481E-03
  23  Prefactor     .10000E-03    8.4649       -.23152E-06** at limit **
  24  norm          .10000E-03    .31817       -.85921E-07** at limit **
  25  norm          1.3845        2.6849        .32368E-06    .21316E-03
  26  Prefactor     .10000E-03    9.5492        .21968E-07** at limit **
  27  Prefactor     .10000E-03    1.0812       -.84861E-07** at limit **
  28  Prefactor     8.1559        12.744        .28441E-05    .29965E-03
  29  norm          .10000E-03    8.3182        .10719E-06** at limit **
  30  Prefactor     3.5175        4.4633        .26518E-06    .20201E-03
  31  Prefactor     .10000E-03    .91286       -.24716E-08** at limit **
  32  Normalizat    .69157        .17047        .40422E-06    .16185E-03
  33  Prefactor     1.1043        .18437       -.72199E-06    .20026E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9655
  Prefactor  = 0.0001
  Prefactor  = 13.8481
  Prefactor  = 8.96441
  Prefactor  = 7.93735
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.70766
  Prefactor  = 6.1044
  Prefactor  = 0.0001
  Prefactor  = 29.6658
  Prefactor  = 5.61589
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.03923
  Prefactor  = 0.0001
  norm       = 0.000100136
  norm       = 0.0001
  norm       = 0.000100098
  Prefactor  = 1.39588
  Prefactor  = 35.5085
  norm       = 14.0374
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.38449
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.15591
  norm       = 0.0001
  Prefactor  = 3.51748
  Prefactor  = 0.0001
  Normalizat = 0.691567
  Prefactor  = 1.1043
 **********
 **   18 **HESSE 
 **********

 FCN=   5908.951     FROM HESSE     STATUS=OK           699 CALLS     5274 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.965        32.123        .11123E-03   -1.4988    
   2  Prefactor     .10000E-03    10.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.848        32.735        .10764E-03   -1.4964    
   4  Prefactor     8.9644        7.6354        .13387E-03   -1.5109    
   5  Prefactor     7.9373        5.9221        .14232E-03   -1.5144    
   6  Prefactor     .10000E-03    5.7517        .17871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    16.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.7077        7.3826        .13584E-03   -1.5118    
   9  Prefactor     6.1044        3.9997        .12059E-03   -1.5214    
  10  Prefactor     .10000E-03    2.9755        .12837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     29.666        35.651        .73533E-04   -1.4618    
  12  Prefactor     5.6159        15.360        .16967E-03   -1.5234    
  13  Prefactor     .10000E-03    46.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.8124        .10094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.0392        29.901        .17918E-03   -1.5259    
  16  Prefactor     .10000E-03    5.5335        .17629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10014E-03    57.791        .44521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.6549        .96557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10010E-03    40.746        .36224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.3959        3.0050        .19295E-03   -1.5472    
  21  Prefactor     35.509        35.908        .67250E-04   -1.4515    
  22  norm          14.037        6.6091        .10694E-03   -1.4958    
  23  Prefactor     .10000E-03    8.5392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .54699        .84120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.3845        2.6262        .16630E-03   -1.5473    
  26  Prefactor     .10000E-03    9.5986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.0965        .78110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     8.1559        12.969        .70193E-03   -1.5137    
  29  norm          .10000E-03    8.3201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.5175        4.4489        .17168E-03   -1.5333    
  31  Prefactor     .10000E-03    .91939        .71707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .69157        .19791        .25388E-03   -1.0423    
  33  Prefactor     1.1043        .21338        .22843E-03   -.89329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91684e-09
Minuit parameter uncertainties:
  1  32.166
  2  2.25939e-05
  3  32.7773
  4  7.6362
  5  5.92251
  6  1.20515e-05
  7  9.35229e-06
  8  7.38335
  9  3.99986
  10  1.0015e-05
  11  35.6763
  12  15.3707
  13  0.000318712
  14  8.30768e-07
  15  24.5686
  16  9.65768e-06
  17  0.00560437
  18  1.67908e-07
  19  0.00400886
  20  3.00537
  21  35.93
  22  6.6094
  23  4.32251e-05
  24  3.14159e-06
  25  2.62642
  26  1.13843e-05
  27  8.08491e-06
  28  12.9734
  29  7.35698e-06
  30  4.44929
  31  6.91164e-07
  32  0.19811
  33  0.213544
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e-04  3.142e-06  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  1.104e+00  2.135e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  6.916e-01  1.981e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 4.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/968688/likelihoodResults_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.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) = 5908.95988137
delta logL = -0.00869541330667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5908.95116209
delta logL = 2.38727197939e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10326E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5805       1.0000          .0000       5.0000    
     3 'Normalizat'    .69157       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1043       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5908.951     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      297 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7508        .83957E-03** at limit **
   2  alpha         1.5378        4.2308        .50000       -.71486E-06
   3  Normalizat    .69157        .18861        .25388E-03    .97620E-05
   4  Prefactor     1.1043        .21131        .22843E-03    .25780E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.53783
  Normalizat = 0.69157
  Prefactor  = 1.1043
 **********
 **   18 **HESSE 
 **********

 FCN=   5908.951     FROM HESSE     STATUS=OK            29 CALLS      326 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .78655        .16791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5378        3.1845        .50000       -.39507    
   3  Normalizat    .69157        .18883        .10155E-04   -1.0423    
   4  Prefactor     1.1043        .21155        .91372E-05   -.89329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98508e-10
Minuit parameter uncertainties:
  1  6.40064e-08
  2  45.354
  3  0.189004
  4  0.211708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968688': 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) = 5908.95115974
delta logL = 2.62246321654e-05

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e-04  6.401e-08  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  1.538e+00  4.535e+01  0.000e+00  5.000e+00 ( 1.000e+00)
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  1.104e+00  2.117e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  6.916e-01  1.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.329 -49.932

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/968688/cmap_HighResolution_565142401_565401601_4FGL_J2329.3-4955_daily_bin1257.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.61e-05', job_status='DONE', photon_flux_upper_limit='4.23e-08', time_completed='2021-09-29 21:46:11.032833', job_id='968688', GAL2='1.10', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1632977171.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.62e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1257' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:46:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 968688: <4FGL_J2329.3-4955_daily_bin1257> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1257> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 21:30:38 2021
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:30:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 21:30:39 2021
Terminated at Wed Sep 29 21:46:11 2021
Results reported at Wed Sep 29 21:46:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1257 352.329 -49.9324 565142401 565401601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2329.3-4955 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   895.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            933 sec.

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

