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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin300
RA = 351.359, Dec = -35.9878
tmin = 317088001, tmax = 317347201
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='864393', job_status='RUN', time_executed='2021-09-29 17:29:00.596987', time_epoch_executed='1632961740.6' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864393

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864393/ft1_4FGL_J2325.4-3559_daily_bin300.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864393/ft2_4FGL_J2325.4-3559_daily_bin300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864393/ft1_4FGL_J2325.4-3559_daily_bin300.fits outfile=/scratch/kocevski/864393/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin300.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=317088001.0 tmax=317347201.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.88
user 3.66
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864393/ft1_filtered_4FGL_J2325.4-3559_daily_bin300.fits" evtable="EVENTS" scfile=/scratch/kocevski/864393/ft2_4FGL_J2325.4-3559_daily_bin300.fits sctable="SC_DATA" outfile=/scratch/kocevski/864393/ltcube_317088001_317347201_4FGL_J2325.4-3559_daily_bin300.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/864393/ft2_4FGL_J2325.4-3559_daily_bin300.fits
.....................!
real 11.73
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864393/ft1_filtered_4FGL_J2325.4-3559_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/864393/ft2_4FGL_J2325.4-3559_daily_bin300.fits sctable="SC_DATA" expcube=/scratch/kocevski/864393/ltcube_317088001_317347201_4FGL_J2325.4-3559_daily_bin300.fits outfile=/scratch/kocevski/864393/expmap_317088001_317347201_4FGL_J2325.4-3559_daily_bin300.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/864393/ltcube_317088001_317347201_4FGL_J2325.4-3559_daily_bin300.fits
.....................!
real 189.24
user 184.99
sys 3.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/864393/ft1_filtered_4FGL_J2325.4-3559_daily_bin300.fits scfile=/scratch/kocevski/864393/ft2_4FGL_J2325.4-3559_daily_bin300.fits outfile=/scratch/kocevski/864393/cmap_317088001_317347201_4FGL_J2325.4-3559_daily_bin300.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/864393/ft1_filtered_4FGL_J2325.4-3559_daily_bin300.fits scfile=/scratch/kocevski/864393/ft2_4FGL_J2325.4-3559_daily_bin300.fits outfile=/scratch/kocevski/864393/cmap_HighResolution_317088001_317347201_4FGL_J2325.4-3559_daily_bin300.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864393/ft1_filtered_4FGL_J2325.4-3559_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/864393/ft2_4FGL_J2325.4-3559_daily_bin300.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864393/Model_4FGL_J2325.4-3559_daily_bin300.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/864393/ft1_filtered_4FGL_J2325.4-3559_daily_bin300.fits.....................!
real 37.22
user 36.02
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.026       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .45248       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2120       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .76442       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.117       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .23727E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    21.943       1.0000         .10000E-03   10000.    
    18 'Prefactor '    83.511       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8058       1.0000         .10000E-03   10000.    
    20 'norm      '    8.3323       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2482       1.0000         .10000E-03   10000.    
    22 'norm      '    .12539E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    98.290       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.1835       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0164       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .88697       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=   4556.885     FROM MIGRAD    STATUS=CONVERGED    770 CALLS     3827 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.046        41.018        .47424E-07   -.41046E-04
   2  Prefactor     .45227        3.3850        .17173E-05   -.21878E-03
   3  Prefactor     .10000E-03    6.1843       -.84186E-07** at limit **
   4  Prefactor     .10000E-03    60.296       -.22546E-05** at limit **
   5  Prefactor     .10000E-03    9.7220       -.55439E-06** at limit **
   6  Prefactor     4.2833        65.591        .35749E-05   -.67146E-04
   7  Prefactor     .10000E-03    5.9616        .16759E-06** at limit **
   8  Prefactor     .71867        6.2342        .89241E-06   -.21966E-03
   9  norm          .10000E-03    3.7948        .35266E-06** at limit **
  10  Prefactor     .10000E-03    23.427        .60832E-06** at limit **
  11  Prefactor     17.114        10.908       -.87967E-06   -.81138E-03
  12  norm          .10000E-03    .51401        .62431E-06** at limit **
  13  Prefactor     .10000E-03    141.98        .29615E-06** at limit **
  14  Prefactor     .10000E-03    8.8408        .33887E-06** at limit **
  15  norm          .10000E-03    5.9568        .56849E-07** at limit **
  16  norm          .10000E-03    7.9187       -.52276E-07** at limit **
  17  norm          21.953        14.387       -.63842E-06    .10865E-03
  18  Prefactor     83.480        61.267       -.12419E-06   -.17914E-03
  19  Prefactor     1.5057        700.37        .17244E-04   -.88023E-05
  20  norm          8.3505        7.9927        .55027E-07   -.30741E-03
  21  Prefactor     7.2461        18.995        .73118E-06   -.33921E-04
  22  norm          .10002E-03    3.5632        .12621E-05** at limit **
  23  Prefactor     98.293        116.74        .72062E-06    .22242E-05
  24  Prefactor     .10000E-03    14.481        .98922E-07** at limit **
  25  Prefactor     .10000E-03    5.6443        .50599E-06** at limit **
  26  Prefactor     7.1828        6.0228        .10041E-06   -.71963E-04
  27  Prefactor     .10000E-03    13.473       -.21650E-07** at limit **
  28  Normalizat    1.0163        .21113       -.69271E-06   -.43049E-03
  29  Prefactor     .88715        .21809       -.25358E-05   -.27803E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.0463
  Prefactor  = 0.452272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.28332
  Prefactor  = 0.0001
  Prefactor  = 0.718668
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.1141
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 21.9531
  Prefactor  = 83.48
  Prefactor  = 1.50568
  norm       = 8.3505
  Prefactor  = 7.24606
  norm       = 0.000100016
  Prefactor  = 98.2933
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.18283
  Prefactor  = 0.0001
  Normalizat = 1.01632
  Prefactor  = 0.887148
 **********
 **   18 **HESSE 
 **********

 FCN=   4556.885     FROM HESSE     STATUS=OK           551 CALLS     4378 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.046        41.018        .32498E-03   -1.4474    
   2  Prefactor     .45227        3.3415        .23458E-03   -1.5573    
   3  Prefactor     .10000E-03    6.1853        .16394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    60.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.7093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2833        64.143        .19635E-03   -1.5294    
   7  Prefactor     .10000E-03    5.9870        .16101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .71867        25.592        .31085E-02   -1.5538    
   9  norm          .10000E-03    3.8955        .25674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.114        10.418        .96806E-04   -1.4880    
  12  norm          .10000E-03    .78287        .87007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    142.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.8930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.9619        .16092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    16.148        .32005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.953        14.266        .85507E-04   -1.4771    
  18  Prefactor     83.480        60.997        .43956E-04   -1.3878    
  19  Prefactor     1.5057        723.06        .31100E-02   -1.5463    
  20  norm          8.3505        7.2218        .13161E-03   -1.5130    
  21  Prefactor     7.2461        18.984        .14899E-03   -1.5170    
  22  norm          .10002E-03    11.546        .23079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     98.293        116.83        .40547E-04   -1.3722    
  24  Prefactor     .10000E-03    14.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    13.674        .30573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.1828        6.0314        .14589E-03   -1.5172    
  27  Prefactor     .10000E-03    13.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0163        .24531        .23516E-03   -.92486    
  29  Prefactor     .88715        .25324        .26914E-03   -.96592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35547e-09
