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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1636
RA = 352.329, Dec = -49.9324
tmin = 663379201, tmax = 663638401
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='954240', job_status='RUN', time_executed='2022-01-12 01:25:44.421005', time_epoch_executed='1641979544.42' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/954240

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/954240/ft1_4FGL_J2329.3-4955_daily_bin1636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/954240/ft2_4FGL_J2329.3-4955_daily_bin1636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/954240/ft1_4FGL_J2329.3-4955_daily_bin1636.fits outfile=/scratch/kocevski/954240/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1636.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=663379201.0 tmax=663638401.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.60
user 2.41
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/954240/ft1_filtered_4FGL_J2329.3-4955_daily_bin1636.fits" evtable="EVENTS" scfile=/scratch/kocevski/954240/ft2_4FGL_J2329.3-4955_daily_bin1636.fits sctable="SC_DATA" outfile=/scratch/kocevski/954240/ltcube_663379201_663638401_4FGL_J2329.3-4955_daily_bin1636.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/954240/ft2_4FGL_J2329.3-4955_daily_bin1636.fits
.....................!
real 13.65
user 13.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/954240/ft1_filtered_4FGL_J2329.3-4955_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/954240/ft2_4FGL_J2329.3-4955_daily_bin1636.fits sctable="SC_DATA" expcube=/scratch/kocevski/954240/ltcube_663379201_663638401_4FGL_J2329.3-4955_daily_bin1636.fits outfile=/scratch/kocevski/954240/expmap_663379201_663638401_4FGL_J2329.3-4955_daily_bin1636.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/954240/ltcube_663379201_663638401_4FGL_J2329.3-4955_daily_bin1636.fits
.....................!
real 189.87
user 185.51
sys 3.97

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/954240/ft1_filtered_4FGL_J2329.3-4955_daily_bin1636.fits scfile=/scratch/kocevski/954240/ft2_4FGL_J2329.3-4955_daily_bin1636.fits outfile=/scratch/kocevski/954240/cmap_663379201_663638401_4FGL_J2329.3-4955_daily_bin1636.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.58
user 0.41
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/954240/ft1_filtered_4FGL_J2329.3-4955_daily_bin1636.fits scfile=/scratch/kocevski/954240/ft2_4FGL_J2329.3-4955_daily_bin1636.fits outfile=/scratch/kocevski/954240/cmap_HighResolution_663379201_663638401_4FGL_J2329.3-4955_daily_bin1636.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.62
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/954240/ft1_filtered_4FGL_J2329.3-4955_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/954240/ft2_4FGL_J2329.3-4955_daily_bin1636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/954240/Model_4FGL_J2329.3-4955_daily_bin1636.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/954240/ft1_filtered_4FGL_J2329.3-4955_daily_bin1636.fits.....................!
real 40.73
user 39.43
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.481       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.123       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7445       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.3863       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.6445       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8341       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.812       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6712       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.422       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.378       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    5.4270       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .52956       1.0000         .10000E-03   10000.    
    25 'norm      '    .12755E-01   1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.2688       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .95102       1.0000         .10000E-03   10000.    
    28 'Prefactor '    5.4512       1.0000         .10000E-03   10000.    
    29 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    10.932       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1036       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0003       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=   5422.539     FROM MIGRAD    STATUS=CONVERGED    909 CALLS     4613 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.911        .66087E-07** at limit **
   2  Prefactor     .10000E-03    9.0803        .26114E-07** at limit **
   3  Prefactor     34.486        40.260        .33603E-06    .79126E-05
   4  Prefactor     18.122        10.907        .21404E-06   -.15600E-05
   5  Prefactor     .10000E-03    3.2019       -.21959E-07** at limit **
   6  Prefactor     2.7442        7.2062        .50434E-05    .19098E-04
   7  norm          .10000E-03    7.7943       -.64843E-08** at limit **
   8  norm          7.3859        6.9748        .11607E-07   -.33791E-05
   9  Prefactor     2.6438        6.1450        .34401E-06    .90053E-06
  10  Prefactor     5.8335        9.3009        .17267E-05   -.14833E-04
  11  Prefactor     .10000E-03    54.284       -.78025E-06** at limit **
  12  Prefactor     .10000E-03    3.9524       -.39886E-06** at limit **
  13  Prefactor     19.691        79.393        .18876E-04   -.15694E-05
  14  Prefactor     6.6703        7.4775        .15583E-06   -.92282E-05
  15  Prefactor     .10000E-03    45.113       -.10211E-06** at limit **
  16  Prefactor     .10000E-03    17.215       -.14677E-07** at limit **
  17  norm          11.422        10.718        .51875E-07   -.54020E-05
  18  norm          .10000E-03    6.4733        .22764E-07** at limit **
  19  norm          .10000E-03    4.1362        .97063E-07** at limit **
  20  Prefactor     21.378        9.8969        .52860E-07   -.17873E-04
  21  Prefactor     .10000E-03    15.936        .46384E-08** at limit **
  22  norm          5.4299        4.8456        .63100E-06   -.24251E-03
  23  Prefactor     .10000E-03    5.5412        .41443E-08** at limit **
  24  norm          .52921        1.3349        .19739E-06    .30224E-04
  25  norm          .10741E-03    3.1021        .49010E-06** at limit **
  26  Prefactor     5.2645        18.480        .74564E-06   -.78601E-06
  27  Prefactor     .95083        5.8972       -.81074E-07   -.95339E-04
  28  Prefactor     5.4457        15.627        .16292E-05    .17123E-04
  29  norm          .10000E-03    43.340       -.78433E-06** at limit **
  30  Prefactor     10.929        7.7931        .52058E-06    .90715E-04
  31  Prefactor     .10000E-03    1.2376        .10936E-07** at limit **
  32  Normalizat    1.1037        .21000       -.17844E-05   -.42523E-04
  33  Prefactor     1.0003        .21375       -.47438E-06   -.62347E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.4862
  Prefactor  = 18.1218
  Prefactor  = 0.0001
  Prefactor  = 2.74422
  norm       = 0.0001
  norm       = 7.38587
  Prefactor  = 2.64381
  Prefactor  = 5.83353
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 19.6907
  Prefactor  = 6.67035
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.4222
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 21.3784
  Prefactor  = 0.0001
  norm       = 5.42989
  Prefactor  = 0.0001
  norm       = 0.529212
  norm       = 0.000107408
  Prefactor  = 5.26446
  Prefactor  = 0.950832
  Prefactor  = 5.44566
  norm       = 0.0001
  Prefactor  = 10.9293
  Prefactor  = 0.0001
  Normalizat = 1.10367
  Prefactor  = 1.00029
 **********
 **   18 **HESSE 
 **********

 FCN=   5422.539     FROM HESSE     STATUS=OK           707 CALLS     5320 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.1017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     34.486        40.219        .68244E-04   -1.4533    
   4  Prefactor     18.122        10.905        .94082E-04   -1.4856    
   5  Prefactor     .10000E-03    3.2094        .12866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.7442        7.2058        .12287E-02   -1.5377    
   7  norm          .10000E-03    7.7951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.3859        6.9802        .14757E-03   -1.5164    
   9  Prefactor     2.6438        6.1199        .25071E-03   -1.5383    
  10  Prefactor     5.8335        9.2930        .83135E-03   -1.5225    
  11  Prefactor     .10000E-03    55.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.9637        .14305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.691        79.183        .89983E-04   -1.4820    
  14  Prefactor     6.6703        7.4731        .15536E-03   -1.5191    
  15  Prefactor     .10000E-03    45.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.422        10.720        .11854E-03   -1.5032    
  18  norm          .10000E-03    6.5232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.2312        .29207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     21.378        9.6863        .86628E-04   -1.4783    
  21  Prefactor     .10000E-03    15.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          5.4299        4.8745        .70371E-03   -1.5242    
  23  Prefactor     .10000E-03    5.5445        .16923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .52921        1.2673        .11775E-03   -1.5562    
  25  norm          .10741E-03    7.8051        .39112E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     5.2645        18.517        .17511E-03   -1.5249    
  27  Prefactor     .95083        5.2262        .28647E-03   -1.5513    
  28  Prefactor     5.4457        15.289        .86051E-03   -1.5241    
  29  norm          .10000E-03    43.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     10.929        7.5750        .12117E-03   -1.5047    
  31  Prefactor     .10000E-03    1.2421        .79988E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1037        .25469        .24476E-03   -.89634    
  33  Prefactor     1.0003        .25924        .27369E-03   -.92720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1278e-10
