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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1468
RA = 351.35, Dec = -48.0022
tmin = 619833601, tmax = 620092801
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='877714', job_status='RUN', time_executed='2021-09-29 18:11:38.633682', time_epoch_executed='1632964298.63' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877714

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877714/ft1_4FGL_J2325.4-4800_daily_bin1468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877714/ft2_4FGL_J2325.4-4800_daily_bin1468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877714/ft1_4FGL_J2325.4-4800_daily_bin1468.fits outfile=/scratch/kocevski/877714/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1468.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=619833601.0 tmax=620092801.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.46
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877714/ft1_filtered_4FGL_J2325.4-4800_daily_bin1468.fits" evtable="EVENTS" scfile=/scratch/kocevski/877714/ft2_4FGL_J2325.4-4800_daily_bin1468.fits sctable="SC_DATA" outfile=/scratch/kocevski/877714/ltcube_619833601_620092801_4FGL_J2325.4-4800_daily_bin1468.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/877714/ft2_4FGL_J2325.4-4800_daily_bin1468.fits
.....................!
real 13.11
user 12.71
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877714/ft1_filtered_4FGL_J2325.4-4800_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/877714/ft2_4FGL_J2325.4-4800_daily_bin1468.fits sctable="SC_DATA" expcube=/scratch/kocevski/877714/ltcube_619833601_620092801_4FGL_J2325.4-4800_daily_bin1468.fits outfile=/scratch/kocevski/877714/expmap_619833601_620092801_4FGL_J2325.4-4800_daily_bin1468.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/877714/ltcube_619833601_620092801_4FGL_J2325.4-4800_daily_bin1468.fits
.....................!
real 190.87
user 185.78
sys 4.78

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877714/ft1_filtered_4FGL_J2325.4-4800_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/877714/ft2_4FGL_J2325.4-4800_daily_bin1468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877714/Model_4FGL_J2325.4-4800_daily_bin1468.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/877714/ft1_filtered_4FGL_J2325.4-4800_daily_bin1468.fits.....................!
real 39.49
user 38.25
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.7619       1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.387       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    55.700       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.646       1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.589       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    24.628       1.0000         .10000E-03   10000.    
    19 'norm      '    3.4905       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7911       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    24.885       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.3689       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0744       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .83934       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=   5217.551     FROM MIGRAD    STATUS=CONVERGED    898 CALLS     4728 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.351       -.37062E-05** at limit **
   2  Prefactor     .10000E-03    7.7088       -.47005E-06** at limit **
   3  Prefactor     .10000E-03    44.636       -.53284E-05** at limit **
   4  Prefactor     .10000E-03    6.5823        .30700E-05** at limit **
   5  Prefactor     .10000E-03    2.1280        .23994E-07** at limit **
   6  Prefactor     .10000E-03    11.363        .71433E-06** at limit **
   7  Prefactor     .10000E-03    2.7828       -.44166E-06** at limit **
   8  norm          .10000E-03    2.6782        .35994E-06** at limit **
   9  Prefactor     3.7617        5.0030        .88955E-07   -.14315E-03
  10  Prefactor     29.386        43.922       -.73672E-06   -.20067E-04
  11  Prefactor     .10000E-03    3.0250        .15163E-06** at limit **
  12  Prefactor     .10000E-03    26.910        .13575E-05** at limit **
  13  Prefactor     .10000E-03    7.6791       -.10474E-05** at limit **
  14  Prefactor     55.705        54.951        .30518E-05    .92380E-04
  15  Prefactor     11.647        10.571        .50127E-07   -.25902E-04
  16  Prefactor     58.587        43.535       -.10440E-05   -.67015E-04
  17  Prefactor     .10000E-03    31.554        .68250E-05** at limit **
  18  norm          24.628        16.044       -.20734E-07   -.29002E-05
  19  norm          3.4901        3.9212        .13592E-05   -.21471E-02
  20  norm          .10000E-03    1.6212        .70421E-08** at limit **
  21  Prefactor     1.7916        22.902       -.10818E-05   -.23679E-03
  22  Prefactor     .10000E-03    14.837        .21222E-05** at limit **
  23  norm          .10000E-03    2.2456       -.47448E-07** at limit **
  24  Prefactor     24.887        25.066        .55529E-06    .34782E-04
  25  norm          .10000E-03    .38297       -.34468E-07** at limit **
  26  norm          .10000E-03    1.5175        .10485E-07** at limit **
  27  Prefactor     .10000E-03    7.7197       -.60910E-06** at limit **
  28  Prefactor     4.3690        3.7025        .33463E-07    .15555E-04
  29  Prefactor     .10000E-03    24.284       -.24970E-05** at limit **
  30  norm          .10000E-03    6.1522       -.14896E-05** at limit **
  31  Prefactor     .10000E-03    1.6820        .21000E-08** at limit **
  32  Prefactor     .10000E-03    1.3595        .15452E-08** at limit **
  33  Normalizat    1.0743        .18084       -.15288E-06   -.40715E-04
  34  Prefactor     .83942        .19362        .43974E-07   -.38276E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.76169
  Prefactor  = 29.3861
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 55.7049
  Prefactor  = 11.6466
  Prefactor  = 58.5866
  Prefactor  = 0.000100002
  norm       = 24.6284
  norm       = 3.49006
  norm       = 0.0001
  Prefactor  = 1.79156
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.8867
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.36896
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07434
  Prefactor  = 0.839417
 **********
 **   18 **HESSE 
 **********

 FCN=   5217.551     FROM HESSE     STATUS=OK           716 CALLS     5444 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.7200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    45.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.6998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.1312        .10290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.7926        .11770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.6821        .11547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.7617        4.9887        .17315E-03   -1.5320    
  10  Prefactor     29.386        43.868        .73907E-04   -1.4623    
  11  Prefactor     .10000E-03    3.0637        .12264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.8220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     55.705        55.135        .53748E-04   -1.4214    
  15  Prefactor     11.647        10.566        .11739E-03   -1.5025    
  16  Prefactor     58.587        43.595        .52414E-04   -1.4176    
  17  Prefactor     .10000E-03    32.568        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          24.628        16.019        .80717E-04   -1.4715    
  19  norm          3.4901        5.6265        .10362E-02   -1.5334    
  20  norm          .10000E-03    1.6221        .89820E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.7916        17.840        .31253E-03   -1.5440    
  22  Prefactor     .10000E-03    14.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.2750        .10566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     24.887        22.295        .80302E-04   -1.4710    
  25  norm          .10000E-03    .39118        .87090E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.5271        .86880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    7.7445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.3690        3.7004        .12063E-03   -1.5290    
  29  Prefactor     .10000E-03    24.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    6.1757        .17531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.6899        .91432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.3762        .82228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.0743        .21349        .21603E-03   -.90580    
  34  Prefactor     .83942        .22817        .26189E-03   -.98291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47618e-09
