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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1603
RA = 351.359, Dec = -35.9878
tmin = 654825601, tmax = 655084801
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='917523', job_status='RUN', time_executed='2021-10-05 00:17:52.224741', time_epoch_executed='1633418272.22' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1603'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917523

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917523/ft1_4FGL_J2325.4-3559_daily_bin1603.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917523/ft2_4FGL_J2325.4-3559_daily_bin1603.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917523/ft1_4FGL_J2325.4-3559_daily_bin1603.fits outfile=/scratch/kocevski/917523/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1603.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=654825601.0 tmax=655084801.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.97
user 2.74
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917523/ft1_filtered_4FGL_J2325.4-3559_daily_bin1603.fits" evtable="EVENTS" scfile=/scratch/kocevski/917523/ft2_4FGL_J2325.4-3559_daily_bin1603.fits sctable="SC_DATA" outfile=/scratch/kocevski/917523/ltcube_654825601_655084801_4FGL_J2325.4-3559_daily_bin1603.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/917523/ft2_4FGL_J2325.4-3559_daily_bin1603.fits
.....................!
real 12.39
user 12.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917523/ft1_filtered_4FGL_J2325.4-3559_daily_bin1603.fits evtable="EVENTS" scfile=/scratch/kocevski/917523/ft2_4FGL_J2325.4-3559_daily_bin1603.fits sctable="SC_DATA" expcube=/scratch/kocevski/917523/ltcube_654825601_655084801_4FGL_J2325.4-3559_daily_bin1603.fits outfile=/scratch/kocevski/917523/expmap_654825601_655084801_4FGL_J2325.4-3559_daily_bin1603.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/917523/ltcube_654825601_655084801_4FGL_J2325.4-3559_daily_bin1603.fits
.....................!
real 190.01
user 184.75
sys 4.94

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/917523/ft1_filtered_4FGL_J2325.4-3559_daily_bin1603.fits scfile=/scratch/kocevski/917523/ft2_4FGL_J2325.4-3559_daily_bin1603.fits outfile=/scratch/kocevski/917523/cmap_654825601_655084801_4FGL_J2325.4-3559_daily_bin1603.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917523/ft1_filtered_4FGL_J2325.4-3559_daily_bin1603.fits evtable="EVENTS" scfile=/scratch/kocevski/917523/ft2_4FGL_J2325.4-3559_daily_bin1603.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917523/Model_4FGL_J2325.4-3559_daily_bin1603.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/917523/ft1_filtered_4FGL_J2325.4-3559_daily_bin1603.fits.....................!
real 47.07
user 45.79
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.800       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6973       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8302       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4722       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.575       1.0000         .10000E-03   10000.    
    12 'norm      '    .11098E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9825       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5430       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2021       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.4560       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .53519       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .16404E-02   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0802       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0858       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=   6539.221     FROM MIGRAD    STATUS=CONVERGED    761 CALLS     3765 TOTAL
                     EDM=   .90E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.693        .13885E-05** at limit **
   2  Prefactor     .10000E-03    1.9542       -.42571E-07** at limit **
   3  Prefactor     .10000E-03    8.1756       -.60538E-06** at limit **
   4  Prefactor     .10000E-03    29.036        .70348E-06** at limit **
   5  Prefactor     20.802        15.943       -.17294E-06    .12956E-04
   6  Prefactor     3.6993        13.262        .50322E-05    .65945E-04
   7  Prefactor     5.8311        12.646        .48924E-06    .41840E-04
   8  Prefactor     .10000E-03    6.2254        .30303E-05** at limit **
   9  norm          1.4722        2.7917        .85632E-07    .54106E-04
  10  Prefactor     .10000E-03    5.4708       -.75391E-08** at limit **
  11  Prefactor     13.578        10.514        .16487E-06    .24148E-03
  12  norm          .10000E-03    .52595       -.41994E-07** at limit **
  13  Prefactor     7.9932        83.169       -.57668E-05   -.81305E-05
  14  Prefactor     .10000E-03    10.701       -.59462E-06** at limit **
  15  norm          3.5434        7.7687        .19278E-06    .75718E-05
  16  norm          1.2021        4.3150        .65885E-06    .99162E-07
  17  norm          .10000E-03    2.2170       -.11580E-07** at limit **
  18  Prefactor     .10000E-03    9.0518        .89536E-06** at limit **
  19  Prefactor     .10000E-03    129.31       -.75103E-07** at limit **
  20  norm          3.4564        3.5005       -.19736E-06   -.75081E-04
  21  Prefactor     .10000E-03    4.4482       -.46321E-07** at limit **
  22  norm          .10000E-03    1.3964       -.36424E-07** at limit **
  23  Prefactor     .10000E-03    82.438       -.14529E-05** at limit **
  24  Prefactor     .10000E-03    14.738        .16340E-06** at limit **
  25  Prefactor     .54675        8.0076        .49101E-05   -.15568E-04
  26  Prefactor     .10000E-03    1.6337       -.45298E-07** at limit **
  27  Prefactor     .10001E-03    178.73        .33271E-05** at limit **
  28  Normalizat    1.0801        .17780       -.11074E-06    .41830E-04
  29  Prefactor     1.0858        .18988        .22711E-07    .88762E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.802
  Prefactor  = 3.69928
  Prefactor  = 5.83106
  Prefactor  = 0.000100002
  norm       = 1.47224
  Prefactor  = 0.0001
  Prefactor  = 13.5779
  norm       = 0.0001
  Prefactor  = 7.99322
  Prefactor  = 0.0001
  norm       = 3.54336
  norm       = 1.20206
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.45639
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.546754
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Normalizat = 1.08012
  Prefactor  = 1.08579
 **********
 **   18 **HESSE 
 **********

 FCN=   6539.221     FROM HESSE     STATUS=OK           553 CALLS     4318 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.9777        .11039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.1877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.802        15.958        .87823E-04   -1.4795    
   6  Prefactor     3.6993        18.162        .10502E-02   -1.5323    
   7  Prefactor     5.8311        12.638        .16633E-03   -1.5225    
   8  Prefactor     .10000E-03    19.349        .31849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4722        2.7396        .17572E-03   -1.5465    
  10  Prefactor     .10000E-03    5.4731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.578        9.2266        .10871E-03   -1.4971    
  12  norm          .10000E-03    2.1309        .98910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.9932        83.463        .14191E-03   -1.5142    
  14  Prefactor     .10000E-03    10.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5434        7.7683        .21474E-03   -1.5331    
  16  norm          1.2021        4.3501        .26632E-03   -1.5489    
  17  norm          .10000E-03    2.2210        .11758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.0597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    130.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.4564        3.5079        .12518E-03   -1.5336    
  21  Prefactor     .10000E-03    4.4618        .16657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.4067        .93261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    82.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    14.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .54675        11.381        .27445E-02   -1.5560    
  26  Prefactor     .10000E-03    1.6466        .10093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10001E-03    183.20        .40798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0801        .21346        .23694E-03   -.90393    
  29  Prefactor     1.0858        .23022        .25891E-03   -.89922    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05181e-08
