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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin535
RA = 351.359, Dec = -35.9878
tmin = 378000001, tmax = 378259201
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='865281', job_status='RUN', time_executed='2021-09-29 17:34:36.035076', time_epoch_executed='1632962076.04' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865281

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865281/ft1_4FGL_J2325.4-3559_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865281/ft2_4FGL_J2325.4-3559_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865281/ft1_4FGL_J2325.4-3559_daily_bin535.fits outfile=/scratch/kocevski/865281/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin535.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=378000001.0 tmax=378259201.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 2.63
user 2.41
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/865281/ft2_4FGL_J2325.4-3559_daily_bin535.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/865281/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin535.fits evtable="EVENTS" outfile="/scratch/kocevski/865281/ft1_filtered_4FGL_J2325.4-3559_daily_bin535.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.41
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865281/ft1_filtered_4FGL_J2325.4-3559_daily_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/865281/ft2_4FGL_J2325.4-3559_daily_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/865281/ltcube_378000001_378259201_4FGL_J2325.4-3559_daily_bin535.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/865281/ft2_4FGL_J2325.4-3559_daily_bin535.fits
.....................!
real 8.89
user 8.59
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865281/ft1_filtered_4FGL_J2325.4-3559_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/865281/ft2_4FGL_J2325.4-3559_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/865281/ltcube_378000001_378259201_4FGL_J2325.4-3559_daily_bin535.fits outfile=/scratch/kocevski/865281/expmap_378000001_378259201_4FGL_J2325.4-3559_daily_bin535.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/865281/ltcube_378000001_378259201_4FGL_J2325.4-3559_daily_bin535.fits
.....................!
real 139.40
user 135.82
sys 3.34

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/865281/ft1_filtered_4FGL_J2325.4-3559_daily_bin535.fits scfile=/scratch/kocevski/865281/ft2_4FGL_J2325.4-3559_daily_bin535.fits outfile=/scratch/kocevski/865281/cmap_378000001_378259201_4FGL_J2325.4-3559_daily_bin535.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.45
user 0.29
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865281/ft1_filtered_4FGL_J2325.4-3559_daily_bin535.fits scfile=/scratch/kocevski/865281/ft2_4FGL_J2325.4-3559_daily_bin535.fits outfile=/scratch/kocevski/865281/cmap_HighResolution_378000001_378259201_4FGL_J2325.4-3559_daily_bin535.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.44
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/865281/ft1_filtered_4FGL_J2325.4-3559_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/865281/ft2_4FGL_J2325.4-3559_daily_bin535.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/865281/Model_4FGL_J2325.4-3559_daily_bin535.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/865281/ft1_filtered_4FGL_J2325.4-3559_daily_bin535.fits.....................!
real 36.20
user 34.50
sys 1.04

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10528E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.675       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.592       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3632       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .76701E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.731       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.1893       1.0000         .10000E-03   10000.    
    13 'Prefactor '    66.910       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .34044E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    5.6895       1.0000         .10000E-03   10000.    
    16 'norm      '    1.9004       1.0000         .10000E-03   10000.    
    17 'norm      '    12.594       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1870       1.0000         .10000E-03   10000.    
    20 'norm      '    .68717E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.1700       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .12538E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.4322       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .82225       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .94371       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=   6633.288     FROM MIGRAD    STATUS=CONVERGED   1335 CALLS     4490 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    59.724        .18142E-02** at limit **
   2  Prefactor     .10000E-03    3.0951        .19888E-02** at limit **
   3  Prefactor     .10000E-03    3.9421        .15791E-02** at limit **
   4  Prefactor     10.655        37.734        .12263E-03   -.49136E-05
   5  Prefactor     39.589        19.640        .63702E-04    .48186E-05
   6  Prefactor     .10000E-03    5.3151        .18142E-02** at limit **
   7  Prefactor     4.3614        8.7501        .96413E-03   -.16037E-04
   8  Prefactor     .10006E-03    4.5323        .50098E-01** at limit **
   9  norm          .10000E-03    1.0301        .80516E-03** at limit **
  10  Prefactor     11.733        10.348        .11696E-03    .62792E-04
  11  Prefactor     .10000E-03    10.070        .36285E-03** at limit **
  12  norm          2.1898        .67530        .33719E-04    .48754E-03
  13  Prefactor     66.904        50.457        .49067E-04    .12975E-05
  14  Prefactor     .10029E-03    67.412        .39844E-02** at limit **
  15  norm          5.6879        9.4415        .84201E-03   -.10140E-04
  16  norm          1.8998        2.9475        .16405E-03    .10160E-03
  17  norm          12.596        8.0270        .11288E-03    .40589E-04
  18  Prefactor     .10000E-03    14.155        .18142E-02** at limit **
  19  Prefactor     5.0791        61.779        .17651E-03   -.26923E-04
  20  norm          .10000E-03    2.1642        .34260E-01** at limit **
  21  Prefactor     .10000E-03    6.3402        .18142E-02** at limit **
  22  norm          .10000E-03    1.1011        .83094E-03** at limit **
  23  Prefactor     .10000E-03    24.999        .18142E-02** at limit **
  24  Prefactor     9.1512        45.101        .13235E-03   -.15032E-04
  25  Prefactor     .10000E-03    6.4060        .27573E-02** at limit **
  26  Prefactor     1.4302        4.2424        .27656E-03   -.26144E-04
  27  Prefactor     .10000E-03    9.9670        .18142E-02** at limit **
  28  Normalizat    .82223        .17453        .22422E-03   -.27126E-04
  29  Prefactor     .94394        .19476        .24024E-03   -.91807E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6554
  Prefactor  = 39.5887
  Prefactor  = 0.0001
  Prefactor  = 4.3614
  Prefactor  = 0.000100064
  norm       = 0.0001
  Prefactor  = 11.7332
  Prefactor  = 0.0001
  norm       = 2.1898
  Prefactor  = 66.9038
  Prefactor  = 0.000100285
  norm       = 5.68788
  norm       = 1.89981
  norm       = 12.5959
  Prefactor  = 0.0001
  Prefactor  = 5.07907
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.15116
  Prefactor  = 0.000100005
  Prefactor  = 1.43016
  Prefactor  = 0.0001
  Normalizat = 0.822226
  Prefactor  = 0.943941
 **********
 **   18 **HESSE 
 **********

 FCN=   6633.288     FROM HESSE     STATUS=OK           547 CALLS     5037 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    59.737        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.1060        .39776E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.9422        .31582E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.655        37.744        .49051E-05   -1.5055    
   5  Prefactor     39.589        19.640        .25481E-05   -1.4449    
   6  Prefactor     .10000E-03    5.3154        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3614        8.7462        .38565E-04   -1.5290    
   8  Prefactor     .10006E-03    4.4573        .50720E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.0301        .16103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.733        10.348        .23392E-04   -1.5023    
  11  Prefactor     .10000E-03    10.071        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1898        .67361        .13487E-05   -1.5412    
  13  Prefactor     66.904        50.455        .98133E-05   -1.4070    
  14  Prefactor     .10029E-03    69.424        .15937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.6879        9.4409        .33680E-04   -1.5231    
  16  norm          1.8998        2.9433        .65618E-05   -1.5432    
  17  norm          12.596        8.0265        .45151E-05   -1.4998    
  18  Prefactor     .10000E-03    14.157        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.0791        61.724        .70603E-05   -1.5257    
  20  norm          .10000E-03    2.0084        .36496E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.3409        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.1012        .16619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    24.999        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1512        45.059        .52940E-05   -1.5103    
  25  Prefactor     .10000E-03    6.4344        .55145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.4302        4.2417        .11063E-04   -1.5469    
  27  Prefactor     .10000E-03    9.9672        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .82223        .17469        .89690E-05   -.99249    
  29  Prefactor     .94394        .19498        .96094E-05   -.94622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96336e-09
