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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1329
RA = 351.359, Dec = -35.9878
tmin = 583804801, tmax = 584064001
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='869688', job_status='RUN', time_executed='2021-09-29 17:46:01.866793', time_epoch_executed='1632962761.87' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1329'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869688

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869688/ft1_4FGL_J2325.4-3559_daily_bin1329.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869688/ft2_4FGL_J2325.4-3559_daily_bin1329.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869688/ft1_4FGL_J2325.4-3559_daily_bin1329.fits outfile=/scratch/kocevski/869688/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1329.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=583804801.0 tmax=584064001.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.47
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869688/ft1_filtered_4FGL_J2325.4-3559_daily_bin1329.fits" evtable="EVENTS" scfile=/scratch/kocevski/869688/ft2_4FGL_J2325.4-3559_daily_bin1329.fits sctable="SC_DATA" outfile=/scratch/kocevski/869688/ltcube_583804801_584064001_4FGL_J2325.4-3559_daily_bin1329.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/869688/ft2_4FGL_J2325.4-3559_daily_bin1329.fits
.....................!
real 11.85
user 11.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869688/ft1_filtered_4FGL_J2325.4-3559_daily_bin1329.fits evtable="EVENTS" scfile=/scratch/kocevski/869688/ft2_4FGL_J2325.4-3559_daily_bin1329.fits sctable="SC_DATA" expcube=/scratch/kocevski/869688/ltcube_583804801_584064001_4FGL_J2325.4-3559_daily_bin1329.fits outfile=/scratch/kocevski/869688/expmap_583804801_584064001_4FGL_J2325.4-3559_daily_bin1329.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/869688/ltcube_583804801_584064001_4FGL_J2325.4-3559_daily_bin1329.fits
.....................!
real 190.64
user 185.45
sys 4.81

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/869688/ft1_filtered_4FGL_J2325.4-3559_daily_bin1329.fits scfile=/scratch/kocevski/869688/ft2_4FGL_J2325.4-3559_daily_bin1329.fits outfile=/scratch/kocevski/869688/cmap_583804801_584064001_4FGL_J2325.4-3559_daily_bin1329.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.55
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/869688/ft1_filtered_4FGL_J2325.4-3559_daily_bin1329.fits evtable="EVENTS" scfile=/scratch/kocevski/869688/ft2_4FGL_J2325.4-3559_daily_bin1329.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/869688/Model_4FGL_J2325.4-3559_daily_bin1329.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/869688/ft1_filtered_4FGL_J2325.4-3559_daily_bin1329.fits.....................!
real 45.80
user 44.44
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9521       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.610       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.179       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8584       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0998       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5239       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11542E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.7816       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.262       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.851       1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.0034       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.6176       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .99280       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .14151E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.7255       1.0000         .10000E-03   10000.    
    27 'Prefactor '    59.902       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .90084       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .81644       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=   6154.144     FROM MIGRAD    STATUS=CONVERGED    722 CALLS     3712 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    42.350       -.11089E-05** at limit **
   2  Prefactor     7.9525        3.6073        .49142E-07   -.73813E-04
   3  Prefactor     .10000E-03    13.937        .19792E-07** at limit **
   4  Prefactor     .10000E-03    11.385       -.10561E-06** at limit **
   5  Prefactor     18.610        21.833        .17864E-06   -.11555E-04
   6  Prefactor     .10000E-03    10.203        .61123E-06** at limit **
   7  Prefactor     25.178        13.358        .23327E-06   -.22657E-04
   8  Prefactor     .10000E-03    2.1269        .22903E-07** at limit **
   9  norm          .10000E-03    1.6673       -.31661E-07** at limit **
  10  Prefactor     1.8642        38.062        .18518E-04   -.23893E-03
  11  Prefactor     8.0995        12.691       -.32804E-05   -.83595E-04
  12  norm          2.5241        .94206       -.54715E-07   -.44267E-04
  13  Prefactor     .10000E-03    13.688       -.37827E-06** at limit **
  14  Prefactor     .10000E-03    21.977        .14389E-06** at limit **
  15  norm          .10000E-03    3.2599       -.55896E-08** at limit **
  16  norm          .10000E-03    4.2833       -.61404E-06** at limit **
  17  norm          7.7814        5.3582       -.18196E-06    .91626E-04
  18  Prefactor     24.248        30.439        .41536E-05    .31516E-03
  19  Prefactor     16.853        29.496       -.26865E-06   -.21473E-04
  20  norm          .10000E-03    2.4292       -.92170E-06** at limit **
  21  Prefactor     .10000E-03    6.1625       -.16747E-07** at limit **
  22  norm          1.0063        2.5399       -.14233E-05   -.14685E-02
  23  Prefactor     1.5770        230.67        .22286E-04   -.93490E-05
  24  Prefactor     .96722        18.493       -.17724E-06   -.17118E-04
  25  Prefactor     .10000E-03    7.4232        .11606E-05** at limit **
  26  Prefactor     4.7248        4.4889        .50811E-07    .69192E-04
  27  Prefactor     59.912        41.583       -.17438E-05   -.11782E-03
  28  Normalizat    .90092        .16152        .64059E-06   -.72725E-04
  29  Prefactor     .81639        .17019       -.14432E-05   -.78113E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.95251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.61
  Prefactor  = 0.0001
  Prefactor  = 25.1782
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.86424
  Prefactor  = 8.09954
  norm       = 2.52415
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.78139
  Prefactor  = 24.2475
  Prefactor  = 16.8533
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.00634
  Prefactor  = 1.57702
  Prefactor  = 0.96722
  Prefactor  = 0.000100001
  Prefactor  = 4.7248
  Prefactor  = 59.9123
  Normalizat = 0.900916
  Prefactor  = 0.816394
 **********
 **   18 **HESSE 
 **********

 FCN=   6154.144     FROM HESSE     STATUS=OK           557 CALLS     4269 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9525        3.6068        .95152E-04   -1.5144    
   3  Prefactor     .10000E-03    14.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.610        21.832        .92842E-04   -1.4845    
   6  Prefactor     .10000E-03    10.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.178        13.394        .79832E-04   -1.4704    
   8  Prefactor     .10000E-03    2.1394        .11172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.6814        .98732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8642        39.870        .15286E-02   -1.5435    
  11  Prefactor     8.0995        13.375        .14087E-03   -1.5139    
  12  norm          2.5241        .99815        .34582E-04   -1.5390    
  13  Prefactor     .10000E-03    13.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.686        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.2610        .13833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.4508        .31693E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.7814        5.3580        .71874E-03   -1.5150    
  18  Prefactor     24.248        30.739        .81323E-04   -1.4723    
  19  Prefactor     16.853        29.524        .97569E-04   -1.4887    
  20  norm          .10000E-03    2.5011        .23849E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.1747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.0063        2.3341        .18903E-02   -1.5507    
  23  Prefactor     1.5770        223.82        .33284E-03   -1.5457    
  24  Prefactor     .96722        90.076        .65044E-02   -1.5511    
  25  Prefactor     .10000E-03    7.7208        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.7248        4.4963        .15613E-03   -1.5273    
  27  Prefactor     59.912        41.579        .51839E-04   -1.4158    
  28  Normalizat    .90092        .19172        .22370E-03   -.96428    
  29  Prefactor     .81639        .20047        .25778E-03   -.99127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66477e-08
