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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1465
RA = 351.359, Dec = -35.9878
tmin = 619056001, tmax = 619315201
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='869899', job_status='RUN', time_executed='2021-09-29 17:47:53.723645', time_epoch_executed='1632962873.72' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869899

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869899/ft1_4FGL_J2325.4-3559_daily_bin1465.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869899/ft2_4FGL_J2325.4-3559_daily_bin1465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869899/ft1_4FGL_J2325.4-3559_daily_bin1465.fits outfile=/scratch/kocevski/869899/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1465.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=619056001.0 tmax=619315201.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.58
user 3.37
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869899/ft1_filtered_4FGL_J2325.4-3559_daily_bin1465.fits" evtable="EVENTS" scfile=/scratch/kocevski/869899/ft2_4FGL_J2325.4-3559_daily_bin1465.fits sctable="SC_DATA" outfile=/scratch/kocevski/869899/ltcube_619056001_619315201_4FGL_J2325.4-3559_daily_bin1465.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/869899/ft2_4FGL_J2325.4-3559_daily_bin1465.fits
.....................!
real 11.90
user 11.56
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869899/ft1_filtered_4FGL_J2325.4-3559_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/869899/ft2_4FGL_J2325.4-3559_daily_bin1465.fits sctable="SC_DATA" expcube=/scratch/kocevski/869899/ltcube_619056001_619315201_4FGL_J2325.4-3559_daily_bin1465.fits outfile=/scratch/kocevski/869899/expmap_619056001_619315201_4FGL_J2325.4-3559_daily_bin1465.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/869899/ltcube_619056001_619315201_4FGL_J2325.4-3559_daily_bin1465.fits
.....................!
real 190.81
user 186.11
sys 4.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/869899/ft1_filtered_4FGL_J2325.4-3559_daily_bin1465.fits scfile=/scratch/kocevski/869899/ft2_4FGL_J2325.4-3559_daily_bin1465.fits outfile=/scratch/kocevski/869899/cmap_619056001_619315201_4FGL_J2325.4-3559_daily_bin1465.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/869899/ft1_filtered_4FGL_J2325.4-3559_daily_bin1465.fits scfile=/scratch/kocevski/869899/ft2_4FGL_J2325.4-3559_daily_bin1465.fits outfile=/scratch/kocevski/869899/cmap_HighResolution_619056001_619315201_4FGL_J2325.4-3559_daily_bin1465.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/869899/ft1_filtered_4FGL_J2325.4-3559_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/869899/ft2_4FGL_J2325.4-3559_daily_bin1465.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/869899/Model_4FGL_J2325.4-3559_daily_bin1465.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/869899/ft1_filtered_4FGL_J2325.4-3559_daily_bin1465.fits.....................!
real 34.68
user 33.29
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6636       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.843       1.0000         .10000E-03   10000.    
     4 'Prefactor '    129.57       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.064       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5511       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.337       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9311       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7082       1.0000         .10000E-03   10000.    
    13 'Prefactor '    76.728       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.279       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.9806       1.0000         .10000E-03   10000.    
    17 'norm      '    .10156E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.814       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .14205E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8060       1.0000         .10000E-03   10000.    
    22 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    102.28       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .27300E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .75749       1.0000         .10000E-03   10000.    
    27 'Prefactor '    55.731       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .96233       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .96326       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=   3964.521     FROM MIGRAD    STATUS=CONVERGED    712 CALLS     3694 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.116        .17334E-07** at limit **
   2  Prefactor     2.6629        3.4476       -.88378E-07    .85429E-04
   3  Prefactor     15.843        29.129       -.82161E-07    .49561E-04
   4  Prefactor     129.54        81.146       -.42160E-06    .52389E-04
   5  Prefactor     22.047        27.171       -.32724E-06    .46130E-04
   6  Prefactor     .10000E-03    13.913        .37727E-06** at limit **
   7  Prefactor     2.5490        17.132       -.49502E-06    .58913E-04
   8  Prefactor     .10000E-03    4.6133        .25481E-06** at limit **
   9  norm          .10000E-03    2.9235        .69585E-07** at limit **
  10  Prefactor     14.339        17.031        .19311E-06   -.87348E-05
  11  Prefactor     2.9282        32.154       -.15489E-05    .50051E-04
  12  norm          1.7082        1.0850        .46666E-07    .19712E-04
  13  Prefactor     76.663        68.575       -.69944E-06    .12742E-03
  14  Prefactor     15.273        24.876        .27229E-06    .14522E-05
  15  norm          .10000E-03    9.1788        .81996E-07** at limit **
  16  norm          4.9815        5.6907        .72505E-06    .72591E-03
  17  norm          .10000E-03    15.182        .78235E-06** at limit **
  18  Prefactor     10.786        36.612        .20363E-05    .24147E-03
  19  Prefactor     .10000E-03    27.930        .23404E-06** at limit **
  20  norm          .10000E-03    4.5776       -.20778E-05** at limit **
  21  Prefactor     7.7964        22.521       -.24280E-06    .36023E-04
  22  norm          .10000E-03    1.5415        .68300E-07** at limit **
  23  Prefactor     102.35        180.43       -.65030E-06   -.22184E-04
  24  Prefactor     .10000E-03    40.679        .16484E-06** at limit **
  25  Prefactor     .10001E-03    23.446        .66729E-05** at limit **
  26  Prefactor     .75789        5.1977       -.12975E-05    .26064E-03
  27  Prefactor     55.877        65.469        .21741E-05    .33509E-04
  28  Normalizat    .96270        .25145        .26155E-05    .36628E-03
  29  Prefactor     .96308        .25019       -.23691E-05    .29513E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.66289
  Prefactor  = 15.8425
  Prefactor  = 129.545
  Prefactor  = 22.0474
  Prefactor  = 0.0001
  Prefactor  = 2.54902
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.3389
  Prefactor  = 2.92816
  norm       = 1.70823
  Prefactor  = 76.6634
  Prefactor  = 15.2733
  norm       = 0.0001
  norm       = 4.98154
  norm       = 0.000100001
  Prefactor  = 10.7859
  Prefactor  = 0.0001
  norm       = 0.000100005
  Prefactor  = 7.7964
  norm       = 0.0001
  Prefactor  = 102.349
  Prefactor  = 0.000100001
  Prefactor  = 0.000100014
  Prefactor  = 0.757893
  Prefactor  = 55.8771
  Normalizat = 0.962702
  Prefactor  = 0.963081
 **********
 **   18 **HESSE 
 **********

 FCN=   3964.521     FROM HESSE     STATUS=OK           553 CALLS     4247 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6629        3.4341        .12509E-03   -1.5382    
   3  Prefactor     15.843        29.103        .10062E-03   -1.4912    
   4  Prefactor     129.54        81.140        .17685E-03   -1.3427    
   5  Prefactor     22.047        27.183        .85272E-04   -1.4769    
   6  Prefactor     .10000E-03    13.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5490        16.973        .12782E-02   -1.5389    
   8  Prefactor     .10000E-03    4.6335        .13209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.9341        .10501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.339        16.872        .10578E-03   -1.4950    
  11  Prefactor     2.9282        29.809        .11863E-02   -1.5366    
  12  norm          1.7082        1.0867        .42243E-04   -1.5447    
  13  Prefactor     76.663        68.416        .22921E-03   -1.3955    
  14  Prefactor     15.273        24.319        .10246E-03   -1.4926    
  15  norm          .10000E-03    9.1973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.9815        5.7074        .15024E-03   -1.5262    
  17  norm          .10000E-03    15.604        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.786        36.292        .12183E-03   -1.5051    
  19  Prefactor     .10000E-03    27.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    8.2381        .23924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.7964        22.524        .14352E-03   -1.5149    
  22  norm          .10000E-03    1.5447        .76305E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     102.35        180.58        .19878E-03   -1.3681    
  24  Prefactor     .10000E-03    40.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10001E-03    22.873        .28887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .75789        5.2966        .14040E-02   -1.5534    
  27  Prefactor     55.877        66.450        .26867E-03   -1.4212    
  28  Normalizat    .96270        .28439        .24662E-03   -.94291    
  29  Prefactor     .96308        .28648        .26458E-03   -.93970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5317e-09
