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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin615
RA = 351.359, Dec = -35.9878
tmin = 398736001, tmax = 398995201
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='865393', job_status='RUN', time_executed='2021-09-29 17:32:58.874766', time_epoch_executed='1632961978.87' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865393

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865393/ft1_4FGL_J2325.4-3559_daily_bin615.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865393/ft2_4FGL_J2325.4-3559_daily_bin615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865393/ft1_4FGL_J2325.4-3559_daily_bin615.fits outfile=/scratch/kocevski/865393/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin615.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=398736001.0 tmax=398995201.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 6.05
user 5.82
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865393/ft1_filtered_4FGL_J2325.4-3559_daily_bin615.fits" evtable="EVENTS" scfile=/scratch/kocevski/865393/ft2_4FGL_J2325.4-3559_daily_bin615.fits sctable="SC_DATA" outfile=/scratch/kocevski/865393/ltcube_398736001_398995201_4FGL_J2325.4-3559_daily_bin615.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/865393/ft2_4FGL_J2325.4-3559_daily_bin615.fits
.....................!
real 11.62
user 11.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865393/ft1_filtered_4FGL_J2325.4-3559_daily_bin615.fits evtable="EVENTS" scfile=/scratch/kocevski/865393/ft2_4FGL_J2325.4-3559_daily_bin615.fits sctable="SC_DATA" expcube=/scratch/kocevski/865393/ltcube_398736001_398995201_4FGL_J2325.4-3559_daily_bin615.fits outfile=/scratch/kocevski/865393/expmap_398736001_398995201_4FGL_J2325.4-3559_daily_bin615.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/865393/ltcube_398736001_398995201_4FGL_J2325.4-3559_daily_bin615.fits
.....................!
real 190.08
user 185.16
sys 4.61

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/865393/ft1_filtered_4FGL_J2325.4-3559_daily_bin615.fits scfile=/scratch/kocevski/865393/ft2_4FGL_J2325.4-3559_daily_bin615.fits outfile=/scratch/kocevski/865393/cmap_398736001_398995201_4FGL_J2325.4-3559_daily_bin615.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865393/ft1_filtered_4FGL_J2325.4-3559_daily_bin615.fits scfile=/scratch/kocevski/865393/ft2_4FGL_J2325.4-3559_daily_bin615.fits outfile=/scratch/kocevski/865393/cmap_HighResolution_398736001_398995201_4FGL_J2325.4-3559_daily_bin615.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    8.3381       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.201       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.807       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.988       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.743       1.0000         .10000E-03   10000.    
    12 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.5689       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.8499       1.0000         .10000E-03   10000.    
    16 'norm      '    1.9304       1.0000         .10000E-03   10000.    
    17 'norm      '    11.204       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10432E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.2638       1.0000         .10000E-03   10000.    
    21 'Prefactor '    43.445       1.0000         .10000E-03   10000.    
    22 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .19544E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2566       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .67963       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=   4311.026     FROM MIGRAD    STATUS=CONVERGED    731 CALLS     3687 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.649        .17170E-05** at limit **
   2  Prefactor     8.3378        6.9175       -.65143E-06    .17356E-03
   3  Prefactor     .10000E-03    29.060       -.13190E-05** at limit **
   4  Prefactor     31.202        30.852       -.73866E-07    .35299E-05
   5  Prefactor     7.9531        24.145       -.26146E-06    .46349E-05
   6  Prefactor     17.807        17.799       -.10153E-06    .96253E-05
   7  Prefactor     .10000E-03    5.4849        .11286E-07** at limit **
   8  Prefactor     .10000E-03    1.8248        .30326E-08** at limit **
   9  norm          .10000E-03    1.6442       -.16417E-06** at limit **
  10  Prefactor     10.988        10.927        .77728E-07    .23553E-03
  11  Prefactor     10.741        8.0048        .89274E-06    .64888E-03
  12  norm          .10000E-03    .37761       -.33498E-06** at limit **
  13  Prefactor     7.5683        32.862       -.39686E-07    .71254E-06
  14  Prefactor     .10000E-03    2.5449       -.70661E-07** at limit **
  15  norm          1.8491        36.090       -.18210E-06    .67069E-05
  16  norm          1.9351        7.9745        .16322E-05    .24151E-03
  17  norm          11.203        9.4974        .10803E-06   -.30504E-04
  18  Prefactor     .10000E-03    80.888       -.17917E-05** at limit **
  19  Prefactor     .10000E-03    100.74        .58251E-05** at limit **
  20  norm          3.2597        6.7032       -.67580E-06    .17091E-03
  21  Prefactor     43.453        41.632       -.50646E-06    .50829E-05
  22  norm          .10000E-03    3.0900        .46350E-07** at limit **
  23  Prefactor     .10000E-03    41.352        .86120E-06** at limit **
  24  Prefactor     .10000E-03    19.387       -.92608E-07** at limit **
  25  Prefactor     .10000E-03    3.0238       -.68435E-07** at limit **
  26  Prefactor     .10002E-03    24.437        .29613E-05** at limit **
  27  Prefactor     .10000E-03    83.176       -.30158E-05** at limit **
  28  Normalizat    1.2567        .21582        .13289E-05   -.40523E-04
  29  Prefactor     .67959        .21362       -.93256E-06    .11686E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.33781
  Prefactor  = 0.0001
  Prefactor  = 31.2017
  Prefactor  = 7.95306
  Prefactor  = 17.8066
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.9885
  Prefactor  = 10.7411
  norm       = 0.0001
  Prefactor  = 7.56827
  Prefactor  = 0.0001
  norm       = 1.84914
  norm       = 1.93509
  norm       = 11.203
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.2597
  Prefactor  = 43.4534
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 0.000100001
  Normalizat = 1.25666
  Prefactor  = 0.679587
 **********
 **   18 **HESSE 
 **********

 FCN=   4311.026     FROM HESSE     STATUS=OK           553 CALLS     4240 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.3378        6.8477        .13883E-03   -1.5130    
   3  Prefactor     .10000E-03    28.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     31.202        30.854        .71732E-04   -1.4590    
   5  Prefactor     7.9531        24.118        .14218E-03   -1.5144    
   6  Prefactor     17.807        17.803        .94913E-04   -1.4864    
   7  Prefactor     .10000E-03    5.5067        .15015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8256        .86620E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.6669        .82268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.988        10.935        .12086E-03   -1.5045    
  11  Prefactor     10.741        8.1602        .12224E-03   -1.5052    
  12  norm          .10000E-03    .80078        .72926E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.5683        32.840        .14577E-03   -1.5158    
  14  Prefactor     .10000E-03    2.5496        .10232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8491        36.129        .30654E-03   -1.5436    
  16  norm          1.9351        10.948        .14947E-02   -1.5430    
  17  norm          11.203        9.4981        .11969E-03   -1.5038    
  18  Prefactor     .10000E-03    81.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    99.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.2597        6.7844        .89375E-03   -1.5347    
  21  Prefactor     43.453        41.169        .60822E-04   -1.4389    
  22  norm          .10000E-03    3.1105        .11259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    41.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    19.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.0314        .11150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10002E-03    50.678        .37520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    82.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.2567        .25654        .21925E-03   -.84870    
  29  Prefactor     .67959        .25628        .29418E-03   -1.0433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08262e-09
