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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin624
RA = 351.35, Dec = -48.0022
tmin = 401068801, tmax = 401328001
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='874078', job_status='RUN', time_executed='2021-09-29 18:02:15.668689', time_epoch_executed='1632963735.67' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='624'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874078

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874078/ft1_4FGL_J2325.4-4800_daily_bin624.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874078/ft2_4FGL_J2325.4-4800_daily_bin624.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/874078/ft1_4FGL_J2325.4-4800_daily_bin624.fits outfile=/scratch/kocevski/874078/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin624.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=401068801.0 tmax=401328001.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/874078/ft2_4FGL_J2325.4-4800_daily_bin624.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/874078/ft2_4FGL_J2325.4-4800_daily_bin624.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/874078/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin624.fits evtable="EVENTS" outfile="/scratch/kocevski/874078/ft1_filtered_4FGL_J2325.4-4800_daily_bin624.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.49
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/874078/ft1_filtered_4FGL_J2325.4-4800_daily_bin624.fits" evtable="EVENTS" scfile=/scratch/kocevski/874078/ft2_4FGL_J2325.4-4800_daily_bin624.fits sctable="SC_DATA" outfile=/scratch/kocevski/874078/ltcube_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.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/874078/ft2_4FGL_J2325.4-4800_daily_bin624.fits
.....................!
real 12.02
user 11.67
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874078/ft1_filtered_4FGL_J2325.4-4800_daily_bin624.fits evtable="EVENTS" scfile=/scratch/kocevski/874078/ft2_4FGL_J2325.4-4800_daily_bin624.fits sctable="SC_DATA" expcube=/scratch/kocevski/874078/ltcube_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.fits outfile=/scratch/kocevski/874078/expmap_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.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/874078/ltcube_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.fits
.....................!
real 190.10
user 185.35
sys 4.39

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/874078/ft1_filtered_4FGL_J2325.4-4800_daily_bin624.fits scfile=/scratch/kocevski/874078/ft2_4FGL_J2325.4-4800_daily_bin624.fits outfile=/scratch/kocevski/874078/cmap_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.35 yref=-48.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/874078/ft1_filtered_4FGL_J2325.4-4800_daily_bin624.fits evtable="EVENTS" scfile=/scratch/kocevski/874078/ft2_4FGL_J2325.4-4800_daily_bin624.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/874078/Model_4FGL_J2325.4-4800_daily_bin624.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/874078/ft1_filtered_4FGL_J2325.4-4800_daily_bin624.fits.....................!
real 52.45
user 51.02
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/874078/ft1_filtered_4FGL_J2325.4-4800_daily_bin624.fits', '/scratch/kocevski/874078/ft2_4FGL_J2325.4-4800_daily_bin624.fits', expMap='/scratch/kocevski/874078/expmap_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.fits', expCube='/scratch/kocevski/874078/ltcube_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/874078/Model_4FGL_J2325.4-4800_daily_bin624.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/874078/ft1_filtered_4FGL_J2325.4-4800_daily_bin624.fits
Spacecraft file(s): /scratch/kocevski/874078/ft2_4FGL_J2325.4-4800_daily_bin624.fits
Exposure map: /scratch/kocevski/874078/expmap_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.fits
Exposure cube: /scratch/kocevski/874078/ltcube_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/874078/Model_4FGL_J2325.4-4800_daily_bin624.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7343.9192077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5112       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9947       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.506       1.0000         .10000E-03   10000.    
     8 'norm      '    .58607       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8810       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.243       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .22161E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.514       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19913E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.1543       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.6757       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.8552       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    8.4241       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    12.848       1.0000         .10000E-03   10000.    
    26 'norm      '    .28234E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    10.815       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    9.1217       1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.2991       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .49897E-01   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0629       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .61263       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=   7343.759     FROM MIGRAD    STATUS=CONVERGED    943 CALLS     4159 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6058        58.425       -.73188E-05   -.11558E-03
   2  Prefactor     .10000E-03    4.0068       -.30070E-06** at limit **
   3  Prefactor     7.0237        36.313        .12893E-05    .55092E-04
   4  Prefactor     .10000E-03    2.7236        .23481E-06** at limit **
   5  Prefactor     .10000E-03    4.1872       -.56290E-06** at limit **
   6  Prefactor     .10000E-03    7.3823       -.44210E-06** at limit **
   7  Prefactor     14.506        7.8608       -.11001E-06   -.39779E-04
   8  norm          .58623        7.7668        .53906E-05   -.15637E-03
   9  Prefactor     3.8805        3.0802       -.60656E-06   -.73333E-03
  10  Prefactor     .10000E-03    94.481       -.19550E-05** at limit **
  11  Prefactor     .10000E-03    3.3076        .65143E-06** at limit **
  12  Prefactor     11.275        24.559       -.32957E-05   -.12607E-03
  13  Prefactor     .10000E-03    20.468       -.19722E-05** at limit **
  14  Prefactor     .10000E-03    37.826        .10850E-05** at limit **
  15  Prefactor     .10000E-03    2.1904        .59590E-06** at limit **
  16  Prefactor     16.516        18.112       -.17399E-07   -.31757E-04
  17  Prefactor     .10000E-03    20.604        .19851E-06** at limit **
  18  norm          6.1544        6.7917        .11972E-06   -.27197E-04
  19  norm          .10000E-03    1.6943        .35735E-07** at limit **
  20  norm          1.6750        5.6809        .14425E-05    .17042E-03
  21  Prefactor     4.8553        3.9984       -.10445E-06   -.13344E-03
  22  Prefactor     .10000E-03    18.804        .15370E-05** at limit **
  23  norm          8.4273        4.4026       -.16669E-06    .98253E-05
  24  Prefactor     .10000E-03    4.9492        .33048E-06** at limit **
  25  norm          12.847        1.9253       -.11846E-06   -.82588E-03
  26  norm          .10000E-03    1.3674        .16133E-06** at limit **
  27  Prefactor     .10000E-03    6.5265        .12728E-05** at limit **
  28  Prefactor     10.816        4.1425        .18460E-06    .40714E-03
  29  Prefactor     .10000E-03    5.1322        .29836E-08** at limit **
  30  norm          9.1296        48.638       -.20135E-05   -.11919E-03
  31  Prefactor     1.3007        12.444        .62277E-06   -.10609E-03
  32  Prefactor     .50094E-01    1.0735        .18981E-06   -.18273E-03
  33  Normalizat    1.0629        .18990        .59684E-05   -.97333E-03
  34  Prefactor     .61262        .19151       -.96381E-05   -.37195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.60578
  Prefactor  = 0.0001
  Prefactor  = 7.02365
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5059
  norm       = 0.586233
  Prefactor  = 3.88049
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2747
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 16.5158
  Prefactor  = 0.0001
  norm       = 6.15443
  norm       = 0.0001
  norm       = 1.67504
  Prefactor  = 4.85535
  Prefactor  = 0.0001
  norm       = 8.42725
  Prefactor  = 0.0001
  norm       = 12.8474
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8156
  Prefactor  = 0.0001
  norm       = 9.1296
  Prefactor  = 1.30066
  Prefactor  = 0.050094
  Normalizat = 1.06289
  Prefactor  = 0.612619
 **********
 **   18 **HESSE 
 **********

 FCN=   7343.759     FROM HESSE     STATUS=OK           734 CALLS     4893 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6058        58.942        .15728E-03   -1.5194    
   2  Prefactor     .10000E-03    4.0120        .16756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.0237        35.971        .15169E-03   -1.5178    
   4  Prefactor     .10000E-03    2.7282        .13815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.2551        .17128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.3905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.506        7.8521        .10516E-03   -1.4946    
   8  norm          .58623        7.8288        .22974E-02   -1.5555    
   9  Prefactor     3.8805        3.0764        .12777E-03   -1.5314    
  10  Prefactor     .10000E-03    95.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.3815        .15240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.275        24.221        .11948E-03   -1.5036    
  13  Prefactor     .10000E-03    20.677        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    37.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.2138        .12411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.516        18.110        .98560E-04   -1.4895    
  17  Prefactor     .10000E-03    21.571        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.1544        6.7914        .16183E-03   -1.5212    
  19  norm          .10000E-03    1.6953        .10893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.6750        5.5819        .30678E-03   -1.5449    
  21  Prefactor     4.8553        3.9978        .14978E-03   -1.5267    
  22  Prefactor     .10000E-03    18.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          8.4273        4.2743        .10343E-03   -1.5127    
  24  Prefactor     .10000E-03    4.9711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          12.847        1.9236        .42783E-04   -1.4991    
  26  norm          .10000E-03    6.3925        .19079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.5785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     10.816        4.1149        .49362E-03   -1.5050    
  29  Prefactor     .10000E-03    5.1351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          9.1296        54.867        .13270E-03   -1.5104    
  31  Prefactor     1.3007        13.535        .25171E-03   -1.5480    
  32  Prefactor     .50094E-01    10.401        .17112E-02   -1.5663    
  33  Normalizat    1.0629        .19718        .21576E-03   -.90952    
  34  Prefactor     .61262        .19722        .29608E-03   -1.0706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61613e-08
