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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1090
RA = 352.339, Dec = -47.5558
tmin = 521856001, tmax = 522115201
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='950406', job_status='RUN', time_executed='2021-09-29 21:01:03.746699', time_epoch_executed='1632974463.75' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950406

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950406/ft1_4FGL_J2329.3-4733_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950406/ft1_4FGL_J2329.3-4733_daily_bin1090.fits outfile=/scratch/kocevski/950406/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1090.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=521856001.0 tmax=522115201.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.73
user 3.53
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.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/950406/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/950406/ft1_filtered_4FGL_J2329.3-4733_daily_bin1090.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950406/ft1_filtered_4FGL_J2329.3-4733_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/950406/ltcube_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.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/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits
.....................!
real 11.95
user 11.55
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950406/ft1_filtered_4FGL_J2329.3-4733_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/950406/ltcube_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.fits outfile=/scratch/kocevski/950406/expmap_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.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/950406/ltcube_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.fits
.....................!
real 189.65
user 184.95
sys 4.30

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

Setting source of interest to:
4FGL J2329.3-4733 @ 352.339 -47.5558

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/950406/ft1_filtered_4FGL_J2329.3-4733_daily_bin1090.fits scfile=/scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits outfile=/scratch/kocevski/950406/cmap_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.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.339 yref=-47.5558 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950406/ft1_filtered_4FGL_J2329.3-4733_daily_bin1090.fits scfile=/scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits outfile=/scratch/kocevski/950406/cmap_HighResolution_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.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.339 yref=-47.5558 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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/950406/ft1_filtered_4FGL_J2329.3-4733_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950406/Model_4FGL_J2329.3-4733_daily_bin1090.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/950406/ft1_filtered_4FGL_J2329.3-4733_daily_bin1090.fits.....................!
real 40.31
user 38.96
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/950406/ft1_filtered_4FGL_J2329.3-4733_daily_bin1090.fits', '/scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits', expMap='/scratch/kocevski/950406/expmap_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.fits', expCube='/scratch/kocevski/950406/ltcube_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/950406/Model_4FGL_J2329.3-4733_daily_bin1090.xml', optimizer='MINUIT')

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

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  3.273e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.507e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/950406/ft1_filtered_4FGL_J2329.3-4733_daily_bin1090.fits
Spacecraft file(s): /scratch/kocevski/950406/ft2_4FGL_J2329.3-4733_daily_bin1090.fits
Exposure map: /scratch/kocevski/950406/expmap_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.fits
Exposure cube: /scratch/kocevski/950406/ltcube_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/950406/Model_4FGL_J2329.3-4733_daily_bin1090.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) = 5413.902309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    196.78       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.8146       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19918E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1949       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.3159       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2248       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11278E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4498       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10858E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0884       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .99308       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.7930       1.0000         .10000E-03   10000.    
    22 'norm      '    8.5481       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .93721       1.0000         .10000E-03   10000.    
    24 'Prefactor '    28.492       1.0000         .10000E-03   10000.    
    25 'norm      '    .10364E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .99499E-01   1.0000         .10000E-03   10000.    
    28 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .12156E-02   1.0000         .10000E-03   10000.    
    30 'Prefactor '    2.2038       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10458E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    4.7528       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .74808       1.0000         .10000E-01   10.000    
    36 'Prefactor '    1.1529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5413.891     FROM MIGRAD    STATUS=CONVERGED   1082 CALLS     5404 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 16.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     196.71        76.930       -.29334E-06    .21036E-03
   2  Prefactor     6.8809        29.231       -.49505E-05   -.82939E-04
   3  Prefactor     .10118E-03    323.43       -.56036E-04** at limit **
   4  Prefactor     .10000E-03    4.9407       -.68164E-07** at limit **
   5  Prefactor     .10000E-03    7.5080       -.15003E-06** at limit **
   6  Prefactor     .10000E-03    9.5341        .21000E-07** at limit **
   7  Prefactor     6.1977        9.6476       -.76536E-06   -.32684E-03
   8  Prefactor     .10000E-03    8.7972        .27749E-06** at limit **
   9  norm          8.3147        7.8850        .35746E-07   -.46565E-04
  10  Prefactor     3.2253        3.3197        .56129E-07    .10907E-03
  11  Prefactor     .10000E-03    101.33       -.48395E-06** at limit **
  12  Prefactor     3.4488        3.5577        .15605E-07    .40102E-04
  13  Prefactor     .10000E-03    37.559       -.10064E-05** at limit **
  14  Prefactor     2.0792        15.274       -.37722E-07    .62582E-04
  15  Prefactor     1.0237        285.17        .45495E-04   -.39049E-04
  16  Prefactor     .10000E-03    1.3536       -.21092E-07** at limit **
  17  Prefactor     .10000E-03    28.846       -.23672E-06** at limit **
  18  Prefactor     .10000E-03    4.3862       -.48392E-07** at limit **
  19  norm          .10000E-03    5.3177       -.48907E-07** at limit **
  20  norm          .10000E-03    2.7238        .51110E-07** at limit **
  21  norm          2.7921        3.6844        .22998E-09   -.31849E-04
  22  norm          8.5470        9.5991        .56683E-07    .56839E-05
  23  Prefactor     .93561        3.6550        .33699E-07    .20513E-03
  24  Prefactor     28.502        35.346        .15974E-07   -.49563E-05
  25  norm          .10000E-03    3.7064        .35827E-06** at limit **
  26  Prefactor     .10000E-03    7.3240       -.59280E-08** at limit **
  27  norm          .99232E-01    .61504        .77192E-06    .17323E-02
  28  norm          .10000E-03    3.4355        .16737E-06** at limit **
  29  Prefactor     .10011E-03    23.186       -.14416E-04** at limit **
  30  Prefactor     2.2044        3.1563       -.23883E-06   -.35941E-03
  31  Prefactor     .10000E-03    22.541        .10964E-05** at limit **
  32  norm          .10000E-03    6.6225        .68520E-08** at limit **
  33  Prefactor     .10000E-03    1.1508       -.27179E-07** at limit **
  34  Prefactor     4.7464        5.4686       -.43352E-06   -.80663E-04
  35  Normalizat    .74819        .17993       -.51087E-06   -.33051E-03
  36  Prefactor     1.1530        .19015       -.92230E-08   -.36919E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 196.71
  Prefactor  = 6.88087
  Prefactor  = 0.00010118
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.19769
  Prefactor  = 0.0001
  norm       = 8.31474
  Prefactor  = 3.22525
  Prefactor  = 0.000100001
  Prefactor  = 3.44875
  Prefactor  = 0.000100003
  Prefactor  = 2.07923
  Prefactor  = 1.02368
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.79212
  norm       = 8.54701
  Prefactor  = 0.935609
  Prefactor  = 28.5023
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0992319
  norm       = 0.0001
  Prefactor  = 0.000100109
  Prefactor  = 2.20438
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.74643
  Normalizat = 0.748189
  Prefactor  = 1.15296
 **********
 **   18 **HESSE 
 **********

 FCN=   5413.891     FROM HESSE     STATUS=OK           827 CALLS     6231 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     196.71        76.802        .14400E-03   -1.2894    
   2  Prefactor     6.8809        30.145        .15370E-03   -1.5183    
   3  Prefactor     .10118E-03    42.026        .12387       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.9567        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.6318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.5391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.1977        9.6590        .16129E-03   -1.5210    
   8  Prefactor     .10000E-03    9.0800        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.3147        7.8862        .13902E-03   -1.5131    
  10  Prefactor     3.2253        3.3098        .13052E-03   -1.5349    
  11  Prefactor     .10000E-03    103.87        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4488        3.5543        .13614E-03   -1.5337    
  13  Prefactor     .10000E-03    37.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0792        14.667        .28568E-03   -1.5420    
  15  Prefactor     1.0237        100.73        .20791       -1.5506    
  16  Prefactor     .10000E-03    1.3544        .83603E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    28.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.3922        .15048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.3311        .16571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.7296        .11851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.7921        3.6732        .15450E-03   -1.5374    
  22  norm          8.5470        9.5923        .13711E-03   -1.5123    
  23  Prefactor     .93561        3.5437        .26466E-03   -1.5515    
  24  Prefactor     28.502        35.089        .75056E-04   -1.4640    
  25  norm          .10000E-03    3.7549        .27480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    7.3401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .99232E-01    1.1325        .10782E-02   -1.5645    
  28  norm          .10000E-03    3.5150        .26581E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10011E-03    52.848        .39811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     2.2044        3.1275        .14704E-03   -1.5411    
  31  Prefactor     .10000E-03    22.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    6.6254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    1.1528        .77062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     4.7464        5.4995        .80291E-03   -1.5272    
  35  Normalizat    .74819        .21365        .25107E-03   -1.0202    
  36  Prefactor     1.1530        .22852        .23097E-03   -.87792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28407e-09
