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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1639
RA = 351.359, Dec = -35.9878
tmin = 664156801, tmax = 664416001
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='201095', job_status='RUN', time_executed='2022-01-21 00:37:35.431665', time_epoch_executed='1642754255.43' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1639'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/201095

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/201095/ft1_4FGL_J2325.4-3559_daily_bin1639.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/201095/ft2_4FGL_J2325.4-3559_daily_bin1639.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/201095/ft1_4FGL_J2325.4-3559_daily_bin1639.fits outfile=/scratch/kocevski/201095/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1639.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=664156801.0 tmax=664416001.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 4.06
user 3.80
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/201095/ft1_filtered_4FGL_J2325.4-3559_daily_bin1639.fits" evtable="EVENTS" scfile=/scratch/kocevski/201095/ft2_4FGL_J2325.4-3559_daily_bin1639.fits sctable="SC_DATA" outfile=/scratch/kocevski/201095/ltcube_664156801_664416001_4FGL_J2325.4-3559_daily_bin1639.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/201095/ft2_4FGL_J2325.4-3559_daily_bin1639.fits
.....................!
real 19.99
user 19.58
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/201095/ft1_filtered_4FGL_J2325.4-3559_daily_bin1639.fits evtable="EVENTS" scfile=/scratch/kocevski/201095/ft2_4FGL_J2325.4-3559_daily_bin1639.fits sctable="SC_DATA" expcube=/scratch/kocevski/201095/ltcube_664156801_664416001_4FGL_J2325.4-3559_daily_bin1639.fits outfile=/scratch/kocevski/201095/expmap_664156801_664416001_4FGL_J2325.4-3559_daily_bin1639.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/201095/ltcube_664156801_664416001_4FGL_J2325.4-3559_daily_bin1639.fits
.....................!
real 194.81
user 190.02
sys 4.24

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/201095/ft1_filtered_4FGL_J2325.4-3559_daily_bin1639.fits scfile=/scratch/kocevski/201095/ft2_4FGL_J2325.4-3559_daily_bin1639.fits outfile=/scratch/kocevski/201095/cmap_664156801_664416001_4FGL_J2325.4-3559_daily_bin1639.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/201095/ft1_filtered_4FGL_J2325.4-3559_daily_bin1639.fits scfile=/scratch/kocevski/201095/ft2_4FGL_J2325.4-3559_daily_bin1639.fits outfile=/scratch/kocevski/201095/cmap_HighResolution_664156801_664416001_4FGL_J2325.4-3559_daily_bin1639.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.62
user 0.45
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/201095/ft1_filtered_4FGL_J2325.4-3559_daily_bin1639.fits evtable="EVENTS" scfile=/scratch/kocevski/201095/ft2_4FGL_J2325.4-3559_daily_bin1639.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/201095/Model_4FGL_J2325.4-3559_daily_bin1639.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/201095/ft1_filtered_4FGL_J2325.4-3559_daily_bin1639.fits.....................!
real 32.91
user 31.45
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6535       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.578       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.9521       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .33168       1.0000         .10000E-03   10000.    
    13 'Prefactor '    49.439       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .57546E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .51950E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6031       1.0000         .10000E-03   10000.    
    20 'norm      '    3.0193       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.1404       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.5060       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    27.370       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .87752       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0195       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=   3474.697     FROM MIGRAD    STATUS=CONVERGED    719 CALLS     3671 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.020        .14411E-05** at limit **
   2  Prefactor     6.6518        6.6433        .16235E-06   -.34386E-04
   3  Prefactor     .10000E-03    14.202       -.22255E-06** at limit **
   4  Prefactor     .10000E-03    23.658        .30117E-06** at limit **
   5  Prefactor     .10000E-03    7.8920        .98326E-07** at limit **
   6  Prefactor     20.596        27.271        .97042E-06   -.29703E-05
   7  Prefactor     .10000E-03    13.496       -.35727E-06** at limit **
   8  Prefactor     5.9509        12.261        .87937E-06   -.13569E-04
   9  norm          .10000E-03    1.2684       -.15304E-07** at limit **
  10  Prefactor     .10000E-03    5.0762       -.14611E-07** at limit **
  11  Prefactor     .10000E-03    4.4609        .95608E-08** at limit **
  12  norm          .33159        .46780        .81969E-07    .23857E-03
  13  Prefactor     49.419        67.504       -.14269E-05   -.40181E-04
  14  Prefactor     .10000E-03    3.4604       -.56175E-08** at limit **
  15  norm          .10000E-03    9.6133        .33321E-06** at limit **
  16  norm          .10000E-03    1.9905        .46531E-07** at limit **
  17  norm          .10026E-03    13.043        .30063E-05** at limit **
  18  Prefactor     .10001E-03    214.35       -.45786E-05** at limit **
  19  Prefactor     3.6896        339.90       -.65595E-05   -.23171E-04
  20  norm          3.0235        4.7117       -.62707E-06   -.54362E-04
  21  Prefactor     .10000E-03    17.514       -.71404E-07** at limit **
  22  norm          .10000E-03    2.4439       -.14455E-07** at limit **
  23  Prefactor     .10000E-03    40.419       -.11262E-05** at limit **
  24  Prefactor     3.1499        170.72        .46836E-05    .57970E-06
  25  Prefactor     5.5049        12.212        .46694E-06   -.90210E-04
  26  Prefactor     .10000E-03    8.7744       -.88233E-06** at limit **
  27  Prefactor     27.395        63.600        .19218E-05   -.43342E-06
  28  Normalizat    .87753        .23340       -.17388E-05   -.27181E-03
  29  Prefactor     1.0196        .23902       -.13359E-05   -.27607E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.65183
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.596
  Prefactor  = 0.0001
  Prefactor  = 5.95092
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.331587
  Prefactor  = 49.4186
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100264
  Prefactor  = 0.000100006
  Prefactor  = 3.68965
  norm       = 3.02351
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.1499
  Prefactor  = 5.5049
  Prefactor  = 0.0001
  Prefactor  = 27.3955
  Normalizat = 0.877532
  Prefactor  = 1.01962
 **********
 **   18 **HESSE 
 **********

 FCN=   3474.697     FROM HESSE     STATUS=OK           547 CALLS     4218 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.6518        6.6363        .14039E-03   -1.5192    
   3  Prefactor     .10000E-03    14.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.8950        .16176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.596        27.269        .88294E-04   -1.4800    
   7  Prefactor     .10000E-03    13.707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9509        12.261        .16459E-03   -1.5220    
   9  norm          .10000E-03    1.2695        .64830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.0795        .12969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.4936        .12133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .33159        .43410        .46335E-03   -1.5593    
  13  Prefactor     49.419        67.594        .57033E-04   -1.4301    
  14  Prefactor     .10000E-03    3.4629        .10709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.6494        .17863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.9913        .81221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10026E-03    92.467        .36840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    216.32        .42277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6896        334.40        .21287E-03   -1.5324    
  20  norm          3.0235        4.6638        .15094E-03   -1.5360    
  21  Prefactor     .10000E-03    17.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.4530        .89949E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    40.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.1499        170.60        .22875E-03   -1.5353    
  25  Prefactor     5.5049        12.253        .17123E-03   -1.5239    
  26  Prefactor     .10000E-03    8.8131        .16946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     27.395        63.289        .76576E-04   -1.4661    
  28  Normalizat    .87753        .27977        .24021E-03   -.97254    
  29  Prefactor     1.0196        .28748        .24046E-03   -.92078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94665e-09
