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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1132
RA = 351.35, Dec = -48.0022
tmin = 532742401, tmax = 533001601
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='877193', job_status='RUN', time_executed='2021-09-29 18:13:37.428192', time_epoch_executed='1632964417.43' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1132'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877193

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877193/ft1_4FGL_J2325.4-4800_daily_bin1132.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877193/ft2_4FGL_J2325.4-4800_daily_bin1132.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877193/ft1_4FGL_J2325.4-4800_daily_bin1132.fits outfile=/scratch/kocevski/877193/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1132.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=532742401.0 tmax=533001601.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.65
user 3.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877193/ft1_filtered_4FGL_J2325.4-4800_daily_bin1132.fits" evtable="EVENTS" scfile=/scratch/kocevski/877193/ft2_4FGL_J2325.4-4800_daily_bin1132.fits sctable="SC_DATA" outfile=/scratch/kocevski/877193/ltcube_532742401_533001601_4FGL_J2325.4-4800_daily_bin1132.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/877193/ft2_4FGL_J2325.4-4800_daily_bin1132.fits
.....................!
real 14.11
user 13.68
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877193/ft1_filtered_4FGL_J2325.4-4800_daily_bin1132.fits evtable="EVENTS" scfile=/scratch/kocevski/877193/ft2_4FGL_J2325.4-4800_daily_bin1132.fits sctable="SC_DATA" expcube=/scratch/kocevski/877193/ltcube_532742401_533001601_4FGL_J2325.4-4800_daily_bin1132.fits outfile=/scratch/kocevski/877193/expmap_532742401_533001601_4FGL_J2325.4-4800_daily_bin1132.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/877193/ltcube_532742401_533001601_4FGL_J2325.4-4800_daily_bin1132.fits
.....................!
real 189.90
user 184.70
sys 4.76

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/877193/ft1_filtered_4FGL_J2325.4-4800_daily_bin1132.fits scfile=/scratch/kocevski/877193/ft2_4FGL_J2325.4-4800_daily_bin1132.fits outfile=/scratch/kocevski/877193/cmap_532742401_533001601_4FGL_J2325.4-4800_daily_bin1132.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877193/ft1_filtered_4FGL_J2325.4-4800_daily_bin1132.fits scfile=/scratch/kocevski/877193/ft2_4FGL_J2325.4-4800_daily_bin1132.fits outfile=/scratch/kocevski/877193/cmap_HighResolution_532742401_533001601_4FGL_J2325.4-4800_daily_bin1132.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877193/ft1_filtered_4FGL_J2325.4-4800_daily_bin1132.fits evtable="EVENTS" scfile=/scratch/kocevski/877193/ft2_4FGL_J2325.4-4800_daily_bin1132.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877193/Model_4FGL_J2325.4-4800_daily_bin1132.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/877193/ft1_filtered_4FGL_J2325.4-4800_daily_bin1132.fits.....................!
real 36.52
user 35.23
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9919       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4867       1.0000         .10000E-03   10000.    
     8 'norm      '    4.3887       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.8814       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9126       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0370       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.7103       1.0000         .10000E-03   10000.    
    22 'Prefactor '    71.082       1.0000         .10000E-03   10000.    
    23 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.7950       1.0000         .10000E-03   10000.    
    25 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10123E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    3.0151       1.0000         .10000E-03   10000.    
    32 'Prefactor '    6.1196       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.2612       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .62561       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=   4493.604     FROM MIGRAD    STATUS=CONVERGED    886 CALLS     4741 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.808       -.31037E-05** at limit **
   2  Prefactor     .10000E-03    12.578        .17246E-05** at limit **
   3  Prefactor     .10000E-03    50.308       -.93500E-05** at limit **
   4  Prefactor     .10000E-03    12.334        .15136E-05** at limit **
   5  Prefactor     1.9909        6.5938       -.17090E-05   -.52938E-03
   6  Prefactor     .10000E-03    16.587       -.27433E-06** at limit **
   7  Prefactor     2.4870        6.6884       -.12938E-05   -.39138E-03
   8  norm          4.3887        6.9302       -.29469E-06   -.10324E-03
   9  Prefactor     9.8820        5.7737       -.33235E-06   -.72289E-04
  10  Prefactor     .10000E-03    29.960        .30857E-05** at limit **
  11  Prefactor     .10000E-03    1.5837       -.28565E-09** at limit **
  12  Prefactor     6.9163        20.549        .62186E-06    .61411E-05
  13  Prefactor     .10000E-03    8.8365       -.28451E-05** at limit **
  14  Prefactor     .10000E-03    32.431        .95926E-05** at limit **
  15  Prefactor     7.0382        10.587       -.44358E-06   -.73043E-04
  16  Prefactor     .10000E-03    47.803        .12129E-05** at limit **
  17  Prefactor     .10000E-03    5.0352       -.51777E-05** at limit **
  18  norm          .10000E-03    6.0765        .23604E-05** at limit **
  19  norm          .10000E-03    2.1137        .10859E-07** at limit **
  20  norm          .10000E-03    2.2954        .22220E-06** at limit **
  21  Prefactor     8.7109        6.6742       -.56504E-07    .65005E-04
  22  Prefactor     71.061        50.690       -.18978E-04    .54501E-04
  23  norm          .10000E-03    2.2483        .55020E-06** at limit **
  24  Prefactor     4.7968        12.626       -.11227E-06   -.45366E-04
  25  norm          .10000E-03    .31184        .20951E-07** at limit **
  26  norm          .10000E-03    4.4827       -.18242E-05** at limit **
  27  Prefactor     .10000E-03    4.7166        .61939E-05** at limit **
  28  Prefactor     .10000E-03    1.3664       -.35338E-07** at limit **
  29  Prefactor     .10000E-03    18.471       -.68445E-05** at limit **
  30  norm          .10000E-03    12.586        .18013E-05** at limit **
  31  Prefactor     3.0158        4.9115       -.88098E-06   -.37595E-03
  32  Prefactor     6.1216        5.8559       -.32833E-06   -.92987E-04
  33  Normalizat    1.2610        .21543        .51958E-05   -.43023E-04
  34  Prefactor     .62571        .20986       -.21918E-05    .21425E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.99086
  Prefactor  = 0.0001
  Prefactor  = 2.48705
  norm       = 4.38868
  Prefactor  = 9.88198
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.91626
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.03821
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 8.71086
  Prefactor  = 71.0605
  norm       = 0.000100001
  Prefactor  = 4.79682
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.01583
  Prefactor  = 6.12157
  Normalizat = 1.26104
  Prefactor  = 0.625708
 **********
 **   18 **HESSE 
 **********

 FCN=   4493.604     FROM HESSE     STATUS=OK           720 CALLS     5461 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    50.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9909        6.6237        .29355E-03   -1.5426    
   6  Prefactor     .10000E-03    16.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.4870        6.6987        .25922E-03   -1.5393    
   8  norm          4.3887        6.9287        .19225E-03   -1.5289    
   9  Prefactor     9.8820        5.7818        .11751E-03   -1.5079    
  10  Prefactor     .10000E-03    29.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.5864        .82377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9163        20.560        .15259E-03   -1.5182    
  13  Prefactor     .10000E-03    8.9036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    32.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.0382        10.587        .15123E-03   -1.5177    
  16  Prefactor     .10000E-03    47.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.0409        .14690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.0850        .16140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.1140        .95179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.2997        .99207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.7109        6.6558        .13582E-03   -1.5118    
  22  Prefactor     71.061        50.821        .47615E-04   -1.4020    
  23  norm          .10000E-03    2.2645        .98268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.7968        12.575        .18373E-03   -1.5270    
  25  norm          .10000E-03    .31599        .36519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    4.5117        .13781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    4.7076        .14195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.3774        .76462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    18.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    12.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     3.0158        4.9187        .17954E-03   -1.5361    
  32  Prefactor     6.1216        5.8928        .14797E-03   -1.5213    
  33  Normalizat    1.2610        .25298        .20819E-03   -.84737    
  34  Prefactor     .62571        .24417        .29886E-03   -1.0651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31264e-09
