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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin989
RA = 351.359, Dec = -35.9878
tmin = 495676801, tmax = 495936001
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='868198', job_status='RUN', time_executed='2021-09-29 17:43:49.507175', time_epoch_executed='1632962629.51' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='989'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868198

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868198/ft1_4FGL_J2325.4-3559_daily_bin989.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868198/ft1_4FGL_J2325.4-3559_daily_bin989.fits outfile=/scratch/kocevski/868198/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin989.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=495676801.0 tmax=495936001.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.50
user 3.28
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.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/868198/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin989.fits evtable="EVENTS" outfile="/scratch/kocevski/868198/ft1_filtered_4FGL_J2325.4-3559_daily_bin989.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868198/ft1_filtered_4FGL_J2325.4-3559_daily_bin989.fits" evtable="EVENTS" scfile=/scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits sctable="SC_DATA" outfile=/scratch/kocevski/868198/ltcube_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.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/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits
.....................!
real 11.72
user 11.40
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868198/ft1_filtered_4FGL_J2325.4-3559_daily_bin989.fits evtable="EVENTS" scfile=/scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits sctable="SC_DATA" expcube=/scratch/kocevski/868198/ltcube_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.fits outfile=/scratch/kocevski/868198/expmap_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.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/868198/ltcube_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.fits
.....................!
real 191.27
user 185.96
sys 5.00

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

Setting source of interest to:
4FGL J2325.4-3559 @ 351.359 -35.9878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/868198/ft1_filtered_4FGL_J2325.4-3559_daily_bin989.fits scfile=/scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits outfile=/scratch/kocevski/868198/cmap_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.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=351.359 yref=-35.9878 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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868198/ft1_filtered_4FGL_J2325.4-3559_daily_bin989.fits scfile=/scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits outfile=/scratch/kocevski/868198/cmap_HighResolution_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.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=351.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868198/ft1_filtered_4FGL_J2325.4-3559_daily_bin989.fits evtable="EVENTS" scfile=/scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868198/Model_4FGL_J2325.4-3559_daily_bin989.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/868198/ft1_filtered_4FGL_J2325.4-3559_daily_bin989.fits....................!
real 32.47
user 31.29
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/868198/ft1_filtered_4FGL_J2325.4-3559_daily_bin989.fits', '/scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits', expMap='/scratch/kocevski/868198/expmap_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.fits', expCube='/scratch/kocevski/868198/ltcube_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/868198/Model_4FGL_J2325.4-3559_daily_bin989.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-3559'

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.197e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/868198/ft1_filtered_4FGL_J2325.4-3559_daily_bin989.fits
Spacecraft file(s): /scratch/kocevski/868198/ft2_4FGL_J2325.4-3559_daily_bin989.fits
Exposure map: /scratch/kocevski/868198/expmap_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.fits
Exposure cube: /scratch/kocevski/868198/ltcube_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/868198/Model_4FGL_J2325.4-3559_daily_bin989.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) = 3592.04329544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.4915       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12959E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.9203       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12958E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.559       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9275       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4856       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4230       1.0000         .10000E-03   10000.    
    12 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .25538E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .28631E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    11.168       1.0000         .10000E-03   10000.    
    16 'norm      '    3.6105       1.0000         .10000E-03   10000.    
    17 'norm      '    11.417       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12692E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15905E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11227E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.4643       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .72666E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .15116E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.0206       1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.1744       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .13573E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .25676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+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=   3591.985     FROM MIGRAD    STATUS=CONVERGED   1298 CALLS     4295 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.587        .18142E-02** at limit **
   2  Prefactor     1.4905        5.5258        .25708E-03   -.93530E-05
   3  Prefactor     .10000E-03    49.823        .18142E-02** at limit **
   4  Prefactor     .10000E-03    18.110        .18142E-02** at limit **
   5  Prefactor     5.9308        18.726        .16504E-03    .44775E-06
   6  Prefactor     .10000E-03    11.056        .18142E-02** at limit **
   7  Prefactor     17.544        18.620        .95580E-04    .10883E-04
   8  Prefactor     4.9264        7.1495        .18119E-03    .34510E-06
   9  norm          1.4855        4.4321        .18744E-03    .64594E-05
  10  Prefactor     .10000E-03    13.363        .18142E-02** at limit **
  11  Prefactor     4.4055        13.092        .19148E-03    .82586E-04
  12  norm          .10000E-03    .25746        .58516E-04** at limit **
  13  Prefactor     .10000E-03    123.04        .21456E-02** at limit **
  14  Prefactor     .10007E-03    123.88        .38255E-02** at limit **
  15  norm          11.164        11.767        .11988E-03   -.14225E-06
  16  norm          3.6108        4.0689        .62527E-03    .61355E-04
  17  norm          11.423        11.296        .11857E-03    .12945E-05
  18  Prefactor     .10000E-03    17.663        .18142E-02** at limit **
  19  Prefactor     .10000E-03    22.657        .18142E-02** at limit **
  20  norm          .10000E-03    6.9915        .30470E-03** at limit **
  21  Prefactor     .10000E-03    19.678        .18142E-02** at limit **
  22  norm          4.4646        5.4696        .14806E-03    .37510E-04
  23  Prefactor     .10000E-03    166.78        .21958    ** at limit **
  24  Prefactor     .10000E-03    100.28        .18142E-02** at limit **
  25  Prefactor     9.0331        9.7436        .13345E-03    .34077E-05
  26  Prefactor     5.1693        7.0023        .17659E-03    .48929E-05
  27  Prefactor     .10000E-03    89.582        .18142E-02** at limit **
  28  Normalizat    1.6197        .29014        .19379E-03    .64034E-04
  29  Prefactor     .25710        .27626        .45426E-03    .11312E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.49048
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.9308
  Prefactor  = 0.0001
  Prefactor  = 17.544
  Prefactor  = 4.92636
  norm       = 1.4855
  Prefactor  = 0.0001
  Prefactor  = 4.40552
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100068
  norm       = 11.1636
  norm       = 3.61075
  norm       = 11.4231
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.46464
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 9.03312
  Prefactor  = 5.16925
  Prefactor  = 0.0001
  Normalizat = 1.6197
  Prefactor  = 0.257102
 **********
 **   18 **HESSE 
 **********

 FCN=   3591.985     FROM HESSE     STATUS=OK           533 CALLS     4828 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.589        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4905        5.5243        .10283E-04   -1.5464    
   3  Prefactor     .10000E-03    49.830        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.110        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9308        18.726        .66016E-05   -1.5221    
   6  Prefactor     .10000E-03    11.057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.544        18.617        .38232E-05   -1.4870    
   8  Prefactor     4.9264        7.1495        .72475E-05   -1.5264    
   9  norm          1.4855        4.4262        .74977E-05   -1.5464    
  10  Prefactor     .10000E-03    13.364        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.4055        12.997        .76594E-05   -1.5288    
  12  norm          .10000E-03    .25746        .11703E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    123.08        .42913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10007E-03    128.00        .15302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.164        11.768        .47952E-05   -1.5040    
  16  norm          3.6108        4.0689        .25011E-04   -1.5328    
  17  norm          11.423        11.295        .47426E-05   -1.5032    
  18  Prefactor     .10000E-03    17.664        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    22.657        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.9917        .60940E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    19.682        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.4646        5.4693        .59222E-05   -1.5285    
  23  Prefactor     .10000E-03    171.44        .21539       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    100.29        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     9.0331        9.7433        .53379E-05   -1.5107    
  26  Prefactor     5.1693        7.0022        .70635E-05   -1.5253    
  27  Prefactor     .10000E-03    89.592        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.6197        .29004        .77514E-05   -.74468    
  29  Prefactor     .25710        .27616        .18171E-04   -1.2487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66007e-10
