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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1431
RA = 351.35, Dec = -48.0022
tmin = 610243201, tmax = 610502401
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='877655', job_status='RUN', time_executed='2021-09-29 18:13:17.383374', time_epoch_executed='1632964397.38' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1431'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877655

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877655/ft1_4FGL_J2325.4-4800_daily_bin1431.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877655/ft1_4FGL_J2325.4-4800_daily_bin1431.fits outfile=/scratch/kocevski/877655/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1431.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=610243201.0 tmax=610502401.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.00
user 3.77
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.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/877655/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1431.fits evtable="EVENTS" outfile="/scratch/kocevski/877655/ft1_filtered_4FGL_J2325.4-4800_daily_bin1431.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877655/ft1_filtered_4FGL_J2325.4-4800_daily_bin1431.fits" evtable="EVENTS" scfile=/scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits sctable="SC_DATA" outfile=/scratch/kocevski/877655/ltcube_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.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/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits
.....................!
real 12.52
user 12.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877655/ft1_filtered_4FGL_J2325.4-4800_daily_bin1431.fits evtable="EVENTS" scfile=/scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits sctable="SC_DATA" expcube=/scratch/kocevski/877655/ltcube_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.fits outfile=/scratch/kocevski/877655/expmap_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.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/877655/ltcube_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.fits
.....................!
real 192.94
user 187.34
sys 4.91

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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-4800 @ 351.35 -48.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/877655/ft1_filtered_4FGL_J2325.4-4800_daily_bin1431.fits scfile=/scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits outfile=/scratch/kocevski/877655/cmap_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.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.35 yref=-48.0022 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/877655/ft1_filtered_4FGL_J2325.4-4800_daily_bin1431.fits scfile=/scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits outfile=/scratch/kocevski/877655/cmap_HighResolution_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.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.35 yref=-48.0022 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877655/ft1_filtered_4FGL_J2325.4-4800_daily_bin1431.fits evtable="EVENTS" scfile=/scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877655/Model_4FGL_J2325.4-4800_daily_bin1431.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/877655/ft1_filtered_4FGL_J2325.4-4800_daily_bin1431.fits.....................!
real 39.70
user 38.49
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/877655/ft1_filtered_4FGL_J2325.4-4800_daily_bin1431.fits', '/scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits', expMap='/scratch/kocevski/877655/expmap_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.fits', expCube='/scratch/kocevski/877655/ltcube_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/877655/Model_4FGL_J2325.4-4800_daily_bin1431.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-4800'

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/877655/ft1_filtered_4FGL_J2325.4-4800_daily_bin1431.fits
Spacecraft file(s): /scratch/kocevski/877655/ft2_4FGL_J2325.4-4800_daily_bin1431.fits
Exposure map: /scratch/kocevski/877655/expmap_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.fits
Exposure cube: /scratch/kocevski/877655/ltcube_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/877655/Model_4FGL_J2325.4-4800_daily_bin1431.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) = 5271.9073521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8765       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.629       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.121       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3284       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1510       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15072E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9259       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.746       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19497E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10846E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.6821       1.0000         .10000E-03   10000.    
    19 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.9929       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.249       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.4077       1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.4967       1.0000         .10000E-03   10000.    
    25 'norm      '    1.2256       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.0528       1.0000         .10000E-03   10000.    
    29 'Prefactor '    16.360       1.0000         .10000E-03   10000.    
    30 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .95674       1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.1223       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5271.899     FROM MIGRAD    STATUS=CONVERGED    926 CALLS     4781 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.631       -.12770E-05** at limit **
   2  Prefactor     4.8747        22.394        .17757E-05   -.16765E-04
   3  Prefactor     13.637        33.504       -.12985E-05    .27199E-04
   4  Prefactor     16.123        14.739        .15281E-06    .61377E-05
   5  Prefactor     .10000E-03    2.8746        .36939E-07** at limit **
   6  Prefactor     .10000E-03    20.800       -.75449E-06** at limit **
   7  Prefactor     4.3249        9.6317        .23961E-05   -.91827E-04
   8  norm          3.1501        4.7469        .30684E-09    .51543E-04
   9  Prefactor     .10000E-03    2.0079        .84605E-07** at limit **
  10  Prefactor     .10000E-03    62.453       -.27437E-05** at limit **
  11  Prefactor     3.9304        7.3861        .19299E-05   -.41702E-04
  12  Prefactor     33.685        34.789        .49916E-05    .25958E-03
  13  Prefactor     .10015E-03    8.0260       -.28657E-05** at limit **
  14  Prefactor     .10000E-03    41.762        .11755E-05** at limit **
  15  Prefactor     .10000E-03    4.2209        .64849E-07** at limit **
  16  Prefactor     .10000E-03    19.040        .13370E-05** at limit **
  17  Prefactor     .10000E-03    7.5207       -.39774E-07** at limit **
  18  norm          3.6813        13.028        .37800E-06   -.58945E-06
  19  norm          .10000E-03    3.7607        .38955E-08** at limit **
  20  norm          3.9926        4.1974       -.43292E-07    .28902E-04
  21  Prefactor     17.242        11.717        .32381E-07    .59015E-04
  22  Prefactor     4.4122        21.285        .35085E-06   -.26626E-06
  23  norm          .10000E-03    1.1692        .13661E-07** at limit **
  24  Prefactor     5.5038        19.680       -.21688E-06    .16616E-04
  25  norm          1.2254        1.1528        .24159E-07    .12381E-03
  26  norm          .10000E-03    1.2298        .18647E-07** at limit **
  27  Prefactor     .10000E-03    11.710        .70582E-07** at limit **
  28  Prefactor     1.0605        4.4298       -.10019E-05   -.19189E-03
  29  Prefactor     16.331        30.959        .26993E-05    .10069E-04
  30  norm          .10000E-03    31.922        .11538E-05** at limit **
  31  Prefactor     .10000E-03    1.8204        .51054E-07** at limit **
  32  Prefactor     .10000E-03    4.9597       -.18810E-07** at limit **
  33  Normalizat    .95622        .20254        .78419E-06    .36863E-03
  34  Prefactor     1.1227        .21358       -.17514E-05    .32610E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.87469
  Prefactor  = 13.637
  Prefactor  = 16.1229
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.32494
  norm       = 3.15009
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.93041
  Prefactor  = 33.6847
  Prefactor  = 0.000100152
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.68125
  norm       = 0.0001
  norm       = 3.9926
  Prefactor  = 17.2423
  Prefactor  = 4.41215
  norm       = 0.0001
  Prefactor  = 5.50376
  norm       = 1.22544
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.06051
  Prefactor  = 16.3312
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.956222
  Prefactor  = 1.12269
 **********
 **   18 **HESSE 
 **********

 FCN=   5271.899     FROM HESSE     STATUS=OK           730 CALLS     5511 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.8747        22.224        .91077E-03   -1.5266    
   3  Prefactor     13.637        33.458        .10850E-03   -1.4969    
   4  Prefactor     16.123        14.738        .99753E-04   -1.4905    
   5  Prefactor     .10000E-03    2.8882        .12021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3249        9.6811        .96810E-03   -1.5292    
   8  norm          3.1501        4.7364        .18936E-03   -1.5353    
   9  Prefactor     .10000E-03    2.0285        .10043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    62.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.9304        7.4546        .10180E-02   -1.5311    
  12  Prefactor     33.685        34.747        .68981E-04   -1.4547    
  13  Prefactor     .10015E-03    87.519        .36492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    41.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2455        .14566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.5343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.6813        13.025        .21048E-03   -1.5324    
  19  norm          .10000E-03    3.7738        .13747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.9926        4.2044        .14104E-03   -1.5308    
  21  Prefactor     17.242        11.605        .96436E-04   -1.4877    
  22  Prefactor     4.4122        21.268        .19182E-03   -1.5288    
  23  norm          .10000E-03    1.1726        .76631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.5038        19.475        .17138E-03   -1.5239    
  25  norm          1.2254        1.1279        .70419E-04   -1.5487    
  26  norm          .10000E-03    1.2332        .78617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    11.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.0605        4.0928        .22840E-03   -1.5502    
  29  Prefactor     16.331        29.353        .99022E-04   -1.4900    
  30  norm          .10000E-03    32.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.8319        .95633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    5.0946        .31488E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .95622        .24799        .24955E-03   -.94512    
  34  Prefactor     1.1227        .25796        .25291E-03   -.88744    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09942e-09