Minuit parameter uncertainties:
  1  76.841
  2  28.8288
  3  0.0140917
  4  1.42195e-05
  5  4.97558e-05
  6  3.46148e-05
  7  9.66143
  8  6.10543e-05
  9  7.88718
  10  3.30999
  11  0.000616081
  12  3.55452
  13  0.000681612
  14  11.0483
  15  20.3439
  16  1.76032e-06
  17  5.54252e-05
  18  4.4274e-06
  19  3.57133e-06
  20  6.01246e-06
  21  3.67351
  22  9.59401
  23  3.54451
  24  35.1146
  25  4.06329e-05
  26  7.67212e-05
  27  0.670131
  28  2.07315e-05
  29  0.00480956
  30  3.12776
  31  0.000482063
  32  1.45684e-05
  33  1.05835e-07
  34  5.50005
  35  0.213887
  36  0.22871
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  7.672e-05  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.507e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.153e+00  2.287e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  7.482e-01  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 6.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950406/likelihoodResults_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.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): 102
logL (Free Index) = 5413.89120902
delta logL = -0.000648962466585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5413.89056175
delta logL = -1.68614678842e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11817E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4854       1.0000          .0000       10.000    
     3 'Normalizat'    .74799       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1532       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+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=   5413.891     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10528E-03    3.8083        .18142E-01** at limit **
   2  Index         2.3096        8.1584        .50000        .16881E-04
   3  Normalizat    .74819        .27464E-02    .25106E-03    .64753E-04
   4  Prefactor     1.1530        .30881E-02    .23097E-03    .59115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105281
  Index      = 2.30962
  Normalizat = 0.74819
  Prefactor  = 1.15296
 **********
 **   18 **HESSE 
 **********

 FCN=   5413.891     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10528E-03    157.96        .20827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3096        8.7028        .50000       -.56815    
   3  Normalizat    .74819        .17921E-01    .10043E-04   -1.0202    
   4  Prefactor     1.1530        .20151E-01    .92389E-05   -.87791    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.30103e-08
Minuit parameter uncertainties:
  1  0.0579154
  2  810.448
  3  0.0179215
  4  0.0201509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950406': 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): 102
logL (Free Index) = 5413.89055941
delta logL = 6.50300535199e-07

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.053e-04  5.792e-02  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.310e+00  8.104e+02  0.000e+00  1.000e+01 (-1.000e+00)
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.153e+00  2.015e-02  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  7.482e-01  1.792e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.339 -47.556

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/950406/cmap_HighResolution_521856001_522115201_4FGL_J2329.3-4733_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.30e-08', time_completed='2021-09-29 21:16:52.207894', job_id='950406', GAL2='1.15', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632975412.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='6.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1090' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:16:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 950406: <4FGL_J2329.3-4733_daily_bin1090> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1090> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 21:00:40 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:00:42 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:00:42 2021
Terminated at Wed Sep 29 21:16:52 2021
Results reported at Wed Sep 29 21:16:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1090 352.339 -47.5558 521856001 522115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2329.3-4733 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   942.21 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             310.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            972 sec.

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

