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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1232
RA = 351.35, Dec = -48.0022
tmin = 558662401, tmax = 558921601
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='877349', job_status='RUN', time_executed='2021-09-29 18:13:46.881487', time_epoch_executed='1632964426.88' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877349

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877349/ft1_4FGL_J2325.4-4800_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877349/ft1_4FGL_J2325.4-4800_daily_bin1232.fits outfile=/scratch/kocevski/877349/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1232.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=558662401.0 tmax=558921601.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.55
user 3.30
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877349/ft1_filtered_4FGL_J2325.4-4800_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/877349/ltcube_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.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/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits
.....................!
real 12.18
user 11.84
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877349/ft1_filtered_4FGL_J2325.4-4800_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/877349/ltcube_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.fits outfile=/scratch/kocevski/877349/expmap_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.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/877349/ltcube_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.fits
.....................!
real 190.83
user 186.11
sys 4.36

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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-4800 @ 351.35 -48.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/877349/ft1_filtered_4FGL_J2325.4-4800_daily_bin1232.fits scfile=/scratch/kocevski/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits outfile=/scratch/kocevski/877349/cmap_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.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.35 yref=-48.0022 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877349/ft1_filtered_4FGL_J2325.4-4800_daily_bin1232.fits scfile=/scratch/kocevski/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits outfile=/scratch/kocevski/877349/cmap_HighResolution_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.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.35 yref=-48.0022 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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877349/ft1_filtered_4FGL_J2325.4-4800_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877349/Model_4FGL_J2325.4-4800_daily_bin1232.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/877349/ft1_filtered_4FGL_J2325.4-4800_daily_bin1232.fits........!
real 14.58
user 13.19
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/877349/ft1_filtered_4FGL_J2325.4-4800_daily_bin1232.fits', '/scratch/kocevski/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits', expMap='/scratch/kocevski/877349/expmap_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.fits', expCube='/scratch/kocevski/877349/ltcube_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/877349/Model_4FGL_J2325.4-4800_daily_bin1232.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-4800'

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/877349/ft1_filtered_4FGL_J2325.4-4800_daily_bin1232.fits
Spacecraft file(s): /scratch/kocevski/877349/ft2_4FGL_J2325.4-4800_daily_bin1232.fits
Exposure map: /scratch/kocevski/877349/expmap_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.fits
Exposure cube: /scratch/kocevski/877349/ltcube_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/877349/Model_4FGL_J2325.4-4800_daily_bin1232.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 106.238817732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 105.050893789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    447.03       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42257E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7572       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5468       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28440       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12929E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .55467E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6153       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11489       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .49997       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8636       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1691       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7212       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0694       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .46255E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.4495       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.5499       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3229       1.0000         .10000E-03   10000.    
    19 'norm      '    1.1394       1.0000         .10000E-03   10000.    
    20 'norm      '    .75637       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .24838       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.0569       1.0000         .10000E-03   10000.    
    23 'norm      '    .22113E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .45377E-01   1.0000         .10000E-03   10000.    
    25 'norm      '    7.2906       1.0000         .10000E-03   10000.    
    26 'norm      '    .10402E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.1836       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.5694       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .15542       1.0000         .10000E-03   10000.    
    30 'norm      '    2.9390       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.4203       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.1571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   105.0427     FROM MIGRAD    STATUS=CONVERGED    204 CALLS      467 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     449.07        388.63        .48391E-03   -.27261E-01
   2  Prefactor     .10289E-03    444.11        .97127E-02** at limit **
   3  Prefactor     .11657E-02    6302.6        .41848E-02** at limit **
   4  Prefactor     1.5468        1.0651         .0000         .0000    
   5  Prefactor     .16980E-03    .26813       -.21240E-04** at limit **
   6  Prefactor     .10000E-03    .20571        .14058E-05** at limit **
   7  Prefactor     .10000E-03    .22695        .59502E-06** at limit **
   8  norm          1.6153        1.0584         .0000         .0000    
   9  Prefactor     .11385E-03    .22953       -.10599E-04** at limit **
  10  Prefactor     .10277E-03    .31757       -.25576E-04** at limit **
  11  Prefactor     3.8636        1.0086         .0000         .0000    
  12  Prefactor     4.1691        1.0074         .0000         .0000    
  13  Prefactor     2.7212        1.0180         .0000         .0000    
  14  Prefactor     4.0694        1.0077         .0000         .0000    
  15  Prefactor     .10000E-03    .21399        .18917E-05** at limit **
  16  Prefactor     7.4495        1.0023         .0000         .0000    
  17  Prefactor     3.5499        1.0103         .0000         .0000    
  18  norm          .10000E-03    .22847        .60787E-05** at limit **
  19  norm          1.1394        1.1628         .0000         .0000    
  20  norm          .11717E-03    .37676       -.37189E-04** at limit **
  21  Prefactor     .11129E-03    .25991        .52778E-06** at limit **
  22  Prefactor     .10000E-03    .35749       -.50489E-05** at limit **
  23  norm          .10000E-03    .25342        .22104E-06** at limit **
  24  Prefactor     .14864E-03    .21379       -.10404E-04** at limit **
  25  norm          7.2906        1.0024         .0000         .0000    
  26  norm          .10000E-03    .20571        .10263E-05** at limit **
  27  Prefactor     2.1836        1.0290         .0000         .0000    
  28  Prefactor     1.5694        1.0628         .0000         .0000    
  29  Prefactor     .18760E-03    .23874        .38550E-04** at limit **
  30  norm          2.9390        1.0153         .0000         .0000    
  31  Prefactor     2.4203        1.0231         .0000         .0000    
  32  Prefactor     .10000E-03    .20571        .13149E-05** at limit **
  33  Normalizat    .10000E-01    .25505       -.70584E-05** at limit **
  34  Prefactor     1.1623        1.1210        .79424E-05   -.13206E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 449.072
  Prefactor  = 0.00010289
  Prefactor  = 0.00116566
  Prefactor  = 1.54684
  Prefactor  = 0.000169797
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.61533
  Prefactor  = 0.000113854
  Prefactor  = 0.000102765
  Prefactor  = 3.86359
  Prefactor  = 4.16915
  Prefactor  = 2.7212
  Prefactor  = 4.06936
  Prefactor  = 0.0001
  Prefactor  = 7.44949
  Prefactor  = 3.54989
  norm       = 0.000100003
  norm       = 1.13943
  norm       = 0.000117167
  Prefactor  = 0.000111287
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000148636
  norm       = 7.2906
  norm       = 0.0001
  Prefactor  = 2.18357
  Prefactor  = 1.5694
  Prefactor  = 0.000187598
  norm       = 2.93896
  Prefactor  = 2.42032
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.16229
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   105.0427     FROM HESSE     STATUS=FAILED        15 CALLS      482 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     449.07        388.63        .48391E-03   -1.1437    
   2  Prefactor     .10289E-03    444.11        .97127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11657E-02    6302.6        .41848E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     576.92        575.19         .0000       -1.5459    
   5  Prefactor     .16980E-03    .26813       -.21240E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .20571        .14058E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .22695        .59502E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6153        1.0584         .0000       -1.5454    
   9  Prefactor     .11385E-03    .22953       -.10599E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10277E-03    .31757       -.25576E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8636        1.0086         .0000       -1.5315    
  12  Prefactor     4.1691        1.0074         .0000       -1.5300    
  13  Prefactor     2.7212        1.0180         .0000       -1.5378    
  14  Prefactor     4.0694        1.0077         .0000       -1.5304    
  15  Prefactor     .10000E-03    .21399        .18917E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.4495        1.0023         .0000       -1.5162    
  17  Prefactor     3.5499        1.0103         .0000       -1.5331    
  18  norm          .10000E-03    .22847        .60787E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1394        1.1628         .0000       -1.5494    
  20  norm          .11717E-03    .37676       -.37189E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11129E-03    .25991        .52778E-06   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .35749       -.50489E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .25342        .22104E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .14864E-03    .21379       -.10404E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          7.2906        1.0024         .0000       -1.5168    
  26  norm          .10000E-03    .20571        .10263E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.1836        1.0290         .0000       -1.5412    
  28  Prefactor     1.5694        1.0628         .0000       -1.5457    
  29  Prefactor     .18760E-03    .23874        .38550E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          2.9390        1.0153         .0000       -1.5365    
  31  Prefactor     2.4203        1.0231         .0000       -1.5397    
  32  Prefactor     .10000E-03    .20571        .13149E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .10000E-01    .25505       -.70584E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     1.1623        1.1210        .79424E-05   -.87500    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.71409e-10
