/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 219 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 = 7405
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-3559_daily_bin93
RA = 351.359, Dec = -35.9878
tmin = 263433601, tmax = 263692801
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='864083', job_status='RUN', time_executed='2021-09-29 17:29:09.629961', time_epoch_executed='1632961749.63' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='93'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864083

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864083/ft1_4FGL_J2325.4-3559_daily_bin93.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864083/ft2_4FGL_J2325.4-3559_daily_bin93.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864083/ft1_4FGL_J2325.4-3559_daily_bin93.fits outfile=/scratch/kocevski/864083/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin93.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=263433601.0 tmax=263692801.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.46
user 3.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/864083/ft2_4FGL_J2325.4-3559_daily_bin93.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/864083/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin93.fits evtable="EVENTS" outfile="/scratch/kocevski/864083/ft1_filtered_4FGL_J2325.4-3559_daily_bin93.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864083/ft1_filtered_4FGL_J2325.4-3559_daily_bin93.fits" evtable="EVENTS" scfile=/scratch/kocevski/864083/ft2_4FGL_J2325.4-3559_daily_bin93.fits sctable="SC_DATA" outfile=/scratch/kocevski/864083/ltcube_263433601_263692801_4FGL_J2325.4-3559_daily_bin93.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/864083/ft2_4FGL_J2325.4-3559_daily_bin93.fits
.....................!
real 14.62
user 14.27
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864083/ft1_filtered_4FGL_J2325.4-3559_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/864083/ft2_4FGL_J2325.4-3559_daily_bin93.fits sctable="SC_DATA" expcube=/scratch/kocevski/864083/ltcube_263433601_263692801_4FGL_J2325.4-3559_daily_bin93.fits outfile=/scratch/kocevski/864083/expmap_263433601_263692801_4FGL_J2325.4-3559_daily_bin93.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/864083/ltcube_263433601_263692801_4FGL_J2325.4-3559_daily_bin93.fits
.....................!
real 192.65
user 187.10
sys 5.13

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/864083/ft1_filtered_4FGL_J2325.4-3559_daily_bin93.fits scfile=/scratch/kocevski/864083/ft2_4FGL_J2325.4-3559_daily_bin93.fits outfile=/scratch/kocevski/864083/cmap_263433601_263692801_4FGL_J2325.4-3559_daily_bin93.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864083/ft1_filtered_4FGL_J2325.4-3559_daily_bin93.fits scfile=/scratch/kocevski/864083/ft2_4FGL_J2325.4-3559_daily_bin93.fits outfile=/scratch/kocevski/864083/cmap_HighResolution_263433601_263692801_4FGL_J2325.4-3559_daily_bin93.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.466       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .36392E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.295       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7834       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.879       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.1374       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7764       1.0000         .10000E-03   10000.    
    12 'norm      '    .10195E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.4103       1.0000         .10000E-03   10000.    
    15 'norm      '    3.3071       1.0000         .10000E-03   10000.    
    16 'norm      '    4.2627       1.0000         .10000E-03   10000.    
    17 'norm      '    9.9537       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.3288       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.576       1.0000         .10000E-03   10000.    
    20 'norm      '    9.8326       1.0000         .10000E-03   10000.    
    21 'Prefactor '    46.530       1.0000         .10000E-03   10000.    
    22 'norm      '    1.3477       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    71.672       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.2817       1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.7654       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .66963       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .92525       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=   6482.780     FROM MIGRAD    STATUS=CONVERGED    717 CALLS     3690 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.467        39.457       -.12050E-06   -.18421E-04
   2  Prefactor     .34272E-01    1.3819        .93214E-08   -.89081E-04
   3  Prefactor     .10000E-03    7.1452        .10147E-07** at limit **
   4  Prefactor     .10000E-03    10.260       -.27675E-08** at limit **
   5  Prefactor     20.296        16.628        .14494E-06    .78803E-05
   6  Prefactor     4.7852        15.150        .45404E-06    .55625E-05
   7  Prefactor     15.880        10.015        .94232E-07   -.19047E-04
   8  Prefactor     .10000E-03    2.0087        .32128E-07** at limit **
   9  norm          5.1372        3.2598        .45560E-07   -.42309E-04
  10  Prefactor     .10000E-03    3.2965        .22232E-08** at limit **
  11  Prefactor     7.7682        8.2879       -.45724E-06   -.61086E-04
  12  norm          .10000E-03    .37945       -.43395E-07** at limit **
  13  Prefactor     .10000E-03    39.163       -.33785E-05** at limit **
  14  Prefactor     6.4094        8.6515        .13155E-05   -.12565E-03
  15  norm          3.3069        6.3785        .20210E-05   -.11124E-03
  16  norm          4.2626        3.6541        .14962E-06    .12354E-03
  17  norm          9.9540        6.7851        .66207E-07    .46450E-05
  18  Prefactor     7.3300        22.488        .13838E-05   -.16845E-04
  19  Prefactor     13.577        28.520        .40608E-07   -.61417E-05
  20  norm          9.8328        3.9510       -.36263E-07    .21100E-04
  21  Prefactor     46.531        19.570       -.67820E-10   -.59979E-05
  22  norm          1.3476        1.8153        .24858E-07    .88203E-05
  23  Prefactor     .10000E-03    33.163        .16016E-05** at limit **
  24  Prefactor     71.656        50.654        .24753E-05    .14886E-03
  25  Prefactor     6.2808        5.1217        .75524E-06   -.23605E-03
  26  Prefactor     4.7655        3.7662        .40420E-07    .33350E-05
  27  Prefactor     .10000E-03    50.272        .83362E-06** at limit **
  28  Normalizat    .66956        .15353       -.64358E-06    .19484E-04
  29  Prefactor     .92531        .15905       -.28941E-06   -.15462E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.4667
  Prefactor  = 0.0342717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.2958
  Prefactor  = 4.78516
  Prefactor  = 15.88
  Prefactor  = 0.0001
  norm       = 5.13718
  Prefactor  = 0.0001
  Prefactor  = 7.76818
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.40942
  norm       = 3.30694
  norm       = 4.26265
  norm       = 9.95397
  Prefactor  = 7.32998
  Prefactor  = 13.5767
  norm       = 9.83276
  Prefactor  = 46.5313
  norm       = 1.34764
  Prefactor  = 0.0001
  Prefactor  = 71.6558
  Prefactor  = 6.28082
  Prefactor  = 4.76553
  Prefactor  = 0.0001
  Normalizat = 0.669564
  Prefactor  = 0.925306
 **********
 **   18 **HESSE 
 **********

 FCN=   6482.780     FROM HESSE     STATUS=OK           569 CALLS     4259 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.467        39.504        .60123E-04   -1.4373    
   2  Prefactor     .34272E-01    3.0023        .32995E-01   -1.5671    
   3  Prefactor     .10000E-03    7.1561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.296        16.618        .88908E-04   -1.4807    
   6  Prefactor     4.7852        15.130        .18395E-03   -1.5270    
   7  Prefactor     15.880        10.040        .10051E-03   -1.4911    
   8  Prefactor     .10000E-03    2.0155        .11143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.1372        3.2566        .10685E-03   -1.5255    
  10  Prefactor     .10000E-03    3.2969        .14269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.7682        7.5186        .14380E-03   -1.5150    
  12  norm          .10000E-03    .65918        .82268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4094        8.6373        .79262E-03   -1.5202    
  15  norm          3.3069        6.3779        .11131E-02   -1.5344    
  16  norm          4.2626        3.6557        .13709E-03   -1.5295    
  17  norm          9.9540        6.7896        .12701E-03   -1.5077    
  18  Prefactor     7.3300        22.448        .74079E-03   -1.5166    
  19  Prefactor     13.577        28.521        .10871E-03   -1.4971    
  20  norm          9.8328        3.9482        .92488E-04   -1.5081    
  21  Prefactor     46.531        19.593        .58780E-04   -1.4343    
  22  norm          1.3476        1.7881        .12171E-03   -1.5476    
  23  Prefactor     .10000E-03    33.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     71.656        51.002        .47419E-04   -1.4013    
  25  Prefactor     6.2808        5.1635        .77166E-03   -1.5207    
  26  Prefactor     4.7655        3.7670        .13471E-03   -1.5271    
  27  Prefactor     .10000E-03    50.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .66956        .18014        .24316E-03   -1.0511    
  29  Prefactor     .92531        .18647        .23266E-03   -.95262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18927e-10
