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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin874
RA = 351.359, Dec = -35.9878
tmin = 465868801, tmax = 466128001
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='868033', job_status='RUN', time_executed='2021-09-29 17:43:47.465649', time_epoch_executed='1632962627.47' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='874'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868033

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868033/ft1_4FGL_J2325.4-3559_daily_bin874.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868033/ft2_4FGL_J2325.4-3559_daily_bin874.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868033/ft1_4FGL_J2325.4-3559_daily_bin874.fits outfile=/scratch/kocevski/868033/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin874.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=465868801.0 tmax=466128001.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.94
user 3.74
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868033/ft1_filtered_4FGL_J2325.4-3559_daily_bin874.fits" evtable="EVENTS" scfile=/scratch/kocevski/868033/ft2_4FGL_J2325.4-3559_daily_bin874.fits sctable="SC_DATA" outfile=/scratch/kocevski/868033/ltcube_465868801_466128001_4FGL_J2325.4-3559_daily_bin874.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/868033/ft2_4FGL_J2325.4-3559_daily_bin874.fits
.....................!
real 12.72
user 12.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868033/ft1_filtered_4FGL_J2325.4-3559_daily_bin874.fits evtable="EVENTS" scfile=/scratch/kocevski/868033/ft2_4FGL_J2325.4-3559_daily_bin874.fits sctable="SC_DATA" expcube=/scratch/kocevski/868033/ltcube_465868801_466128001_4FGL_J2325.4-3559_daily_bin874.fits outfile=/scratch/kocevski/868033/expmap_465868801_466128001_4FGL_J2325.4-3559_daily_bin874.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/868033/ltcube_465868801_466128001_4FGL_J2325.4-3559_daily_bin874.fits
.....................!
real 189.54
user 184.96
sys 4.26

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/868033/ft1_filtered_4FGL_J2325.4-3559_daily_bin874.fits scfile=/scratch/kocevski/868033/ft2_4FGL_J2325.4-3559_daily_bin874.fits outfile=/scratch/kocevski/868033/cmap_465868801_466128001_4FGL_J2325.4-3559_daily_bin874.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.51
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868033/ft1_filtered_4FGL_J2325.4-3559_daily_bin874.fits scfile=/scratch/kocevski/868033/ft2_4FGL_J2325.4-3559_daily_bin874.fits outfile=/scratch/kocevski/868033/cmap_HighResolution_465868801_466128001_4FGL_J2325.4-3559_daily_bin874.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868033/ft1_filtered_4FGL_J2325.4-3559_daily_bin874.fits evtable="EVENTS" scfile=/scratch/kocevski/868033/ft2_4FGL_J2325.4-3559_daily_bin874.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868033/Model_4FGL_J2325.4-3559_daily_bin874.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/868033/ft1_filtered_4FGL_J2325.4-3559_daily_bin874.fits.....................!
real 45.18
user 43.97
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1308       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4290       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.253       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9198       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0189       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9090       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.2108       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0680       1.0000         .10000E-03   10000.    
    12 'norm      '    .20471E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.6762       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3421       1.0000         .10000E-03   10000.    
    17 'norm      '    17.772       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.7824       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.5057       1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    68.844       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .13482E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .69736       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .86797       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=   6390.032     FROM MIGRAD    STATUS=CONVERGED    743 CALLS     3820 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1228        172.09        .25245E-04   -.63478E-04
   2  Prefactor     1.4287        1.8768       -.76882E-07   -.41467E-03
   3  Prefactor     .10000E-03    22.609       -.83592E-06** at limit **
   4  Prefactor     .10000E-03    18.852        .31474E-05** at limit **
   5  Prefactor     36.248        18.357        .26157E-05    .21155E-03
   6  Prefactor     .10000E-03    16.120       -.40177E-05** at limit **
   7  Prefactor     4.9187        8.8215       -.51083E-06   -.18456E-03
   8  Prefactor     4.0182        3.6938        .33205E-07    .11827E-03
   9  norm          1.9097        2.2651       -.10270E-07   -.13831E-03
  10  Prefactor     7.2121        8.4818        .52057E-06    .72643E-04
  11  Prefactor     2.0646        6.8156       -.30537E-06   -.67354E-03
  12  norm          .20729E-01    .36792       -.24045E-06   -.12582E-02
  13  Prefactor     .10000E-03    275.93       -.32716E-05** at limit **
  14  Prefactor     .10000E-03    5.9626        .68954E-07** at limit **
  15  norm          7.6764        8.5966       -.33058E-07   -.37696E-04
  16  norm          1.3417        2.7279       -.24912E-06   -.55286E-03
  17  norm          17.773        7.1747        .58308E-07   -.98385E-05
  18  Prefactor     .10000E-03    37.715       -.22498E-06** at limit **
  19  Prefactor     .10000E-03    14.629        .18391E-05** at limit **
  20  norm          2.7808        2.9062       -.94306E-07   -.48446E-03
  21  Prefactor     9.5052        11.242       -.54190E-07   -.44420E-04
  22  norm          .10000E-03    1.3122        .18059E-08** at limit **
  23  Prefactor     68.835        67.076       -.66751E-05   -.64580E-04
  24  Prefactor     .10000E-03    9.6929        .66505E-07** at limit **
  25  Prefactor     .10000E-03    2.3046        .20123E-07** at limit **
  26  Prefactor     .10000E-03    1.1923       -.71167E-08** at limit **
  27  Prefactor     .10000E-03    11.341       -.18099E-06** at limit **
  28  Normalizat    .69741        .13460       -.28029E-06    .39800E-05
  29  Prefactor     .86792        .14742        .95520E-07    .44920E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.12275
  Prefactor  = 1.42871
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.2478
  Prefactor  = 0.0001
  Prefactor  = 4.91865
  Prefactor  = 4.01817
  norm       = 1.90971
  Prefactor  = 7.21211
  Prefactor  = 2.06457
  norm       = 0.0207287
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.67636
  norm       = 1.34173
  norm       = 17.7728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.78084
  Prefactor  = 9.50519
  norm       = 0.0001
  Prefactor  = 68.8353
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.697409
  Prefactor  = 0.867923
 **********
 **   18 **HESSE 
 **********

 FCN=   6390.032     FROM HESSE     STATUS=OK           557 CALLS     4377 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1228        156.54        .43927E-03   -1.5496    
   2  Prefactor     1.4287        1.8564        .12185E-03   -1.5469    
   3  Prefactor     .10000E-03    22.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.248        18.350        .66561E-04   -1.4503    
   6  Prefactor     .10000E-03    16.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.9187        8.8635        .18133E-03   -1.5264    
   8  Prefactor     4.0182        3.7001        .14285E-03   -1.5307    
   9  norm          1.9097        2.2727        .12280E-03   -1.5432    
  10  Prefactor     7.2121        8.5426        .14938E-03   -1.5171    
  11  Prefactor     2.0646        15.745        .24277E-03   -1.5421    
  12  norm          .20729E-01    3.0802        .68049E-03   -1.5679    
  13  Prefactor     .10000E-03    286.16        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.0560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.6764        8.5980        .14474E-03   -1.5154    
  16  norm          1.3417        2.6829        .17932E-03   -1.5476    
  17  norm          17.773        7.1757        .95005E-04   -1.4865    
  18  Prefactor     .10000E-03    37.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.7808        2.8822        .12943E-03   -1.5374    
  21  Prefactor     9.5052        11.240        .12998E-03   -1.5091    
  22  norm          .10000E-03    1.3319        .89310E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     68.835        67.404        .48377E-04   -1.4047    
  24  Prefactor     .10000E-03    9.6998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.3207        .23348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    1.1957        .85235E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    11.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .69741        .16293        .21556E-03   -1.0400    
  29  Prefactor     .86792        .17800        .22115E-03   -.97271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79057e-09
