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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin420
RA = 351.359, Dec = -35.9878
tmin = 348192001, tmax = 348451201
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='865118', job_status='RUN', time_executed='2021-09-29 17:33:19.398695', time_epoch_executed='1632961999.4' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='420'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865118

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865118/ft1_4FGL_J2325.4-3559_daily_bin420.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865118/ft2_4FGL_J2325.4-3559_daily_bin420.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865118/ft1_4FGL_J2325.4-3559_daily_bin420.fits outfile=/scratch/kocevski/865118/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin420.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=348192001.0 tmax=348451201.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.41
user 3.19
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865118/ft1_filtered_4FGL_J2325.4-3559_daily_bin420.fits" evtable="EVENTS" scfile=/scratch/kocevski/865118/ft2_4FGL_J2325.4-3559_daily_bin420.fits sctable="SC_DATA" outfile=/scratch/kocevski/865118/ltcube_348192001_348451201_4FGL_J2325.4-3559_daily_bin420.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/865118/ft2_4FGL_J2325.4-3559_daily_bin420.fits
.....................!
real 12.11
user 11.77
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865118/ft1_filtered_4FGL_J2325.4-3559_daily_bin420.fits evtable="EVENTS" scfile=/scratch/kocevski/865118/ft2_4FGL_J2325.4-3559_daily_bin420.fits sctable="SC_DATA" expcube=/scratch/kocevski/865118/ltcube_348192001_348451201_4FGL_J2325.4-3559_daily_bin420.fits outfile=/scratch/kocevski/865118/expmap_348192001_348451201_4FGL_J2325.4-3559_daily_bin420.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/865118/ltcube_348192001_348451201_4FGL_J2325.4-3559_daily_bin420.fits
.....................!
real 190.35
user 185.52
sys 4.37

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/865118/ft1_filtered_4FGL_J2325.4-3559_daily_bin420.fits scfile=/scratch/kocevski/865118/ft2_4FGL_J2325.4-3559_daily_bin420.fits outfile=/scratch/kocevski/865118/cmap_348192001_348451201_4FGL_J2325.4-3559_daily_bin420.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865118/ft1_filtered_4FGL_J2325.4-3559_daily_bin420.fits scfile=/scratch/kocevski/865118/ft2_4FGL_J2325.4-3559_daily_bin420.fits outfile=/scratch/kocevski/865118/cmap_HighResolution_348192001_348451201_4FGL_J2325.4-3559_daily_bin420.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/865118/ft1_filtered_4FGL_J2325.4-3559_daily_bin420.fits evtable="EVENTS" scfile=/scratch/kocevski/865118/ft2_4FGL_J2325.4-3559_daily_bin420.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/865118/Model_4FGL_J2325.4-3559_daily_bin420.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/865118/ft1_filtered_4FGL_J2325.4-3559_daily_bin420.fits.....................!
real 35.61
user 34.33
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6724       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10618E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.816       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.472       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10654E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.557       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.2771       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4316       1.0000         .10000E-03   10000.    
    12 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.509       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.394       1.0000         .10000E-03   10000.    
    15 'norm      '    5.3790       1.0000         .10000E-03   10000.    
    16 'norm      '    9.0588       1.0000         .10000E-03   10000.    
    17 'norm      '    13.583       1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.359       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.7695       1.0000         .10000E-03   10000.    
    20 'norm      '    11.615       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.3359       1.0000         .10000E-03   10000.    
    22 'norm      '    .24879E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12361E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .29424E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    14.345       1.0000         .10000E-03   10000.    
    27 'Prefactor '    82.581       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0906       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .84312       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=   4100.955     FROM MIGRAD    STATUS=CONVERGED    708 CALLS     3757 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.286       -.13909E-05** at limit **
   2  Prefactor     2.6705        7.1678        .59142E-06    .44495E-03
   3  Prefactor     .10000E-03    47.293        .42812E-05** at limit **
   4  Prefactor     34.817        40.455       -.31329E-07    .10772E-04
   5  Prefactor     .10000E-03    25.989       -.17249E-05** at limit **
   6  Prefactor     28.464        28.268       -.10387E-05   -.98434E-05
   7  Prefactor     .10000E-03    21.166        .17207E-05** at limit **
   8  Prefactor     .10000E-03    2.0169        .84100E-08** at limit **
   9  norm          14.557        6.6622       -.33654E-07    .56568E-04
  10  Prefactor     9.2811        16.043        .17603E-06    .25882E-04
  11  Prefactor     5.4276        17.864       -.27660E-06    .32539E-04
  12  norm          .10000E-03    .89512       -.34936E-07** at limit **
  13  Prefactor     19.452        83.470       -.13992E-04   -.64574E-04
  14  Prefactor     23.400        21.330       -.14095E-06    .77138E-04
  15  norm          5.3807        11.135       -.10530E-06   -.72936E-05
  16  norm          9.0608        9.7509        .19764E-06   -.65533E-04
  17  norm          13.582        9.7494        .21289E-07    .13745E-03
  18  Prefactor     16.392        57.986        .17837E-05    .82325E-04
  19  Prefactor     4.7595        134.65       -.33057E-05    .22175E-04
  20  norm          11.611        9.0815       -.13519E-05   -.51978E-04
  21  Prefactor     1.3433        68.699        .10129E-05   -.15678E-04
  22  norm          .10000E-03    4.8269        .63309E-06** at limit **
  23  Prefactor     .10000E-03    63.723        .11471E-05** at limit **
  24  Prefactor     .10000E-03    71.928       -.58222E-05** at limit **
  25  Prefactor     .10013E-03    11.941       -.83187E-05** at limit **
  26  Prefactor     14.338        9.5853       -.61348E-06    .67693E-04
  27  Prefactor     82.515        87.245        .63872E-05    .51993E-03
  28  Normalizat    1.0915        .24085        .58758E-05    .57304E-03
  29  Prefactor     .84211        .22970       -.36563E-05    .58030E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.67045
  Prefactor  = 0.0001
  Prefactor  = 34.8171
  Prefactor  = 0.0001
  Prefactor  = 28.464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.5571
  Prefactor  = 9.28105
  Prefactor  = 5.42762
  norm       = 0.0001
  Prefactor  = 19.452
  Prefactor  = 23.4001
  norm       = 5.38073
  norm       = 9.06082
  norm       = 13.5825
  Prefactor  = 16.3924
  Prefactor  = 4.7595
  norm       = 11.6108
  Prefactor  = 1.3433
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100129
  Prefactor  = 14.3384
  Prefactor  = 82.5148
  Normalizat = 1.09152
  Prefactor  = 0.842108
 **********
 **   18 **HESSE 
 **********

 FCN=   4100.955     FROM HESSE     STATUS=OK           555 CALLS     4312 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6705        7.0487        .24185E-03   -1.5381    
   3  Prefactor     .10000E-03    47.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.817        40.453        .33958E-03   -1.4527    
   5  Prefactor     .10000E-03    26.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.464        28.307        .75082E-04   -1.4640    
   7  Prefactor     .10000E-03    21.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.0180        .88820E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.557        6.6482        .10275E-03   -1.4945    
  10  Prefactor     9.2811        15.929        .13158E-03   -1.5099    
  11  Prefactor     5.4276        16.519        .17242E-03   -1.5242    
  12  norm          .10000E-03    1.8798        .99846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.452        85.301        .90681E-04   -1.4826    
  14  Prefactor     23.400        20.890        .82816E-04   -1.4740    
  15  norm          5.3807        11.126        .17327E-03   -1.5244    
  16  norm          9.0608        9.7575        .13316E-03   -1.5106    
  17  norm          13.582        9.7432        .10868E-03   -1.4971    
  18  Prefactor     16.392        57.873        .99024E-04   -1.4898    
  19  Prefactor     4.7595        135.38        .18423E-03   -1.5272    
  20  norm          11.611        8.9145        .11754E-03   -1.5026    
  21  Prefactor     1.3433        69.877        .37957E-03   -1.5476    
  22  norm          .10000E-03    17.460        .25121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    63.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    72.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10013E-03    24.159        .36363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     14.338        9.6112        .10575E-03   -1.4950    
  27  Prefactor     82.515        90.805        .22100E-03   -1.3889    
  28  Normalizat    1.0915        .28512        .24336E-03   -.90024    
  29  Prefactor     .84211        .27185        .28635E-03   -.98194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.07879e-09
