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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1048
RA = 351.359, Dec = -35.9878
tmin = 510969601, tmax = 511228801
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='868282', job_status='RUN', time_executed='2021-09-29 17:43:40.006940', time_epoch_executed='1632962620.01' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1048'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868282

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868282/ft1_4FGL_J2325.4-3559_daily_bin1048.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868282/ft2_4FGL_J2325.4-3559_daily_bin1048.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868282/ft1_4FGL_J2325.4-3559_daily_bin1048.fits outfile=/scratch/kocevski/868282/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1048.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=510969601.0 tmax=511228801.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.27
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868282/ft1_filtered_4FGL_J2325.4-3559_daily_bin1048.fits" evtable="EVENTS" scfile=/scratch/kocevski/868282/ft2_4FGL_J2325.4-3559_daily_bin1048.fits sctable="SC_DATA" outfile=/scratch/kocevski/868282/ltcube_510969601_511228801_4FGL_J2325.4-3559_daily_bin1048.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/868282/ft2_4FGL_J2325.4-3559_daily_bin1048.fits
.....................!
real 11.88
user 11.48
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868282/ft1_filtered_4FGL_J2325.4-3559_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/868282/ft2_4FGL_J2325.4-3559_daily_bin1048.fits sctable="SC_DATA" expcube=/scratch/kocevski/868282/ltcube_510969601_511228801_4FGL_J2325.4-3559_daily_bin1048.fits outfile=/scratch/kocevski/868282/expmap_510969601_511228801_4FGL_J2325.4-3559_daily_bin1048.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/868282/ltcube_510969601_511228801_4FGL_J2325.4-3559_daily_bin1048.fits
.....................!
real 191.31
user 185.73
sys 5.22

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/868282/ft1_filtered_4FGL_J2325.4-3559_daily_bin1048.fits scfile=/scratch/kocevski/868282/ft2_4FGL_J2325.4-3559_daily_bin1048.fits outfile=/scratch/kocevski/868282/cmap_510969601_511228801_4FGL_J2325.4-3559_daily_bin1048.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/868282/ft1_filtered_4FGL_J2325.4-3559_daily_bin1048.fits scfile=/scratch/kocevski/868282/ft2_4FGL_J2325.4-3559_daily_bin1048.fits outfile=/scratch/kocevski/868282/cmap_HighResolution_510969601_511228801_4FGL_J2325.4-3559_daily_bin1048.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/868282/ft1_filtered_4FGL_J2325.4-3559_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/868282/ft2_4FGL_J2325.4-3559_daily_bin1048.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868282/Model_4FGL_J2325.4-3559_daily_bin1048.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/868282/ft1_filtered_4FGL_J2325.4-3559_daily_bin1048.fits.....................!
real 48.32
user 46.91
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10823E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.122       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.7269       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.711       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4588       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7357       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.8057       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.220       1.0000         .10000E-03   10000.    
    12 'norm      '    .23672       1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.883       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .71225E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.5303       1.0000         .10000E-03   10000.    
    18 'Prefactor '    47.197       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .17549E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    8.3340       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .16551E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .12374       1.0000         .10000E-03   10000.    
    23 'Prefactor '    22.752       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .55538E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .88009       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .93311       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=   7053.095     FROM MIGRAD    STATUS=CONVERGED    789 CALLS     3839 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    108.05       -.11327E-05** at limit **
   2  Prefactor     .10000E-03    .89984       -.24101E-06** at limit **
   3  Prefactor     11.122        11.306        .27638E-06    .69353E-06
   4  Prefactor     6.7350        64.338       -.16148E-05   -.41363E-05
   5  Prefactor     26.716        17.589        .49874E-07   -.16385E-04
   6  Prefactor     .10000E-03    9.8001        .36249E-06** at limit **
   7  Prefactor     3.4639        9.2532       -.42535E-05    .18802E-04
   8  Prefactor     4.7366        4.4742        .52952E-07    .50914E-04
   9  norm          .10000E-03    1.1624       -.42627E-08** at limit **
  10  Prefactor     6.8047        10.957       -.31468E-06    .11997E-03
  11  Prefactor     11.220        10.356        .37235E-06    .52998E-03
  12  norm          .23665        .51395        .11250E-06    .21738E-02
  13  Prefactor     36.905        53.614        .17309E-06   -.13656E-04
  14  Prefactor     .10000E-03    8.8373       -.96997E-06** at limit **
  15  norm          .10000E-03    14.979        .18033E-06** at limit **
  16  norm          .10000E-03    1.7146        .39745E-07** at limit **
  17  norm          7.5321        6.0972       -.11951E-06   -.12294E-03
  18  Prefactor     47.192        33.032       -.55646E-06   -.13364E-03
  19  Prefactor     .10001E-03    129.77        .12819E-04** at limit **
  20  norm          8.3314        4.5286       -.10910E-07   -.33933E-03
  21  Prefactor     .10698E-03    10.049       -.25319E-05** at limit **
  22  norm          .14317        1.6881        .20585E-07   -.46989E-04
  23  Prefactor     22.704        60.738       -.19496E-05   -.10632E-04
  24  Prefactor     .10000E-03    14.108       -.13976E-06** at limit **
  25  Prefactor     .36105E-01    2.1406        .10332E-05   -.40368E-03
  26  Prefactor     .10000E-03    5.0006        .33765E-06** at limit **
  27  Prefactor     .10000E-03    14.342        .35094E-06** at limit **
  28  Normalizat    .87990        .15640        .14885E-05   -.12069E-03
  29  Prefactor     .93309        .16578       -.13039E-05   -.14301E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 11.1222
  Prefactor  = 6.73495
  Prefactor  = 26.7156
  Prefactor  = 0.0001
  Prefactor  = 3.46388
  Prefactor  = 4.73659
  norm       = 0.0001
  Prefactor  = 6.80472
  Prefactor  = 11.2197
  norm       = 0.23665
  Prefactor  = 36.9055
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.53208
  Prefactor  = 47.1925
  Prefactor  = 0.000100006
  norm       = 8.33143
  Prefactor  = 0.000106982
  norm       = 0.143173
  Prefactor  = 22.7042
  Prefactor  = 0.0001
  Prefactor  = 0.0361051
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.8799
  Prefactor  = 0.933086
 **********
 **   18 **HESSE 
 **********

 FCN=   7053.095     FROM HESSE     STATUS=OK           591 CALLS     4430 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    108.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .92103        .77941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.122        11.295        .12013E-03   -1.5041    
   4  Prefactor     6.7350        64.266        .15471E-03   -1.5189    
   5  Prefactor     26.716        17.602        .77512E-04   -1.4674    
   6  Prefactor     .10000E-03    9.8483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4639        9.3005        .10873E-02   -1.5336    
   8  Prefactor     4.7366        4.4769        .16664E-03   -1.5273    
   9  norm          .10000E-03    1.1725        .88399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8047        11.066        .15380E-03   -1.5186    
  11  Prefactor     11.220        11.722        .11960E-03   -1.5038    
  12  norm          .23665        .46955        .67467E-03   -1.5611    
  13  Prefactor     36.905        53.682        .65992E-04   -1.4492    
  14  Prefactor     .10000E-03    12.455        .59934E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    15.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.7192        .10735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.5321        6.0877        .14615E-03   -1.5159    
  18  Prefactor     47.192        33.093        .58365E-04   -1.4333    
  19  Prefactor     .10001E-03    125.85        .65157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          8.3314        4.5452        .10853E-03   -1.5131    
  21  Prefactor     .10698E-03    9.2607        .77327E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .14317        16.094        .20038E-02   -1.5632    
  23  Prefactor     22.704        60.762        .83975E-04   -1.4755    
  24  Prefactor     .10000E-03    14.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36105E-01    3.4728        .38577E-01   -1.5670    
  26  Prefactor     .10000E-03    5.2350        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    14.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .87990        .18393        .22650E-03   -.97170    
  29  Prefactor     .93309        .19770        .24809E-03   -.94994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12138e-08
