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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin867
RA = 351.35, Dec = -48.0022
tmin = 464054401, tmax = 464313601
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='875577', job_status='RUN', time_executed='2021-09-29 18:08:17.431907', time_epoch_executed='1632964097.43' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='867'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875577

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875577/ft1_4FGL_J2325.4-4800_daily_bin867.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875577/ft2_4FGL_J2325.4-4800_daily_bin867.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875577/ft1_4FGL_J2325.4-4800_daily_bin867.fits outfile=/scratch/kocevski/875577/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin867.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=464054401.0 tmax=464313601.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.39
user 3.18
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875577/ft2_4FGL_J2325.4-4800_daily_bin867.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/875577/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin867.fits evtable="EVENTS" outfile="/scratch/kocevski/875577/ft1_filtered_4FGL_J2325.4-4800_daily_bin867.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875577/ft1_filtered_4FGL_J2325.4-4800_daily_bin867.fits" evtable="EVENTS" scfile=/scratch/kocevski/875577/ft2_4FGL_J2325.4-4800_daily_bin867.fits sctable="SC_DATA" outfile=/scratch/kocevski/875577/ltcube_464054401_464313601_4FGL_J2325.4-4800_daily_bin867.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/875577/ft2_4FGL_J2325.4-4800_daily_bin867.fits
.....................!
real 11.85
user 11.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875577/ft1_filtered_4FGL_J2325.4-4800_daily_bin867.fits evtable="EVENTS" scfile=/scratch/kocevski/875577/ft2_4FGL_J2325.4-4800_daily_bin867.fits sctable="SC_DATA" expcube=/scratch/kocevski/875577/ltcube_464054401_464313601_4FGL_J2325.4-4800_daily_bin867.fits outfile=/scratch/kocevski/875577/expmap_464054401_464313601_4FGL_J2325.4-4800_daily_bin867.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/875577/ltcube_464054401_464313601_4FGL_J2325.4-4800_daily_bin867.fits
.....................!
real 190.45
user 185.09
sys 5.05

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/875577/ft1_filtered_4FGL_J2325.4-4800_daily_bin867.fits scfile=/scratch/kocevski/875577/ft2_4FGL_J2325.4-4800_daily_bin867.fits outfile=/scratch/kocevski/875577/cmap_464054401_464313601_4FGL_J2325.4-4800_daily_bin867.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875577/ft1_filtered_4FGL_J2325.4-4800_daily_bin867.fits scfile=/scratch/kocevski/875577/ft2_4FGL_J2325.4-4800_daily_bin867.fits outfile=/scratch/kocevski/875577/cmap_HighResolution_464054401_464313601_4FGL_J2325.4-4800_daily_bin867.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875577/ft1_filtered_4FGL_J2325.4-4800_daily_bin867.fits evtable="EVENTS" scfile=/scratch/kocevski/875577/ft2_4FGL_J2325.4-4800_daily_bin867.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875577/Model_4FGL_J2325.4-4800_daily_bin867.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/875577/ft1_filtered_4FGL_J2325.4-4800_daily_bin867.fits.....................!
real 36.09
user 34.82
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.664       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4559       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2399       1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.693       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10705E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.462       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.6784       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.318       1.0000         .10000E-03   10000.    
    22 'Prefactor '    54.826       1.0000         .10000E-03   10000.    
    23 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.342       1.0000         .10000E-03   10000.    
    25 'norm      '    .94875       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.0835       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    3.0633       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0015       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .86039       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=   4515.463     FROM MIGRAD    STATUS=CONVERGED    889 CALLS     4722 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.657        36.089       -.18246E-05   -.10904E-03
   2  Prefactor     .10000E-03    10.517       -.18642E-05** at limit **
   3  Prefactor     .10000E-03    15.474        .12638E-05** at limit **
   4  Prefactor     .10000E-03    4.5206        .29966E-06** at limit **
   5  Prefactor     6.4561        6.4080       -.38669E-07    .13407E-05
   6  Prefactor     .10000E-03    27.875       -.21339E-05** at limit **
   7  Prefactor     .10000E-03    3.7563       -.56950E-07** at limit **
   8  norm          .10000E-03    4.2287        .96556E-07** at limit **
   9  Prefactor     5.2398        5.2689        .20692E-06   -.22885E-04
  10  Prefactor     25.684        48.773       -.29670E-05   -.11923E-03
  11  Prefactor     .10000E-03    4.4253        .39272E-06** at limit **
  12  Prefactor     .10000E-03    30.186        .31418E-05** at limit **
  13  Prefactor     .10000E-03    4.8074       -.41133E-06** at limit **
  14  Prefactor     .10000E-03    76.033       -.32196E-05** at limit **
  15  Prefactor     .10000E-03    16.420       -.20766E-05** at limit **
  16  Prefactor     .10000E-03    73.066        .21765E-05** at limit **
  17  Prefactor     17.461        20.176        .27743E-07   -.15140E-04
  18  norm          .10000E-03    4.0797       -.38514E-06** at limit **
  19  norm          .10000E-03    3.6588        .33376E-06** at limit **
  20  norm          3.6780        6.3877        .19314E-06   -.59058E-04
  21  Prefactor     12.319        9.1479        .29351E-07   -.16265E-04
  22  Prefactor     54.825        41.631       -.11951E-06   -.12111E-04
  23  norm          .10000E-03    3.7165        .23005E-07** at limit **
  24  Prefactor     11.343        13.431       -.85150E-07   -.64927E-05
  25  norm          .94840        1.3213       -.15307E-06   -.37210E-03
  26  norm          .10000E-03    1.4602       -.30188E-08** at limit **
  27  Prefactor     .10000E-03    11.576        .12367E-05** at limit **
  28  Prefactor     4.0834        3.5335        .15193E-05   -.14258E-02
  29  Prefactor     .10000E-03    7.4127        .90903E-07** at limit **
  30  norm          .10000E-03    11.694        .69745E-06** at limit **
  31  Prefactor     .10000E-03    3.5220       -.37269E-06** at limit **
  32  Prefactor     3.0641        4.3610        .66459E-07   -.67860E-04
  33  Normalizat    1.0014        .19936       -.60158E-06    .32053E-04
  34  Prefactor     .86037        .20551        .22668E-06   -.88856E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6569
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.45609
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.23978
  Prefactor  = 25.6838
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 17.4608
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.67798
  Prefactor  = 12.3187
  Prefactor  = 54.8253
  norm       = 0.0001
  Prefactor  = 11.3426
  norm       = 0.948403
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.08338
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.06413
  Normalizat = 1.00139
  Prefactor  = 0.860371
 **********
 **   18 **HESSE 
 **********

 FCN=   4515.463     FROM HESSE     STATUS=OK           726 CALLS     5448 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.657        36.429        .92710E-04   -1.4844    
   2  Prefactor     .10000E-03    10.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.5331        .13964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.4561        6.4099        .15796E-03   -1.5200    
   6  Prefactor     .10000E-03    28.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.7742        .12719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.2412        .13496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.2398        5.2666        .14600E-03   -1.5250    
  10  Prefactor     25.684        49.459        .79031E-04   -1.4694    
  11  Prefactor     .10000E-03    4.5081        .13805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.8371        .14413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    77.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.164        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    73.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.461        20.056        .95845E-04   -1.4872    
  18  norm          .10000E-03    4.0926        .13276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6776        .12565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.6780        6.3803        .20183E-03   -1.5324    
  21  Prefactor     12.319        9.1079        .11413E-03   -1.5006    
  22  Prefactor     54.825        41.770        .54172E-04   -1.4226    
  23  norm          .10000E-03    3.7567        .12599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.343        13.422        .11896E-03   -1.5034    
  25  norm          .94840        1.2503        .81548E-03   -1.5513    
  26  norm          .10000E-03    1.4693        .79277E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    11.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.0834        3.8358        .60190E-03   -1.5304    
  29  Prefactor     .10000E-03    7.4190        .17871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    11.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    3.5921        .12333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     3.0641        4.3582        .15935E-03   -1.5358    
  33  Normalizat    1.0014        .24045        .22586E-03   -.92984    
  34  Prefactor     .86037        .24656        .25846E-03   -.97540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6099e-09
