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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin893
RA = 351.359, Dec = -35.9878
tmin = 470793601, tmax = 471052801
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='868061', job_status='RUN', time_executed='2021-09-29 17:42:34.015331', time_epoch_executed='1632962554.02' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='893'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868061

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868061/ft1_4FGL_J2325.4-3559_daily_bin893.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868061/ft2_4FGL_J2325.4-3559_daily_bin893.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868061/ft1_4FGL_J2325.4-3559_daily_bin893.fits outfile=/scratch/kocevski/868061/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin893.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=470793601.0 tmax=471052801.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.48
user 3.27
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868061/ft1_filtered_4FGL_J2325.4-3559_daily_bin893.fits" evtable="EVENTS" scfile=/scratch/kocevski/868061/ft2_4FGL_J2325.4-3559_daily_bin893.fits sctable="SC_DATA" outfile=/scratch/kocevski/868061/ltcube_470793601_471052801_4FGL_J2325.4-3559_daily_bin893.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/868061/ft2_4FGL_J2325.4-3559_daily_bin893.fits
.....................!
real 11.68
user 11.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868061/ft1_filtered_4FGL_J2325.4-3559_daily_bin893.fits evtable="EVENTS" scfile=/scratch/kocevski/868061/ft2_4FGL_J2325.4-3559_daily_bin893.fits sctable="SC_DATA" expcube=/scratch/kocevski/868061/ltcube_470793601_471052801_4FGL_J2325.4-3559_daily_bin893.fits outfile=/scratch/kocevski/868061/expmap_470793601_471052801_4FGL_J2325.4-3559_daily_bin893.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/868061/ltcube_470793601_471052801_4FGL_J2325.4-3559_daily_bin893.fits
.....................!
real 190.93
user 185.31
sys 5.31

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/868061/ft1_filtered_4FGL_J2325.4-3559_daily_bin893.fits scfile=/scratch/kocevski/868061/ft2_4FGL_J2325.4-3559_daily_bin893.fits outfile=/scratch/kocevski/868061/cmap_470793601_471052801_4FGL_J2325.4-3559_daily_bin893.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868061/ft1_filtered_4FGL_J2325.4-3559_daily_bin893.fits scfile=/scratch/kocevski/868061/ft2_4FGL_J2325.4-3559_daily_bin893.fits outfile=/scratch/kocevski/868061/cmap_HighResolution_470793601_471052801_4FGL_J2325.4-3559_daily_bin893.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.122       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9635       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.744       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.836       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .92781       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.697       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.9151       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3997       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .30656       1.0000         .10000E-03   10000.    
    12 'norm      '    .29657E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.483       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .22017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.6492       1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.910       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .92853       1.0000         .10000E-03   10000.    
    20 'norm      '    7.2096       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.4573       1.0000         .10000E-03   10000.    
    23 'Prefactor '    46.236       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.3229       1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.005       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .26203E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .83998       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .86082       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=   6592.160     FROM MIGRAD    STATUS=CONVERGED    728 CALLS     3756 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.118        40.005        .13206E-05    .33829E-04
   2  Prefactor     1.9602        3.0771       -.92930E-06   -.19345E-03
   3  Prefactor     .10000E-03    10.064        .22124E-06** at limit **
   4  Prefactor     42.758        33.804       -.40645E-05   -.40349E-04
   5  Prefactor     22.847        18.521       -.98476E-06   -.26838E-04
   6  Prefactor     .86920        19.031        .71288E-05   -.80847E-04
   7  Prefactor     24.697        10.491       -.22776E-06   -.16723E-04
   8  Prefactor     .10000E-03    3.3990       -.34829E-07** at limit **
   9  norm          8.9171        4.0995        .46165E-08   -.92194E-04
  10  Prefactor     2.4050        9.0484       -.37747E-05   -.91568E-04
  11  Prefactor     .26858        7.6397        .49047E-05   -.33794E-03
  12  norm          .31698E-01    .54581       -.51749E-06    .85192E-03
  13  Prefactor     13.485        48.185       -.94998E-06    .45533E-05
  14  Prefactor     .10002E-03    5.6186       -.60053E-06** at limit **
  15  norm          .10000E-03    3.4604       -.56425E-06** at limit **
  16  norm          .10000E-03    1.3523        .12893E-06** at limit **
  17  norm          8.6486        5.7325       -.83688E-07    .70897E-04
  18  Prefactor     16.909        21.898        .44157E-06    .33284E-04
  19  Prefactor     .86767        135.95       -.29663E-04   -.49794E-04
  20  norm          7.2096        3.6536        .13160E-06    .11854E-03
  21  Prefactor     .10000E-03    4.7137        .19801E-06** at limit **
  22  norm          1.4573        1.6562       -.21278E-07   -.71960E-04
  23  Prefactor     46.227        60.921        .31650E-05    .15493E-04
  24  Prefactor     3.3142        25.141       -.37250E-06   -.41586E-05
  25  Prefactor     9.9961        5.8158       -.40496E-06   -.15496E-03
  26  Prefactor     .10000E-03    2.1745       -.41407E-06** at limit **
  27  Prefactor     .10000E-03    112.05        .11377E-04** at limit **
  28  Normalizat    .84017        .15319        .19087E-05    .43199E-04
  29  Prefactor     .86060        .16283        .14543E-05    .12543E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.1178
  Prefactor  = 1.96023
  Prefactor  = 0.0001
  Prefactor  = 42.7576
  Prefactor  = 22.8467
  Prefactor  = 0.869198
  Prefactor  = 24.6968
  Prefactor  = 0.0001
  norm       = 8.91712
  Prefactor  = 2.40499
  Prefactor  = 0.26858
  norm       = 0.0316981
  Prefactor  = 13.4846
  Prefactor  = 0.00010002
  norm       = 0.0001
  norm       = 0.0001
  norm       = 8.64858
  Prefactor  = 16.9094
  Prefactor  = 0.867674
  norm       = 7.20956
  Prefactor  = 0.0001
  norm       = 1.45726
  Prefactor  = 46.227
  Prefactor  = 3.3142
  Prefactor  = 9.99613
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Normalizat = 0.840169
  Prefactor  = 0.860602
 **********
 **   18 **HESSE 
 **********

 FCN=   6592.160     FROM HESSE     STATUS=OK           571 CALLS     4327 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.118        40.133        .57215E-04   -1.4305    
   2  Prefactor     1.9602        3.0824        .17178E-03   -1.5428    
   3  Prefactor     .10000E-03    10.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     42.758        34.113        .30659E-03   -1.4399    
   5  Prefactor     22.847        18.573        .83820E-04   -1.4752    
   6  Prefactor     .86920        96.678        .50448E-02   -1.5522    
   7  Prefactor     24.697        10.584        .80606E-04   -1.4714    
   8  Prefactor     .10000E-03    3.4431        .14623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.9171        4.5305        .98395E-04   -1.5111    
  10  Prefactor     2.4050        12.214        .26433E-03   -1.5398    
  11  Prefactor     .26858        423.57        .24800E-02   -1.5604    
  12  norm          .31698E-01    13.736        .81842E-03   -1.5672    
  13  Prefactor     13.485        48.172        .10908E-03   -1.4973    
  14  Prefactor     .10002E-03    16.956        .33525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.4687        .14757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.3536        .92164E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.6486        5.7236        .13630E-03   -1.5120    
  18  Prefactor     16.909        21.948        .97396E-04   -1.4885    
  19  Prefactor     .86767        160.13        .73674E-02   -1.5522    
  20  norm          7.2096        3.6595        .97890E-04   -1.5171    
  21  Prefactor     .10000E-03    4.7393        .17213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.4573        1.6509        .10778E-03   -1.5467    
  23  Prefactor     46.227        61.039        .58966E-04   -1.4347    
  24  Prefactor     3.3142        25.155        .22206E-03   -1.5344    
  25  Prefactor     9.9961        5.8782        .12668E-03   -1.5076    
  26  Prefactor     .10000E-03    4.7731        .23162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    113.88        .42892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .84017        .20024        .22458E-03   -.98596    
  29  Prefactor     .86060        .21178        .24748E-03   -.97532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.82749e-08
