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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1461
RA = 352.329, Dec = -49.9324
tmin = 618019201, tmax = 618278401
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='972694', job_status='RUN', time_executed='2021-09-29 21:36:50.905148', time_epoch_executed='1632976610.91' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1461'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/972694

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/972694/ft1_4FGL_J2329.3-4955_daily_bin1461.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/972694/ft1_4FGL_J2329.3-4955_daily_bin1461.fits outfile=/scratch/kocevski/972694/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1461.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=618019201.0 tmax=618278401.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 5.19
user 4.91
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.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/972694/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1461.fits evtable="EVENTS" outfile="/scratch/kocevski/972694/ft1_filtered_4FGL_J2329.3-4955_daily_bin1461.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/972694/ft1_filtered_4FGL_J2329.3-4955_daily_bin1461.fits" evtable="EVENTS" scfile=/scratch/kocevski/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.fits sctable="SC_DATA" outfile=/scratch/kocevski/972694/ltcube_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.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/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.fits
.....................!
real 13.11
user 12.75
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/972694/ft1_filtered_4FGL_J2329.3-4955_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.fits sctable="SC_DATA" expcube=/scratch/kocevski/972694/ltcube_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.fits outfile=/scratch/kocevski/972694/expmap_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.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/972694/ltcube_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.fits
.....................!
real 191.41
user 185.66
sys 5.25

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/972694/ft1_filtered_4FGL_J2329.3-4955_daily_bin1461.fits scfile=/scratch/kocevski/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.fits outfile=/scratch/kocevski/972694/cmap_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/972694/ft1_filtered_4FGL_J2329.3-4955_daily_bin1461.fits scfile=/scratch/kocevski/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.fits outfile=/scratch/kocevski/972694/cmap_HighResolution_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/972694/ft1_filtered_4FGL_J2329.3-4955_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/972694/Model_4FGL_J2329.3-4955_daily_bin1461.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/972694/ft1_filtered_4FGL_J2329.3-4955_daily_bin1461.fits.....................!
real 38.62
user 37.27
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/972694/ft1_filtered_4FGL_J2329.3-4955_daily_bin1461.fits', '/scratch/kocevski/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.fits', expMap='/scratch/kocevski/972694/expmap_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.fits', expCube='/scratch/kocevski/972694/ltcube_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/972694/Model_4FGL_J2329.3-4955_daily_bin1461.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/972694/ft1_filtered_4FGL_J2329.3-4955_daily_bin1461.fits
Spacecraft file(s): /scratch/kocevski/972694/ft2_4FGL_J2329.3-4955_daily_bin1461.fits
Exposure map: /scratch/kocevski/972694/expmap_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.fits
Exposure cube: /scratch/kocevski/972694/ltcube_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/972694/Model_4FGL_J2329.3-4955_daily_bin1461.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) = 5108.22090545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.480       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.2957       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .32398E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.055       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6040       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14783E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.8803       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    38.661       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.7059       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.0492       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    17.263       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    10.789       1.0000         .10000E-03   10000.    
    29 'norm      '    .22000E-01   1.0000         .10000E-03   10000.    
    30 'Prefactor '    5.3069       1.0000         .10000E-03   10000.    
    31 'Prefactor '    14.006       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .50565       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.3902       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=   5108.185     FROM MIGRAD    STATUS=CONVERGED    930 CALLS     4660 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.565        .10861E-05** at limit **
   2  Prefactor     26.479        33.007        .80731E-06    .22203E-04
   3  Prefactor     .10000E-03    32.481        .16643E-05** at limit **
   4  Prefactor     6.2956        9.3463        .19273E-06   -.18732E-04
   5  Prefactor     .10000E-03    7.1409        .60786E-07** at limit **
   6  Prefactor     .10007E-03    7.7006        .88078E-06** at limit **
   7  norm          .10000E-03    14.429        .17556E-06** at limit **
   8  norm          14.057        8.9171        .26403E-07   -.45361E-04
   9  Prefactor     3.6043        3.8582        .25088E-05   -.38834E-03
  10  Prefactor     .10014E-03    3.4214        .13055E-05** at limit **
  11  Prefactor     .10000E-03    11.944        .62556E-07** at limit **
  12  Prefactor     .10000E-03    4.5891        .61846E-07** at limit **
  13  Prefactor     .10000E-03    29.948       -.18088E-05** at limit **
  14  Prefactor     .10000E-03    5.7605       -.73360E-06** at limit **
  15  Prefactor     .10000E-03    21.430       -.73833E-06** at limit **
  16  Prefactor     .10000E-03    31.170        .71654E-06** at limit **
  17  norm          5.8824        13.209        .15238E-06   -.95854E-05
  18  norm          .10000E-03    2.9416        .26486E-07** at limit **
  19  norm          .10000E-03    2.4261       -.34669E-07** at limit **
  20  Prefactor     38.659        13.332        .16281E-07    .29373E-04
  21  Prefactor     .10000E-03    48.384       -.89873E-06** at limit **
  22  norm          7.7062        6.0736       -.31740E-08   -.53531E-04
  23  Prefactor     .10000E-03    17.328       -.15988E-05** at limit **
  24  norm          2.0491        1.5637        .97742E-07    .12437E-03
  25  norm          .10000E-03    3.2952       -.28253E-07** at limit **
  26  Prefactor     17.268        18.623       -.15806E-06   -.59232E-04
  27  Prefactor     .10000E-03    2.0387       -.66658E-06** at limit **
  28  Prefactor     10.798        24.676       -.50848E-05   -.29506E-03
  29  norm          .16655E-03    31.628       -.19696E-05** at limit **
  30  Prefactor     5.2966        5.1331        .17614E-06    .41510E-03
  31  Prefactor     14.006        7.0810        .38849E-06    .26355E-03
  32  Normalizat    .50594        .21216        .48684E-06   -.14435E-03
  33  Prefactor     1.3899        .21647       -.98357E-06   -.84770E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 26.4788
  Prefactor  = 0.000100001
  Prefactor  = 6.29556
  Prefactor  = 0.0001
  Prefactor  = 0.000100065
  norm       = 0.0001
  norm       = 14.0569
  Prefactor  = 3.60426
  Prefactor  = 0.000100136
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.88235
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 38.6593
  Prefactor  = 0.0001
  norm       = 7.70617
  Prefactor  = 0.0001
  norm       = 2.04911
  norm       = 0.0001
  Prefactor  = 17.2685
  Prefactor  = 0.0001
  Prefactor  = 10.7976
  norm       = 0.000166552
  Prefactor  = 5.29664
  Prefactor  = 14.0062
  Normalizat = 0.505936
  Prefactor  = 1.38986
 **********
 **   18 **HESSE 
 **********

 FCN=   5108.185     FROM HESSE     STATUS=OK           703 CALLS     5363 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.479        32.904        .77849E-04   -1.4678    
   3  Prefactor     .10000E-03    32.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2956        9.3302        .15998E-03   -1.5206    
   5  Prefactor     .10000E-03    7.2173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10007E-03    51.976        .37760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    14.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.057        8.9211        .10684E-03   -1.4958    
   9  Prefactor     3.6043        3.9705        .72133E-03   -1.5328    
  10  Prefactor     .10014E-03    18.622        .24463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.6071        .14951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    30.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.761        .33025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    31.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.8824        13.201        .16561E-03   -1.5223    
  18  norm          .10000E-03    2.9433        .11970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.4267        .10866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     38.659        13.293        .64462E-04   -1.4464    
  21  Prefactor     .10000E-03    48.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.7062        6.0461        .14446E-03   -1.5153    
  23  Prefactor     .10000E-03    17.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.0491        1.5499        .70150E-04   -1.5422    
  25  norm          .10000E-03    3.3372        .12644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     17.268        18.611        .96396E-04   -1.4877    
  27  Prefactor     .10000E-03    2.0588        .99142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     10.798        25.862        .12198E-03   -1.5051    
  29  norm          .16655E-03    37.326        .10808       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     5.2966        5.2264        .13706E-03   -1.5248    
  31  Prefactor     14.006        7.1004        .10702E-03   -1.4959    
  32  Normalizat    .50594        .24450        .32613E-03   -1.1214    
  33  Prefactor     1.3899        .25513        .22610E-03   -.80673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.75807e-09