Minuit parameter uncertainties:
  1  2.71228e-05
  2  3.60691
  3  4.26438e-05
  4  2.75185e-06
  5  21.8411
  6  2.64759e-05
  7  13.3961
  8  1.27509e-06
  9  7.73221e-06
  10  17.2552
  11  13.3803
  12  0.99816
  13  1.46843e-05
  14  0.000159403
  15  5.9377e-07
  16  5.49811e-05
  17  5.35832
  18  30.7593
  19  29.5496
  20  6.65534e-05
  21  4.39451e-06
  22  2.33435
  23  37.7187
  24  18.696
  25  0.00016688
  26  4.49665
  27  41.5988
  28  0.191862
  29  0.200649
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.781e+00  5.358e+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:  8.164e-01  2.006e-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:  9.009e-01  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.24
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.42e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 9.72e-06 +/- 6.69e-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) = 6151.24303934
delta logL = 2.90101759784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6150.53567775
delta logL = 3.60837918914

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0922       1.0000         .10000E-03   10000.    
     2 'alpha     '    .50236       1.0000          .0000       5.0000    
     3 'Normalizat'    .91711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81075       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=   6150.536     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      214 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0934        1.8217        .71347E-02   -.22817E-03
   2  alpha         .50240        .39330        .34740       -.13447E-04
   3  Normalizat    .91702        .15082        .45120E-01    .14249E-05
   4  Prefactor     .81083        .16714        .43857E-01    .28919E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.09341
  alpha      = 0.502401
  Normalizat = 0.917018
  Prefactor  = 0.810829
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.536     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0934        2.6322        .77878E-04   -1.5419    
   2  alpha         .50240        .52308        .16376E-01   -.92570    
   3  Normalizat    .91702        .17672        .22181E-03   -.95865    
   4  Prefactor     .81083        .19586        .25847E-03   -.99330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91502e-12
Minuit parameter uncertainties:
  1  2.63236
  2  0.53426
  3  0.176832
  4  0.19603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869688': 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) = 6150.53567737
delta logL = 3.60837956853

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.093e+00  2.632e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  5.024e-01  5.343e-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:  8.108e-01  1.960e-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:  9.170e-01  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.46
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 0.50 +/- 0.53
Photon Flux (Free Index): 7.09e-09 +/- 5.39e-09
Energy Flux (Free Index): 5.03e-05 +/- 5.21e-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/869688/cmap_HighResolution_583804801_584064001_4FGL_J2325.4-3559_daily_bin1329.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.42e-08', energy_flux2='5.03e-05', photon_flux_error='1.67e-08', dlogl='3.61e+00', energy_flux='9.72e-06', photon_flux2='7.09e-09', job_status='DONE', time_completed='2021-09-29 17:58:09.064169', photon_index_error2='0.53', photon_index2='0.50', ts='10.24', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='5.21e-05', EG='0.90', time_epoch_completed='1632963489.06', return_code='0', job_id='869688', GAL2='0.81', EG2='0.92', return_code2='0', energy_flux_error='6.69e-06', photon_flux_error2='5.39e-09', ts2='17.46', photon_index='2.13' WHERE bin_id='1329' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:58:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 869688: <4FGL_J2325.4-3559_daily_bin1329> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1329> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:45:38 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:45:41 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:41 2021
Terminated at Wed Sep 29 17:58:09 2021
Results reported at Wed Sep 29 17:58:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1329 351.359 -35.9878 583804801 584064001 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 :                                   715.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            751 sec.

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

