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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin769
RA = 351.35, Dec = -48.0022
tmin = 438652801, tmax = 438912001
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='874286', job_status='RUN', time_executed='2021-09-29 18:02:59.618673', time_epoch_executed='1632963779.62' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874286

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874286/ft1_4FGL_J2325.4-4800_daily_bin769.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874286/ft2_4FGL_J2325.4-4800_daily_bin769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/874286/ft1_4FGL_J2325.4-4800_daily_bin769.fits outfile=/scratch/kocevski/874286/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin769.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=438652801.0 tmax=438912001.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.36
user 6.08
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/874286/ft2_4FGL_J2325.4-4800_daily_bin769.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/874286/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin769.fits evtable="EVENTS" outfile="/scratch/kocevski/874286/ft1_filtered_4FGL_J2325.4-4800_daily_bin769.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.52
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/874286/ft1_filtered_4FGL_J2325.4-4800_daily_bin769.fits" evtable="EVENTS" scfile=/scratch/kocevski/874286/ft2_4FGL_J2325.4-4800_daily_bin769.fits sctable="SC_DATA" outfile=/scratch/kocevski/874286/ltcube_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.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/874286/ft2_4FGL_J2325.4-4800_daily_bin769.fits
.....................!
real 12.59
user 12.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874286/ft1_filtered_4FGL_J2325.4-4800_daily_bin769.fits evtable="EVENTS" scfile=/scratch/kocevski/874286/ft2_4FGL_J2325.4-4800_daily_bin769.fits sctable="SC_DATA" expcube=/scratch/kocevski/874286/ltcube_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.fits outfile=/scratch/kocevski/874286/expmap_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.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/874286/ltcube_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.fits
.....................!
real 190.43
user 185.31
sys 4.75

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/874286/ft1_filtered_4FGL_J2325.4-4800_daily_bin769.fits scfile=/scratch/kocevski/874286/ft2_4FGL_J2325.4-4800_daily_bin769.fits outfile=/scratch/kocevski/874286/cmap_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/874286/ft1_filtered_4FGL_J2325.4-4800_daily_bin769.fits scfile=/scratch/kocevski/874286/ft2_4FGL_J2325.4-4800_daily_bin769.fits outfile=/scratch/kocevski/874286/cmap_HighResolution_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/874286/ft1_filtered_4FGL_J2325.4-4800_daily_bin769.fits evtable="EVENTS" scfile=/scratch/kocevski/874286/ft2_4FGL_J2325.4-4800_daily_bin769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/874286/Model_4FGL_J2325.4-4800_daily_bin769.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/874286/ft1_filtered_4FGL_J2325.4-4800_daily_bin769.fits.....................!
real 37.69
user 36.33
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/874286/ft1_filtered_4FGL_J2325.4-4800_daily_bin769.fits', '/scratch/kocevski/874286/ft2_4FGL_J2325.4-4800_daily_bin769.fits', expMap='/scratch/kocevski/874286/expmap_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.fits', expCube='/scratch/kocevski/874286/ltcube_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/874286/Model_4FGL_J2325.4-4800_daily_bin769.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/874286/ft1_filtered_4FGL_J2325.4-4800_daily_bin769.fits
Spacecraft file(s): /scratch/kocevski/874286/ft2_4FGL_J2325.4-4800_daily_bin769.fits
Exposure map: /scratch/kocevski/874286/expmap_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.fits
Exposure cube: /scratch/kocevski/874286/ltcube_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/874286/Model_4FGL_J2325.4-4800_daily_bin769.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) = 4754.81433033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5812       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0079       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.183       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.8850       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7926       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.637       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5169       1.0000         .10000E-03   10000.    
    18 'norm      '    5.7036       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.7802       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.9502       1.0000         .10000E-03   10000.    
    23 'norm      '    4.5213       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10532E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    8.2161       1.0000         .10000E-03   10000.    
    26 'norm      '    9.1253       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.3231       1.0000         .10000E-03   10000.    
    29 'Prefactor '    6.1394       1.0000         .10000E-03   10000.    
    30 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.9635       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .13674E-02   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .89168       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .82461       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=   4754.811     FROM MIGRAD    STATUS=CONVERGED    901 CALLS     4770 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.334        .12817E-05** at limit **
   2  Prefactor     .10000E-03    9.1772        .18956E-06** at limit **
   3  Prefactor     .10000E-03    22.692        .80002E-06** at limit **
   4  Prefactor     .10000E-03    19.162        .11362E-05** at limit **
   5  Prefactor     .10000E-03    5.4463        .73534E-07** at limit **
   6  Prefactor     .10000E-03    40.502       -.28477E-06** at limit **
   7  Prefactor     8.5819        7.2984        .15028E-06   -.94652E-04
   8  norm          .10000E-03    2.7584        .31871E-07** at limit **
   9  Prefactor     1.0065        3.1779        .36856E-06   -.11763E-04
  10  Prefactor     27.182        39.362        .32998E-06   -.10009E-04
  11  Prefactor     6.8825        7.3680        .24010E-06    .64773E-04
  12  Prefactor     .10000E-03    34.080       -.20931E-05** at limit **
  13  Prefactor     7.7894        10.549        .55905E-06    .11280E-03
  14  Prefactor     .10000E-03    37.650       -.17006E-05** at limit **
  15  Prefactor     .10000E-03    3.2343       -.11510E-07** at limit **
  16  Prefactor     12.633        34.238        .10230E-05   -.99117E-05
  17  Prefactor     1.5169        13.492        .14630E-04   -.11490E-03
  18  norm          5.7017        11.888        .11952E-05   -.82278E-04
  19  norm          .10000E-03    3.1513        .82559E-07** at limit **
  20  norm          .10000E-03    3.8204       -.13369E-05** at limit **
  21  Prefactor     8.7611        7.4935       -.12923E-05   -.84311E-03
  22  Prefactor     2.9053        104.06        .22374E-04   -.48723E-04
  23  norm          4.5204        4.3478       -.14690E-05   -.10660E-02
  24  Prefactor     .10000E-03    48.046        .34209E-05** at limit **
  25  norm          8.2145        1.9745       -.21917E-06   -.18663E-02
  26  norm          9.1247        5.5257       -.47584E-06   -.71852E-03
  27  Prefactor     .10000E-03    14.731       -.93213E-06** at limit **
  28  Prefactor     3.3227        2.8143       -.61456E-07   -.23113E-03
  29  Prefactor     6.1401        17.597        .13060E-05   -.12466E-03
  30  norm          .10000E-03    29.042       -.18210E-05** at limit **
  31  Prefactor     2.9622        6.0200        .89205E-06    .76265E-04
  32  Prefactor     .10008E-03    2.6397        .19555E-05** at limit **
  33  Normalizat    .89200        .19655        .36932E-06   -.53112E-03
  34  Prefactor     .82432        .20471       -.27720E-05   -.43721E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.58188
  norm       = 0.0001
  Prefactor  = 1.00648
  Prefactor  = 27.1821
  Prefactor  = 6.8825
  Prefactor  = 0.0001
  Prefactor  = 7.78936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6325
  Prefactor  = 1.51688
  norm       = 5.70165
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 8.76107
  Prefactor  = 2.90528
  norm       = 4.52039
  Prefactor  = 0.000100003
  norm       = 8.21452
  norm       = 9.12466
  Prefactor  = 0.0001
  Prefactor  = 3.32269
  Prefactor  = 6.14012
  norm       = 0.0001
  Prefactor  = 2.96223
  Prefactor  = 0.000100078
  Normalizat = 0.891999
  Prefactor  = 0.824324
 **********
 **   18 **HESSE 
 **********

 FCN=   4754.811     FROM HESSE     STATUS=OK           728 CALLS     5498 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.1857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.727        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.5075        .15711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    40.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.5819        7.2968        .13684E-03   -1.5122    
   8  norm          .10000E-03    2.7600        .11185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.0065        3.0912        .20759E-03   -1.5507    
  10  Prefactor     27.182        39.282        .76838E-04   -1.4665    
  11  Prefactor     6.8825        7.3545        .15290E-03   -1.5183    
  12  Prefactor     .10000E-03    34.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.7894        10.538        .14364E-03   -1.5150    
  14  Prefactor     .10000E-03    37.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.2464        .12110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.633        34.217        .11268E-03   -1.4997    
  17  Prefactor     1.5169        13.694        .17352E-02   -1.5462    
  18  norm          5.7017        11.883        .84095E-03   -1.5230    
  19  norm          .10000E-03    3.1559        .11955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.8659        .13193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.7611        7.5041        .13527E-03   -1.5116    
  22  Prefactor     2.9053        104.08        .23645E-03   -1.5367    
  23  norm          4.5204        4.3360        .12239E-03   -1.5283    
  24  Prefactor     .10000E-03    49.216        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          8.2145        1.9761        .43825E-04   -1.5135    
  26  norm          9.1247        5.5188        .11692E-03   -1.5104    
  27  Prefactor     .10000E-03    14.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.3227        2.8030        .99057E-04   -1.5343    
  29  Prefactor     6.1401        17.507        .81014E-03   -1.5212    
  30  norm          .10000E-03    29.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     2.9622        5.9838        .22019E-03   -1.5364    
  32  Prefactor     .10008E-03    17.404        .20257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .89200        .23214        .23004E-03   -.96742    
  34  Prefactor     .82432        .24355        .26110E-03   -.98838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88171e-09