Minuit parameter uncertainties:
  1  0.000111003
  2  3.4344
  3  29.1293
  4  81.2097
  5  27.1979
  6  1.24226e-05
  7  13.1602
  8  3.04286e-05
  9  6.59024e-06
  10  16.878
  11  18.697
  12  1.08668
  13  68.486
  14  24.3351
  15  3.14023e-05
  16  5.708
  17  0.000196068
  18  36.3664
  19  2.41529e-05
  20  0.000405486
  21  22.5486
  22  4.54045e-06
  23  181.567
  24  0.000314712
  25  0.00115063
  26  4.00737
  27  66.5388
  28  0.284839
  29  0.286932
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  1.961e-04  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.631e-01  2.869e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.627e-01  2.848e-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: 7.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/869899/likelihoodResults_619056001_619315201_4FGL_J2325.4-3559_daily_bin1465.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) = 3964.52119828
delta logL = -0.000305745793867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3964.52089247
delta logL = 6.10448296356e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11610E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1923       1.0000          .0000       5.0000    
     3 'Normalizat'    .96278       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96301       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=   3964.521     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      212 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    1682.7        .66506E-01** at limit **
   2  alpha         2.2711        3.2280        .41552       -.21179E-04
   3  Normalizat    .96270        .24716        .45699E-01    .16526E-04
   4  Prefactor     .96308        .20642        .45803E-01    .10502E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010003
  alpha      = 2.27113
  Normalizat = 0.9627
  Prefactor  = 0.963081
 **********
 **   18 **HESSE 
 **********

 FCN=   3964.521     FROM HESSE     STATUS=OK            35 CALLS      247 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    28.573        .34569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2711        3.5365        .50000       -.91676E-01
   3  Normalizat    .96270        .25642        .24663E-03   -.94291    
   4  Prefactor     .96308        .27648        .26457E-03   -.93970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52938e-09
Minuit parameter uncertainties:
  1  0.00185304
  2  2.68463
  3  0.256745
  4  0.276884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869899': 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) = 3964.52089133
delta logL = 1.20378581414e-06

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  1.853e-03  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.271e+00  2.685e+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.631e-01  2.769e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.627e-01  2.567e-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/869899/cmap_HighResolution_619056001_619315201_4FGL_J2325.4-3559_daily_bin1465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', job_status='DONE', photon_flux_upper_limit='7.68e-08', time_completed='2021-09-29 18:01:48.949869', job_id='869899', GAL2='0.96', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632963708.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.20e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1465' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:01:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 869899: <4FGL_J2325.4-3559_daily_bin1465> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1465 351.359 -35.9878 619056001 619315201 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 :                                   621.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             219.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            950 sec.

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