Minuit parameter uncertainties:
  1  36.4727
  2  0.000249112
  3  0.000202592
  4  2.50048e-05
  5  6.41053
  6  0.000459107
  7  5.45232e-06
  8  6.58278e-06
  9  5.2671
  10  49.5385
  11  2.62691e-05
  12  0.000681271
  13  3.98953e-05
  14  0.00116349
  15  0.000233414
  16  0.000704396
  17  20.0639
  18  3.20715e-05
  19  2.59158e-05
  20  6.3815
  21  9.10892
  22  41.7919
  23  3.10978e-06
  24  13.4253
  25  1.25035
  26  1.70509e-08
  27  0.000147328
  28  3.83604
  29  1.07826e-05
  30  9.58887e-05
  31  3.03807e-05
  32  4.35861
  33  0.240714
  34  0.246876
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.232e+01  9.109e+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.604e-01  2.469e-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.001e+00  2.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.30e-08 +/- 3.92e-08
Energy Flux (Fixed Index): 2.88e-05 +/- 2.13e-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) = 4514.74804424
delta logL = 0.715289709658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4514.73837292
delta logL = 0.724961024482

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2495       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8726       1.0000          .0000       10.000    
     3 'Normalizat'    .94137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90237       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=   4514.738     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      247 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2477        41.950        .48865E-02    .27228E-03
   2  Index         2.8727        2.4826        .81664E-01    .16186E-03
   3  Normalizat    .94137        .81147E-01    .45428E-01   -.21307E-05
   4  Prefactor     .90237        .75684E-01    .45035E-01   -.44975E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.24773
  Index      = 2.87272
  Normalizat = 0.941372
  Prefactor  = 0.902374
 **********
 **   18 **HESSE 
 **********

 FCN=   4514.738     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2477        9.0837        .71982E-04   -1.5296    
   2  Index         2.8727        1.0190        .32099E-02   -.43947    
   3  Normalizat    .94137        .23890        .23156E-03   -.95021    
   4  Prefactor     .90237        .25012        .25278E-03   -.96058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48832e-11
