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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1129
RA = 351.35, Dec = -48.0022
tmin = 531964801, tmax = 532224001
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='877188', job_status='RUN', time_executed='2021-09-29 18:11:25.362997', time_epoch_executed='1632964285.36' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877188

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877188/ft1_4FGL_J2325.4-4800_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877188/ft2_4FGL_J2325.4-4800_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877188/ft1_4FGL_J2325.4-4800_daily_bin1129.fits outfile=/scratch/kocevski/877188/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1129.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=531964801.0 tmax=532224001.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.51
user 3.30
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877188/ft2_4FGL_J2325.4-4800_daily_bin1129.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/877188/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/877188/ft1_filtered_4FGL_J2325.4-4800_daily_bin1129.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.50
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877188/ft1_filtered_4FGL_J2325.4-4800_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/877188/ft2_4FGL_J2325.4-4800_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/877188/ltcube_531964801_532224001_4FGL_J2325.4-4800_daily_bin1129.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/877188/ft2_4FGL_J2325.4-4800_daily_bin1129.fits
.....................!
real 12.01
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877188/ft1_filtered_4FGL_J2325.4-4800_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/877188/ft2_4FGL_J2325.4-4800_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/877188/ltcube_531964801_532224001_4FGL_J2325.4-4800_daily_bin1129.fits outfile=/scratch/kocevski/877188/expmap_531964801_532224001_4FGL_J2325.4-4800_daily_bin1129.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/877188/ltcube_531964801_532224001_4FGL_J2325.4-4800_daily_bin1129.fits
.....................!
real 190.24
user 185.36
sys 4.48

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/877188/ft1_filtered_4FGL_J2325.4-4800_daily_bin1129.fits scfile=/scratch/kocevski/877188/ft2_4FGL_J2325.4-4800_daily_bin1129.fits outfile=/scratch/kocevski/877188/cmap_531964801_532224001_4FGL_J2325.4-4800_daily_bin1129.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877188/ft1_filtered_4FGL_J2325.4-4800_daily_bin1129.fits scfile=/scratch/kocevski/877188/ft2_4FGL_J2325.4-4800_daily_bin1129.fits outfile=/scratch/kocevski/877188/cmap_HighResolution_531964801_532224001_4FGL_J2325.4-4800_daily_bin1129.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.689       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.4857       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8771       1.0000         .10000E-03   10000.    
     8 'norm      '    5.3301       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.4278       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3300       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.856       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11935E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    129.24       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.776       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.455       1.0000         .10000E-03   10000.    
    18 'norm      '    35.703       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.8834       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    7.8435       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12896E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .17537       1.0000         .10000E-03   10000.    
    26 'norm      '    4.3849       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .85983E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    12.294       1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .55567       1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.2013       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1964       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .72229       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=   4266.798     FROM MIGRAD    STATUS=CONVERGED    931 CALLS     4841 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.862        .13340E-05** at limit **
   2  Prefactor     32.685        27.254       -.89622E-06   -.16875E-03
   3  Prefactor     .10000E-03    30.869       -.91335E-06** at limit **
   4  Prefactor     .10000E-03    6.8179        .56320E-07** at limit **
   5  Prefactor     7.4862        8.1781        .11576E-07   -.87459E-04
   6  Prefactor     .10000E-03    15.391       -.80928E-06** at limit **
   7  Prefactor     1.8754        9.2691        .20361E-05    .11069E-03
   8  norm          5.3295        8.9112        .35079E-06    .37761E-04
   9  Prefactor     5.4276        4.1836        .94456E-07    .11074E-03
  10  Prefactor     .10000E-03    17.054        .15361E-06** at limit **
  11  Prefactor     1.3310        3.4779        .71932E-06    .20740E-03
  12  Prefactor     26.850        30.497       -.42288E-07   -.95040E-04
  13  Prefactor     .10000E-03    9.3697       -.30998E-06** at limit **
  14  Prefactor     129.23        108.30       -.44177E-07   -.32254E-04
  15  Prefactor     18.776        11.077        .10199E-06   -.25164E-04
  16  Prefactor     .10000E-03    18.891        .10518E-05** at limit **
  17  Prefactor     27.457        22.061       -.17830E-06   -.19468E-03
  18  norm          35.702        22.279        .50154E-07   -.44614E-04
  19  norm          .10000E-03    2.9517       -.10776E-07** at limit **
  20  norm          .10000E-03    2.6416       -.22823E-07** at limit **
  21  Prefactor     8.8879        8.5037       -.35897E-06   -.25767E-03
  22  Prefactor     .10000E-03    108.88       -.10882E-05** at limit **
  23  norm          7.8371        6.7871        .47616E-07   -.87525E-04
  24  Prefactor     .10000E-03    30.252       -.10967E-05** at limit **
  25  norm          .17547        .68823        .41902E-06   -.12565E-04
  26  norm          4.3834        5.6836        .16212E-06   -.20446E-04
  27  Prefactor     .10023E-03    21.552        .41105E-05** at limit **
  28  Prefactor     .10000E-03    1.9817       -.30709E-07** at limit **
  29  Prefactor     12.293        17.343       -.26191E-06   -.10384E-03
  30  norm          .10000E-03    10.539        .25268E-06** at limit **
  31  Prefactor     .57236        5.2718        .17113E-05   -.50605E-03
  32  Prefactor     1.2003        4.6685        .19793E-05    .21818E-03
  33  Normalizat    1.1963        .22365       -.95326E-06   -.52973E-03
  34  Prefactor     .72247        .22477       -.55793E-06   -.36390E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 32.6847
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 7.48617
  Prefactor  = 0.000100002
  Prefactor  = 1.87542
  norm       = 5.3295
  Prefactor  = 5.4276
  Prefactor  = 0.0001
  Prefactor  = 1.33098
  Prefactor  = 26.8501
  Prefactor  = 0.0001
  Prefactor  = 129.234
  Prefactor  = 18.7758
  Prefactor  = 0.000100003
  Prefactor  = 27.4571
  norm       = 35.7016
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 8.88794
  Prefactor  = 0.000100002
  norm       = 7.83706
  Prefactor  = 0.000100002
  norm       = 0.175467
  norm       = 4.3834
  Prefactor  = 0.000100231
  Prefactor  = 0.0001
  Prefactor  = 12.2933
  norm       = 0.0001
  Prefactor  = 0.572362
  Prefactor  = 1.20029
  Normalizat = 1.19626
  Prefactor  = 0.72247
 **********
 **   18 **HESSE 
 **********

 FCN=   4266.798     FROM HESSE     STATUS=OK           730 CALLS     5571 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.685        27.273        .70085E-04   -1.4564    
   3  Prefactor     .10000E-03    31.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.8304        .16659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.4862        8.1659        .14658E-03   -1.5161    
   6  Prefactor     .10000E-03    15.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8754        9.4299        .30390E-03   -1.5434    
   8  norm          5.3295        8.9532        .17408E-03   -1.5246    
   9  Prefactor     5.4276        4.1848        .11346E-03   -1.5242    
  10  Prefactor     .10000E-03    17.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.3310        3.4470        .19208E-03   -1.5477    
  12  Prefactor     26.850        30.521        .77304E-04   -1.4671    
  13  Prefactor     .10000E-03    9.3986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     129.23        108.29        .17708E-03   -1.3429    
  15  Prefactor     18.776        11.078        .92431E-04   -1.4841    
  16  Prefactor     .10000E-03    19.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     27.457        21.955        .76458E-04   -1.4659    
  18  norm          35.702        22.279        .67070E-04   -1.4512    
  19  norm          .10000E-03    2.9526        .10960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.6425        .10365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.8879        8.4320        .13448E-03   -1.5112    
  22  Prefactor     .10000E-03    109.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.8371        6.7743        .14317E-03   -1.5148    
  24  Prefactor     .10000E-03    30.817        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .17547        .80323        .99824E-03   -1.5624    
  26  norm          4.3834        5.6644        .16466E-03   -1.5289    
  27  Prefactor     .10023E-03    64.141        .44508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.0090        .89635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     12.293        17.310        .11425E-03   -1.5007    
  30  norm          .10000E-03    10.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .57236        12.119        .24207E-02   -1.5557    
  32  Prefactor     1.2003        4.7448        .26316E-03   -1.5489    
  33  Normalizat    1.1963        .27115        .23041E-03   -.86719    
  34  Prefactor     .72247        .27125        .30130E-03   -1.0265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58682e-08
