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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1133
RA = 351.359, Dec = -35.9878
tmin = 533001601, tmax = 533260801
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='869389', job_status='RUN', time_executed='2021-09-29 17:46:56.978637', time_epoch_executed='1632962816.98' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869389

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869389/ft1_4FGL_J2325.4-3559_daily_bin1133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869389/ft2_4FGL_J2325.4-3559_daily_bin1133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869389/ft1_4FGL_J2325.4-3559_daily_bin1133.fits outfile=/scratch/kocevski/869389/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1133.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=533001601.0 tmax=533260801.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.53
user 3.31
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869389/ft1_filtered_4FGL_J2325.4-3559_daily_bin1133.fits" evtable="EVENTS" scfile=/scratch/kocevski/869389/ft2_4FGL_J2325.4-3559_daily_bin1133.fits sctable="SC_DATA" outfile=/scratch/kocevski/869389/ltcube_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.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/869389/ft2_4FGL_J2325.4-3559_daily_bin1133.fits
.....................!
real 12.00
user 11.66
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869389/ft1_filtered_4FGL_J2325.4-3559_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/869389/ft2_4FGL_J2325.4-3559_daily_bin1133.fits sctable="SC_DATA" expcube=/scratch/kocevski/869389/ltcube_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.fits outfile=/scratch/kocevski/869389/expmap_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.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/869389/ltcube_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.fits
.....................!
real 191.73
user 186.92
sys 4.45

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/869389/ft1_filtered_4FGL_J2325.4-3559_daily_bin1133.fits scfile=/scratch/kocevski/869389/ft2_4FGL_J2325.4-3559_daily_bin1133.fits outfile=/scratch/kocevski/869389/cmap_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/869389/ft1_filtered_4FGL_J2325.4-3559_daily_bin1133.fits scfile=/scratch/kocevski/869389/ft2_4FGL_J2325.4-3559_daily_bin1133.fits outfile=/scratch/kocevski/869389/cmap_HighResolution_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/869389/ft1_filtered_4FGL_J2325.4-3559_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/869389/ft2_4FGL_J2325.4-3559_daily_bin1133.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/869389/Model_4FGL_J2325.4-3559_daily_bin1133.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/869389/ft1_filtered_4FGL_J2325.4-3559_daily_bin1133.fits.....................!
real 44.31
user 42.90
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/869389/ft1_filtered_4FGL_J2325.4-3559_daily_bin1133.fits', '/scratch/kocevski/869389/ft2_4FGL_J2325.4-3559_daily_bin1133.fits', expMap='/scratch/kocevski/869389/expmap_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.fits', expCube='/scratch/kocevski/869389/ltcube_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/869389/Model_4FGL_J2325.4-3559_daily_bin1133.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/869389/ft1_filtered_4FGL_J2325.4-3559_daily_bin1133.fits
Spacecraft file(s): /scratch/kocevski/869389/ft2_4FGL_J2325.4-3559_daily_bin1133.fits
Exposure map: /scratch/kocevski/869389/expmap_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.fits
Exposure cube: /scratch/kocevski/869389/ltcube_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/869389/Model_4FGL_J2325.4-3559_daily_bin1133.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) = 5755.15707962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4260       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1535       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.960       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.551       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .56748       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.674       1.0000         .10000E-03   10000.    
    12 'norm      '    7.5371       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.334       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.1736       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    73.604       1.0000         .10000E-03   10000.    
    20 'norm      '    2.9022       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    22.635       1.0000         .10000E-03   10000.    
    24 'Prefactor '    23.665       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.3125       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .12019E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1572       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .80983       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.

 FCN=   5755.149     FROM MIGRAD    STATUS=CONVERGED    723 CALLS     3689 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.444       -.31941E-05** at limit **
   2  Prefactor     4.4223        3.5821       -.18977E-06   -.14781E-03
   3  Prefactor     .10000E-03    7.2476       -.15189E-07** at limit **
   4  Prefactor     4.1506        61.851       -.45068E-05   -.15315E-04
   5  Prefactor     25.958        29.045       -.20335E-05    .48234E-05
   6  Prefactor     24.554        33.390       -.57724E-06    .97916E-05
   7  Prefactor     .10000E-03    6.3317        .22285E-06** at limit **
   8  Prefactor     .10000E-03    2.0645       -.28253E-07** at limit **
   9  norm          .56313        5.1918       -.13067E-05   -.45150E-03
  10  Prefactor     .10000E-03    46.862        .80166E-06** at limit **
  11  Prefactor     11.679        23.821       -.13247E-06    .88243E-04
  12  norm          7.5381        1.8985       -.16978E-07    .10497E-02
  13  Prefactor     .10000E-03    27.304        .93589E-05** at limit **
  14  Prefactor     34.328        23.719        .14021E-06    .77142E-04
  15  norm          .10000E-03    3.8636       -.22692E-07** at limit **
  16  norm          .10000E-03    2.7473        .52993E-09** at limit **
  17  norm          7.1740        8.3177        .25760E-06   -.59146E-04
  18  Prefactor     .10000E-03    30.100       -.71130E-05** at limit **
  19  Prefactor     73.602        56.113       -.15523E-05    .15488E-04
  20  norm          2.9030        3.3061       -.38438E-06   -.86052E-04
  21  Prefactor     .10000E-03    6.3453       -.37790E-06** at limit **
  22  norm          .10000E-03    1.5648       -.30021E-07** at limit **
  23  Prefactor     22.565        72.563       -.10982E-03    .75721E-05
  24  Prefactor     23.651        31.795       -.12208E-05    .43423E-05
  25  Prefactor     .10000E-03    2.9477       -.45827E-07** at limit **
  26  Prefactor     4.3128        5.3605       -.11398E-05   -.27732E-03
  27  Prefactor     .10000E-03    162.43        .70228E-05** at limit **
  28  Normalizat    1.1573        .18965        .17114E-05    .85284E-04
  29  Prefactor     .80974        .20224        .34673E-05    .47281E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.42234
  Prefactor  = 0.0001
  Prefactor  = 4.15063
  Prefactor  = 25.9583
  Prefactor  = 24.5535
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.563129
  Prefactor  = 0.0001
  Prefactor  = 11.6786
  norm       = 7.53808
  Prefactor  = 0.0001
  Prefactor  = 34.3275
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.17399
  Prefactor  = 0.0001
  Prefactor  = 73.6024
  norm       = 2.903
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.5647
  Prefactor  = 23.6513
  Prefactor  = 0.0001
  Prefactor  = 4.31284
  Prefactor  = 0.0001
  Normalizat = 1.15727
  Prefactor  = 0.809742
 **********
 **   18 **HESSE 
 **********

 FCN=   5755.149     FROM HESSE     STATUS=OK           553 CALLS     4242 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4223        3.5806        .12480E-03   -1.5287    
   3  Prefactor     .10000E-03    7.2494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1506        61.863        .19777E-03   -1.5300    
   5  Prefactor     25.958        29.046        .78624E-04   -1.4689    
   6  Prefactor     24.554        33.384        .80845E-04   -1.4717    
   7  Prefactor     .10000E-03    6.3486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.0672        .10645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .56313        10.820        .30445E-02   -1.5558    
  10  Prefactor     .10000E-03    47.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.679        23.744        .11725E-03   -1.5024    
  12  norm          7.5381        1.9474        .36721E-04   -1.5159    
  13  Prefactor     .10000E-03    27.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     34.328        23.638        .68390E-04   -1.4535    
  15  norm          .10000E-03    3.8648        .14564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.7543        .12255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.1740        8.3126        .14977E-03   -1.5172    
  18  Prefactor     .10000E-03    30.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     73.602        56.299        .46797E-04   -1.3990    
  20  norm          2.9030        3.2905        .14121E-03   -1.5367    
  21  Prefactor     .10000E-03    6.3562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.5830        .92607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     22.565        72.563        .84192E-04   -1.4758    
  24  Prefactor     23.651        31.797        .82342E-04   -1.4735    
  25  Prefactor     .10000E-03    2.9663        .12715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.3128        5.3710        .18784E-03   -1.5293    
  27  Prefactor     .10000E-03    165.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1573        .23086        .23810E-03   -.87934    
  29  Prefactor     .80974        .24405        .30438E-03   -.99370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88614e-10