Minuit parameter uncertainties:
  1  0.000161944
  2  1.84973e-05
  3  9.69483e-07
  4  37.8284
  5  19.6434
  6  8.49072e-07
  7  8.74875
  8  0.0010678
  9  2.49599e-06
  10  10.3491
  11  8.4225e-05
  12  0.673608
  13  50.4877
  14  0.00891332
  15  9.4434
  16  2.94351
  17  8.02722
  18  1.63036e-05
  19  35.457
  20  0.000140392
  21  5.99772e-06
  22  2.20427e-06
  23  2.5357e-06
  24  40.6615
  25  0.000356352
  26  4.24255
  27  1.0716e-06
  28  0.174808
  29  0.195123
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.260e+01  8.027e+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.439e-01  1.951e-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.222e-01  1.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.16
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 3.92e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.00e-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) = 6633.18229195
delta logL = 0.105920508508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6633.17633561
delta logL = 0.111876848117

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.834       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4362       1.0000          .0000       5.0000    
     3 'Normalizat'    .80740       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95454       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=   6633.176     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.830        157.94        .29113E-02    .91667E-04
   2  alpha         2.4369        3.2847        .41169        .26177E-04
   3  Normalizat    .80736        .82220E-01    .43707E-01    .15821E-04
   4  Prefactor     .95457        .71489E-01    .45696E-01    .92820E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.8302
  alpha      = 2.43689
  Normalizat = 0.807358
  Prefactor  = 0.954574
 **********
 **   18 **HESSE 
 **********

 FCN=   6633.176     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.830        8.0297        .11645E-03   -1.5020    
   2  alpha         2.4369        .67575        .15248E-01   -.25247E-01
   3  Normalizat    .80736        .17125        .22607E-03   -.99796    
   4  Prefactor     .95457        .19385        .23903E-03   -.94259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.23938e-10
Minuit parameter uncertainties:
  1  8.03044
  2  0.684264
  3  0.171365
  4  0.193989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865281': 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) = 6633.17633504
delta logL = 0.111877422288

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.546e-01  1.940e-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.074e-01  1.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.35
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.44 +/- 0.68
Photon Flux (Free Index): 4.92e-08 +/- 3.52e-08
Energy Flux (Free Index): 1.49e-05 +/- 9.26e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/865281/cmap_HighResolution_378000001_378259201_4FGL_J2325.4-3559_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.92e-08', energy_flux2='1.49e-05', photon_flux_error='2.50e-08', dlogl='1.12e-01', energy_flux='1.57e-05', photon_flux2='4.92e-08', job_status='DONE', time_completed='2021-09-29 17:44:43.226636', photon_index_error2='0.68', photon_index2='2.44', ts='4.16', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.26e-06', EG='0.82', time_epoch_completed='1632962683.23', return_code='0', job_id='865281', GAL2='0.95', EG2='0.81', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='3.52e-08', ts2='4.35', photon_index='2.13' WHERE bin_id='535' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:44:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 865281: <4FGL_J2325.4-3559_daily_bin535> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin535> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 17:30:33 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:30:34 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:30:34 2021
Terminated at Wed Sep 29 17:44:44 2021
Results reported at Wed Sep 29 17:44:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin535 351.359 -35.9878 378000001 378259201 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 :                                   604.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             241.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

