/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 198 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 = 7422
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-3559_daily_bin135
RA = 351.359, Dec = -35.9878
tmin = 274320001, tmax = 274579201
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='864146', job_status='RUN', time_executed='2021-09-29 17:28:54.910678', time_epoch_executed='1632961734.91' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='135'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864146

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864146/ft1_4FGL_J2325.4-3559_daily_bin135.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864146/ft2_4FGL_J2325.4-3559_daily_bin135.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864146/ft1_4FGL_J2325.4-3559_daily_bin135.fits outfile=/scratch/kocevski/864146/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin135.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=274320001.0 tmax=274579201.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.58
user 3.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/864146/ft2_4FGL_J2325.4-3559_daily_bin135.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/864146/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin135.fits evtable="EVENTS" outfile="/scratch/kocevski/864146/ft1_filtered_4FGL_J2325.4-3559_daily_bin135.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/864146/ft1_filtered_4FGL_J2325.4-3559_daily_bin135.fits" evtable="EVENTS" scfile=/scratch/kocevski/864146/ft2_4FGL_J2325.4-3559_daily_bin135.fits sctable="SC_DATA" outfile=/scratch/kocevski/864146/ltcube_274320001_274579201_4FGL_J2325.4-3559_daily_bin135.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/864146/ft2_4FGL_J2325.4-3559_daily_bin135.fits
.....................!
real 15.00
user 14.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864146/ft1_filtered_4FGL_J2325.4-3559_daily_bin135.fits evtable="EVENTS" scfile=/scratch/kocevski/864146/ft2_4FGL_J2325.4-3559_daily_bin135.fits sctable="SC_DATA" expcube=/scratch/kocevski/864146/ltcube_274320001_274579201_4FGL_J2325.4-3559_daily_bin135.fits outfile=/scratch/kocevski/864146/expmap_274320001_274579201_4FGL_J2325.4-3559_daily_bin135.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/864146/ltcube_274320001_274579201_4FGL_J2325.4-3559_daily_bin135.fits
.....................!
real 191.65
user 186.30
sys 5.01

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/864146/ft1_filtered_4FGL_J2325.4-3559_daily_bin135.fits scfile=/scratch/kocevski/864146/ft2_4FGL_J2325.4-3559_daily_bin135.fits outfile=/scratch/kocevski/864146/cmap_274320001_274579201_4FGL_J2325.4-3559_daily_bin135.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864146/ft1_filtered_4FGL_J2325.4-3559_daily_bin135.fits scfile=/scratch/kocevski/864146/ft2_4FGL_J2325.4-3559_daily_bin135.fits outfile=/scratch/kocevski/864146/cmap_HighResolution_274320001_274579201_4FGL_J2325.4-3559_daily_bin135.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864146/ft1_filtered_4FGL_J2325.4-3559_daily_bin135.fits evtable="EVENTS" scfile=/scratch/kocevski/864146/ft2_4FGL_J2325.4-3559_daily_bin135.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864146/Model_4FGL_J2325.4-3559_daily_bin135.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/864146/ft1_filtered_4FGL_J2325.4-3559_daily_bin135.fits.....................!
real 34.33
user 33.04
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    97.655       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    48.546       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.684       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.4723       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.388       1.0000         .10000E-03   10000.    
     9 'norm      '    3.8373       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.871       1.0000         .10000E-03   10000.    
    12 'norm      '    1.9650       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.538       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.248       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.053       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11384E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    42.582       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.1501       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .83031       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0197       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=   3910.947     FROM MIGRAD    STATUS=CONVERGED    710 CALLS     3629 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     97.662        68.842        .46575E-05    .62185E-06
   2  Prefactor     .10000E-03    1.9318       -.27659E-06** at limit **
   3  Prefactor     .10000E-03    18.637       -.19051E-05** at limit **
   4  Prefactor     48.463        77.220       -.94180E-04    .59865E-05
   5  Prefactor     17.689        22.286        .10613E-06    .10176E-04
   6  Prefactor     .10000E-03    18.724       -.34530E-06** at limit **
   7  Prefactor     4.4760        16.564       -.58191E-06   -.66980E-04
   8  Prefactor     19.391        11.357        .35508E-05    .31225E-05
   9  norm          3.8379        4.6483       -.33590E-08   -.50484E-04
  10  Prefactor     .10000E-03    12.715        .32434E-06** at limit **
  11  Prefactor     16.876        19.950       -.11509E-05   -.65209E-04
  12  norm          1.9657        1.2329       -.15675E-06   -.42439E-03
  13  Prefactor     39.545        67.745        .70625E-05    .27450E-05
  14  Prefactor     .10000E-03    15.241        .12608E-05** at limit **
  15  norm          11.248        11.012       -.19430E-06    .34662E-06
  16  norm          .10000E-03    2.1177       -.26931E-06** at limit **
  17  norm          13.054        11.447       -.94912E-06   -.83334E-03
  18  Prefactor     .10000E-03    86.228        .48937E-04** at limit **
  19  Prefactor     42.571        63.294       -.12129E-04    .13648E-04
  20  norm          .10000E-03    1.6531       -.30260E-06** at limit **
  21  Prefactor     .10000E-03    18.695       -.10582E-05** at limit **
  22  norm          2.1485        3.2290       -.67079E-06   -.56554E-03
  23  Prefactor     .10000E-03    67.488       -.31683E-04** at limit **
  24  Prefactor     .10000E-03    139.16       -.31235E-04** at limit **
  25  Prefactor     .10000E-03    5.2146        .37895E-06** at limit **
  26  Prefactor     .10000E-03    2.7461       -.16474E-06** at limit **
  27  Prefactor     .10000E-03    22.552        .25823E-05** at limit **
  28  Normalizat    .83036        .23145        .62058E-05   -.16050E-03
  29  Prefactor     1.0194        .23999        .86436E-06    .12446E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 97.6619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.4626
  Prefactor  = 17.6894
  Prefactor  = 0.000100002
  Prefactor  = 4.47602
  Prefactor  = 19.3912
  norm       = 3.83787
  Prefactor  = 0.0001
  Prefactor  = 16.8764
  norm       = 1.96569
  Prefactor  = 39.5452
  Prefactor  = 0.0001
  norm       = 11.2482
  norm       = 0.0001
  norm       = 13.0538
  Prefactor  = 0.000100005
  Prefactor  = 42.5714
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.14855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.830361
  Prefactor  = 1.01937
 **********
 **   18 **HESSE 
 **********

 FCN=   3910.947     FROM HESSE     STATUS=OK           549 CALLS     4178 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     97.662        68.871        .40677E-04   -1.3728    
   2  Prefactor     .10000E-03    1.9404        .84877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.463        77.272        .57552E-04   -1.4315    
   5  Prefactor     17.689        22.282        .95241E-04   -1.4867    
   6  Prefactor     .10000E-03    18.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4760        16.546        .19040E-03   -1.5285    
   8  Prefactor     19.391        11.357        .90963E-04   -1.4827    
   9  norm          3.8379        4.6322        .13648E-03   -1.5316    
  10  Prefactor     .10000E-03    12.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.876        20.615        .97510E-04   -1.4886    
  12  norm          1.9657        1.2714        .41571E-04   -1.5428    
  13  Prefactor     39.545        67.754        .63745E-04   -1.4449    
  14  Prefactor     .10000E-03    15.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.248        11.014        .11945E-03   -1.5037    
  16  norm          .10000E-03    2.1189        .88879E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.054        11.455        .55434E-03   -1.4985    
  18  Prefactor     .10000E-03    87.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     42.571        63.444        .61433E-04   -1.4402    
  20  norm          .10000E-03    1.6590        .78499E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1485        3.2087        .13341E-03   -1.5415    
  23  Prefactor     .10000E-03    67.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    139.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.2714        .13939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    2.7586        .10120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    22.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .83036        .27268        .25797E-03   -.98952    
  29  Prefactor     1.0194        .28276        .25415E-03   -.92086    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34641e-09
