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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin944
RA = 351.359, Dec = -35.9878
tmin = 484012801, tmax = 484272001
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='868134', job_status='RUN', time_executed='2021-09-29 17:44:01.712165', time_epoch_executed='1632962641.71' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868134

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868134/ft1_4FGL_J2325.4-3559_daily_bin944.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868134/ft1_4FGL_J2325.4-3559_daily_bin944.fits outfile=/scratch/kocevski/868134/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin944.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=484012801.0 tmax=484272001.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.43
user 3.16
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.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/868134/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin944.fits evtable="EVENTS" outfile="/scratch/kocevski/868134/ft1_filtered_4FGL_J2325.4-3559_daily_bin944.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868134/ft1_filtered_4FGL_J2325.4-3559_daily_bin944.fits" evtable="EVENTS" scfile=/scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits sctable="SC_DATA" outfile=/scratch/kocevski/868134/ltcube_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.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/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits
.....................!
real 11.58
user 11.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868134/ft1_filtered_4FGL_J2325.4-3559_daily_bin944.fits evtable="EVENTS" scfile=/scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits sctable="SC_DATA" expcube=/scratch/kocevski/868134/ltcube_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.fits outfile=/scratch/kocevski/868134/expmap_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.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/868134/ltcube_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.fits
.....................!
real 190.67
user 185.29
sys 5.04

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-3559 @ 351.359 -35.9878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/868134/ft1_filtered_4FGL_J2325.4-3559_daily_bin944.fits scfile=/scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits outfile=/scratch/kocevski/868134/cmap_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.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.359 yref=-35.9878 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868134/ft1_filtered_4FGL_J2325.4-3559_daily_bin944.fits scfile=/scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits outfile=/scratch/kocevski/868134/cmap_HighResolution_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.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.359 yref=-35.9878 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868134/ft1_filtered_4FGL_J2325.4-3559_daily_bin944.fits evtable="EVENTS" scfile=/scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868134/Model_4FGL_J2325.4-3559_daily_bin944.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/868134/ft1_filtered_4FGL_J2325.4-3559_daily_bin944.fits.....................!
real 46.06
user 44.02
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/868134/ft1_filtered_4FGL_J2325.4-3559_daily_bin944.fits', '/scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits', expMap='/scratch/kocevski/868134/expmap_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.fits', expCube='/scratch/kocevski/868134/ltcube_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/868134/Model_4FGL_J2325.4-3559_daily_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-3559'

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.197e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/868134/ft1_filtered_4FGL_J2325.4-3559_daily_bin944.fits
Spacecraft file(s): /scratch/kocevski/868134/ft2_4FGL_J2325.4-3559_daily_bin944.fits
Exposure map: /scratch/kocevski/868134/expmap_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.fits
Exposure cube: /scratch/kocevski/868134/ltcube_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/868134/Model_4FGL_J2325.4-3559_daily_bin944.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) = 6156.79127632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.4279       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-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 '    4.8687       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .87167       1.0000         .10000E-03   10000.    
     9 'norm      '    .10842E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.2404       1.0000         .10000E-03   10000.    
    12 'norm      '    .10132E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.737       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.9484       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10708E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    23.508       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .21705E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.9207       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .77206       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .92139       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6156.648     FROM MIGRAD    STATUS=CONVERGED    746 CALLS     3212 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.653       -.21396E-05** at limit **
   2  Prefactor     1.4295        3.3207        .67878E-06   -.94167E-04
   3  Prefactor     .10000E-03    8.5478        .62388E-06** at limit **
   4  Prefactor     .10000E-03    8.7562        .67155E-06** at limit **
   5  Prefactor     .10000E-03    10.448       -.45749E-06** at limit **
   6  Prefactor     .10000E-03    4.0140        .28663E-07** at limit **
   7  Prefactor     4.8699        5.8376        .70059E-07   -.14467E-04
   8  Prefactor     .87286        4.7478        .18575E-05   -.17163E-03
   9  norm          .10000E-03    2.3802       -.35331E-06** at limit **
  10  Prefactor     .10000E-03    10.164       -.88154E-06** at limit **
  11  Prefactor     8.2390        5.7970        .54322E-06    .52602E-03
  12  norm          .10000E-03    .33218       -.17976E-06** at limit **
  13  Prefactor     .10000E-03    15.751        .17614E-05** at limit **
  14  Prefactor     .10000E-03    1.7229       -.44372E-07** at limit **
  15  norm          .10000E-03    7.2243       -.48394E-06** at limit **
  16  norm          .10000E-03    2.8123       -.98600E-08** at limit **
  17  norm          12.738        7.0615        .67012E-07    .10635E-04
  18  Prefactor     .10000E-03    6.0906        .31081E-06** at limit **
  19  Prefactor     .10000E-03    33.436        .57876E-06** at limit **
  20  norm          1.9483        2.2926        .85366E-07   -.67537E-04
  21  Prefactor     .10000E-03    7.1917       -.51262E-06** at limit **
  22  norm          .10000E-03    1.6032        .84162E-07** at limit **
  23  Prefactor     .10000E-03    302.60       -.50346E-05** at limit **
  24  Prefactor     23.503        23.952        .47216E-06    .66470E-04
  25  Prefactor     .10001E-03    2.3439       -.47193E-06** at limit **
  26  Prefactor     2.9213        3.6013        .13176E-06   -.75411E-06
  27  Prefactor     .10000E-03    17.386        .59380E-06** at limit **
  28  Normalizat    .77195        .13806       -.45493E-06    .17636E-03
  29  Prefactor     .92138        .15219       -.80263E-07    .14485E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 1.42951
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.86989
  Prefactor  = 0.872855
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.239
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.7379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94826
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 23.5025
  Prefactor  = 0.000100013
  Prefactor  = 2.92125
  Prefactor  = 0.0001
  Normalizat = 0.771953
  Prefactor  = 0.921376
 **********
 **   18 **HESSE 
 **********

 FCN=   6156.648     FROM HESSE     STATUS=OK           549 CALLS     3761 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4295        3.3196        .20647E-03   -1.5469    
   3  Prefactor     .10000E-03    8.5987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.8110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.0187        .15353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8699        5.8341        .18230E-03   -1.5267    
   8  Prefactor     .87286        4.7912        .33182E-03   -1.5521    
   9  norm          .10000E-03    5.5370        .22399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.2390        5.2751        .13726E-03   -1.5134    
  12  norm          .10000E-03    1.1452        .76661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.7252        .10056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.2911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.9025        .25615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.738        7.0603        .11224E-03   -1.4994    
  18  Prefactor     .10000E-03    6.1048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    33.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.9483        2.2567        .12352E-03   -1.5429    
  21  Prefactor     .10000E-03    7.2611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.7460        .19162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    309.12        .20717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     23.503        24.009        .82616E-04   -1.4738    
  25  Prefactor     .10001E-03    11.696        .22428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.9213        3.5940        .16009E-03   -1.5366    
  27  Prefactor     .10000E-03    17.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .77195        .16296        .21405E-03   -1.0112    
  29  Prefactor     .92138        .18049        .22244E-03   -.95398    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49662e-09
