/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 111 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 = 7387
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-3559_daily_bin356
RA = 351.359, Dec = -35.9878
tmin = 331603201, tmax = 331862401
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='864477', job_status='RUN', time_executed='2021-09-29 17:27:54.501394', time_epoch_executed='1632961674.5' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864477

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864477/ft1_4FGL_J2325.4-3559_daily_bin356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864477/ft2_4FGL_J2325.4-3559_daily_bin356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864477/ft1_4FGL_J2325.4-3559_daily_bin356.fits outfile=/scratch/kocevski/864477/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin356.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=331603201.0 tmax=331862401.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.28
user 3.05
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/864477/ft2_4FGL_J2325.4-3559_daily_bin356.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/864477/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin356.fits evtable="EVENTS" outfile="/scratch/kocevski/864477/ft1_filtered_4FGL_J2325.4-3559_daily_bin356.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864477/ft1_filtered_4FGL_J2325.4-3559_daily_bin356.fits" evtable="EVENTS" scfile=/scratch/kocevski/864477/ft2_4FGL_J2325.4-3559_daily_bin356.fits sctable="SC_DATA" outfile=/scratch/kocevski/864477/ltcube_331603201_331862401_4FGL_J2325.4-3559_daily_bin356.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/864477/ft2_4FGL_J2325.4-3559_daily_bin356.fits
.....................!
real 14.73
user 14.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864477/ft1_filtered_4FGL_J2325.4-3559_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/864477/ft2_4FGL_J2325.4-3559_daily_bin356.fits sctable="SC_DATA" expcube=/scratch/kocevski/864477/ltcube_331603201_331862401_4FGL_J2325.4-3559_daily_bin356.fits outfile=/scratch/kocevski/864477/expmap_331603201_331862401_4FGL_J2325.4-3559_daily_bin356.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/864477/ltcube_331603201_331862401_4FGL_J2325.4-3559_daily_bin356.fits
.....................!
real 192.36
user 186.47
sys 5.51

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/864477/ft1_filtered_4FGL_J2325.4-3559_daily_bin356.fits scfile=/scratch/kocevski/864477/ft2_4FGL_J2325.4-3559_daily_bin356.fits outfile=/scratch/kocevski/864477/cmap_331603201_331862401_4FGL_J2325.4-3559_daily_bin356.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/864477/ft1_filtered_4FGL_J2325.4-3559_daily_bin356.fits scfile=/scratch/kocevski/864477/ft2_4FGL_J2325.4-3559_daily_bin356.fits outfile=/scratch/kocevski/864477/cmap_HighResolution_331603201_331862401_4FGL_J2325.4-3559_daily_bin356.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.7594       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.953       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3727       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15794E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.699       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .51934E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .40450       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.0364       1.0000         .10000E-03   10000.    
    15 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2233       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .26365E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    54.223       1.0000         .10000E-03   10000.    
    20 'norm      '    26.754       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    11.020       1.0000         .10000E-03   10000.    
    23 'Prefactor '    46.064       1.0000         .10000E-03   10000.    
    24 'Prefactor '    35.682       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.9341       1.0000         .10000E-03   10000.    
    27 'Prefactor '    44.323       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0742       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .53749       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=   5664.395     FROM MIGRAD    STATUS=CONVERGED    705 CALLS     3677 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.582       -.24211E-07** at limit **
   2  Prefactor     1.7593        1.9197        .42680E-07   -.13002E-04
   3  Prefactor     .10000E-03    5.2983        .62019E-07** at limit **
   4  Prefactor     .10000E-03    17.260       -.12736E-07** at limit **
   5  Prefactor     24.957        25.647        .28052E-06    .51963E-05
   6  Prefactor     .10000E-03    15.465        .12749E-06** at limit **
   7  Prefactor     7.3735        12.268        .52792E-06    .40683E-04
   8  Prefactor     .10001E-03    6.1932        .83296E-06** at limit **
   9  norm          12.700        5.3288        .85180E-07    .46170E-03
  10  Prefactor     .10000E-03    12.637        .54027E-08** at limit **
  11  Prefactor     .10000E-03    5.2222       -.85870E-06** at limit **
  12  norm          .40446        .63610        .13873E-06    .13779E-02
  13  Prefactor     .10000E-03    34.775        .16094E-06** at limit **
  14  Prefactor     6.0388        7.1063        .15451E-05    .11496E-03
  15  norm          .10000E-03    5.3913        .32911E-07** at limit **
  16  norm          .10000E-03    2.6441        .58545E-07** at limit **
  17  norm          1.2221        5.8120        .24298E-05   -.38893E-04
  18  Prefactor     .10000E-03    119.56       -.11137E-05** at limit **
  19  Prefactor     54.237        40.224        .19194E-06    .55300E-04
  20  norm          26.754        7.1349       -.54150E-06    .19763E-04
  21  Prefactor     .10000E-03    16.750        .28332E-07** at limit **
  22  norm          11.020        5.9157        .82471E-06   -.12817E-03
  23  Prefactor     46.025        72.142       -.37655E-06   -.75248E-04
  24  Prefactor     35.662        45.023       -.12908E-06   -.72779E-04
  25  Prefactor     .10000E-03    2.9177        .43288E-06** at limit **
  26  Prefactor     3.9342        3.8967        .24162E-07    .15290E-04
  27  Prefactor     44.340        38.576        .46199E-06    .56259E-04
  28  Normalizat    1.0743        .17246       -.10341E-05   -.28612E-04
  29  Prefactor     .53742        .17492        .13850E-06   -.72685E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.75931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.957
  Prefactor  = 0.0001
  Prefactor  = 7.37353
  Prefactor  = 0.000100013
  norm       = 12.7004
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.40446
  Prefactor  = 0.0001
  Prefactor  = 6.03877
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.22207
  Prefactor  = 0.000100001
  Prefactor  = 54.2365
  norm       = 26.7537
  Prefactor  = 0.0001
  norm       = 11.0201
  Prefactor  = 46.0248
  Prefactor  = 35.6619
  Prefactor  = 0.0001
  Prefactor  = 3.9342
  Prefactor  = 44.3397
  Normalizat = 1.07432
  Prefactor  = 0.537416
 **********
 **   18 **HESSE 
 **********

 FCN=   5664.395     FROM HESSE     STATUS=OK           551 CALLS     4228 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7593        1.9167        .10553E-03   -1.5443    
   3  Prefactor     .10000E-03    5.3015        .16919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     24.957        25.639        .80191E-04   -1.4708    
   6  Prefactor     .10000E-03    15.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.3735        12.265        .14771E-03   -1.5165    
   8  Prefactor     .10001E-03    34.452        .35308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.700        5.2273        .10103E-03   -1.4995    
  10  Prefactor     .10000E-03    12.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.118        .28486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .40446        .54801        .59162E-03   -1.5581    
  13  Prefactor     .10000E-03    34.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.0388        6.9643        .81711E-03   -1.5216    
  15  norm          .10000E-03    5.4066        .17068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.6595        .11946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2221        5.6678        .34514E-03   -1.5487    
  18  Prefactor     .10000E-03    120.32        .21443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     54.237        40.236        .54471E-04   -1.4234    
  20  norm          26.754        7.0828        .77450E-04   -1.4673    
  21  Prefactor     .10000E-03    16.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          11.020        5.8520        .59700E-03   -1.5044    
  23  Prefactor     46.025        72.311        .59076E-04   -1.4350    
  24  Prefactor     35.662        45.058        .67090E-04   -1.4513    
  25  Prefactor     .10000E-03    2.9474        .12532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.9342        3.9019        .14316E-03   -1.5311    
  27  Prefactor     44.340        38.590        .60220E-04   -1.4375    
  28  Normalizat    1.0743        .19822        .20749E-03   -.90581    
  29  Prefactor     .53742        .20152        .30515E-03   -1.1029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81644e-10