Minuit parameter uncertainties:
  1  68.9271
  2  8.94605e-06
  3  5.20801e-05
  4  77.4319
  5  22.2927
  6  0.000413755
  7  16.5627
  8  11.3587
  9  4.63259
  10  2.0333e-05
  11  20.6241
  12  1.27145
  13  67.8862
  14  1.71254e-05
  15  11.0161
  16  5.37728e-06
  17  11.4566
  18  0.00127562
  19  63.5447
  20  1.24152e-05
  21  9.36197e-05
  22  3.20895
  23  6.3627e-05
  24  0.000413381
  25  4.08584e-05
  26  1.38346e-05
  27  3.80587e-05
  28  0.273126
  29  0.283173
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.305e+01  1.146e+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:  1.019e+00  2.832e-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:  8.304e-01  2.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.10
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 4.06e-08 +/- 3.57e-08
Energy Flux (Fixed Index): 1.63e-05 +/- 1.43e-05

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

Saving results to:
/scratch/kocevski/864146/likelihoodResults_274320001_274579201_4FGL_J2325.4-3559_daily_bin135.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) = 3910.7054332
delta logL = 0.241938810841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3910.69792541
delta logL = 0.249446601554

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.071       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6689       1.0000          .0000       5.0000    
     3 'Normalizat'    .80353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3910.698     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      274 TOTAL
                     EDM=   .45E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.077        10.909        .57649E-03   -.96038E-05
   2  alpha         2.6692        .77953        .14067E-01    .40662E-05
   3  Normalizat    .80296        .26078        .26182E-03   -.31329E-04
   4  Prefactor     1.0359        .28059        .25227E-03   -.34768E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.077
  alpha      = 2.66925
  Normalizat = 0.802957
  Prefactor  = 1.0359
 **********
 **   18 **HESSE 
 **********

 FCN=   3910.698     FROM HESSE     STATUS=OK            27 CALLS      301 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.077        10.563        .23060E-04   -1.5013    
   2  alpha         2.6692        .75520        .56270E-03    .67751E-01
   3  Normalizat    .80296        .26098        .10473E-04   -.99959    
   4  Prefactor     1.0359        .28076        .10091E-04   -.91542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24352e-12
