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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1110
RA = 351.35, Dec = -48.0022
tmin = 527040001, tmax = 527299201
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='877158', job_status='RUN', time_executed='2021-09-29 18:12:49.196377', time_epoch_executed='1632964369.2' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877158

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877158/ft1_4FGL_J2325.4-4800_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877158/ft1_4FGL_J2325.4-4800_daily_bin1110.fits outfile=/scratch/kocevski/877158/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1110.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=527040001.0 tmax=527299201.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 6.07
user 5.66
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.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/877158/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1110.fits evtable="EVENTS" outfile="/scratch/kocevski/877158/ft1_filtered_4FGL_J2325.4-4800_daily_bin1110.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.54
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877158/ft1_filtered_4FGL_J2325.4-4800_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/877158/ltcube_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.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/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.fits
.....................!
real 12.24
user 11.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877158/ft1_filtered_4FGL_J2325.4-4800_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/877158/ltcube_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.fits outfile=/scratch/kocevski/877158/expmap_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.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/877158/ltcube_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.fits
.....................!
real 191.21
user 185.51
sys 5.13

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/877158/ft1_filtered_4FGL_J2325.4-4800_daily_bin1110.fits scfile=/scratch/kocevski/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.fits outfile=/scratch/kocevski/877158/cmap_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877158/ft1_filtered_4FGL_J2325.4-4800_daily_bin1110.fits scfile=/scratch/kocevski/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.fits outfile=/scratch/kocevski/877158/cmap_HighResolution_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877158/ft1_filtered_4FGL_J2325.4-4800_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877158/Model_4FGL_J2325.4-4800_daily_bin1110.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/877158/ft1_filtered_4FGL_J2325.4-4800_daily_bin1110.fits.....................!
real 26.66
user 24.89
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/877158/ft1_filtered_4FGL_J2325.4-4800_daily_bin1110.fits', '/scratch/kocevski/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.fits', expMap='/scratch/kocevski/877158/expmap_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.fits', expCube='/scratch/kocevski/877158/ltcube_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/877158/Model_4FGL_J2325.4-4800_daily_bin1110.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/877158/ft1_filtered_4FGL_J2325.4-4800_daily_bin1110.fits
Spacecraft file(s): /scratch/kocevski/877158/ft2_4FGL_J2325.4-4800_daily_bin1110.fits
Exposure map: /scratch/kocevski/877158/expmap_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.fits
Exposure cube: /scratch/kocevski/877158/ltcube_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/877158/Model_4FGL_J2325.4-4800_daily_bin1110.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) = 2299.769405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.751       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.611       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13159E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.382       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.722       1.0000         .10000E-03   10000.    
     6 'Prefactor '    76.674       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6617       1.0000         .10000E-03   10000.    
     8 'norm      '    5.4913       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.7692       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0307       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9988       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.629       1.0000         .10000E-03   10000.    
    19 'norm      '    11.429       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .45467E-01   1.0000         .10000E-03   10000.    
    25 'norm      '    1.7835       1.0000         .10000E-03   10000.    
    26 'norm      '    13.743       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.7217       1.0000         .10000E-03   10000.    
    29 'Prefactor '    51.358       1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    6.1799       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.2450       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .50084       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2299.692     FROM MIGRAD    STATUS=CONVERGED    980 CALLS     4909 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.613        136.47       -.13531E-03    .31715E-05
   2  Prefactor     26.609        58.610       -.26992E-05   -.20275E-05
   3  Prefactor     .10000E-03    317.51       -.20187E-05** at limit **
   4  Prefactor     11.383        15.730       -.73513E-06   -.36693E-05
   5  Prefactor     36.722        25.618        .95268E-06    .50992E-06
   6  Prefactor     76.665        91.765        .19969E-05    .29508E-05
   7  Prefactor     3.6593        26.360        .17970E-05   -.53843E-04
   8  norm          5.4910        6.6692       -.91890E-06    .15766E-04
   9  Prefactor     6.7676        7.0163       -.59084E-06   -.91611E-04
  10  Prefactor     .10000E-03    16.982        .14174E-06** at limit **
  11  Prefactor     4.0298        7.6048       -.73835E-06   -.12791E-03
  12  Prefactor     .10000E-03    12.580       -.11538E-05** at limit **
  13  Prefactor     .10000E-03    4.8582       -.46982E-07** at limit **
  14  Prefactor     .10000E-03    47.336        .63792E-07** at limit **
  15  Prefactor     1.9984        6.4815       -.92881E-06   -.24212E-03
  16  Prefactor     .10000E-03    34.582       -.35773E-06** at limit **
  17  Prefactor     .10000E-03    14.225       -.41161E-06** at limit **
  18  norm          11.647        26.845        .81788E-06   -.11635E-04
  19  norm          11.431        12.276       -.62686E-06   -.79839E-05
  20  norm          .10000E-03    5.7248       -.17197E-07** at limit **
  21  Prefactor     .10000E-03    31.504       -.16930E-06** at limit **
  22  Prefactor     .10000E-03    137.63        .80315E-07** at limit **
  23  norm          .10000E-03    9.9529       -.84407E-07** at limit **
  24  Prefactor     .10162E-03    50.880        .27795E-06** at limit **
  25  norm          1.7842        2.2590       -.53957E-06   -.20349E-03
  26  norm          13.744        14.049        .10955E-05    .33656E-06
  27  Prefactor     .10000E-03    12.990        .11445E-05** at limit **
  28  Prefactor     3.7221        6.2075       -.54062E-06   -.88848E-04
  29  Prefactor     51.365        67.249        .85557E-06    .47792E-06
  30  norm          .10000E-03    20.864       -.50446E-06** at limit **
  31  Prefactor     .10000E-03    10.802        .43481E-07** at limit **
  32  Prefactor     6.1809        15.120        .11702E-05   -.58646E-04
  33  Normalizat    1.2452        .32176        .13382E-05   -.16313E-04
  34  Prefactor     .50071        .29728        .35318E-05    .16686E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.6133
  Prefactor  = 26.6087
  Prefactor  = 0.000100001
  Prefactor  = 11.3835
  Prefactor  = 36.7221
  Prefactor  = 76.6652
  Prefactor  = 3.65927
  norm       = 5.49098
  Prefactor  = 6.76759
  Prefactor  = 0.0001
  Prefactor  = 4.0298
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.9984
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.6465
  norm       = 11.4306
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000101624
  norm       = 1.78421
  norm       = 13.7435
  Prefactor  = 0.0001
  Prefactor  = 3.72212
  Prefactor  = 51.3655
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.18086
  Normalizat = 1.24522
  Prefactor  = 0.500708
 **********
 **   18 **HESSE 
 **********

 FCN=   2299.692     FROM HESSE     STATUS=OK           742 CALLS     5651 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.613        136.82        .70018E-04   -1.4565    
   2  Prefactor     26.609        58.227        .77657E-04   -1.4676    
   3  Prefactor     .10000E-03    319.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.383        15.729        .11875E-03   -1.5033    
   5  Prefactor     36.722        25.665        .66136E-04   -1.4495    
   6  Prefactor     76.665        91.820        .45858E-04   -1.3955    
   7  Prefactor     3.6593        26.497        .21109E-03   -1.5325    
   8  norm          5.4910        6.6678        .13309E-03   -1.5239    
   9  Prefactor     6.7676        7.0787        .11748E-03   -1.5188    
  10  Prefactor     .10000E-03    16.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0298        7.5882        .17014E-03   -1.5306    
  12  Prefactor     .10000E-03    12.584        .16615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.8635        .10323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    47.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.9984        6.4501        .21129E-03   -1.5425    
  16  Prefactor     .10000E-03    34.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.238        .17666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.647        26.958        .11747E-03   -1.5025    
  19  norm          11.431        12.310        .11850E-03   -1.5032    
  20  norm          .10000E-03    5.7305        .11206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    32.087        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    138.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    10.039        .14756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10162E-03    73.208        .83516E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.7842        2.2413        .74403E-04   -1.5441    
  26  norm          13.744        14.047        .10804E-03   -1.4966    
  27  Prefactor     .10000E-03    13.006        .16883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.7221        6.1888        .13854E-03   -1.5322    
  29  Prefactor     51.365        67.274        .55962E-04   -1.4273    
  30  norm          .10000E-03    20.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    10.896        .15381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     6.1809        15.051        .16149E-03   -1.5211    
  33  Normalizat    1.2452        .39783        .22211E-03   -.85217    
  34  Prefactor     .50071        .35652        .32726E-03   -1.1194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06806e-10
