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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin256
RA = 351.359, Dec = -35.9878
tmin = 305683201, tmax = 305942401
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='864329', job_status='RUN', time_executed='2021-09-29 17:25:51.294830', time_epoch_executed='1632961551.29' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864329

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864329/ft1_4FGL_J2325.4-3559_daily_bin256.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864329/ft2_4FGL_J2325.4-3559_daily_bin256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864329/ft1_4FGL_J2325.4-3559_daily_bin256.fits outfile=/scratch/kocevski/864329/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin256.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=305683201.0 tmax=305942401.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 4.70
user 4.49
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/864329/ft2_4FGL_J2325.4-3559_daily_bin256.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/864329/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin256.fits evtable="EVENTS" outfile="/scratch/kocevski/864329/ft1_filtered_4FGL_J2325.4-3559_daily_bin256.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/864329/ft1_filtered_4FGL_J2325.4-3559_daily_bin256.fits" evtable="EVENTS" scfile=/scratch/kocevski/864329/ft2_4FGL_J2325.4-3559_daily_bin256.fits sctable="SC_DATA" outfile=/scratch/kocevski/864329/ltcube_305683201_305942401_4FGL_J2325.4-3559_daily_bin256.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/864329/ft2_4FGL_J2325.4-3559_daily_bin256.fits
.....................!
real 11.74
user 11.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864329/ft1_filtered_4FGL_J2325.4-3559_daily_bin256.fits evtable="EVENTS" scfile=/scratch/kocevski/864329/ft2_4FGL_J2325.4-3559_daily_bin256.fits sctable="SC_DATA" expcube=/scratch/kocevski/864329/ltcube_305683201_305942401_4FGL_J2325.4-3559_daily_bin256.fits outfile=/scratch/kocevski/864329/expmap_305683201_305942401_4FGL_J2325.4-3559_daily_bin256.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/864329/ltcube_305683201_305942401_4FGL_J2325.4-3559_daily_bin256.fits
.....................!
real 190.89
user 185.24
sys 5.30

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/864329/ft1_filtered_4FGL_J2325.4-3559_daily_bin256.fits scfile=/scratch/kocevski/864329/ft2_4FGL_J2325.4-3559_daily_bin256.fits outfile=/scratch/kocevski/864329/cmap_305683201_305942401_4FGL_J2325.4-3559_daily_bin256.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864329/ft1_filtered_4FGL_J2325.4-3559_daily_bin256.fits scfile=/scratch/kocevski/864329/ft2_4FGL_J2325.4-3559_daily_bin256.fits outfile=/scratch/kocevski/864329/cmap_HighResolution_305683201_305942401_4FGL_J2325.4-3559_daily_bin256.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .77452       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.008       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.108       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3793       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.672       1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.681       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10491E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4649       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0443       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0679       1.0000         .10000E-03   10000.    
    15 'norm      '    9.7634       1.0000         .10000E-03   10000.    
    16 'norm      '    6.3221       1.0000         .10000E-03   10000.    
    17 'norm      '    20.265       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .12974E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.5198       1.0000         .10000E-03   10000.    
    22 'norm      '    12.366       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    28.154       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.4892       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .75847       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1019       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=   5975.266     FROM MIGRAD    STATUS=CONVERGED    723 CALLS     3804 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.509        .10850E-06** at limit **
   2  Prefactor     .77395        2.7308        .16574E-05    .22315E-03
   3  Prefactor     10.009        13.109       -.26439E-06   -.26431E-04
   4  Prefactor     11.036        47.697       -.47961E-06   -.51229E-04
   5  Prefactor     5.3805        13.261        .38487E-06    .75315E-05
   6  Prefactor     29.676        23.558        .45239E-07   -.32551E-05
   7  Prefactor     34.678        13.235        .87076E-07   -.13953E-04
   8  Prefactor     .10000E-03    3.2010       -.45261E-06** at limit **
   9  norm          .10000E-03    1.4574       -.12807E-06** at limit **
  10  Prefactor     .10000E-03    7.1019       -.24214E-06** at limit **
  11  Prefactor     2.4596        7.9554        .15525E-05    .68626E-04
  12  norm          1.0447        .65458       -.62799E-07    .44035E-03
  13  Prefactor     .10000E-03    24.921        .95096E-07** at limit **
  14  Prefactor     3.0641        7.2535        .21989E-06   -.34734E-05
  15  norm          9.7640        9.5744       -.39709E-07    .34981E-05
  16  norm          6.3251        4.8306       -.15598E-06    .11061E-03
  17  norm          20.264        8.9267        .36627E-07    .30466E-04
  18  Prefactor     .10000E-03    68.661        .99879E-06** at limit **
  19  Prefactor     .10000E-03    20.693        .17246E-06** at limit **
  20  norm          .10012E-03    2.2824       -.61212E-06** at limit **
  21  Prefactor     9.5185        16.345        .26627E-05    .78347E-04
  22  norm          12.372        5.3392       -.16582E-06    .34959E-03
  23  Prefactor     .10000E-03    27.454        .10307E-06** at limit **
  24  Prefactor     28.156        35.719        .87457E-07   -.49966E-05
  25  Prefactor     .10000E-03    3.5123        .25085E-06** at limit **
  26  Prefactor     2.4886        5.3939        .92772E-06    .69063E-04
  27  Prefactor     .10000E-03    16.163        .12381E-06** at limit **
  28  Normalizat    .75872        .17814       -.21284E-05    .39315E-04
  29  Prefactor     1.1017        .19491        .66187E-06   -.65492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.773952
  Prefactor  = 10.0087
  Prefactor  = 11.0358
  Prefactor  = 5.38052
  Prefactor  = 29.6759
  Prefactor  = 34.6779
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.45956
  norm       = 1.04471
  Prefactor  = 0.0001
  Prefactor  = 3.06406
  norm       = 9.764
  norm       = 6.32507
  norm       = 20.2643
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100116
  Prefactor  = 9.51851
  norm       = 12.3718
  Prefactor  = 0.0001
  Prefactor  = 28.1563
  Prefactor  = 0.0001
  Prefactor  = 2.48856
  Prefactor  = 0.0001
  Normalizat = 0.758715
  Prefactor  = 1.10175
 **********
 **   18 **HESSE 
 **********

 FCN=   5975.266     FROM HESSE     STATUS=OK           563 CALLS     4367 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .77395        2.7122        .23279E-03   -1.5532    
   3  Prefactor     10.009        13.090        .12666E-03   -1.5075    
   4  Prefactor     11.036        47.954        .12021E-03   -1.5043    
   5  Prefactor     5.3805        13.267        .17327E-03   -1.5244    
   6  Prefactor     29.676        23.540        .73552E-04   -1.4618    
   7  Prefactor     34.678        13.242        .68048E-04   -1.4530    
   8  Prefactor     .10000E-03    3.2316        .13478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.4145        .17942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.1285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4596        7.9848        .26048E-03   -1.5394    
  12  norm          1.0447        .66294        .40358E-04   -1.5504    
  13  Prefactor     .10000E-03    24.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0641        7.1655        .23159E-03   -1.5358    
  15  norm          9.7640        9.5738        .12825E-03   -1.5083    
  16  norm          6.3251        4.7826        .14269E-03   -1.5205    
  17  norm          20.264        8.9240        .88974E-04   -1.4807    
  18  Prefactor     .10000E-03    69.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10012E-03    17.023        .20674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.5185        16.264        .64942E-03   -1.5091    
  22  norm          12.372        5.1406        .10775E-03   -1.5004    
  23  Prefactor     .10000E-03    27.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     28.156        35.730        .75504E-04   -1.4646    
  25  Prefactor     .10000E-03    3.5736        .14148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.4886        5.3774        .25130E-03   -1.5392    
  27  Prefactor     .10000E-03    16.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .75872        .21025        .25644E-03   -1.0162    
  29  Prefactor     1.1017        .23475        .24571E-03   -.89411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88753e-09