Minuit parameter uncertainties:
  1  0.00084402
  2  27.2835
  3  0.000509458
  4  8.0242e-06
  5  8.16713
  6  0.000318135
  7  8.41262
  8  8.95549
  9  4.18504
  10  6.01189e-05
  11  3.4475
  12  30.5392
  13  4.87336e-05
  14  108.457
  15  11.0792
  16  0.000464012
  17  21.9618
  18  22.2842
  19  8.52792e-07
  20  1.8617e-06
  21  8.43308
  22  0.00092703
  23  6.775
  24  0.000468184
  25  0.750645
  26  5.66508
  27  0.00770856
  28  7.94806e-06
  29  17.3172
  30  7.5893e-05
  31  5.26826
  32  4.74632
  33  0.271471
  34  0.271751
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  8.888e+00  8.433e+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:  7.225e-01  2.718e-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.196e+00  2.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.96
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.83e-08 +/- 3.63e-08
Energy Flux (Fixed Index): 2.07e-05 +/- 1.97e-05

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

Saving results to:
/scratch/kocevski/877188/likelihoodResults_531964801_532224001_4FGL_J2325.4-4800_daily_bin1129.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4266.72882766
delta logL = 0.0689073753483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4266.72299204
delta logL = 0.0747429915264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1507       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3808       1.0000          .0000       10.000    
     3 'Normalizat'    1.1842       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73101       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=   4266.723     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      273 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1477        10.509        .13889E-03   -.13099E-02
   2  Index         2.3819        .85244        .50137E-02   -.36984E-03
   3  Normalizat    1.1844        .25484        .23134E-03   -.11200E-02
   4  Prefactor     .73113        .26455        .29963E-03   -.97174E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.1477
  Index      = 2.38189
  Normalizat = 1.18439
  Prefactor  = 0.731128
 **********
 **   18 **HESSE 
 **********

 FCN=   4266.723     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1477        9.3198        .55558E-05   -1.5212    
   2  Index         2.3819        .75660        .20055E-03   -.55110    
   3  Normalizat    1.1844        .25458        .46268E-04   -.87087    
   4  Prefactor     .73113        .26436        .59926E-04   -1.0232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26489e-09