Minuit parameter uncertainties:
  1  6.37478e-06
  2  2.31265e-07
  3  40.2509
  4  10.9065
  5  2.51103e-06
  6  7.20804
  7  2.39474e-07
  8  6.98095
  9  6.12134
  10  9.29532
  11  0.000389485
  12  3.08123e-05
  13  79.1554
  14  7.47413
  15  7.88773e-05
  16  6.78901e-06
  17  10.7216
  18  7.05824e-07
  19  4.82209e-07
  20  9.687
  21  1.99802e-06
  22  4.87487
  23  1.18668e-07
  24  1.26738
  25  0.0152104
  26  18.5367
  27  4.45874
  28  15.3
  29  0.000103478
  30  7.57566
  31  4.7588e-07
  32  0.254975
  33  0.259559
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  5.292e-01  1.267e+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.000e+00  2.596e-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:  1.104e+00  2.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/954240/likelihoodResults_663379201_663638401_4FGL_J2329.3-4955_daily_bin1636.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) = 5422.41801007
delta logL = 0.121397732441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5422.41259496
delta logL = 0.126812836118

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61624       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9110       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0136       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=   5422.413     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      239 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61625        1.2468        .46946E-04    .29859E-03
   2  alpha         2.9109        1.6034        .30277E-01    .52922E-05
   3  Normalizat    1.0815        .24567        .24681E-03    .11368E-03
   4  Prefactor     1.0137        .25983        .27216E-03    .11930E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.616251
  alpha      = 2.91086
  Normalizat = 1.08154
  Prefactor  = 1.01369
 **********
 **   18 **HESSE 
 **********

 FCN=   5422.413     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61625        1.1343        .18778E-05   -1.5551    
   2  alpha         2.9109        1.4784        .12111E-02    .16509    
   3  Normalizat    1.0815        .24572        .98724E-05   -.90347    
   4  Prefactor     1.0137        .25967        .10886E-04   -.92275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93606e-11
Minuit parameter uncertainties:
  1  1.13436
  2  1.58532
  3  0.245982
  4  0.259989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/954240': 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) = 5422.41259494
delta logL = 0.126812860074

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  6.163e-01  1.134e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.911e+00  1.585e+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.014e+00  2.600e-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:  1.082e+00  2.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
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/954240/cmap_HighResolution_663379201_663638401_4FGL_J2329.3-4955_daily_bin1636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-05', job_status='DONE', photon_flux_upper_limit='9.41e-08', time_completed='2022-01-12 01:40:06.662154', job_id='954240', GAL2='1.01', fit_tolerance='1e-08', EG2='1.08', EG='1.10', time_epoch_completed='1641980406.66', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.27e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1636' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 12 01:40:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 954240: <4FGL_J2329.3-4955_daily_bin1636> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1636> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jan 12 01:25:16 2022
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 12 01:25:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 12 01:25:37 2022
Terminated at Wed Jan 12 01:40:07 2022
Results reported at Wed Jan 12 01:40:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1636 352.329 -49.9324 663379201 663638401 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 :                                   864.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            891 sec.

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