Minuit parameter uncertainties:
  1  0.000150574
  2  20.8297
  3  33.5042
  4  14.7412
  5  1.29662e-06
  6  9.58893e-05
  7  9.68465
  8  4.73694
  9  2.99074e-07
  10  0.000584677
  11  7.45633
  12  34.768
  13  0.00729841
  14  0.000255294
  15  1.34145e-06
  16  0.000174337
  17  1.00257e-05
  18  13.0354
  19  1.20919e-08
  20  4.20472
  21  11.6066
  22  19.3849
  23  2.81185e-07
  24  19.4976
  25  1.12795
  26  2.4497e-07
  27  1.0924e-05
  28  4.09388
  29  29.3791
  30  6.29858e-05
  31  2.44765e-06
  32  1.22808e-05
  33  0.248284
  34  0.258253
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.724e+01  1.161e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.123e+00  2.583e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.562e-01  2.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.07
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 7.42e-08 +/- 5.00e-08
Energy Flux (Fixed Index): 4.02e-05 +/- 2.71e-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) = 5271.34752387
delta logL = 0.551568614818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5271.34392316
delta logL = 0.555169321673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0249       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7595       1.0000          .0000       10.000    
     3 'Normalizat'    .88438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1734       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5271.344     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      246 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0249        46.069        .37839E-02    .15714E-02
   2  Index         2.7595        2.2350        .73765E-01    .20898E-03
   3  Normalizat    .88439        .97621E-01    .44702E-01    .16150E-04
   4  Prefactor     1.1734        .86142E-01    .56060E-01   -.35883E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.02486
  Index      = 2.75952
  Normalizat = 0.884387
  Prefactor  = 1.17343
 **********
 **   18 **HESSE 
 **********

 FCN=   5271.344     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0249        12.164        .77904E-04   -1.5178    
   2  Index         2.7595        .88251        .29794E-02   -.46463    
   3  Normalizat    .88439        .25030        .25778E-03   -.97011    
   4  Prefactor     1.1734        .26347        .24789E-03   -.87153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02266e-09