Minuit parameter uncertainties:
  1  9.32201
  2  0.760631
  3  0.254851
  4  0.264814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877188': 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) = 4266.72298614
delta logL = 0.0747488915185

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  6.148e+00  9.322e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.382e+00  7.606e-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:  7.311e-01  2.648e-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.184e+00  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.12
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.38 +/- 0.76
Photon Flux (Free Index): 4.76e-08 +/- 4.76e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.71e-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/877188/cmap_HighResolution_531964801_532224001_4FGL_J2325.4-4800_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.39e-03', comment='SUCCESS', photon_flux='3.83e-08', energy_flux2='1.60e-05', photon_flux_error='3.63e-08', dlogl='7.47e-02', energy_flux='2.07e-05', photon_flux2='4.76e-08', job_status='DONE', time_completed='2021-09-29 18:24:00.958863', photon_index_error2='0.76', photon_index2='2.38', ts='1.96', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.71e-05', EG='1.20', time_epoch_completed='1632965040.96', return_code='0', job_id='877188', GAL2='0.73', EG2='1.18', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='4.76e-08', ts2='2.12', photon_index='2.11' WHERE bin_id='1129' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:24:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 877188: <4FGL_J2325.4-4800_daily_bin1129> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1129> 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) <bullet0249>, 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:24:01 2021
Results reported at Wed Sep 29 18:24:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1129 351.35 -48.0022 531964801 532224001 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 :                                   745.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            825 sec.

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