Minuit parameter uncertainties:
  1  9.10623e-06
  2  2.7126
  3  13.0936
  4  46.0715
  5  13.2743
  6  23.5478
  7  13.2429
  8  1.05374e-06
  9  1.01956e-05
  10  2.5607e-05
  11  7.98823
  12  0.662941
  13  1.60601e-06
  14  7.16752
  15  9.57532
  16  4.78288
  17  8.92456
  18  0.000514192
  19  1.88341e-05
  20  0.00281338
  21  16.2711
  22  5.14077
  23  2.0601e-05
  24  35.7571
  25  1.021e-05
  26  5.37844
  27  1.80105e-05
  28  0.210473
  29  0.234975
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.026e+01  8.925e+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:  1.102e+00  2.350e-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:  7.587e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.97
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 6.31e-08 +/- 2.78e-08
Energy Flux (Fixed Index): 2.53e-05 +/- 1.11e-05

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) = 5974.52094994
delta logL = 0.745153987808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5974.47420536
delta logL = 0.791898567591

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.017       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5555       1.0000          .0000       5.0000    
     3 'Normalizat'    .78622       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0875       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=   5974.474     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      213 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.008        8.7798        .23589E-02    .37201E-04
   2  alpha         1.5552        .37806        .29149       -.48750E-04
   3  Normalizat    .78600        .16698        .43430E-01   -.54831E-03
   4  Prefactor     1.0877        .19012        .55921E-01   -.36299E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 18.0075
  alpha      = 1.55516
  Normalizat = 0.786
  Prefactor  = 1.0877
 **********
 **   18 **HESSE 
 **********

 FCN=   5974.474     FROM HESSE     STATUS=OK            27 CALLS      240 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.008        10.166        .94357E-04   -1.4859    
   2  alpha         1.5552        .45833        .12258E-01   -.38757    
   3  Normalizat    .78600        .20113        .25242E-03   -1.0059    
   4  Prefactor     1.0877        .22916        .24727E-03   -.89861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85606e-10
Minuit parameter uncertainties:
  1  10.1669
  2  0.461382
  3  0.201319
  4  0.229365
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864329': 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) = 5974.4742041
delta logL = 0.791899823242

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.801e+01  1.017e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.555e+00  4.614e-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.088e+00  2.294e-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:  7.860e-01  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.53
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.56 +/- 0.46
Photon Flux (Free Index): 3.90e-08 +/- 2.60e-08
Energy Flux (Free Index): 3.42e-05 +/- 1.98e-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/864329/cmap_HighResolution_305683201_305942401_4FGL_J2325.4-3559_daily_bin256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.31e-08', energy_flux2='3.42e-05', photon_flux_error='2.78e-08', dlogl='7.92e-01', energy_flux='2.53e-05', photon_flux2='3.90e-08', job_status='DONE', time_completed='2021-09-29 17:38:01.370408', photon_index_error2='0.46', photon_index2='1.56', ts='18.97', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.98e-05', EG='0.76', time_epoch_completed='1632962281.37', return_code='0', job_id='864329', GAL2='1.09', EG2='0.79', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='2.60e-08', ts2='20.53', photon_index='2.13' WHERE bin_id='256' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:38:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 864329: <4FGL_J2325.4-3559_daily_bin256> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin256 351.359 -35.9878 305683201 305942401 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 :                                   723.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             339.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            741 sec.

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