Minuit parameter uncertainties:
  1  2.35019e-06
  2  4.97189e-06
  3  2.01566e-05
  4  5.38815e-05
  5  6.62616
  6  1.351e-05
  7  6.70073
  8  6.93001
  9  5.78211
  10  1.02083e-05
  11  3.45285e-06
  12  20.5807
  13  3.65381e-05
  14  1.42395e-05
  15  10.5895
  16  9.32071e-05
  17  6.46073e-06
  18  7.45611e-06
  19  4.65209e-07
  20  3.22435e-05
  21  6.65636
  22  50.8518
  23  8.31706e-05
  24  12.5817
  25  8.94417e-07
  26  0.000162285
  27  9.45566e-06
  28  2.04068e-06
  29  1.08685e-05
  30  1.46289e-05
  31  4.91938
  32  5.89332
  33  0.253227
  34  0.244582
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  8.711e+00  6.656e+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:  6.257e-01  2.446e-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:  1.261e+00  2.532e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.51
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.75e-08 +/- 2.86e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.55e-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) = 4493.60228921
delta logL = 0.00175582493375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4493.60091182
delta logL = 0.0031332153867

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2901       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1522       1.0000          .0000       10.000    
     3 'Normalizat'    1.2588       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62708       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4493.601     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      233 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2912        8.4741        .13484E-03   -.54574E-03
   2  Index         2.1520        .61522        .52842E-02   -.14895E-03
   3  Normalizat    1.2590        .23028        .20833E-03    .34616E-03
   4  Prefactor     .62694        .23967        .29859E-03    .28000E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.29123
  Index      = 2.15195
  Normalizat = 1.259
  Prefactor  = 0.626938
 **********
 **   18 **HESSE 
 **********

 FCN=   4493.601     FROM HESSE     STATUS=OK            25 CALLS      258 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2912        8.0860        .53938E-05   -1.5132    
   2  Index         2.1520        .58695        .21137E-03   -.60603    
   3  Normalizat    1.2590        .23031        .41666E-04   -.84799    
   4  Prefactor     .62694        .23979        .11943E-04   -1.0646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07861e-10
