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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1009
RA = 351.35, Dec = -48.0022
tmin = 500860801, tmax = 501120001
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='875802', job_status='RUN', time_executed='2021-09-29 18:09:45.969787', time_epoch_executed='1632964185.97' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1009'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875802

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875802/ft1_4FGL_J2325.4-4800_daily_bin1009.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875802/ft2_4FGL_J2325.4-4800_daily_bin1009.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875802/ft1_4FGL_J2325.4-4800_daily_bin1009.fits outfile=/scratch/kocevski/875802/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1009.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=500860801.0 tmax=501120001.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 4.57
user 4.33
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875802/ft1_filtered_4FGL_J2325.4-4800_daily_bin1009.fits" evtable="EVENTS" scfile=/scratch/kocevski/875802/ft2_4FGL_J2325.4-4800_daily_bin1009.fits sctable="SC_DATA" outfile=/scratch/kocevski/875802/ltcube_500860801_501120001_4FGL_J2325.4-4800_daily_bin1009.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/875802/ft2_4FGL_J2325.4-4800_daily_bin1009.fits
.....................!
real 12.46
user 12.07
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875802/ft1_filtered_4FGL_J2325.4-4800_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/875802/ft2_4FGL_J2325.4-4800_daily_bin1009.fits sctable="SC_DATA" expcube=/scratch/kocevski/875802/ltcube_500860801_501120001_4FGL_J2325.4-4800_daily_bin1009.fits outfile=/scratch/kocevski/875802/expmap_500860801_501120001_4FGL_J2325.4-4800_daily_bin1009.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/875802/ltcube_500860801_501120001_4FGL_J2325.4-4800_daily_bin1009.fits
.....................!
real 189.24
user 184.94
sys 4.00

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/875802/ft1_filtered_4FGL_J2325.4-4800_daily_bin1009.fits scfile=/scratch/kocevski/875802/ft2_4FGL_J2325.4-4800_daily_bin1009.fits outfile=/scratch/kocevski/875802/cmap_500860801_501120001_4FGL_J2325.4-4800_daily_bin1009.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/875802/ft1_filtered_4FGL_J2325.4-4800_daily_bin1009.fits scfile=/scratch/kocevski/875802/ft2_4FGL_J2325.4-4800_daily_bin1009.fits outfile=/scratch/kocevski/875802/cmap_HighResolution_500860801_501120001_4FGL_J2325.4-4800_daily_bin1009.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/875802/ft1_filtered_4FGL_J2325.4-4800_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/875802/ft2_4FGL_J2325.4-4800_daily_bin1009.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875802/Model_4FGL_J2325.4-4800_daily_bin1009.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/875802/ft1_filtered_4FGL_J2325.4-4800_daily_bin1009.fits.....................!
real 34.15
user 32.84
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    241.35       1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.957       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2955       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.837       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.297       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11519E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    56.216       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    11.546       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.1345       1.0000         .10000E-03   10000.    
    23 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    38.488       1.0000         .10000E-03   10000.    
    25 'norm      '    1.3468       1.0000         .10000E-03   10000.    
    26 'norm      '    3.7308       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .18926E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    19.072       1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    7.4126       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .40732E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1839       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .45889       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=   3715.786     FROM MIGRAD    STATUS=CONVERGED    927 CALLS     4814 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     241.33        111.23       -.39211E-07   -.64728E-04
   2  Prefactor     35.038        34.703       -.25095E-05   -.28759E-03
   3  Prefactor     .10000E-03    27.009        .36266E-06** at limit **
   4  Prefactor     .10000E-03    5.1900       -.23391E-07** at limit **
   5  Prefactor     8.2966        11.113        .23693E-06   -.89011E-04
   6  Prefactor     .10000E-03    18.803       -.88614E-07** at limit **
   7  Prefactor     .10000E-03    3.9861        .67480E-07** at limit **
   8  norm          .10000E-03    2.6592       -.14340E-07** at limit **
   9  Prefactor     .10000E-03    2.4623       -.34507E-07** at limit **
  10  Prefactor     .10000E-03    22.328        .15641E-06** at limit **
  11  Prefactor     .10000E-03    4.1423       -.40746E-07** at limit **
  12  Prefactor     40.804        34.075       -.12957E-06   -.64275E-04
  13  Prefactor     17.303        16.655        .95663E-06   -.16606E-03
  14  Prefactor     .10000E-03    69.665        .82433E-06** at limit **
  15  Prefactor     .10000E-03    5.3901        .24528E-08** at limit **
  16  Prefactor     56.250        50.063        .43151E-06    .70139E-04
  17  Prefactor     .10000E-03    16.941       -.20416E-06** at limit **
  18  norm          .10000E-03    13.942       -.19262E-07** at limit **
  19  norm          .10000E-03    6.2530       -.10569E-07** at limit **
  20  norm          11.544        10.631       -.12528E-06   -.13222E-03
  21  Prefactor     .10000E-03    6.2751       -.24056E-06** at limit **
  22  Prefactor     4.1700        153.06       -.22517E-05    .92829E-05
  23  norm          .10000E-03    10.352        .19737E-05** at limit **
  24  Prefactor     38.517        24.587       -.99842E-07   -.25684E-03
  25  norm          1.3472        1.6349        .39865E-07   -.47729E-03
  26  norm          3.7320        3.9299        .65787E-07   -.11721E-03
  27  Prefactor     .10000E-03    48.969       -.17491E-05** at limit **
  28  Prefactor     .10000E-03    4.7010        .16830E-05** at limit **
  29  Prefactor     19.179        32.101       -.17077E-05   -.31636E-03
  30  norm          .10000E-03    12.761        .11200E-06** at limit **
  31  Prefactor     7.4196        6.1023       -.11457E-06   -.33194E-03
  32  Prefactor     .10000E-03    6.6282        .29197E-05** at limit **
  33  Normalizat    1.1831        .25885       -.30642E-05   -.28099E-03
  34  Prefactor     .45971        .24794        .30037E-05   -.23286E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 241.334
  Prefactor  = 35.0382
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.29656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.804
  Prefactor  = 17.303
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 56.2497
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 11.5445
  Prefactor  = 0.0001
  Prefactor  = 4.17002
  norm       = 0.0001
  Prefactor  = 38.5167
  norm       = 1.34721
  norm       = 3.73199
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 19.1788
  norm       = 0.0001
  Prefactor  = 7.4196
  Prefactor  = 0.000100004
  Normalizat = 1.18313
  Prefactor  = 0.459709
 **********
 **   18 **HESSE 
 **********

 FCN=   3715.786     FROM HESSE     STATUS=OK           718 CALLS     5532 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     241.33        111.46        .13032E-03   -1.2588    
   2  Prefactor     35.038        34.944        .67780E-04   -1.4523    
   3  Prefactor     .10000E-03    27.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.1929        .13563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2966        11.100        .13919E-03   -1.5132    
   6  Prefactor     .10000E-03    18.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.0141        .11886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.6604        .97083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.5090        .93347E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.1724        .12104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     40.804        34.170        .62727E-04   -1.4430    
  13  Prefactor     17.303        16.538        .48151E-03   -1.4876    
  14  Prefactor     .10000E-03    69.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.4134        .13819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     56.250        49.998        .53502E-04   -1.4207    
  17  Prefactor     .10000E-03    16.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    13.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.3193        .14868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          11.544        10.527        .11790E-03   -1.5028    
  21  Prefactor     .10000E-03    6.2835        .14876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.1700        149.38        .19824E-03   -1.5300    
  23  norm          .10000E-03    10.436        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     38.517        24.578        .64606E-04   -1.4466    
  25  norm          1.3472        1.5933        .77348E-04   -1.5476    
  26  norm          3.7320        3.9215        .11892E-03   -1.5322    
  27  Prefactor     .10000E-03    49.651        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    8.2226        .23246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     19.179        30.767        .91713E-04   -1.4832    
  30  norm          .10000E-03    12.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     7.4196        6.0940        .12970E-03   -1.5163    
  32  Prefactor     .10000E-03    11.767        .28011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.1831        .30156        .21113E-03   -.87126    
  34  Prefactor     .45971        .28613        .33087E-03   -1.1386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47165e-09