Minuit parameter uncertainties:
  1  39.5272
  2  0.64064
  3  5.00112e-07
  4  6.46403e-07
  5  16.6222
  6  15.1421
  7  10.0412
  8  2.54679e-06
  9  3.25676
  10  4.31282e-07
  11  7.51949
  12  3.41559e-07
  13  0.000442415
  14  8.63897
  15  6.37919
  16  3.65591
  17  6.79015
  18  22.4737
  19  28.5495
  20  3.94827
  21  19.5958
  22  1.78816
  23  0.000198859
  24  51.033
  25  5.16384
  26  3.76715
  27  0.000163228
  28  0.180298
  29  0.186604
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  9.954e+00  6.790e+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:  9.253e-01  1.866e-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:  6.696e-01  1.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.07
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 2.11e-08
Energy Flux (Fixed Index): 1.24e-05 +/- 8.48e-06

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) = 6480.37314006
delta logL = 2.40676142818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6480.36492791
delta logL = 2.41497358294

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3422       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8819       1.0000          .0000       5.0000    
     3 'Normalizat'    .55517       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0060       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=   6480.365     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      251 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3408        25.311        .48326E-02    .23271E-03
   2  alpha         3.8822        4.3698        .25363        .47749E-04
   3  Normalizat    .55517        .67606E-01    .59858E-01    .31707E-04
   4  Prefactor     1.0060        .69217E-01    .43991E-01    .52765E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.34076
  alpha      = 3.88215
  Normalizat = 0.555175
  Prefactor  = 1.00598
 **********
 **   18 **HESSE 
 **********

 FCN=   6480.365     FROM HESSE     STATUS=OK            31 CALLS      282 TOTAL
                     EDM=   .26E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3408        4.8183        .62322E-04   -1.5291    
   2  alpha         3.8822        .85561        .11205E-02    .58579    
   3  Normalizat    .55517        .17293        .26482E-03   -1.0992    
   4  Prefactor     1.0060        .18891        .22391E-03   -.92530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58172e-14