Minuit parameter uncertainties:
  1  39.5159
  2  2.03194e-05
  3  31.8197
  4  1.14627e-05
  5  3.77305e-05
  6  3.87384e-05
  7  7.8527
  8  4.28495
  9  3.07657
  10  0.000417775
  11  5.19377e-05
  12  24.2421
  13  2.91248e-05
  14  0.000284102
  15  2.82484e-05
  16  18.1155
  17  6.33609e-05
  18  6.79221
  19  2.715e-06
  20  5.58367
  21  3.99802
  22  0.000193486
  23  4.27445
  24  2.25562e-05
  25  1.92363
  26  3.89934e-05
  27  9.22159e-05
  28  4.11503
  29  1.02872e-06
  30  44.8234
  31  8.39361
  32  1.44247
  33  0.197311
  34  0.197443
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  4.855e+00  3.998e+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.126e-01  1.974e-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.063e+00  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.74
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.72e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 9.33e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7341.65754221
delta logL = 2.10139069878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7341.09171883
delta logL = 2.66721407698

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46706       1.0000         .10000E-03   10000.    
     2 'Index     '    .19585       1.0000          .0000       10.000    
     3 'Normalizat'    1.0710       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61276       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=   7341.092     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      226 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46522        .74151        .11136E-01   -.23683E-02
   2  Index         .19432        .69556        .35213        .14381E-03
   3  Normalizat    1.0710        .14954        .39324E-01   -.12018E-04
   4  Prefactor     .61285        .16037        .66978E-01    .21221E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.465218
  Index      = 0.194323
  Normalizat = 1.07103
  Prefactor  = 0.612846
 **********
 **   18 **HESSE 
 **********

 FCN=   7341.092     FROM HESSE     STATUS=OK            35 CALLS      261 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46522        1.4266        .49392E-03   -1.5572    
   2  Index         .19432        1.2821        .23989E-01   -1.2911    
   3  Normalizat    1.0710        .17725        .21530E-03   -.90688    
   4  Prefactor     .61285        .18973        .29640E-03   -1.0705    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09222e-10