Minuit parameter uncertainties:
  1  8.25819e-05
  2  1.28784e-05
  3  5.28778e-05
  4  0.000145225
  5  7.25116e-06
  6  0.000107753
  7  7.29754
  8  3.49766e-07
  9  3.09169
  10  39.3194
  11  7.35548
  12  0.000242989
  13  10.54
  14  0.000163153
  15  1.5724e-06
  16  34.2697
  17  9.11781
  18  11.8875
  19  3.16167e-06
  20  0.000118294
  21  7.50488
  22  34.8438
  23  4.33631
  24  0.000779568
  25  1.97608
  26  5.51908
  27  0.000118862
  28  2.80308
  29  17.5214
  30  9.85776e-05
  31  5.98498
  32  0.00233161
  33  0.232405
  34  0.243871
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  8.761e+00  7.505e+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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.243e-01  2.439e-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.920e-01  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.23
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.77e-08 +/- 3.23e-08
Energy Flux (Fixed Index): 2.05e-05 +/- 1.75e-05

TS (Fixed Index): 3.23
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/874286/likelihoodResults_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.txt

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) = 4754.78081898
delta logL = 0.0300526336787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4754.77887629
delta logL = 0.0319953170392

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0916       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8146       1.0000          .0000       10.000    
     3 'Normalizat'    .90682       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81636       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=   4754.779     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      222 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0968        377.44        .33231E-02   -.72429E-04
   2  Index         1.8158        8.0844        .13603       -.26325E-05
   3  Normalizat    .90677        .31971        .44989E-01   -.44879E-03
   4  Prefactor     .81640        .13206        .43930E-01   -.35574E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.09681
  Index      = 1.81581
  Normalizat = 0.906766
  Prefactor  = 0.816403
 **********
 **   18 **HESSE 
 **********

 FCN=   4754.779     FROM HESSE     STATUS=OK            29 CALLS      251 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0968        9.0648        .13292E-03   -1.5105    
   2  Index         1.8158        1.3100        .14545E-01   -.69039    
   3  Normalizat    .90677        .22710        .22857E-03   -.96223    
   4  Prefactor     .81640        .24275        .26241E-03   -.99126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43809e-10