Minuit parameter uncertainties:
  1  41.0482
  2  2.4586
  3  8.80001e-06
  4  0.000277131
  5  2.97208e-05
  6  33.1933
  7  7.39848e-06
  8  8.58062
  9  7.56651e-06
  10  5.61325e-05
  11  10.4193
  12  1.54756e-06
  13  1.19693e-05
  14  1.88594e-05
  15  2.73339e-06
  16  0.0002058
  17  14.2679
  18  61.0423
  19  66.8161
  20  7.22252
  21  19
  22  0.000853039
  23  117.102
  24  2.48585e-05
  25  6.22726e-05
  26  6.03196
  27  2.03772e-05
  28  0.245582
  29  0.253576
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.195e+01  1.427e+01  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:  8.871e-01  2.536e-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.016e+00  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.79
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 6.83e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.74e-05 +/- 1.78e-05

TS (Fixed Index): 3.79
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/864393/likelihoodResults_317088001_317347201_4FGL_J2325.4-3559_daily_bin300.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) = 4554.99271479
delta logL = 1.89220986975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4554.98769854
delta logL = 1.89722612293

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.927       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2446       1.0000          .0000       5.0000    
     3 'Normalizat'    .91864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95382       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=   4554.988     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      264 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.944        115.02        .26832E-02   -.15490E-03
   2  alpha         3.2456        4.1209        .21081        .72223E-05
   3  Normalizat    .91867        .10185        .45139E-01   -.25555E-03
   4  Prefactor     .95359        .11501        .45687E-01   -.19597E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.9444
  alpha      = 3.24564
  Normalizat = 0.918668
  Prefactor  = 0.953593
 **********
 **   18 **HESSE 
 **********

 FCN=   4554.988     FROM HESSE     STATUS=OK            29 CALLS      293 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.944        11.937        .10709E-03   -1.4961    
   2  alpha         3.2456        .65660        .90537E-02    .30286    
   3  Normalizat    .91867        .23746        .24521E-03   -.95807    
   4  Prefactor     .95359        .25298        .26024E-03   -.94293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01911e-10
Minuit parameter uncertainties:
  1  11.9392
  2  0.665186
  3  0.237735
  4  0.253293
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864393': 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) = 4554.9876832
delta logL = 1.89724145513

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.394e+01  1.194e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.246e+00  6.652e-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:  9.536e-01  2.533e-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.187e-01  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.72
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 3.25 +/- 0.67
Photon Flux (Free Index): 1.49e-07 +/- 7.03e-08
Energy Flux (Free Index): 2.90e-05 +/- 1.36e-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/864393/cmap_HighResolution_317088001_317347201_4FGL_J2325.4-3559_daily_bin300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.23e-05', comment='SUCCESS', photon_flux='6.83e-08', energy_flux2='2.90e-05', photon_flux_error='4.44e-08', dlogl='1.90e+00', energy_flux='2.74e-05', photon_flux2='1.49e-07', job_status='DONE', time_completed='2021-09-29 17:40:27.212067', photon_index_error2='0.67', photon_index2='3.25', ts='3.79', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='1.36e-05', EG='1.02', time_epoch_completed='1632962427.21', return_code='0', job_id='864393', GAL2='0.95', EG2='0.92', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='7.03e-08', ts2='7.72', photon_index='2.13' WHERE bin_id='300' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:40:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 864393: <4FGL_J2325.4-3559_daily_bin300> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin300 351.359 -35.9878 317088001 317347201 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 :                                   685.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            882 sec.

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