Minuit parameter uncertainties:
  1  1.42674
  2  1.03221
  3  0.177347
  4  0.189933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874078': 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) = 7341.0917172
delta logL = 2.66721571139

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  4.652e-01  1.427e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.943e-01  1.032e+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:  6.128e-01  1.899e-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.071e+00  1.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.05
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 0.19 +/- 1.03
Photon Flux (Free Index): 2.66e-09 +/- 2.64e-09
Energy Flux (Free Index): 1.19e-04 +/- 1.40e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/874078/cmap_HighResolution_401068801_401328001_4FGL_J2325.4-4800_daily_bin624.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='1.19e-04', photon_flux_error='1.72e-08', dlogl='2.67e+00', energy_flux='1.13e-05', photon_flux2='2.66e-09', job_status='DONE', time_completed='2021-09-29 18:16:42.675517', photon_index_error2='1.03', photon_index2='0.19', ts='11.74', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', energy_flux_error2='1.40e-04', EG='1.06', time_epoch_completed='1632964602.68', return_code='0', job_id='874078', GAL2='0.61', EG2='1.07', return_code2='0', energy_flux_error='9.33e-06', photon_flux_error2='2.64e-09', ts2='17.05', photon_index='2.11' WHERE bin_id='624' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:16:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 874078: <4FGL_J2325.4-4800_daily_bin624> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin624 351.35 -48.0022 401068801 401328001 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 :                                   866.00 sec.
    Max Memory :                                 1171 MB
    Average Memory :                             312.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            984 sec.

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