Minuit parameter uncertainties:
  1  0.000197027
  2  6.63708
  3  6.94751e-06
  4  1.46219e-05
  5  7.16813e-06
  6  27.2857
  7  4.92258e-05
  8  12.2657
  9  9.79023e-07
  10  1.1562e-06
  11  3.20318e-06
  12  0.434105
  13  67.6988
  14  2.76225e-06
  15  2.3708e-05
  16  2.98025e-06
  17  0.00988983
  18  0.00223915
  19  70.6609
  20  4.66436
  21  4.41561e-05
  22  1.09425e-05
  23  5.50806e-05
  24  46.5015
  25  12.2582
  26  3.70912e-05
  27  63.4446
  28  0.280232
  29  0.287911
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.003e-04  9.890e-03  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.020e+00  2.879e-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.775e-01  2.802e-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: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/201095/likelihoodResults_664156801_664416001_4FGL_J2325.4-3559_daily_bin1639.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): 0
logL (Free Index) = 3474.69699759
delta logL = -5.0911406106e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3474.69694935
delta logL = -2.67466066362e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50331E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2377       1.0000          .0000       5.0000    
     3 'Normalizat'    .87578       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0212       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=   3474.268     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      263 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1437        72.800        .95966E-02    .44740E-03
   2  alpha         4.0423        3.0134        .41441        .30154E-04
   3  Normalizat    .79724        .64704E-01    .44591E-01   -.29665E-04
   4  Prefactor     1.0670        .70611E-01    .42021E-01   -.60239E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.14367
  alpha      = 4.04229
  Normalizat = 0.797236
  Prefactor  = 1.067
 **********
 **   18 **HESSE 
 **********

 FCN=   3474.268     FROM HESSE     STATUS=OK            31 CALLS      294 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1437        7.2312        .94726E-04   -1.5415    
   2  alpha         4.0423        3.8367        .22274E-02    .66482    
   3  Normalizat    .79724        .27362        .25087E-03   -1.0017    
   4  Prefactor     1.0670        .28641        .23565E-03   -.90528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1971e-11
Minuit parameter uncertainties:
  1  7.23419
  2  2.23187
  3  0.274089
  4  0.286818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/201095': 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) = 3474.26826491
delta logL = 0.428681765891

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.144e+00  7.234e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  4.042e+00  2.232e+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:  1.067e+00  2.868e-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:  7.972e-01  2.741e-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/201095/cmap_HighResolution_664156801_664416001_4FGL_J2325.4-3559_daily_bin1639.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-05', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2022-01-21 00:48:00.505120', job_id='201095', GAL2='1.07', fit_tolerance='1e-08', EG2='0.80', EG='0.88', time_epoch_completed='1642754880.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='4.29e-01', ts2='0.92', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1639' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 21 00:48:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 201095: <4FGL_J2325.4-3559_daily_bin1639> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1639> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jan 21 00:36:00 2022
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 21 00:36:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 21 00:36:03 2022
Terminated at Fri Jan 21 00:48:01 2022
Results reported at Fri Jan 21 00:48:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1639 351.359 -35.9878 664156801 664416001 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 :                                   626.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            721 sec.

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