Minuit parameter uncertainties:
  1  4.81876
  2  0.881701
  3  0.173101
  4  0.189033
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864083': 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) = 6480.36492785
delta logL = 2.41497363856

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  4.341e+00  4.819e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.882e+00  8.817e-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.006e+00  1.890e-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:  5.552e-01  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.32
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 3.88 +/- 0.88
Photon Flux (Free Index): 1.09e-07 +/- 4.82e-08
Energy Flux (Free Index): 1.78e-05 +/- 7.07e-06

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/864083/cmap_HighResolution_263433601_263692801_4FGL_J2325.4-3559_daily_bin93.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.78e-05', photon_flux_error='2.11e-08', dlogl='2.41e+00', energy_flux='1.24e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2021-09-29 17:41:40.227149', photon_index_error2='0.88', photon_index2='3.88', ts='6.07', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='7.07e-06', EG='0.67', time_epoch_completed='1632962500.23', return_code='0', job_id='864083', GAL2='1.01', EG2='0.56', return_code2='0', energy_flux_error='8.48e-06', photon_flux_error2='4.82e-08', ts2='11.32', photon_index='2.13' WHERE bin_id='93' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:41:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 864083: <4FGL_J2325.4-3559_daily_bin93> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin93 351.359 -35.9878 263433601 263692801 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 :                                   748.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             262.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            981 sec.

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

