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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1308
RA = 351.359, Dec = -35.9878
tmin = 578361601, tmax = 578620801
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='869657', job_status='RUN', time_executed='2021-09-29 17:47:11.358521', time_epoch_executed='1632962831.36' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1308'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869657

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869657/ft1_4FGL_J2325.4-3559_daily_bin1308.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869657/ft2_4FGL_J2325.4-3559_daily_bin1308.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869657/ft1_4FGL_J2325.4-3559_daily_bin1308.fits outfile=/scratch/kocevski/869657/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1308.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=578361601.0 tmax=578620801.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.65
user 3.41
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869657/ft1_filtered_4FGL_J2325.4-3559_daily_bin1308.fits" evtable="EVENTS" scfile=/scratch/kocevski/869657/ft2_4FGL_J2325.4-3559_daily_bin1308.fits sctable="SC_DATA" outfile=/scratch/kocevski/869657/ltcube_578361601_578620801_4FGL_J2325.4-3559_daily_bin1308.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/869657/ft2_4FGL_J2325.4-3559_daily_bin1308.fits
.....................!
real 11.79
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869657/ft1_filtered_4FGL_J2325.4-3559_daily_bin1308.fits evtable="EVENTS" scfile=/scratch/kocevski/869657/ft2_4FGL_J2325.4-3559_daily_bin1308.fits sctable="SC_DATA" expcube=/scratch/kocevski/869657/ltcube_578361601_578620801_4FGL_J2325.4-3559_daily_bin1308.fits outfile=/scratch/kocevski/869657/expmap_578361601_578620801_4FGL_J2325.4-3559_daily_bin1308.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/869657/ltcube_578361601_578620801_4FGL_J2325.4-3559_daily_bin1308.fits
.....................!
real 190.13
user 184.89
sys 4.89

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/869657/ft1_filtered_4FGL_J2325.4-3559_daily_bin1308.fits scfile=/scratch/kocevski/869657/ft2_4FGL_J2325.4-3559_daily_bin1308.fits outfile=/scratch/kocevski/869657/cmap_578361601_578620801_4FGL_J2325.4-3559_daily_bin1308.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/869657/ft1_filtered_4FGL_J2325.4-3559_daily_bin1308.fits scfile=/scratch/kocevski/869657/ft2_4FGL_J2325.4-3559_daily_bin1308.fits outfile=/scratch/kocevski/869657/cmap_HighResolution_578361601_578620801_4FGL_J2325.4-3559_daily_bin1308.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/869657/ft1_filtered_4FGL_J2325.4-3559_daily_bin1308.fits evtable="EVENTS" scfile=/scratch/kocevski/869657/ft2_4FGL_J2325.4-3559_daily_bin1308.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/869657/Model_4FGL_J2325.4-3559_daily_bin1308.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/869657/ft1_filtered_4FGL_J2325.4-3559_daily_bin1308.fits.....................!
real 40.16
user 38.81
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.781       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    46.071       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.487       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.974       1.0000         .10000E-03   10000.    
    12 'norm      '    3.2922       1.0000         .10000E-03   10000.    
    13 'Prefactor '    76.048       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.8375       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.6808       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    61.331       1.0000         .10000E-03   10000.    
    19 'Prefactor '    70.145       1.0000         .10000E-03   10000.    
    20 'norm      '    5.8089       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14827E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .95423       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.7003       1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.2473       1.0000         .10000E-03   10000.    
    27 'Prefactor '    64.822       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .88242       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0062       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4982.372     FROM MIGRAD    STATUS=CONVERGED    202 CALLS     3255 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.826        11.842        .79016E-06    .47569E-02
   2  Prefactor     .10000E-03    2.7869       -.78833E-07** at limit **
   3  Prefactor     .10000E-03    8.5538        .39761E-07** at limit **
   4  Prefactor     46.112        5.5030        .42329E-07    .10909E-02
   5  Prefactor     .10000E-03    10.217       -.22432E-05** at limit **
   6  Prefactor     .10000E-03    7.3035        .77254E-06** at limit **
   7  Prefactor     18.511        16.628        .74716E-06    .29264E-03
   8  Prefactor     .10000E-03    3.9056        .31841E-05** at limit **
   9  norm          .10000E-03    8.0414       -.15199E-05** at limit **
  10  Prefactor     .10000E-03    14.103       -.21324E-05** at limit **
  11  Prefactor     12.975        18.743        .67116E-06    .11988E-03
  12  norm          3.2920        1.3479       -.42525E-06    .81416E-04
  13  Prefactor     76.112        5.2349        .53873E-07   -.51640E-03
  14  Prefactor     6.8493        17.865       -.19487E-05   -.35795E-04
  15  norm          .10000E-03    3.8250       -.21706E-05** at limit **
  16  norm          4.6798        4.4084       -.11371E-06   -.18297E-05
  17  norm          .10000E-03    5.6900       -.13594E-05** at limit **
  18  Prefactor     61.534        45.065       -.14090E-05    .79160E-02
  19  Prefactor     70.188        29.116        .95510E-06    .83869E-02
  20  norm          5.8021        7.1777        .37557E-06   -.20858E-03
  21  Prefactor     .10000E-03    6.5188        .10215E-05** at limit **
  22  norm          .10000E-03    2.9467       -.49632E-06** at limit **
  23  Prefactor     2.1956        441.22        .13578E-04   -.11041E-03
  24  Prefactor     .92101        285.61        .40319E-04   -.10596E-05
  25  Prefactor     2.7073        6.7067        .78496E-06    .92831E-05
  26  Prefactor     1.2490        3.5492       -.46690E-06    .10776E-05
  27  Prefactor     64.852        27.307       -.25994E-06   -.72922E-03
  28  Normalizat    .88168        .24008        .35234E-06    .39444E-05
  29  Prefactor     1.0062        .25107       -.71399E-06    .23934E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.1119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.5113
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9745
  norm       = 3.29196
  Prefactor  = 76.1119
  Prefactor  = 6.84934
  norm       = 0.0001
  norm       = 4.67981
  norm       = 0.0001
  Prefactor  = 61.5341
  Prefactor  = 70.1879
  norm       = 5.8021
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.19559
  Prefactor  = 0.921015
  Prefactor  = 2.7073
  Prefactor  = 1.24903
  Prefactor  = 64.8521
  Normalizat = 0.881682
  Prefactor  = 1.00616
 **********
 **   18 **HESSE 
 **********

 FCN=   4982.372     FROM HESSE     STATUS=OK           621 CALLS     3876 TOTAL
                     EDM=   .91E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.826        39.415        .24443E-02   -1.4887    
   2  Prefactor     .10000E-03    2.7460        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.5247        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     46.112        50.204        .14768E-02   -1.4349    
   5  Prefactor     .10000E-03    10.216        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.2802        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.511        16.703        .23288E-02   -1.4847    
   8  Prefactor     .10000E-03    3.8830        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.3905        .46500E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.070        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.975        19.115        .27802E-02   -1.4987    
  12  norm          3.2920        1.2941        .55786E-02   -1.5345    
  13  Prefactor     76.112        67.145        .11511E-02   -1.3961    
  14  Prefactor     6.8493        18.220        .38359E-02   -1.5184    
  15  norm          .10000E-03    3.8250        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.6798        4.4138        .46501E-02   -1.5275    
  17  norm          .10000E-03    5.6503        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     61.534        75.418        .12809E-02   -1.4137    
  19  Prefactor     70.188        51.064        .11982E-02   -1.4030    
  20  norm          5.8021        8.9708        .41659E-02   -1.5226    
  21  Prefactor     .10000E-03    6.4886        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.9164        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.1956        429.31        .90970E-02   -1.5412    
  24  Prefactor     .92101        27.912        .19996       -1.5516    
  25  Prefactor     2.7073        7.0028        .61975E-02   -1.5379    
  26  Prefactor     1.2490        3.6153        .10019E-01   -1.5484    
  27  Prefactor     64.852        59.063        .12461E-02   -1.4096    
  28  Normalizat    .88168        .21276        .44677E-01   -.97107    
  29  Prefactor     1.0062        .21528        .43960E-01   -.92525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.052e-07
