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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1377
RA = 351.359, Dec = -35.9878
tmin = 596246401, tmax = 596505601
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='869762', job_status='RUN', time_executed='2021-09-29 17:47:05.482121', time_epoch_executed='1632962825.48' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1377'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869762

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869762/ft1_4FGL_J2325.4-3559_daily_bin1377.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869762/ft2_4FGL_J2325.4-3559_daily_bin1377.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869762/ft1_4FGL_J2325.4-3559_daily_bin1377.fits outfile=/scratch/kocevski/869762/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1377.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=596246401.0 tmax=596505601.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.91
user 4.67
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869762/ft1_filtered_4FGL_J2325.4-3559_daily_bin1377.fits" evtable="EVENTS" scfile=/scratch/kocevski/869762/ft2_4FGL_J2325.4-3559_daily_bin1377.fits sctable="SC_DATA" outfile=/scratch/kocevski/869762/ltcube_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.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/869762/ft2_4FGL_J2325.4-3559_daily_bin1377.fits
.....................!
real 11.67
user 11.34
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869762/ft1_filtered_4FGL_J2325.4-3559_daily_bin1377.fits evtable="EVENTS" scfile=/scratch/kocevski/869762/ft2_4FGL_J2325.4-3559_daily_bin1377.fits sctable="SC_DATA" expcube=/scratch/kocevski/869762/ltcube_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.fits outfile=/scratch/kocevski/869762/expmap_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.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/869762/ltcube_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.fits
.....................!
real 191.83
user 185.80
sys 5.65

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/869762/ft1_filtered_4FGL_J2325.4-3559_daily_bin1377.fits scfile=/scratch/kocevski/869762/ft2_4FGL_J2325.4-3559_daily_bin1377.fits outfile=/scratch/kocevski/869762/cmap_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/869762/ft1_filtered_4FGL_J2325.4-3559_daily_bin1377.fits scfile=/scratch/kocevski/869762/ft2_4FGL_J2325.4-3559_daily_bin1377.fits outfile=/scratch/kocevski/869762/cmap_HighResolution_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/869762/ft1_filtered_4FGL_J2325.4-3559_daily_bin1377.fits evtable="EVENTS" scfile=/scratch/kocevski/869762/ft2_4FGL_J2325.4-3559_daily_bin1377.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/869762/Model_4FGL_J2325.4-3559_daily_bin1377.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/869762/ft1_filtered_4FGL_J2325.4-3559_daily_bin1377.fits.....................!
real 33.73
user 32.45
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/869762/ft1_filtered_4FGL_J2325.4-3559_daily_bin1377.fits', '/scratch/kocevski/869762/ft2_4FGL_J2325.4-3559_daily_bin1377.fits', expMap='/scratch/kocevski/869762/expmap_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.fits', expCube='/scratch/kocevski/869762/ltcube_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/869762/Model_4FGL_J2325.4-3559_daily_bin1377.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/869762/ft1_filtered_4FGL_J2325.4-3559_daily_bin1377.fits
Spacecraft file(s): /scratch/kocevski/869762/ft2_4FGL_J2325.4-3559_daily_bin1377.fits
Exposure map: /scratch/kocevski/869762/expmap_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.fits
Exposure cube: /scratch/kocevski/869762/ltcube_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/869762/Model_4FGL_J2325.4-3559_daily_bin1377.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) = 3734.96349861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3679       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8453       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    235.74       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.893       1.0000         .10000E-03   10000.    
     9 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.550       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .50178E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .51954       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.5738       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    19.920       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.547       1.0000         .10000E-03   10000.    
    19 'Prefactor '    132.13       1.0000         .10000E-03   10000.    
    20 'norm      '    4.8165       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.7332       1.0000         .10000E-03   10000.    
    23 'Prefactor '    108.39       1.0000         .10000E-03   10000.    
    24 'Prefactor '    50.237       1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.1561       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    46.903       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0286       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .76904       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3734.915     FROM MIGRAD    STATUS=CONVERGED   1244 CALLS     4810 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.100        .18142E-02** at limit **
   2  Prefactor     4.3550        16.109        .19272E-03    .87218E-04
   3  Prefactor     2.9563        609.14        .24105E-03    .18111E-04
   4  Prefactor     .10000E-03    33.490        .18142E-02** at limit **
   5  Prefactor     235.74        63.089        .13182E-03   -.38352E-04
   6  Prefactor     .10000E-03    16.945        .18142E-02** at limit **
   7  Prefactor     .10000E-03    7.9966        .16863E-02** at limit **
   8  Prefactor     14.892        11.228        .10379E-03   -.78321E-05
   9  norm          .10000E-03    7.0733        .15699E-02** at limit **
  10  Prefactor     42.560        28.998        .61456E-04    .49947E-05
  11  Prefactor     .10000E-03    53.151        .42544E-02** at limit **
  12  norm          .51999        .80553        .62577E-03    .17924E-02
  13  Prefactor     .10000E-03    38.381        .18142E-02** at limit **
  14  Prefactor     7.5755        13.276        .14572E-03   -.26253E-04
  15  norm          .10000E-03    26.381        .18142E-02** at limit **
  16  norm          .10000E-03    4.0670        .12020E-02** at limit **
  17  norm          19.920        13.744        .89740E-04   -.23943E-04
  18  Prefactor     28.637        88.188        .74984E-04    .19331E-04
  19  Prefactor     132.12        85.535        .35031E-04   -.22458E-04
  20  norm          4.8005        11.895        .18331E-03    .10466E-03
  21  Prefactor     .10000E-03    14.404        .18142E-02** at limit **
  22  norm          4.7324        5.6524        .14227E-03   -.29327E-04
  23  Prefactor     108.39        125.07        .19315E-03   -.82695E-05
  24  Prefactor     50.238        50.955        .56580E-04    .22102E-06
  25  Prefactor     7.1436        16.272        .74975E-03    .96635E-04
  26  Prefactor     .10000E-03    1.8066        .80165E-03** at limit **
  27  Prefactor     46.941        158.05        .58547E-04    .14369E-04
  28  Normalizat    1.0287        .33337        .26226E-03    .23734E-04
  29  Prefactor     .76895        .31227        .30956E-03   -.60708E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.35502
  Prefactor  = 2.95632
  Prefactor  = 0.0001
  Prefactor  = 235.736
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8919
  norm       = 0.0001
  Prefactor  = 42.56
  Prefactor  = 0.000100001
  norm       = 0.519985
  Prefactor  = 0.0001
  Prefactor  = 7.57551
  norm       = 0.0001
  norm       = 0.0001
  norm       = 19.9196
  Prefactor  = 28.6374
  Prefactor  = 132.125
  norm       = 4.80049
  Prefactor  = 0.0001
  norm       = 4.73241
  Prefactor  = 108.386
  Prefactor  = 50.2378
  Prefactor  = 7.14364
  Prefactor  = 0.0001
  Prefactor  = 46.9415
  Normalizat = 1.02872
  Prefactor  = 0.768955
 **********
 **   18 **HESSE 
 **********

 FCN=   3734.915     FROM HESSE     STATUS=OK           525 CALLS     5335 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.101        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3550        15.999        .77088E-05   -1.5291    
   3  Prefactor     2.9563        600.27        .96419E-05   -1.5364    
   4  Prefactor     .10000E-03    33.491        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     235.74        63.088        .26365E-04   -1.2625    
   6  Prefactor     .10000E-03    16.946        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.9971        .33727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.892        11.228        .41515E-05   -1.4936    
   9  norm          .10000E-03    7.0768        .31397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.560        28.993        .24582E-05   -1.4402    
  11  Prefactor     .10000E-03    53.340        .85088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .51999        .80447        .12515E-03   -1.5564    
  13  Prefactor     .10000E-03    38.382        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.5755        13.267        .58288E-05   -1.5157    
  15  norm          .10000E-03    26.391        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.0671        .24039E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.920        13.744        .35896E-05   -1.4815    
  18  Prefactor     28.637        88.072        .29994E-05   -1.4637    
  19  Prefactor     132.12        85.538        .70062E-05   -1.3404    
  20  norm          4.8005        11.878        .73323E-05   -1.5270    
  21  Prefactor     .10000E-03    14.405        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.7324        5.6514        .56908E-05   -1.5273    
  23  Prefactor     108.39        125.08        .77262E-05   -1.3622    
  24  Prefactor     50.238        50.953        .11316E-04   -1.4289    
  25  Prefactor     7.1436        16.224        .29990E-04   -1.5173    
  26  Prefactor     .10000E-03    1.8066        .16033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     46.941        157.65        .11709E-04   -1.4337    
  28  Normalizat    1.0287        .33366        .10490E-04   -.92074    
  29  Prefactor     .76895        .31260        .12382E-04   -1.0088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98892e-10