Minuit parameter uncertainties:
  1  12.1679
  2  0.888345
  3  0.250629
  4  0.263765
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877655': 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) = 5271.34392315
delta logL = 0.55516932747

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  7.025e+00  1.217e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.760e+00  8.883e-01  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.173e+00  2.638e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.844e-01  2.506e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.40
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.76 +/- 0.89
Photon Flux (Free Index): 1.29e-07 +/- 7.73e-08
Energy Flux (Free Index): 2.97e-05 +/- 1.43e-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/877655/cmap_HighResolution_610243201_610502401_4FGL_J2325.4-4800_daily_bin1431.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.42e-08', energy_flux2='2.97e-05', photon_flux_error='5.00e-08', dlogl='5.55e-01', energy_flux='4.02e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2021-09-29 18:26:34.117323', photon_index_error2='0.89', photon_index2='2.76', ts='10.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='0.96', time_epoch_completed='1632965194.12', return_code='0', job_id='877655', GAL2='1.17', EG2='0.88', return_code2='0', energy_flux_error='2.71e-05', photon_flux_error2='7.73e-08', ts2='11.40', photon_index='2.11' WHERE bin_id='1431' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:26:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 877655: <4FGL_J2325.4-4800_daily_bin1431> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1431> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:57 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:10:58 2021
Terminated at Wed Sep 29 18:26:34 2021
Results reported at Wed Sep 29 18:26:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1431 351.35 -48.0022 610243201 610502401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-4800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   743.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            937 sec.

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

