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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin833
RA = 351.359, Dec = -35.9878
tmin = 455241601, tmax = 455500801
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='867974', job_status='RUN', time_executed='2021-09-29 17:40:39.269687', time_epoch_executed='1632962439.27' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='833'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867974

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867974/ft1_4FGL_J2325.4-3559_daily_bin833.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867974/ft2_4FGL_J2325.4-3559_daily_bin833.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867974/ft1_4FGL_J2325.4-3559_daily_bin833.fits outfile=/scratch/kocevski/867974/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin833.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=455241601.0 tmax=455500801.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.42
user 3.20
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867974/ft1_filtered_4FGL_J2325.4-3559_daily_bin833.fits" evtable="EVENTS" scfile=/scratch/kocevski/867974/ft2_4FGL_J2325.4-3559_daily_bin833.fits sctable="SC_DATA" outfile=/scratch/kocevski/867974/ltcube_455241601_455500801_4FGL_J2325.4-3559_daily_bin833.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/867974/ft2_4FGL_J2325.4-3559_daily_bin833.fits
.....................!
real 11.86
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867974/ft1_filtered_4FGL_J2325.4-3559_daily_bin833.fits evtable="EVENTS" scfile=/scratch/kocevski/867974/ft2_4FGL_J2325.4-3559_daily_bin833.fits sctable="SC_DATA" expcube=/scratch/kocevski/867974/ltcube_455241601_455500801_4FGL_J2325.4-3559_daily_bin833.fits outfile=/scratch/kocevski/867974/expmap_455241601_455500801_4FGL_J2325.4-3559_daily_bin833.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/867974/ltcube_455241601_455500801_4FGL_J2325.4-3559_daily_bin833.fits
.....................!
real 190.91
user 185.99
sys 4.60

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/867974/ft1_filtered_4FGL_J2325.4-3559_daily_bin833.fits scfile=/scratch/kocevski/867974/ft2_4FGL_J2325.4-3559_daily_bin833.fits outfile=/scratch/kocevski/867974/cmap_455241601_455500801_4FGL_J2325.4-3559_daily_bin833.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867974/ft1_filtered_4FGL_J2325.4-3559_daily_bin833.fits scfile=/scratch/kocevski/867974/ft2_4FGL_J2325.4-3559_daily_bin833.fits outfile=/scratch/kocevski/867974/cmap_HighResolution_455241601_455500801_4FGL_J2325.4-3559_daily_bin833.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867974/ft1_filtered_4FGL_J2325.4-3559_daily_bin833.fits evtable="EVENTS" scfile=/scratch/kocevski/867974/ft2_4FGL_J2325.4-3559_daily_bin833.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867974/Model_4FGL_J2325.4-3559_daily_bin833.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/867974/ft1_filtered_4FGL_J2325.4-3559_daily_bin833.fits.....................!
real 42.83
user 41.60
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38419       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1952       1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.627       1.0000         .10000E-03   10000.    
     5 'Prefactor '    43.799       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .30387       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9500       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.449       1.0000         .10000E-03   10000.    
    12 'norm      '    .91059       1.0000         .10000E-03   10000.    
    13 'Prefactor '    113.93       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .76987       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    52.811       1.0000         .10000E-03   10000.    
    20 'norm      '    6.6124       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.9666       1.0000         .10000E-03   10000.    
    22 'norm      '    .51490       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    35.659       1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.194       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1307       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .53275       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=   5286.768     FROM MIGRAD    STATUS=CONVERGED    768 CALLS     4295 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22373        55.564       -.15001E-05    .10580E-03
   2  Prefactor     .10000E-03    1.1226       -.17586E-07** at limit **
   3  Prefactor     3.1965        22.397        .57061E-06   -.25120E-04
   4  Prefactor     38.615        46.865        .11946E-05    .54592E-04
   5  Prefactor     43.797        25.037       -.27446E-06   -.16912E-03
   6  Prefactor     .10000E-03    14.253        .77274E-08** at limit **
   7  Prefactor     .31740        9.4617        .82813E-06   -.10894E-03
   8  Prefactor     .10000E-03    2.6923        .25836E-07** at limit **
   9  norm          .10000E-03    2.2649       -.76874E-07** at limit **
  10  Prefactor     5.9480        14.559       -.78702E-06   -.13025E-03
  11  Prefactor     15.456        12.594        .27754E-06   -.82021E-04
  12  norm          .91061        .68351        .27360E-07   -.15652E-03
  13  Prefactor     113.93        76.374       -.16793E-05   -.17683E-03
  14  Prefactor     .10000E-03    6.0431        .31808E-07** at limit **
  15  norm          .10000E-03    4.6535       -.25062E-07** at limit **
  16  norm          .10000E-03    1.6679        .69220E-08** at limit **
  17  norm          .77575        5.9675       -.53762E-07    .66961E-05
  18  Prefactor     .10000E-03    27.614       -.19511E-06** at limit **
  19  Prefactor     52.788        44.033        .32248E-05    .34932E-03
  20  norm          6.6128        4.2058       -.21065E-06   -.18257E-03
  21  Prefactor     4.9672        10.587        .38671E-05   -.29770E-03
  22  norm          .51514        3.9006        .18439E-05   -.16669E-03
  23  Prefactor     .10000E-03    33.270        .20765E-06** at limit **
  24  Prefactor     35.645        53.180       -.15253E-06   -.34052E-04
  25  Prefactor     12.197        7.6737        .52531E-07   -.69715E-04
  26  Prefactor     .10000E-03    3.0651       -.13503E-08** at limit **
  27  Prefactor     .10000E-03    24.605       -.26115E-07** at limit **
  28  Normalizat    1.1305        .18403       -.12191E-05   -.64190E-05
  29  Prefactor     .53288        .18630       -.12101E-06   -.63014E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.223729
  Prefactor  = 0.0001
  Prefactor  = 3.19655
  Prefactor  = 38.6149
  Prefactor  = 43.7968
  Prefactor  = 0.0001
  Prefactor  = 0.317396
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.94798
  Prefactor  = 15.4557
  norm       = 0.910611
  Prefactor  = 113.932
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.775755
  Prefactor  = 0.0001
  Prefactor  = 52.7879
  norm       = 6.6128
  Prefactor  = 4.96719
  norm       = 0.515141
  Prefactor  = 0.0001
  Prefactor  = 35.6448
  Prefactor  = 12.197
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.13055
  Prefactor  = 0.532884
 **********
 **   18 **HESSE 
 **********

 FCN=   5286.768     FROM HESSE     STATUS=OK           561 CALLS     4856 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22373        57.424        .14518       -1.5613    
   2  Prefactor     .10000E-03    1.1259        .75162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.1965        22.387        .22668E-03   -1.5350    
   4  Prefactor     38.615        46.976        .64490E-04   -1.4464    
   5  Prefactor     43.797        25.099        .60578E-04   -1.4383    
   6  Prefactor     .10000E-03    14.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .31740        81.837        .41575E-02   -1.5595    
   8  Prefactor     .10000E-03    2.7012        .11650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.2918        .10654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.9480        14.543        .16462E-03   -1.5220    
  11  Prefactor     15.456        12.559        .10190E-03   -1.4921    
  12  norm          .91061        .68060        .42780E-04   -1.5517    
  13  Prefactor     113.93        77.528        .37691E-04   -1.3569    
  14  Prefactor     .10000E-03    6.0600        .17430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.6606        .15319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.6687        .91676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .77575        31.307        .32525E-02   -1.5532    
  18  Prefactor     .10000E-03    27.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     52.788        46.300        .55191E-04   -1.4254    
  20  norm          6.6128        4.1650        .11019E-03   -1.5194    
  21  Prefactor     4.9672        10.815        .90229E-03   -1.5262    
  22  norm          .51514        3.9341        .26892E-03   -1.5564    
  23  Prefactor     .10000E-03    33.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     35.645        53.350        .67111E-04   -1.4513    
  25  Prefactor     12.197        7.7534        .11471E-03   -1.5009    
  26  Prefactor     .10000E-03    3.1222        .12427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    24.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1305        .21594        .20433E-03   -.88777    
  29  Prefactor     .53288        .21506        .30702E-03   -1.1049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73438e-09