Minuit parameter uncertainties:
  1  1.46184e-05
  2  16.0144
  3  85.1303
  4  6.27362e-05
  5  63.1066
  6  5.21492e-05
  7  2.36673e-06
  8  11.2298
  9  9.58004e-06
  10  29.0021
  11  0.000491862
  12  0.804487
  13  6.08804e-05
  14  13.2721
  15  6.30783e-05
  16  1.95718e-05
  17  13.7459
  18  88.4752
  19  85.6178
  20  11.8834
  21  5.87884e-05
  22  5.652
  23  125.383
  24  50.997
  25  16.2338
  26  2.45324e-06
  27  159.085
  28  0.33434
  29  0.313319
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.992e+01  1.375e+01  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:  7.690e-01  3.133e-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:  1.029e+00  3.343e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.21
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 6.20e-08 +/- 4.28e-08
Energy Flux (Fixed Index): 2.49e-05 +/- 1.72e-05

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) = 3734.89897852
delta logL = 0.0164941197786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3734.88802422
delta logL = 0.0274484194388

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.893       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8405       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0485       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3734.888     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.877        22.303        .48724E-03    .66137E-04
   2  alpha         1.8396        1.3265        .16846E-01   -.50639E-05
   3  Normalizat    1.0487        .29927        .26039E-03    .36020E-04
   4  Prefactor     .76090        .29935        .31128E-03   -.11048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.8767
  alpha      = 1.83957
  Normalizat = 1.04865
  Prefactor  = 0.760904
 **********
 **   18 **HESSE 
 **********

 FCN=   3734.888     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.877        23.848        .19490E-04   -1.4886    
   2  alpha         1.8396        1.4065        .67383E-03   -.26735    
   3  Normalizat    1.0487        .30104        .10416E-04   -.91418    
   4  Prefactor     .76090        .29976        .12451E-04   -1.0119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44878e-11