Minuit parameter uncertainties:
  1  39.476
  2  1.77027e-07
  3  1.08541e-05
  4  50.2501
  5  1.23529e-05
  6  9.47609e-07
  7  16.7074
  8  4.46009e-06
  9  5.5704e-08
  10  1.38436e-05
  11  19.1241
  12  1.2941
  13  67.2117
  14  18.2344
  15  2.99382e-06
  16  4.41412
  17  1.03292e-06
  18  75.5355
  19  51.0959
  20  8.97288
  21  6.15612e-07
  22  8.37813e-07
  23  61.857
  24  10.1451
  25  7.00495
  26  3.61596
  27  59.1164
  28  0.212962
  29  0.215468
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  1.033e-06  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.006e+00  2.155e-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.817e-01  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 6.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/869657/likelihoodResults_578361601_578620801_4FGL_J2325.4-3559_daily_bin1308.txt

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): 102
logL (Free Index) = 4982.37275157
delta logL = -0.00083660547898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4982.37191508
delta logL = -1.16991941468e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10403E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1552       1.0000          .0000       5.0000    
     3 'Normalizat'    .88172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0061       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=   4982.241     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      292 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27273        21.081        .15513E-01    .13228E-02
   2  alpha         5.0000        4.5083        .50000    ** at limit **
   3  Normalizat    .83919        .59963E-01    .25712E-03    .12367E-03
   4  Prefactor     1.0338        .59256E-01    .26298E-03    .16426E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.272731
  alpha      = 5
  Normalizat = 0.839194
  Prefactor  = 1.03384
 **********
 **   18 **HESSE 
 **********

 FCN=   4982.241     FROM HESSE     STATUS=OK            33 CALLS      325 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27273        .68493        .65989E-03   -1.5604    
   2  alpha         5.0000        4.9421        .50000        39.270    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .83919        .24288        .10285E-04   -.98631    
   4  Prefactor     1.0338        .25384        .52595E-04   -.91610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51675e-09
Minuit parameter uncertainties:
  1  0.684945
  2  9.88033e-05
  3  0.243199
  4  0.254137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869657': 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) = 4982.24051451
delta logL = 0.131400459392

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.727e-01  6.849e-01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  5.000e+00  9.880e-05  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.034e+00  2.541e-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.392e-01  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.359 -35.988

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/869657/cmap_HighResolution_578361601_578620801_4FGL_J2325.4-3559_daily_bin1308.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.43e-05', job_status='DONE', photon_flux_upper_limit='6.06e-08', time_completed='2021-09-29 18:01:07.891240', job_id='869657', GAL2='1.03', fit_tolerance='1e-08', EG2='0.84', EG='0.88', time_epoch_completed='1632963667.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.31e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1308' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:01:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 869657: <4FGL_J2325.4-3559_daily_bin1308> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1308 351.359 -35.9878 578361601 578620801 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 :                                   695.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             233.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            933 sec.

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