Minuit parameter uncertainties:
  1  5.55101e-05
  2  5.52615
  3  0.000166716
  4  1.34129e-05
  5  18.7443
  6  3.75655e-07
  7  18.6231
  8  7.15069
  9  4.42712
  10  8.57349e-06
  11  13.0053
  12  3.99367e-07
  13  6.40461e-05
  14  0.00589804
  15  11.7699
  16  4.06922
  17  11.2976
  18  1.54866e-05
  19  4.56608e-05
  20  3.0577e-05
  21  1.36981e-05
  22  5.46989
  23  0.001665
  24  1.4941e-06
  25  9.74501
  26  7.0033
  27  4.4992e-05
  28  0.290347
  29  0.277577
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.142e+01  1.130e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  2.571e-01  2.776e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.620e+00  2.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 3.56e-08 +/- 3.52e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 1.41e-05

TS (Fixed Index): 1.76
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/868198/likelihoodResults_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.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) = 3591.94878506
delta logL = 0.0358726882214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3591.94785982
delta logL = 0.0367979260463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.172       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8829       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .25061       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+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=   3591.948     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      259 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.169        11.320        .11986E-03    .66251E-04
   2  alpha         1.8827        .87465        .18144E-01    .13964E-04
   3  Normalizat    1.6291        .27054        .19332E-03    .51601E-03
   4  Prefactor     .25068        .27147        .45970E-03    .15960E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.169
  alpha      = 1.88266
  Normalizat = 1.6291
  Prefactor  = 0.250685
 **********
 **   18 **HESSE 
 **********

 FCN=   3591.948     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.169        11.405        .47945E-05   -1.5039    
   2  alpha         1.8827        .88090        .72576E-03   -.24952    
   3  Normalizat    1.6291        .27036        .38665E-04   -.74213    
   4  Prefactor     .25068        .27128        .18388E-04   -1.2528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4046e-10
Minuit parameter uncertainties:
  1  11.4076
  2  0.901565
  3  0.270605
  4  0.27266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868198': 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) = 3591.94785883
delta logL = 0.036798921496

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.117e+01  1.141e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.883e+00  9.016e-01  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  2.507e-01  2.727e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.629e+00  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.88 +/- 0.90
Photon Flux (Free Index): 2.88e-08 +/- 3.78e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.61e-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/868198/cmap_HighResolution_495676801_495936001_4FGL_J2325.4-3559_daily_bin989.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-05', comment='SUCCESS', photon_flux='3.56e-08', energy_flux2='1.55e-05', photon_flux_error='3.52e-08', dlogl='3.68e-02', energy_flux='1.43e-05', photon_flux2='2.88e-08', job_status='DONE', time_completed='2021-09-29 17:54:18.359819', photon_index_error2='0.90', photon_index2='1.88', ts='1.76', fit_tolerance='1e-08', GAL='0.26', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.61e-05', EG='1.62', time_epoch_completed='1632963258.36', return_code='0', job_id='868198', GAL2='0.25', EG2='1.63', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='3.78e-08', ts2='1.84', photon_index='2.13' WHERE bin_id='989' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:54:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 868198: <4FGL_J2325.4-3559_daily_bin989> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin989> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:35 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:40:36 2021
Terminated at Wed Sep 29 17:54:19 2021
Results reported at Wed Sep 29 17:54:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin989 351.359 -35.9878 495676801 495936001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-3559 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   625.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             313.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            824 sec.

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