Minuit parameter uncertainties:
  1  0.000208849
  2  7.05085
  3  0.000262579
  4  40.4845
  5  0.000189209
  6  28.3198
  7  0.000112669
  8  9.72416e-07
  9  6.6485
  10  15.9367
  11  16.5331
  12  2.33031e-06
  13  81.6646
  14  20.8968
  15  11.1302
  16  9.75918
  17  9.74438
  18  58.0718
  19  50.8954
  20  8.91548
  21  19.4001
  22  0.000373106
  23  0.000156294
  24  0.000769571
  25  0.00353832
  26  9.6122
  27  90.9587
  28  0.285526
  29  0.272288
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.358e+01  9.744e+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:  8.421e-01  2.723e-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.092e+00  2.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.99
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 4.23e-08 +/- 3.03e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/865118/likelihoodResults_348192001_348451201_4FGL_J2325.4-3559_daily_bin420.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) = 4100.95055293
delta logL = 0.00399040756201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4100.9502585
delta logL = 0.00428484008717

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.374       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2044       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0884       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84448       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=   4100.950     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      263 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.375        9.9843        .10953E-03   -.70813E-03
   2  alpha         2.2044        .81816        .17403E-01   -.65850E-04
   3  Normalizat    1.0884        .25294        .24366E-03    .66533E-04
   4  Prefactor     .84445        .26474        .28600E-03    .71908E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.3746
  alpha      = 2.20438
  Normalizat = 1.08843
  Prefactor  = 0.844446
 **********
 **   18 **HESSE 
 **********

 FCN=   4100.950     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.375        9.8994        .21905E-04   -1.4976    
   2  alpha         2.2044        .81113        .69613E-03   -.11852    
   3  Normalizat    1.0884        .25308        .97465E-05   -.90124    
   4  Prefactor     .84445        .26492        .11440E-04   -.98110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5471e-10