Minuit parameter uncertainties:
  1  3.43298e-05
  2  3.58074
  3  4.10206e-06
  4  32.0876
  5  29.0617
  6  33.4095
  7  1.41927e-05
  8  3.95325e-06
  9  4.93751
  10  0.000123758
  11  23.7632
  12  1.9474
  13  3.42442e-05
  14  23.644
  15  3.82384e-06
  16  1.89687e-07
  17  8.31396
  18  5.4165e-05
  19  56.3395
  20  3.29069
  21  9.43701e-06
  22  4.19087e-06
  23  72.8492
  24  31.82
  25  7.98532e-06
  26  5.37158
  27  0.000248226
  28  0.23106
  29  0.244381
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.174e+00  8.314e+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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.097e-01  2.444e-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.157e+00  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.19
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.23e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 8.96e-06 +/- 1.04e-05

TS (Fixed Index): 1.19
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 8.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/869389/likelihoodResults_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.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) = 5754.92987822
delta logL = 0.218693373863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5754.9266789
delta logL = 0.221892693309

Fit tolerance = 1e-08

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

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

 FCN=   5754.927     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6787        7.3176        .38799E-02    .65452E-04
   2  alpha         1.5080        .68173        .46256       -.24828E-04
   3  Normalizat    1.1702        .18229        .53586E-01    .17103E-04
   4  Prefactor     .79989        .19990        .69152E-01    .27884E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.67872
  alpha      = 1.50802
  Normalizat = 1.17017
  Prefactor  = 0.799886
 **********
 **   18 **HESSE 
 **********

 FCN=   5754.927     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6787        7.9527        .15519E-03   -1.5191    
   2  alpha         1.5080        .85304        .21715E-01   -.40802    
   3  Normalizat    1.1702        .21876        .23693E-03   -.87530    
   4  Prefactor     .79989        .23958        .30597E-03   -.99733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44544e-09