Minuit parameter uncertainties:
  1  40.1549
  2  3.0827
  3  1.58119e-05
  4  34.1282
  5  18.578
  6  18.3632
  7  10.5846
  8  1.33264e-05
  9  4.53064
  10  10.8429
  11  21.4817
  12  1.31791
  13  48.3112
  14  0.00116525
  15  8.23079e-06
  16  4.7265e-06
  17  5.72398
  18  21.958
  19  23.6376
  20  3.65964
  21  1.28596e-05
  22  1.65092
  23  61.1217
  24  18.2716
  25  5.87851
  26  9.84221e-05
  27  0.000598031
  28  0.200421
  29  0.211978
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  8.649e+00  5.724e+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.606e-01  2.120e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  8.402e-01  2.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.90
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.69e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 1.08e-05 +/- 7.15e-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) = 6592.13971522
delta logL = 0.020461690774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6592.13925993
delta logL = 0.020916982995

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5141       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9670       1.0000          .0000       5.0000    
     3 'Normalizat'    .84496       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85770       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=   6592.139     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      200 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5141        8.3126        .34345E-02   -.11975E-02
   2  alpha         1.9671        .93764        .42400        .60596E-04
   3  Normalizat    .84493        .14648        .44194E-01   -.32959E-03
   4  Prefactor     .85773        .16203        .44464E-01   -.13320E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.51414
  alpha      = 1.96706
  Normalizat = 0.844931
  Prefactor  = 0.857732
 **********
 **   18 **HESSE 
 **********

 FCN=   6592.139     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5141        5.8236        .13738E-03   -1.5124    
   2  alpha         1.9671        .76929        .21047E-01   -.21483    
   3  Normalizat    .84493        .17027        .22401E-03   -.98423    
   4  Prefactor     .85773        .18957        .24786E-03   -.97634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09784e-09
