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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin150
RA = 351.359, Dec = -35.9878
tmin = 278208001, tmax = 278467201
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='864170', job_status='RUN', time_executed='2021-09-29 17:25:45.290552', time_epoch_executed='1632961545.29' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864170

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864170/ft1_4FGL_J2325.4-3559_daily_bin150.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864170/ft2_4FGL_J2325.4-3559_daily_bin150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864170/ft1_4FGL_J2325.4-3559_daily_bin150.fits outfile=/scratch/kocevski/864170/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin150.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=278208001.0 tmax=278467201.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 5.35
user 5.12
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864170/ft1_filtered_4FGL_J2325.4-3559_daily_bin150.fits" evtable="EVENTS" scfile=/scratch/kocevski/864170/ft2_4FGL_J2325.4-3559_daily_bin150.fits sctable="SC_DATA" outfile=/scratch/kocevski/864170/ltcube_278208001_278467201_4FGL_J2325.4-3559_daily_bin150.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/864170/ft2_4FGL_J2325.4-3559_daily_bin150.fits
.....................!
real 11.56
user 11.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864170/ft1_filtered_4FGL_J2325.4-3559_daily_bin150.fits evtable="EVENTS" scfile=/scratch/kocevski/864170/ft2_4FGL_J2325.4-3559_daily_bin150.fits sctable="SC_DATA" expcube=/scratch/kocevski/864170/ltcube_278208001_278467201_4FGL_J2325.4-3559_daily_bin150.fits outfile=/scratch/kocevski/864170/expmap_278208001_278467201_4FGL_J2325.4-3559_daily_bin150.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/864170/ltcube_278208001_278467201_4FGL_J2325.4-3559_daily_bin150.fits
.....................!
real 190.91
user 185.24
sys 5.21

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/864170/ft1_filtered_4FGL_J2325.4-3559_daily_bin150.fits scfile=/scratch/kocevski/864170/ft2_4FGL_J2325.4-3559_daily_bin150.fits outfile=/scratch/kocevski/864170/cmap_278208001_278467201_4FGL_J2325.4-3559_daily_bin150.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864170/ft1_filtered_4FGL_J2325.4-3559_daily_bin150.fits scfile=/scratch/kocevski/864170/ft2_4FGL_J2325.4-3559_daily_bin150.fits outfile=/scratch/kocevski/864170/cmap_HighResolution_278208001_278467201_4FGL_J2325.4-3559_daily_bin150.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10760E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.5289       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.913       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7826       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6460       1.0000         .10000E-03   10000.    
     9 'norm      '    .37876E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.8429       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.527       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .57825E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .49012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    46.965       1.0000         .10000E-03   10000.    
    19 'Prefactor '    98.478       1.0000         .10000E-03   10000.    
    20 'norm      '    .11541E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.801       1.0000         .10000E-03   10000.    
    22 'norm      '    6.7114       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    33.873       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .66449       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    41.434       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .71358       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .99658       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=   5191.224     FROM MIGRAD    STATUS=CONVERGED    744 CALLS     3801 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    100.32       -.57500E-06** at limit **
   2  Prefactor     9.5267        6.5127        .71559E-07    .10611E-03
   3  Prefactor     .10000E-03    10.399        .58366E-07** at limit **
   4  Prefactor     42.915        56.803       -.10216E-06    .25953E-05
   5  Prefactor     .10000E-03    7.6328        .45917E-07** at limit **
   6  Prefactor     .10000E-03    15.329        .12617E-06** at limit **
   7  Prefactor     3.7790        9.1346        .27291E-05    .25093E-04
   8  Prefactor     4.6444        6.2856        .13786E-06    .34644E-05
   9  norm          .10012E-03    2.1636       -.35163E-06** at limit **
  10  Prefactor     .10000E-03    12.049       -.52225E-07** at limit **
  11  Prefactor     .10000E-03    6.0460        .24994E-07** at limit **
  12  norm          3.8445        .95248       -.12704E-07    .65906E-03
  13  Prefactor     30.526        33.176        .23747E-07    .50471E-05
  14  Prefactor     .10001E-03    7.9266       -.20926E-06** at limit **
  15  norm          .10000E-03    3.0057       -.34173E-09** at limit **
  16  norm          .10000E-03    1.4778       -.27024E-07** at limit **
  17  norm          .10001E-03    8.4232       -.97239E-06** at limit **
  18  Prefactor     46.944        31.866        .79412E-06    .48055E-05
  19  Prefactor     98.460        64.895        .18953E-05    .79654E-04
  20  norm          .10000E-03    1.5847       -.98787E-07** at limit **
  21  Prefactor     33.795        19.087        .24115E-07    .46758E-05
  22  norm          6.7104        3.9773       -.53618E-08    .41488E-04
  23  Prefactor     .10000E-03    28.948       -.13945E-06** at limit **
  24  Prefactor     33.870        64.806        .25800E-06    .11237E-04
  25  Prefactor     .67273        5.7378       -.37776E-06   -.93166E-04
  26  Prefactor     .10000E-03    2.1058        .21942E-07** at limit **
  27  Prefactor     41.394        63.033        .49379E-05    .21978E-04
  28  Normalizat    .71422        .19221        .22507E-07    .24546E-03
  29  Prefactor     .99600        .19690       -.82453E-06    .19222E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.52666
  Prefactor  = 0.0001
  Prefactor  = 42.9152
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.77897
  Prefactor  = 4.64437
  norm       = 0.000100125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.84448
  Prefactor  = 30.526
  Prefactor  = 0.000100008
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100006
  Prefactor  = 46.9443
  Prefactor  = 98.4601
  norm       = 0.0001
  Prefactor  = 33.7946
  norm       = 6.71035
  Prefactor  = 0.0001
  Prefactor  = 33.8705
  Prefactor  = 0.672734
  Prefactor  = 0.0001
  Prefactor  = 41.3941
  Normalizat = 0.714217
  Prefactor  = 0.996001
 **********
 **   18 **HESSE 
 **********

 FCN=   5191.224     FROM HESSE     STATUS=OK           561 CALLS     4362 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    100.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.5267        6.5278        .64911E-03   -1.5091    
   3  Prefactor     .10000E-03    10.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     42.915        56.773        .61197E-04   -1.4397    
   5  Prefactor     .10000E-03    7.6589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.7790        9.2281        .10378E-02   -1.5319    
   8  Prefactor     4.6444        6.2691        .18672E-03   -1.5277    
   9  norm          .10012E-03    3.9159        .37044E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.0818        .17255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.8445        .89527        .30695E-04   -1.5316    
  13  Prefactor     30.526        33.176        .72517E-04   -1.4602    
  14  Prefactor     .10001E-03    60.886        .36440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.0060        .12200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.4782        .85534E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    39.931        .38690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     46.944        31.817        .58509E-04   -1.4337    
  19  Prefactor     98.460        64.355        .40508E-04   -1.3720    
  20  norm          .10000E-03    1.5927        .88462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     33.795        19.094        .68926E-04   -1.4545    
  22  norm          6.7104        3.9769        .10580E-03   -1.5190    
  23  Prefactor     .10000E-03    28.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     33.870        64.768        .68852E-04   -1.4543    
  25  Prefactor     .67273        11.172        .30575E-02   -1.5544    
  26  Prefactor     .10000E-03    2.1132        .10209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     41.394        63.083        .62275E-04   -1.4420    
  28  Normalizat    .71422        .22432        .25837E-03   -1.0333    
  29  Prefactor     .99600        .22999        .24514E-03   -.92863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85919e-08
