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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin749
RA = 351.359, Dec = -35.9878
tmin = 433468801, tmax = 433728001
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='866725', job_status='RUN', time_executed='2021-09-29 17:39:23.425813', time_epoch_executed='1632962363.43' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866725

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866725/ft1_4FGL_J2325.4-3559_daily_bin749.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866725/ft2_4FGL_J2325.4-3559_daily_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866725/ft1_4FGL_J2325.4-3559_daily_bin749.fits outfile=/scratch/kocevski/866725/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin749.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=433468801.0 tmax=433728001.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 6.01
user 5.66
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866725/ft1_filtered_4FGL_J2325.4-3559_daily_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/866725/ft2_4FGL_J2325.4-3559_daily_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/866725/ltcube_433468801_433728001_4FGL_J2325.4-3559_daily_bin749.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/866725/ft2_4FGL_J2325.4-3559_daily_bin749.fits
.....................!
real 12.14
user 11.76
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866725/ft1_filtered_4FGL_J2325.4-3559_daily_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/866725/ft2_4FGL_J2325.4-3559_daily_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/866725/ltcube_433468801_433728001_4FGL_J2325.4-3559_daily_bin749.fits outfile=/scratch/kocevski/866725/expmap_433468801_433728001_4FGL_J2325.4-3559_daily_bin749.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/866725/ltcube_433468801_433728001_4FGL_J2325.4-3559_daily_bin749.fits
.....................!
real 190.33
user 184.78
sys 5.19

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/866725/ft1_filtered_4FGL_J2325.4-3559_daily_bin749.fits scfile=/scratch/kocevski/866725/ft2_4FGL_J2325.4-3559_daily_bin749.fits outfile=/scratch/kocevski/866725/cmap_433468801_433728001_4FGL_J2325.4-3559_daily_bin749.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866725/ft1_filtered_4FGL_J2325.4-3559_daily_bin749.fits scfile=/scratch/kocevski/866725/ft2_4FGL_J2325.4-3559_daily_bin749.fits outfile=/scratch/kocevski/866725/cmap_HighResolution_433468801_433728001_4FGL_J2325.4-3559_daily_bin749.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/866725/ft1_filtered_4FGL_J2325.4-3559_daily_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/866725/ft2_4FGL_J2325.4-3559_daily_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866725/Model_4FGL_J2325.4-3559_daily_bin749.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/866725/ft1_filtered_4FGL_J2325.4-3559_daily_bin749.fits.....................!
real 33.14
user 31.79
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40617E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3860       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .41486E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.525       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .50719E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.496       1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.896       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.1203       1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.590       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9674       1.0000         .10000E-03   10000.    
    12 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .27337E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11961E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    25.985       1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.838       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13313E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    12.352       1.0000         .10000E-03   10000.    
    21 'Prefactor '    37.519       1.0000         .10000E-03   10000.    
    22 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .18912E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .84052E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.2627       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.9361       1.0000         .10000E-03   10000.    
    27 'Prefactor '    33.455       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .70159       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1577       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=   3812.352     FROM MIGRAD    STATUS=CONVERGED    819 CALLS     3325 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    42.909       -.79874E-06** at limit **
   2  Prefactor     2.3951        3.1680        .39493E-06   -.69478E-04
   3  Prefactor     .10000E-03    8.3842        .15191E-06** at limit **
   4  Prefactor     19.096        73.190        .24693E-05   -.55232E-06
   5  Prefactor     .10001E-03    84.466        .24271E-05** at limit **
   6  Prefactor     34.597        32.897       -.72784E-05   -.34623E-03
   7  Prefactor     32.781        20.785        .13001E-07    .61506E-04
   8  Prefactor     .10000E-03    6.5821        .50262E-06** at limit **
   9  norm          5.1395        7.5183       -.15500E-05   -.16517E-03
  10  Prefactor     31.137        33.361       -.10714E-04   -.16021E-03
  11  Prefactor     3.0637        20.532        .22673E-04   -.43961E-03
  12  norm          .10000E-03    .28216       -.19148E-08** at limit **
  13  Prefactor     .10000E-03    43.876        .81263E-06** at limit **
  14  Prefactor     .10000E-03    4.2005        .20726E-07** at limit **
  15  norm          .10000E-03    6.8517       -.33994E-07** at limit **
  16  norm          .10000E-03    2.6790        .23253E-07** at limit **
  17  norm          26.378        12.973        .31048E-07   -.51736E-04
  18  Prefactor     27.816        48.393        .49427E-05    .70021E-04
  19  Prefactor     .10000E-03    39.085       -.23665E-06** at limit **
  20  norm          12.326        7.1454       -.46507E-06    .26762E-04
  21  Prefactor     38.409        23.564       -.29185E-06   -.36019E-04
  22  norm          .10000E-03    2.1554       -.35978E-06** at limit **
  23  Prefactor     .10000E-03    23.817        .37618E-08** at limit **
  24  Prefactor     .10004E-03    301.39        .18897E-04** at limit **
  25  Prefactor     1.2800        11.129        .50433E-05    .16111E-03
  26  Prefactor     2.9320        3.4001        .18684E-07   -.92507E-05
  27  Prefactor     33.105        60.358       -.93542E-05   -.32188E-03
  28  Normalizat    .69800        .22025       -.22957E-05   -.30907E-03
  29  Prefactor     1.1607        .23348        .51823E-06   -.38251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.39509
  Prefactor  = 0.0001
  Prefactor  = 19.096
  Prefactor  = 0.000100006
  Prefactor  = 34.5975
  Prefactor  = 32.7811
  Prefactor  = 0.0001
  norm       = 5.13949
  Prefactor  = 31.1371
  Prefactor  = 3.06372
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 26.3779
  Prefactor  = 27.8155
  Prefactor  = 0.0001
  norm       = 12.3256
  Prefactor  = 38.4088
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100041
  Prefactor  = 1.28004
  Prefactor  = 2.93199
  Prefactor  = 33.1046
  Normalizat = 0.697999
  Prefactor  = 1.16066
 **********
 **   18 **HESSE 
 **********

 FCN=   3812.352     FROM HESSE     STATUS=OK           541 CALLS     3866 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.974        .18448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3951        3.1465        .11979E-03   -1.5398    
   3  Prefactor     .10000E-03    8.3897        .17461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.096        73.259        .82586E-04   -1.4834    
   5  Prefactor     .10001E-03    85.644        .18547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.597        32.727        .68230E-04   -1.4531    
   7  Prefactor     32.781        20.912        .69864E-04   -1.4562    
   8  Prefactor     .10000E-03    6.6131        .15471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.1395        7.5246        .16642E-03   -1.5255    
  10  Prefactor     31.137        33.879        .69141E-04   -1.4591    
  11  Prefactor     3.0637        21.720        .14783E-02   -1.5358    
  12  norm          .10000E-03    .28772        .63581E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    43.901        .18318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.2148        .12358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.8559        .15786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.6805        .98668E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          26.378        12.983        .78586E-04   -1.4680    
  18  Prefactor     27.816        48.627        .77329E-04   -1.4653    
  19  Prefactor     .10000E-03    39.184        .20562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          12.326        7.1456        .10299E-03   -1.5006    
  21  Prefactor     38.409        23.565        .65432E-04   -1.4468    
  22  norm          .10000E-03    2.1661        .88473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    23.818        .20278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10004E-03    307.93        .18870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.2800        10.511        .33126E-03   -1.5482    
  26  Prefactor     2.9320        3.3992        .11940E-03   -1.5365    
  27  Prefactor     33.105        59.441        .69280E-04   -1.4557    
  28  Normalizat    .69800        .26628        .26745E-03   -1.0397    
  29  Prefactor     1.1607        .28296        .24265E-03   -.87551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35829e-09