Minuit parameter uncertainties:
  1  0.00144856
  2  1.43528e-05
  3  11.297
  4  41.6676
  5  17.6051
  6  7.0348e-05
  7  9.30438
  8  4.4772
  9  1.76487e-06
  10  11.0694
  11  11.7248
  12  0.469561
  13  53.7522
  14  0.000110573
  15  6.77296e-05
  16  3.55076e-06
  17  6.0882
  18  33.1059
  19  0.00174284
  20  4.54541
  21  0.016084
  22  3.03569
  23  60.9279
  24  2.34552e-05
  25  0.707254
  26  4.41615e-05
  27  6.53746e-06
  28  0.184058
  29  0.197855
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.532e+00  6.088e+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.331e-01  1.979e-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:  8.799e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.32
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 9.41e-06 +/- 7.61e-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) = 7053.09059166
delta logL = 0.00392142068722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7053.08624077
delta logL = 0.00827231283802

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1902       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3361       1.0000          .0000       5.0000    
     3 'Normalizat'    .87079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93778       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7053.086     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      250 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1823        6.5055        .70045E-03   -.91702E-05
   2  alpha         2.3337        1.2678        .26429E-01    .68106E-05
   3  Normalizat    .87111        .18315        .22750E-03   -.44426E-04
   4  Prefactor     .93757        .19659        .24752E-03   -.50248E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.18227
  alpha      = 2.33368
  Normalizat = 0.871108
  Prefactor  = 0.93757
 **********
 **   18 **HESSE 
 **********

 FCN=   7053.086     FROM HESSE     STATUS=OK            27 CALLS      277 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1823        6.7448        .28018E-04   -1.5136    
   2  alpha         2.3337        1.3058        .10572E-02   -.66578E-01
   3  Normalizat    .87111        .18386        .90999E-05   -.97483    
   4  Prefactor     .93757        .19686        .99008E-05   -.94840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15596e-11
Minuit parameter uncertainties:
  1  6.74544
  2  1.37428
  3  0.183989
  4  0.197005
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868282': 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) = 7053.08623838
delta logL = 0.0082747044089

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  8.182e+00  6.745e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.334e+00  1.374e+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:  9.376e-01  1.970e-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:  8.711e-01  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.33
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.33 +/- 1.37
Photon Flux (Free Index): 3.07e-08 +/- 5.65e-08
Energy Flux (Free Index): 1.01e-05 +/- 9.03e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/868282/cmap_HighResolution_510969601_511228801_4FGL_J2325.4-3559_daily_bin1048.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.01e-05', photon_flux_error='1.90e-08', dlogl='8.27e-03', energy_flux='9.41e-06', photon_flux2='3.07e-08', job_status='DONE', time_completed='2021-09-29 17:56:55.973822', photon_index_error2='1.37', photon_index2='2.33', ts='5.32', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='9.03e-06', EG='0.88', time_epoch_completed='1632963415.97', return_code='0', job_id='868282', GAL2='0.94', EG2='0.87', return_code2='0', energy_flux_error='7.61e-06', photon_flux_error2='5.65e-08', ts2='5.33', photon_index='2.13' WHERE bin_id='1048' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:56:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 868282: <4FGL_J2325.4-3559_daily_bin1048> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1048> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:42 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:43 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:43 2021
Terminated at Wed Sep 29 17:56:56 2021
Results reported at Wed Sep 29 17:56:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1048 351.359 -35.9878 510969601 511228801 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 :                                   792.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            974 sec.

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