Minuit parameter uncertainties:
  1  9.90064
  2  0.826299
  3  0.253362
  4  0.265324
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865118': 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) = 4100.95025849
delta logL = 0.00428485108569

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.337e+01  9.901e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.204e+00  8.263e-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:  8.444e-01  2.653e-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.088e+00  2.534e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.98
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.20 +/- 0.83
Photon Flux (Free Index): 4.45e-08 +/- 3.98e-08
Energy Flux (Free Index): 1.65e-05 +/- 1.26e-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/865118/cmap_HighResolution_348192001_348451201_4FGL_J2325.4-3559_daily_bin420.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-05', comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='1.65e-05', photon_flux_error='3.03e-08', dlogl='4.28e-03', energy_flux='1.70e-05', photon_flux2='4.45e-08', job_status='DONE', time_completed='2021-09-29 17:44:04.274576', photon_index_error2='0.83', photon_index2='2.20', ts='3.99', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.26e-05', EG='1.09', time_epoch_completed='1632962644.27', return_code='0', job_id='865118', GAL2='0.84', EG2='1.09', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='3.98e-08', ts2='3.98', photon_index='2.13' WHERE bin_id='420' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:44:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 865118: <4FGL_J2325.4-3559_daily_bin420> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin420> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 17:30:20 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:30:21 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:30:21 2021
Terminated at Wed Sep 29 17:44:04 2021
Results reported at Wed Sep 29 17:44:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin420 351.359 -35.9878 348192001 348451201 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 :                                   644.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            824 sec.

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