Minuit parameter uncertainties:
  1  9.08664
  2  1.02783
  3  0.239175
  4  0.250434
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875577': 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) = 4514.73837288
delta logL = 0.724961071869

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  4.248e+00  9.087e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.873e+00  1.028e+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:  9.024e-01  2.504e-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.414e-01  2.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.88
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.87 +/- 1.03
Photon Flux (Free Index): 1.02e-07 +/- 6.90e-08
Energy Flux (Free Index): 2.19e-05 +/- 1.29e-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/875577/cmap_HighResolution_464054401_464313601_4FGL_J2325.4-4800_daily_bin867.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.30e-08', energy_flux2='2.19e-05', photon_flux_error='3.92e-08', dlogl='7.25e-01', energy_flux='2.88e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-09-29 18:19:34.765701', photon_index_error2='1.03', photon_index2='2.87', ts='4.34', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.00', time_epoch_completed='1632964774.77', return_code='0', job_id='875577', GAL2='0.90', EG2='0.94', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='6.90e-08', ts2='5.88', photon_index='2.11' WHERE bin_id='867' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:19:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 875577: <4FGL_J2325.4-4800_daily_bin867> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin867> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:05:15 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:05:16 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:05:16 2021
Terminated at Wed Sep 29 18:19:35 2021
Results reported at Wed Sep 29 18:19:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin867 351.35 -48.0022 464054401 464313601 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.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             258.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            860 sec.

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