Minuit parameter uncertainties:
  1  7.174
  2  1.11973e-06
  3  16.9276
  4  47.0215
  5  25.1046
  6  1.60516e-05
  7  10.2056
  8  2.70555e-06
  9  3.88811e-06
  10  14.552
  11  12.5612
  12  0.680608
  13  77.5972
  14  7.61683e-07
  15  2.31072e-06
  16  8.52223e-07
  17  9.86111
  18  2.16287e-05
  19  46.3311
  20  4.16516
  21  10.819
  22  2.84718
  23  4.64217e-05
  24  53.4213
  25  7.75402
  26  2.17905e-06
  27  1.93307e-05
  28  0.216106
  29  0.215389
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.758e-01  9.861e+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.329e-01  2.154e-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.131e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/867974/likelihoodResults_455241601_455500801_4FGL_J2325.4-3559_daily_bin833.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) = 5286.73234602
delta logL = 0.0359155870283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5286.71477181
delta logL = 0.0534897989501

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9910       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8952       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1205       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53575       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=   5286.715     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      272 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9942        11.165        .14681E-02   -.75246E-04
   2  alpha         2.8951        3.7269        .42744E-01    .11003E-03
   3  Normalizat    1.1205        .19844        .20511E-03   -.26882E-04
   4  Prefactor     .53578        .20999        .30617E-03   -.20608E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.99425
  alpha      = 2.89509
  Normalizat = 1.12046
  Prefactor  = 0.535781
 **********
 **   18 **HESSE 
 **********

 FCN=   5286.715     FROM HESSE     STATUS=OK            27 CALLS      299 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9942        7.3266        .58724E-04   -1.5426    
   2  alpha         2.8951        1.8960        .85488E-02    .15870    
   3  Normalizat    1.1205        .19874        .82044E-05   -.89098    
   4  Prefactor     .53578        .20947        .12247E-04   -1.1036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31632e-11
Minuit parameter uncertainties:
  1  7.32988
  2  2.16191
  3  0.198876
  4  0.209771
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867974': 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) = 5286.71477167
delta logL = 0.0534899428549

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.994e+00  7.330e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.895e+00  2.162e+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:  5.358e-01  2.098e-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.120e+00  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/867974/cmap_HighResolution_455241601_455500801_4FGL_J2325.4-3559_daily_bin833.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.97e-05', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2021-09-29 17:53:46.013682', job_id='867974', GAL2='0.54', fit_tolerance='1e-08', EG2='1.12', EG='1.13', time_epoch_completed='1632963226.01', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.53', dlogl='5.35e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='833' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:53:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 867974: <4FGL_J2325.4-3559_daily_bin833> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin833 351.359 -35.9878 455241601 455500801 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 :                                   782.00 sec.
    Max Memory :                                 1241 MB
    Average Memory :                             299.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