Minuit parameter uncertainties:
  1  1.10158e-05
  2  1.91676
  3  1.40321e-06
  4  1.37952e-05
  5  25.6507
  6  1.24933e-06
  7  12.2687
  8  0.00135111
  9  5.22747
  10  7.35082e-06
  11  0.000565369
  12  0.548018
  13  4.81651e-05
  14  6.96524
  15  4.93085e-06
  16  6.69691e-06
  17  5.26426
  18  0.000549446
  19  40.2561
  20  7.08301
  21  3.66782e-06
  22  5.8523
  23  72.4494
  24  45.1005
  25  3.06014e-07
  26  3.9022
  27  38.6114
  28  0.198355
  29  0.201793
Done.

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

Extracting fit parameters...

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

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


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

Saving results to:
/scratch/kocevski/864477/likelihoodResults_331603201_331862401_4FGL_J2325.4-3559_daily_bin356.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) = 5663.09865578
delta logL = 1.29665900188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5663.07084801
delta logL = 1.32446676378

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71265       1.0000         .10000E-03   10000.    
     2 'alpha     '    .31284       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0771       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53196       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=   5663.071     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      213 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71290        1.2138        .12110E-01   -.12764E-03
   2  alpha         .31236        .76697        .50000        .76548E-05
   3  Normalizat    1.0771        .16103        .39019E-01    .20541E-04
   4  Prefactor     .53190        .17314        .69187E-01    .34414E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.712898
  alpha      = 0.312355
  Normalizat = 1.07713
  Prefactor  = 0.531899
 **********
 **   18 **HESSE 
 **********

 FCN=   5663.071     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71290        1.5241        .69209E-04   -1.5539    
   2  alpha         .31236        .73748        .33046E-01   -1.0656    
   3  Normalizat    1.0771        .18565        .20707E-03   -.90490    
   4  Prefactor     .53190        .19921        .30626E-03   -1.1053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70725e-12
Minuit parameter uncertainties:
  1  1.52415
  2  0.793048
  3  0.185761
  4  0.19947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864477': 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) = 5663.07084689
delta logL = 1.3244678843

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  5.319e-01  1.995e-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.077e+00  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 0.31 +/- 0.79
Photon Flux (Free Index): 3.30e-09 +/- 3.86e-09
Energy Flux (Free Index): 3.33e-05 +/- 5.06e-05

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/864477/cmap_HighResolution_331603201_331862401_4FGL_J2325.4-3559_daily_bin356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', comment='SUCCESS', energy_flux2='3.33e-05', dlogl='1.32e+00', photon_flux2='3.30e-09', job_status='DONE', time_completed='2021-09-29 17:40:55.197341', photon_index_error2='0.79', photon_index2='0.31', ts='0.06', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', photon_flux_upper_limit='5.25e-08', energy_flux_error2='5.06e-05', EG='1.07', time_epoch_completed='1632962455.2', return_code='0', job_id='864477', GAL2='0.53', EG2='1.08', return_code2='0', photon_flux_error2='3.86e-09', ts2='2.71', photon_index='2.13' WHERE bin_id='356' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:40:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 864477: <4FGL_J2325.4-3559_daily_bin356> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin356> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:25:53 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:25:55 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:25:55 2021
Terminated at Wed Sep 29 17:40:55 2021
Results reported at Wed Sep 29 17:40:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin356 351.359 -35.9878 331603201 331862401 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 :                                   777.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            902 sec.

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