Minuit parameter uncertainties:
  1  0.000124265
  2  6.52828
  3  3.7713e-06
  4  56.8446
  5  2.45121e-06
  6  1.01473e-05
  7  9.23162
  8  6.26994
  9  0.00139697
  10  9.33893e-06
  11  4.03254e-06
  12  0.89527
  13  33.1956
  14  0.00143395
  15  8.47674e-08
  16  1.05826e-06
  17  0.00101766
  18  31.8281
  19  64.4009
  20  4.43783e-06
  21  19.0972
  22  3.97702
  23  9.7612e-07
  24  64.903
  25  5.48377
  26  9.44345e-07
  27  63.1853
  28  0.224613
  29  0.230221
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  1.018e-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:  9.960e-01  2.302e-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.142e-01  2.246e-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: 6.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/864170/likelihoodResults_278208001_278467201_4FGL_J2325.4-3559_daily_bin150.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5191.22374208
delta logL = -0.000117723849144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5191.050117
delta logL = 0.173507355742

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0407       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2731       1.0000          .0000       5.0000    
     3 'Normalizat'    .69270       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0038       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=   5191.050     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      432 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0409        6.3648        .17936E-03   -.37037E-03
   2  alpha         3.2729        1.7722        .30156E-01   -.16074E-04
   3  Normalizat    .69270        .20526        .26195E-03    .13189E-03
   4  Prefactor     1.0038        .22518        .24419E-03    .13756E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.04093
  alpha      = 3.27291
  Normalizat = 0.692698
  Prefactor  = 1.00378
 **********
 **   18 **HESSE 
 **********

 FCN=   5191.050     FROM HESSE     STATUS=OK            25 CALLS      457 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0409        5.2192        .71742E-05   -1.5422    
   2  alpha         3.2729        1.5114        .12062E-02    .31431    
   3  Normalizat    .69270        .20553        .10478E-04   -1.0418    
   4  Prefactor     1.0038        .22521        .48838E-04   -.92604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77043e-10
Minuit parameter uncertainties:
  1  5.2204
  2  1.63793
  3  0.205756
  4  0.225425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864170': 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) = 5191.050117
delta logL = 0.173507360571

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.041e+00  5.220e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.273e+00  1.638e+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.004e+00  2.254e-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:  6.927e-01  2.058e-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/864170/cmap_HighResolution_278208001_278467201_4FGL_J2325.4-3559_daily_bin150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.74e-05', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2021-09-29 17:38:26.213945', job_id='864170', GAL2='1.00', fit_tolerance='1e-08', EG2='0.69', EG='0.71', time_epoch_completed='1632962306.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.74e-01', ts2='0.36', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='150' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:38:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 864170: <4FGL_J2325.4-3559_daily_bin150> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin150 351.359 -35.9878 278208001 278467201 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 :                                   758.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            778 sec.

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