Minuit parameter uncertainties:
  1  7.95397
  2  0.874014
  3  0.21893
  4  0.239889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869389': 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) = 5754.92666738
delta logL = 0.221904216593

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  6.679e+00  7.954e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.508e+00  8.740e-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:  7.999e-01  2.399e-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.170e+00  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.51 +/- 0.87
Photon Flux (Free Index): 1.42e-08 +/- 1.90e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.74e-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/869389/cmap_HighResolution_533001601_533260801_4FGL_J2325.4-3559_daily_bin1133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-05', comment='SUCCESS', photon_flux='2.23e-08', energy_flux2='1.35e-05', photon_flux_error='2.59e-08', dlogl='2.22e-01', energy_flux='8.96e-06', photon_flux2='1.42e-08', job_status='DONE', time_completed='2021-09-29 18:00:06.652549', photon_index_error2='0.87', photon_index2='1.51', ts='1.19', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='8.66e-08', energy_flux_error2='1.74e-05', EG='1.16', time_epoch_completed='1632963606.65', return_code='0', job_id='869389', GAL2='0.80', EG2='1.17', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='1.90e-08', ts2='1.64', photon_index='2.13' WHERE bin_id='1133' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:00:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 869389: <4FGL_J2325.4-3559_daily_bin1133> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1133> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:45:11 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:45:13 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:45:13 2021
Terminated at Wed Sep 29 18:00:07 2021
Results reported at Wed Sep 29 18:00:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1133 351.359 -35.9878 533001601 533260801 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 :                                   783.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            896 sec.

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