Minuit parameter uncertainties:
  1  23.8611
  2  1.50167
  3  0.301536
  4  0.300402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869762': 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) = 3734.88802387
delta logL = 0.02744877238

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.688e+01  2.386e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.840e+00  1.502e+00  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:  7.609e-01  3.004e-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:  1.049e+00  3.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.23
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.84 +/- 1.50
Photon Flux (Free Index): 4.23e-08 +/- 9.67e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.85e-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/869762/cmap_HighResolution_596246401_596505601_4FGL_J2325.4-3559_daily_bin1377.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.20e-08', energy_flux2='2.40e-05', photon_flux_error='4.28e-08', dlogl='2.74e-02', energy_flux='2.49e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2021-09-29 17:59:07.190243', photon_index_error2='1.50', photon_index2='1.84', ts='10.21', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.85e-05', EG='1.03', time_epoch_completed='1632963547.19', return_code='0', job_id='869762', GAL2='0.76', EG2='1.05', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='9.67e-08', ts2='10.23', photon_index='2.13' WHERE bin_id='1377' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:59:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 869762: <4FGL_J2325.4-3559_daily_bin1377> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1377> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:45:46 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:45:47 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:45:47 2021
Terminated at Wed Sep 29 17:59:07 2021
Results reported at Wed Sep 29 17:59:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1377 351.359 -35.9878 596246401 596505601 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 :                                   601.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            801 sec.

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