Minuit parameter uncertainties:
  1  0.000157753
  2  32.9267
  3  0.000401853
  4  9.33232
  5  3.33855e-06
  6  0.00369195
  7  2.20728e-05
  8  8.92196
  9  3.97083
  10  0.00318718
  11  1.21982e-05
  12  6.43892e-07
  13  0.00034595
  14  0.000244096
  15  0.000128906
  16  9.0487e-05
  17  13.2077
  18  2.70698e-07
  19  6.66648e-07
  20  13.2935
  21  0.000191864
  22  6.04662
  23  0.000179632
  24  1.54995
  25  2.35454e-06
  26  18.6173
  27  2.14056e-05
  28  25.8889
  29  0.0997441
  30  5.22682
  31  7.10086
  32  0.245017
  33  0.255358
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  2.049e+00  1.550e+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

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  1.390e+00  2.554e-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:  5.059e-01  2.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.37
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 5.55e-08 +/- 4.19e-08
Energy Flux (Fixed Index): 2.11e-05 +/- 1.60e-05

TS (Fixed Index): 3.37
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/972694/likelihoodResults_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.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) = 5107.1425223
delta logL = 1.04260267477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5107.14088346
delta logL = 1.04424152359

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3818       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3641       1.0000          .0000       5.0000    
     3 'Normalizat'    .41353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4580       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.

 FCN=   5107.141     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      241 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3843        10.817        .92550E-02    .89557E-03
   2  alpha         3.3620        4.1800        .29639        .58147E-04
   3  Normalizat    .41346        .63574E-01    .80836E-01    .55621E-04
   4  Prefactor     1.4582        .68026E-01    .50058E-01   -.15183E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38426
  alpha      = 3.36198
  Normalizat = 0.41346
  Prefactor  = 1.45817
 **********
 **   18 **HESSE 
 **********

 FCN=   5107.141     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3843        1.7463        .41606E-04   -1.5473    
   2  alpha         3.3620        1.0852        .12398E-01    .35202    
   3  Normalizat    .41346        .23782        .35802E-03   -1.1661    
   4  Prefactor     1.4582        .25816        .22128E-03   -.78718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8701e-11