Minuit parameter uncertainties:
  1  26.5846
  2  1.85651
  3  7.44418e-06
  4  7.7762e-05
  5  18.353
  6  0.000121868
  7  8.86584
  8  3.70031
  9  2.27283
  10  8.544
  11  11.4066
  12  0.504172
  13  0.000456807
  14  1.77458e-05
  15  8.59939
  16  2.68317
  17  7.17606
  18  3.95523e-05
  19  4.81223e-05
  20  2.88233
  21  11.2426
  22  1.91014e-07
  23  67.4785
  24  5.94773e-06
  25  4.76788e-06
  26  6.86834e-07
  27  7.95734e-08
  28  0.16304
  29  0.178118
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.777e+01  7.176e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.679e-01  1.781e-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.974e-01  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.45
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 5.53e-08 +/- 2.23e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 8.97e-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) = 6389.80834052
delta logL = 0.22366558663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6389.80577634
delta logL = 0.226229766842

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.036       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8588       1.0000          .0000       5.0000    
     3 'Normalizat'    .70861       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86143       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=   6389.806     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      204 TOTAL
                     EDM=   .51E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.038        8.2121        .23577E-02   -.10873E-04
   2  alpha         1.8595        .40973        .28635       -.21066E-05
   3  Normalizat    .70883        .12875        .42405E-01    .18683E-04
   4  Prefactor     .86106        .14632        .44511E-01    .10141E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.0377
  alpha      = 1.85953
  Normalizat = 0.708826
  Prefactor  = 0.861059
 **********
 **   18 **HESSE 
 **********

 FCN=   6389.806     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.038        7.5009        .94308E-04   -1.4858    
   2  alpha         1.8595        .39563        .11920E-01   -.25908    
   3  Normalizat    .70883        .15279        .21397E-03   -1.0355    
   4  Prefactor     .86106        .17385        .22197E-03   -.97515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50514e-12
Minuit parameter uncertainties:
  1  7.50127
  2  0.397415
  3  0.152881
  4  0.173957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868033': 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) = 6389.80577187
delta logL = 0.226234234688

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.804e+01  7.501e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.860e+00  3.974e-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:  8.611e-01  1.740e-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.088e-01  1.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.90
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.86 +/- 0.40
Photon Flux (Free Index): 4.58e-08 +/- 2.35e-08
Energy Flux (Free Index): 2.53e-05 +/- 1.20e-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/868033/cmap_HighResolution_465868801_466128001_4FGL_J2325.4-3559_daily_bin874.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.53e-08', energy_flux2='2.53e-05', photon_flux_error='2.23e-08', dlogl='2.26e-01', energy_flux='2.22e-05', photon_flux2='4.58e-08', job_status='DONE', time_completed='2021-09-29 17:55:59.616357', photon_index_error2='0.40', photon_index2='1.86', ts='19.45', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='0.70', time_epoch_completed='1632963359.62', return_code='0', job_id='868033', GAL2='0.86', EG2='0.71', return_code2='0', energy_flux_error='8.97e-06', photon_flux_error2='2.35e-08', ts2='19.90', photon_index='2.13' WHERE bin_id='874' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:55:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 868033: <4FGL_J2325.4-3559_daily_bin874> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin874> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:23 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:24 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:40:24 2021
Terminated at Wed Sep 29 17:56:00 2021
Results reported at Wed Sep 29 17:56:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin874 351.359 -35.9878 465868801 466128001 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 :                                   729.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