Minuit parameter uncertainties:
  1  10.5644
  2  0.767238
  3  0.261391
  4  0.281159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864146': 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) = 3910.6979193
delta logL = 0.249452718911

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.208e+01  1.056e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.669e+00  7.672e-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:  1.036e+00  2.812e-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:  8.030e-01  2.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.59
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.67 +/- 0.77
Photon Flux (Free Index): 6.43e-08 +/- 5.53e-08
Energy Flux (Free Index): 1.66e-05 +/- 1.25e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/864146/cmap_HighResolution_274320001_274579201_4FGL_J2325.4-3559_daily_bin135.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-05', comment='SUCCESS', photon_flux='4.06e-08', energy_flux2='1.66e-05', photon_flux_error='3.57e-08', dlogl='2.49e-01', energy_flux='1.63e-05', photon_flux2='6.43e-08', job_status='DONE', time_completed='2021-09-29 17:39:19.946335', photon_index_error2='0.77', photon_index2='2.67', ts='2.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.25e-05', EG='0.83', time_epoch_completed='1632962359.95', return_code='0', job_id='864146', GAL2='1.04', EG2='0.80', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='5.53e-08', ts2='2.59', photon_index='2.13' WHERE bin_id='135' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:39:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 864146: <4FGL_J2325.4-3559_daily_bin135> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin135> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:25:25 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:25:27 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:25:27 2021
Terminated at Wed Sep 29 17:39:20 2021
Results reported at Wed Sep 29 17:39:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin135 351.359 -35.9878 274320001 274579201 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 :                                   623.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            835 sec.

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