Minuit parameter uncertainties:
  1  5.82395
  2  0.782609
  3  0.170379
  4  0.189716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868061': 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) = 6592.13925991
delta logL = 0.0209170002536

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  8.514e+00  5.824e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.967e+00  7.826e-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.577e-01  1.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  8.449e-01  1.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.94
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.97 +/- 0.78
Photon Flux (Free Index): 2.33e-08 +/- 2.27e-08
Energy Flux (Free Index): 1.12e-05 +/- 8.08e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/868061/cmap_HighResolution_470793601_471052801_4FGL_J2325.4-3559_daily_bin893.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.69e-08', energy_flux2='1.12e-05', photon_flux_error='1.78e-08', dlogl='2.09e-02', energy_flux='1.08e-05', photon_flux2='2.33e-08', job_status='DONE', time_completed='2021-09-29 17:55:12.916579', photon_index_error2='0.78', photon_index2='1.97', ts='5.90', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='8.08e-06', EG='0.84', time_epoch_completed='1632963312.92', return_code='0', job_id='868061', GAL2='0.86', EG2='0.84', return_code2='0', energy_flux_error='7.15e-06', photon_flux_error2='2.27e-08', ts2='5.94', photon_index='2.13' WHERE bin_id='893' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:55:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 868061: <4FGL_J2325.4-3559_daily_bin893> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin893> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:25 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:26 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:26 2021
Terminated at Wed Sep 29 17:55:13 2021
Results reported at Wed Sep 29 17:55:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin893 351.359 -35.9878 470793601 471052801 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 :                                   755.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            888 sec.

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