Minuit parameter uncertainties:
  1  8.08702
  2  0.588966
  3  0.230493
  4  0.240184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877193': 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) = 4493.60091109
delta logL = 0.00313394766636

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  8.291e+00  8.087e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.152e+00  5.890e-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:  6.269e-01  2.402e-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:  1.259e+00  2.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.52
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.15 +/- 0.59
Photon Flux (Free Index): 3.93e-08 +/- 3.58e-08
Energy Flux (Free Index): 1.93e-05 +/- 1.84e-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/877193/cmap_HighResolution_532742401_533001601_4FGL_J2325.4-4800_daily_bin1132.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.75e-08', energy_flux2='1.93e-05', photon_flux_error='2.86e-08', dlogl='3.13e-03', energy_flux='2.03e-05', photon_flux2='3.93e-08', job_status='DONE', time_completed='2021-09-29 18:25:25.662850', photon_index_error2='0.59', photon_index2='2.15', ts='5.51', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', energy_flux_error2='1.84e-05', EG='1.26', time_epoch_completed='1632965125.66', return_code='0', job_id='877193', GAL2='0.63', EG2='1.26', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='3.58e-08', ts2='5.52', photon_index='2.11' WHERE bin_id='1132' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:25:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 877193: <4FGL_J2325.4-4800_daily_bin1132> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1132> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:16 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:17 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:17 2021
Terminated at Wed Sep 29 18:25:26 2021
Results reported at Wed Sep 29 18:25:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1132 351.35 -48.0022 532742401 533001601 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 :                                   676.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            910 sec.

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