Minuit parameter uncertainties:
  1  390.947
  2  0.0721898
  3  3.49514
  4  1.06512
  5  0.00865222
  6  4.81473e-07
  7  6.1513e-07
  8  1.05842
  9  0.00356656
  10  0.00187427
  11  1.00863
  12  1.00738
  13  1.01796
  14  1.00775
  15  1.50878e-06
  16  1.00227
  17  1.01028
  18  4.8201e-05
  19  1.16278
  20  0.0050865
  21  0.00342558
  22  8.64859e-06
  23  1.76322e-07
  24  0.00644918
  25  1.00237
  26  3.06399e-07
  27  1.02897
  28  1.06278
  29  0.00914622
  30  1.01526
  31  1.02311
  32  5.97026e-07
  33  4.46256e-08
  34  1.14524
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 105.042698816

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.113e-04  3.426e-03  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.162e+00  1.145e+00  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.000e-02  4.463e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.65e-05 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877349/likelihoodResults_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.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) = 105.042706259
delta logL = -7.4435544235e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 105.042706806
delta logL = -7.99089191617e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95962E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1056       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1629       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   105.0427     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      205 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    1043.6        .90751E-02** at limit **
   2  Index         2.0743        8.9517        .50000        .38213E-06
   3  Normalizat    .10000E-01    .26937E-02    .13610    ** at limit **
   4  Prefactor     1.1623        .35969E-01    .35573E-01   -.11915E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010003
  Index      = 2.07426
  Normalizat = 0.01
  Prefactor  = 1.1623
 **********
 **   18 **HESSE 
 **********

 FCN=   105.0427     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    7222.1        .18150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0743        8.8089        .50000       -.62506    
   3  Normalizat    .10000E-01    .14658E-01    .57703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1623        .80294E-01    .19718E-03   -.87500    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.49031e-08
Minuit parameter uncertainties:
  1  0.0252338
  2  2183.46
  3  1.01965e-07
  4  0.0803025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877349': 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): 102
logL (Free Index) = 105.042698804
delta logL = 1.18501617408e-08

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  2.523e-02  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.074e+00  2.183e+03  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.162e+00  8.030e-02  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.000e-02  1.020e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.350 -48.002

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/877349/cmap_HighResolution_558662401_558921601_4FGL_J2325.4-4800_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e+00', job_status='DONE', photon_flux_upper_limit='1.65e-05', time_completed='2021-09-29 18:19:45.783169', job_id='877349', GAL2='1.16', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632964785.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.16', dlogl='1.19e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1232' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:19:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 877349: <4FGL_J2325.4-4800_daily_bin1232> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1232> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:31 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:10:33 2021
Terminated at Wed Sep 29 18:19:46 2021
Results reported at Wed Sep 29 18:19:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1232 351.35 -48.0022 558662401 558921601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-4800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   322.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             161.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   553 sec.
    Turnaround time :                            555 sec.

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