Minuit parameter uncertainties:
  1  9.06618
  2  1.33658
  3  0.227338
  4  0.243069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874286': 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) = 4754.77887588
delta logL = 0.0319957340589

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  9.097e+00  9.066e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.816e+00  1.337e+00  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:  8.164e-01  2.431e-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.068e-01  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.32
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.82 +/- 1.34
Photon Flux (Free Index): 2.26e-08 +/- 6.28e-08
Energy Flux (Free Index): 2.59e-05 +/- 4.28e-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/874286/cmap_HighResolution_438652801_438912001_4FGL_J2325.4-4800_daily_bin769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.49e-03', comment='SUCCESS', photon_flux='3.77e-08', energy_flux2='2.59e-05', photon_flux_error='3.23e-08', dlogl='3.20e-02', energy_flux='2.05e-05', photon_flux2='2.26e-08', job_status='DONE', time_completed='2021-09-29 18:16:35.240386', photon_index_error2='1.34', photon_index2='1.82', ts='3.23', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='4.28e-05', EG='0.89', time_epoch_completed='1632964595.24', return_code='0', job_id='874286', GAL2='0.82', EG2='0.91', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='6.28e-08', ts2='3.32', photon_index='2.11' WHERE bin_id='769' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:16:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 874286: <4FGL_J2325.4-4800_daily_bin769> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:00:35 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:00:37 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:00:37 2021
Terminated at Wed Sep 29 18:16:36 2021
Results reported at Wed Sep 29 18:16:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin769 351.35 -48.0022 438652801 438912001 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 :                                   813.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            961 sec.

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