Minuit parameter uncertainties:
  1  0.000113528
  2  3.14673
  3  2.51418e-05
  4  73.6076
  5  0.00137539
  6  32.7435
  7  20.9171
  8  6.7196e-05
  9  7.52599
  10  33.9001
  11  16.3232
  12  3.85447e-06
  13  0.000100972
  14  8.38114e-06
  15  3.69386e-06
  16  1.84506e-06
  17  12.9843
  18  48.6964
  19  4.18041e-05
  20  7.14607
  21  23.571
  22  2.59464e-05
  23  1.69568e-06
  24  0.00715453
  25  7.33764
  26  3.39944
  27  59.5476
  28  0.266774
  29  0.283326
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.638e+01  1.298e+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:  1.161e+00  2.833e-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:  6.980e-01  2.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.49
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 8.21e-08 +/- 4.04e-08
Energy Flux (Fixed Index): 3.30e-05 +/- 1.62e-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) = 3812.22876169
delta logL = 0.122754483887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3812.22511252
delta logL = 0.126403661214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.054       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4092       1.0000          .0000       5.0000    
     3 'Normalizat'    .67244       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1774       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=   3812.225     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      262 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.066        239.77        .20007E-02    .26417E-03
   2  alpha         2.4098        3.1590        .26458        .24484E-04
   3  Normalizat    .67280        .21423        .61443E-01    .11392E-04
   4  Prefactor     1.1769        .17086        .54523E-01   -.28616E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 25.0663
  alpha      = 2.40975
  Normalizat = 0.672801
  Prefactor  = 1.17686
 **********
 **   18 **HESSE 
 **********

 FCN=   3812.225     FROM HESSE     STATUS=OK            33 CALLS      295 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.066        12.723        .40015E-03   -1.4706    
   2  alpha         2.4098        .55821        .10720E-01   -.36107E-01
   3  Normalizat    .67280        .24568        .27181E-03   -1.0498    
   4  Prefactor     1.1769        .27743        .24107E-03   -.87046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24795e-10
Minuit parameter uncertainties:
  1  12.7239
  2  0.562966
  3  0.246083
  4  0.277773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866725': 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) = 3812.22510867
delta logL = 0.126407508742

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.507e+01  1.272e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.410e+00  5.630e-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:  1.177e+00  2.778e-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:  6.728e-01  2.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.67
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.41 +/- 0.56
Photon Flux (Free Index): 1.01e-07 +/- 5.80e-08
Energy Flux (Free Index): 3.14e-05 +/- 1.47e-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/866725/cmap_HighResolution_433468801_433728001_4FGL_J2325.4-3559_daily_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.21e-08', energy_flux2='3.14e-05', photon_flux_error='4.04e-08', dlogl='1.26e-01', energy_flux='3.30e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-29 17:48:46.234911', photon_index_error2='0.56', photon_index2='2.41', ts='12.49', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='1.47e-05', EG='0.70', time_epoch_completed='1632962926.23', return_code='0', job_id='866725', GAL2='1.18', EG2='0.67', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='5.80e-08', ts2='12.67', photon_index='2.13' WHERE bin_id='749' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:48:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 866725: <4FGL_J2325.4-3559_daily_bin749> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:35:30 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:35: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:35:32 2021
Terminated at Wed Sep 29 17:48:46 2021
Results reported at Wed Sep 29 17:48:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin749 351.359 -35.9878 433468801 433728001 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 :                                   561.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            796 sec.

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