Minuit parameter uncertainties:
  1  1.74638
  2  1.1281
  3  0.238402
  4  0.258389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/972694': 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) = 5107.14088013
delta logL = 1.04424485065

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.384e+00  1.746e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  3.362e+00  1.128e+00  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.458e+00  2.584e-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:  4.135e-01  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.78
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 3.36 +/- 1.13
Photon Flux (Free Index): 1.27e-07 +/- 7.18e-08
Energy Flux (Free Index): 2.29e-05 +/- 1.25e-05

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/972694/cmap_HighResolution_618019201_618278401_4FGL_J2329.3-4955_daily_bin1461.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-05', comment='SUCCESS', photon_flux='5.55e-08', energy_flux2='2.29e-05', photon_flux_error='4.19e-08', dlogl='1.04e+00', energy_flux='2.11e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-09-29 21:50:50.605596', photon_index_error2='1.13', photon_index2='3.36', ts='3.37', fit_tolerance='1e-08', GAL='1.39', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='1.25e-05', EG='0.51', time_epoch_completed='1632977450.61', return_code='0', job_id='972694', GAL2='1.46', EG2='0.41', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='7.18e-08', ts2='5.78', photon_index='2.18' WHERE bin_id='1461' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:50:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 972694: <4FGL_J2329.3-4955_daily_bin1461> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1461> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 21:35:21 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:35:22 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:35:22 2021
Terminated at Wed Sep 29 21:50:51 2021
Results reported at Wed Sep 29 21:50:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1461 352.329 -49.9324 618019201 618278401 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 :                                   828.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            930 sec.

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