Minuit parameter uncertainties:
  1  0.00026838
  2  2.07335e-05
  3  0.000569241
  4  0.000130064
  5  8.38685e-07
  6  4.07523e-05
  7  1.18972e-05
  8  9.77652e-06
  9  4.98925
  10  43.916
  11  5.43404e-06
  12  9.85302e-05
  13  5.58395e-05
  14  55.1857
  15  10.5678
  16  43.6185
  17  0.000546086
  18  16.0219
  19  5.62739
  20  8.79256e-08
  21  11.3108
  22  0.000137233
  23  1.57573e-06
  24  22.3025
  25  8.29936e-07
  26  9.23309e-08
  27  2.85704e-05
  28  3.70059
  29  0.000198569
  30  6.24988e-05
  31  2.59874e-07
  32  1.1688e-07
  33  0.213665
  34  0.228428
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.792e+00  1.131e+01  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.394e-01  2.284e-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.074e+00  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 8.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877714/likelihoodResults_619833601_620092801_4FGL_J2325.4-4800_daily_bin1468.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) = 5217.49075269
delta logL = 0.0598899902616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5217.48793676
delta logL = 0.0627059246945

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4735       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5727       1.0000          .0000       10.000    
     3 'Normalizat'    1.0649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84436       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=   5217.488     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      255 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4729        8.8064        .20154E-03   -.19162E-03
   2  Index         2.5730        1.8582        .10234E-01   -.28469E-04
   3  Normalizat    1.0650        .21081        .21678E-03   -.41265E-03
   4  Prefactor     .84429        .22742        .26112E-03   -.31723E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.47286
  Index      = 2.573
  Normalizat = 1.06495
  Prefactor  = 0.844287
 **********
 **   18 **HESSE 
 **********

 FCN=   5217.488     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4729        5.2036        .80617E-05   -1.5465    
   2  Index         2.5730        1.3627        .40934E-03   -.50682    
   3  Normalizat    1.0650        .21074        .43356E-04   -.90885    
   4  Prefactor     .84429        .22711        .52224E-04   -.98116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15345e-10
Minuit parameter uncertainties:
  1  5.20515
  2  1.3858
  3  0.210901
  4  0.227362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877714': 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) = 5217.48793654
delta logL = 0.0627061360756

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.473e+00  5.205e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.573e+00  1.386e+00  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.443e-01  2.274e-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.065e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 351.350 -48.002

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/877714/cmap_HighResolution_619833601_620092801_4FGL_J2325.4-4800_daily_bin1468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.49e-03', job_status='DONE', photon_flux_upper_limit='8.58e-08', time_completed='2021-09-29 18:25:52.384139', job_id='877714', GAL2='0.84', fit_tolerance='1e-08', EG2='1.06', EG='1.07', time_epoch_completed='1632965152.38', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='6.27e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1468' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:25:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 877714: <4FGL_J2325.4-4800_daily_bin1468> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1468> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:11:01 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:11:03 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:11:03 2021
Terminated at Wed Sep 29 18:25:53 2021
Results reported at Wed Sep 29 18:25:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1468 351.35 -48.0022 619833601 620092801 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 :                                   840.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            892 sec.

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