Minuit parameter uncertainties:
  1  0.000253168
  2  3.32002
  3  4.7723e-05
  4  5.39687e-05
  5  3.72285e-05
  6  1.41378e-06
  7  5.83474
  8  4.09026
  9  8.02123e-05
  10  4.78556e-05
  11  5.27537
  12  2.14698e-05
  13  0.000191587
  14  4.77231e-07
  15  3.32476e-05
  16  1.13778e-06
  17  7.06075
  18  2.0608e-05
  19  8.87513e-05
  20  2.25682
  21  3.57119e-05
  22  3.5096e-06
  23  0.00214134
  24  24.0192
  25  0.000767416
  26  3.59426
  27  6.31644e-05
  28  0.163067
  29  0.180612
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.274e+01  7.061e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.214e-01  1.806e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  7.720e-01  1.631e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.48
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 2.20e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 8.82e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6156.6267868
delta logL = 0.0216638787233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6156.62558203
delta logL = 0.0228686431328

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.543       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2704       1.0000          .0000       5.0000    
     3 'Normalizat'    .76559       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92573       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6156.626     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      235 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.541        154.91        .28276E-02    .58814E-04
   2  alpha         2.2699        2.7945        .41373        .18044E-04
   3  Normalizat    .76554        .10949        .43160E-01    .13271E-05
   4  Prefactor     .92566        .78927E-01    .45332E-01   -.53673E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 12.5409
  alpha      = 2.26989
  Normalizat = 0.765542
  Prefactor  = 0.925663
 **********
 **   18 **HESSE 
 **********

 FCN=   6156.626     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.541        7.0885        .11310E-03   -1.5000    
   2  alpha         2.2699        .66502        .15587E-01   -.92174E-01
   3  Normalizat    .76554        .16193        .21485E-03   -1.0136    
   4  Prefactor     .92566        .18091        .22198E-03   -.95250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51724e-12
Minuit parameter uncertainties:
  1  7.089
  2  0.673192
  3  0.162032
  4  0.18103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868134': 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) = 6156.62558029
delta logL = 0.0228703892062

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.254e+01  7.089e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.270e+00  6.732e-01  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.257e-01  1.810e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  7.655e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.51
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.27 +/- 0.67
Photon Flux (Free Index): 4.43e-08 +/- 3.17e-08
Energy Flux (Free Index): 1.55e-05 +/- 8.71e-06

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/868134/cmap_HighResolution_484012801_484272001_4FGL_J2325.4-3559_daily_bin944.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='1.55e-05', photon_flux_error='2.20e-08', dlogl='2.29e-02', energy_flux='1.59e-05', photon_flux2='4.43e-08', job_status='DONE', time_completed='2021-09-29 17:55:11.098869', photon_index_error2='0.67', photon_index2='2.27', ts='6.48', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='8.71e-06', EG='0.77', time_epoch_completed='1632963311.1', return_code='0', job_id='868134', GAL2='0.93', EG2='0.77', return_code2='0', energy_flux_error='8.82e-06', photon_flux_error2='3.17e-08', ts2='6.51', photon_index='2.13' WHERE bin_id='944' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:55:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 868134: <4FGL_J2325.4-3559_daily_bin944> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin944> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:30 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:40:32 2021
Terminated at Wed Sep 29 17:55:11 2021
Results reported at Wed Sep 29 17:55:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin944 351.359 -35.9878 484012801 484272001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-3559 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   666.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            881 sec.

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