Minuit parameter uncertainties:
  1  1.17309e-05
  2  6.34997e-06
  3  1.48504e-05
  4  1.12034e-05
  5  15.9611
  6  16.4015
  7  12.6434
  8  0.000413374
  9  2.73987
  10  1.07301e-06
  11  9.22758
  12  8.55605e-06
  13  51.7507
  14  1.10799e-05
  15  7.77047
  16  4.35121
  17  1.98351e-06
  18  6.75207e-06
  19  0.000429543
  20  3.50815
  21  6.10659e-06
  22  2.80646e-06
  23  0.000131052
  24  5.98979e-06
  25  4.98969
  26  4.26802e-06
  27  0.00230963
  28  0.213631
  29  0.230431
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  1.984e-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.086e+00  2.304e-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:  1.080e+00  2.136e-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: 3.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917523/likelihoodResults_654825601_655084801_4FGL_J2325.4-3559_daily_bin1603.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) = 6539.22284202
delta logL = -0.00211673350532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6539.22072528
delta logL = 8.58926796354e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1330       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0801       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0858       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=   6539.221     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      229 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6051        .11766E-02** at limit **
   2  alpha         2.3676        2.5449        .16690       -.41550E-08
   3  Normalizat    1.0801        .20636        .23694E-03   -.17815E-03
   4  Prefactor     1.0858        .22690        .25891E-03   -.16703E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.3676
  Normalizat = 1.08012
  Prefactor  = 1.08579
 **********
 **   18 **HESSE 
 **********

 FCN=   6539.221     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2661        .23533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3676        3.4233        .66762E-02   -.52985E-01
   3  Normalizat    1.0801        .20660        .47388E-04   -.90393    
   4  Prefactor     1.0858        .22716        .10357E-04   -.89922    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11408e-11
Minuit parameter uncertainties:
  1  2.02765e-05
  2  256.405
  3  0.206754
  4  0.227364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917523': 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) = 6539.22072484
delta logL = 4.4703574531e-07

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  2.028e-05  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.368e+00  2.564e+02  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.086e+00  2.274e-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:  1.080e+00  2.068e-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/917523/cmap_HighResolution_654825601_655084801_4FGL_J2325.4-3559_daily_bin1603.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-05', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2021-10-05 00:31:31.282519', job_id='917523', GAL2='1.09', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1633419091.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.47e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1603' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  5 00:31:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 917523: <4FGL_J2325.4-3559_daily_bin1603> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1603> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Oct  5 00:15:41 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct  5 00:15:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct  5 00:15:42 2021
Terminated at Tue Oct  5 00:31:32 2021
Results reported at Tue Oct  5 00:31:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1603 351.359 -35.9878 654825601 655084801 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 :                                   821.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             260.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