Minuit parameter uncertainties:
  1  0.000127356
  2  6.84838
  3  0.000128329
  4  30.8702
  5  24.148
  6  17.8084
  7  1.33583e-05
  8  7.74089e-07
  9  4.56295e-06
  10  10.9366
  11  8.16106
  12  4.26204e-06
  13  31.5593
  14  4.35238e-06
  15  16.3582
  16  9.20789
  17  9.49937
  18  0.000197713
  19  0.000882719
  20  6.78596
  21  41.1963
  22  3.36374e-07
  23  7.33655e-05
  24  5.04366e-06
  25  9.66516e-07
  26  0.00200541
  27  0.000454245
  28  0.256803
  29  0.256728
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.120e+01  9.499e+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:  6.796e-01  2.567e-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.257e+00  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.03
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 3.49e-08 +/- 2.96e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 1.19e-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) = 4310.97970559
delta logL = 0.0464177638742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4310.9766905
delta logL = 0.0494328561972

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.516       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5125       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2340       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69398       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4310.977     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      274 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.516        9.3279        .11805E-03   -.47544E-03
   2  alpha         2.5128        1.1786        .21274E-01   -.43439E-04
   3  Normalizat    1.2337        .26176        .22097E-03    .80753E-04
   4  Prefactor     .69423        .25808        .29129E-03    .10991E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.5161
  alpha      = 2.5128
  Normalizat = 1.23372
  Prefactor  = 0.694232
 **********
 **   18 **HESSE 
 **********

 FCN=   4310.977     FROM HESSE     STATUS=OK            23 CALLS      297 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.516        9.2188        .47221E-05   -1.5029    
   2  alpha         2.5128        1.1625        .85095E-03    .51202E-02
   3  Normalizat    1.2337        .26136        .44195E-04   -.85567    
   4  Prefactor     .69423        .25791        .11652E-04   -1.0375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77978e-10
Minuit parameter uncertainties:
  1  9.21994
  2  1.20907
  3  0.261642
  4  0.258358
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865393': 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) = 4310.97668994
delta logL = 0.0494334174655

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.152e+01  9.220e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.513e+00  1.209e+00  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:  6.942e-01  2.584e-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.234e+00  2.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.51 +/- 1.21
Photon Flux (Free Index): 5.18e-08 +/- 7.08e-08
Energy Flux (Free Index): 1.48e-05 +/- 1.22e-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/865393/cmap_HighResolution_398736001_398995201_4FGL_J2325.4-3559_daily_bin615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.49e-08', energy_flux2='1.48e-05', photon_flux_error='2.96e-08', dlogl='4.94e-02', energy_flux='1.40e-05', photon_flux2='5.18e-08', job_status='DONE', time_completed='2021-09-29 17:42:52.598681', photon_index_error2='1.21', photon_index2='2.51', ts='4.03', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='1.22e-05', EG='1.26', time_epoch_completed='1632962572.6', return_code='0', job_id='865393', GAL2='0.69', EG2='1.23', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='7.08e-08', ts2='4.12', photon_index='2.13' WHERE bin_id='615' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:42:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 865393: <4FGL_J2325.4-3559_daily_bin615> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin615> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 17:30:41 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:30:42 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:30:42 2021
Terminated at Wed Sep 29 17:42:53 2021
Results reported at Wed Sep 29 17:42:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin615 351.359 -35.9878 398736001 398995201 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 :                                   592.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            732 sec.

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