Minuit parameter uncertainties:
  1  134.124
  2  58.3518
  3  0.00104946
  4  15.7345
  5  25.6728
  6  91.9908
  7  19.7055
  8  6.6687
  9  7.07957
  10  3.08482e-07
  11  7.58998
  12  6.78215e-06
  13  5.04144e-06
  14  1.25407e-05
  15  6.45235
  16  2.60736e-05
  17  2.25044e-06
  18  26.9865
  19  12.3125
  20  6.5804e-06
  21  7.6177e-05
  22  0.000144102
  23  1.40344e-05
  24  0.0218336
  25  2.24144
  26  14.05
  27  1.39947e-05
  28  6.18983
  29  67.3738
  30  8.60738e-06
  31  4.22467e-05
  32  15.0605
  33  0.398809
  34  0.358122
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  7.618e-05  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:  5.007e-01  3.581e-01  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.245e+00  3.988e-01  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.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877158/likelihoodResults_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.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) = 2299.69252659
delta logL = -0.00014868032531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2299.69237888
delta logL = -9.68317635852e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10774E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2189       1.0000          .0000       10.000    
     3 'Normalizat'    1.2452       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50071       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2299.692     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      293 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10514E-03    45.813        .36285E-02** at limit **
   2  Index         2.1069        5.3944        .50000        .25759E-04
   3  Normalizat    1.2452        .83839E-02    .22211E-03   -.12156E-04
   4  Prefactor     .50071        .81755E-02    .32726E-03   -.38908E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105139
  Index      = 2.10688
  Normalizat = 1.24523
  Prefactor  = 0.500707
 **********
 **   18 **HESSE 
 **********

 FCN=   2299.692     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      322 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10514E-03    224.68        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1069        8.6813        .50000       -.61704    
   3  Normalizat    1.2452        .18670E-01    .88845E-05   -.85217    
   4  Prefactor     .50071        .18205E-01    .13090E-04   -1.1194    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.30769e-09
Minuit parameter uncertainties:
  1  0.0682192
  2  168.541
  3  0.0186696
  4  0.0182055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877158': 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) = 2299.692378
delta logL = -8.78035280039e-08

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.051e-04  6.822e-02  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.107e+00  1.685e+02  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:  5.007e-01  1.821e-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.245e+00  1.867e-02  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/877158/cmap_HighResolution_527040001_527299201_4FGL_J2325.4-4800_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2021-09-29 18:22:25.030281', job_id='877158', GAL2='0.50', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1632964945.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='-8.78e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1110' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:22:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 877158: <4FGL_J2325.4-4800_daily_bin1110> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1110> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:13 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:15 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:15 2021
Terminated at Wed Sep 29 18:22:25 2021
Results reported at Wed Sep 29 18:22:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1110 351.35 -48.0022 527040001 527299201 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 :                                   561.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             238.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            732 sec.

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