Minuit parameter uncertainties:
  1  111.561
  2  34.9644
  3  4.32107e-05
  4  1.62209e-06
  5  11.1025
  6  1.63703e-05
  7  2.79228e-06
  8  4.19558e-07
  9  6.16622e-06
  10  8.86402e-05
  11  8.62512e-06
  12  34.1866
  13  16.5425
  14  0.000662047
  15  1.0912e-05
  16  50.0351
  17  3.6042e-05
  18  1.91129e-05
  19  2.75486e-06
  20  10.5282
  21  2.22028e-05
  22  50.0512
  23  0.000116572
  24  24.5849
  25  1.59338
  26  3.92179
  27  3.8185e-05
  28  0.000230985
  29  30.7923
  30  4.59683e-05
  31  6.09452
  32  0.000425373
  33  0.302008
  34  0.287033
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  2.220e-05  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:  4.597e-01  2.870e-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.183e+00  3.020e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/875802/likelihoodResults_500860801_501120001_4FGL_J2325.4-4800_daily_bin1009.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) = 3715.78697463
delta logL = -0.00075624401461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3715.78621838
delta logL = 1.23695826915e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1149       1.0000          .0000       10.000    
     3 'Normalizat'    1.1831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .45971       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=   3715.786     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    88.950        .90712E-02** at limit **
   2  Index         2.1243        8.8048        .50000       -.12596E-04
   3  Normalizat    1.1831        .19500E-01    .35319E-01    .35226E-05
   4  Prefactor     .45971        .19880E-01    .74714E-01    .26806E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.12431
  Normalizat = 1.18313
  Prefactor  = 0.459711
 **********
 **   18 **HESSE 
 **********

 FCN=   3715.786     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1097.4        .14926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1243        6.0529        .50000       -.61277    
   3  Normalizat    1.1831        .99455E-01    .21113E-03   -.87126    
   4  Prefactor     .45971        .10108        .33086E-03   -1.1386    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.0706e-08
Minuit parameter uncertainties:
  1  7.55932e-05
  2  54.9662
  3  0.0994704
  4  0.101115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875802': 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): 102
logL (Free Index) = 3715.78621833
delta logL = 5.67583811062e-08

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  7.559e-05  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.124e+00  5.497e+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:  4.597e-01  1.011e-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.183e+00  9.947e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/875802/cmap_HighResolution_500860801_501120001_4FGL_J2325.4-4800_daily_bin1009.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-03', job_status='DONE', photon_flux_upper_limit='9.28e-08', time_completed='2021-09-29 18:21:17.760386', job_id='875802', GAL2='0.46', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632964877.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.46', dlogl='5.68e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1009' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:21:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 875802: <4FGL_J2325.4-4800_daily_bin1009> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1009> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:05:35 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:05:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:05:37 2021
Terminated at Wed Sep 29 18:21:18 2021
Results reported at Wed Sep 29 18:21:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1009 351.35 -48.0022 500860801 501120001 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 :                                   691.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            943 sec.

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

