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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1379
RA = 351.35, Dec = -48.0022
tmin = 596764801, tmax = 597024001
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='877576', job_status='RUN', time_executed='2021-09-29 18:11:54.786504', time_epoch_executed='1632964314.79' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1379'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877576

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877576/ft1_4FGL_J2325.4-4800_daily_bin1379.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877576/ft2_4FGL_J2325.4-4800_daily_bin1379.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877576/ft1_4FGL_J2325.4-4800_daily_bin1379.fits outfile=/scratch/kocevski/877576/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1379.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=596764801.0 tmax=597024001.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.51
user 3.29
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877576/ft1_filtered_4FGL_J2325.4-4800_daily_bin1379.fits" evtable="EVENTS" scfile=/scratch/kocevski/877576/ft2_4FGL_J2325.4-4800_daily_bin1379.fits sctable="SC_DATA" outfile=/scratch/kocevski/877576/ltcube_596764801_597024001_4FGL_J2325.4-4800_daily_bin1379.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/877576/ft2_4FGL_J2325.4-4800_daily_bin1379.fits
.....................!
real 11.55
user 11.23
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877576/ft1_filtered_4FGL_J2325.4-4800_daily_bin1379.fits evtable="EVENTS" scfile=/scratch/kocevski/877576/ft2_4FGL_J2325.4-4800_daily_bin1379.fits sctable="SC_DATA" expcube=/scratch/kocevski/877576/ltcube_596764801_597024001_4FGL_J2325.4-4800_daily_bin1379.fits outfile=/scratch/kocevski/877576/expmap_596764801_597024001_4FGL_J2325.4-4800_daily_bin1379.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/877576/ltcube_596764801_597024001_4FGL_J2325.4-4800_daily_bin1379.fits
.....................!
real 190.87
user 185.63
sys 4.87

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/877576/ft1_filtered_4FGL_J2325.4-4800_daily_bin1379.fits scfile=/scratch/kocevski/877576/ft2_4FGL_J2325.4-4800_daily_bin1379.fits outfile=/scratch/kocevski/877576/cmap_596764801_597024001_4FGL_J2325.4-4800_daily_bin1379.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.52
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877576/ft1_filtered_4FGL_J2325.4-4800_daily_bin1379.fits scfile=/scratch/kocevski/877576/ft2_4FGL_J2325.4-4800_daily_bin1379.fits outfile=/scratch/kocevski/877576/cmap_HighResolution_596764801_597024001_4FGL_J2325.4-4800_daily_bin1379.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877576/ft1_filtered_4FGL_J2325.4-4800_daily_bin1379.fits evtable="EVENTS" scfile=/scratch/kocevski/877576/ft2_4FGL_J2325.4-4800_daily_bin1379.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877576/Model_4FGL_J2325.4-4800_daily_bin1379.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/877576/ft1_filtered_4FGL_J2325.4-4800_daily_bin1379.fits....................!
real 39.17
user 37.92
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15780E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.2703       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.490       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.369       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.333       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11045E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10694E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.157       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0985       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.202       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.5303       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.8008       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .68907       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.599       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    6.2264       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10637E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .29541       1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.7978       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    20.988       1.0000         .10000E-03   10000.    
    30 'norm      '    .30136E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    9.5894       1.0000         .10000E-03   10000.    
    32 'Prefactor '    6.6461       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.2387       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .69861       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=   5210.184     FROM MIGRAD    STATUS=CONVERGED    933 CALLS     4857 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    176.87        .85024E-06** at limit **
   2  Prefactor     7.2703        16.054       -.12264E-07    .39344E-05
   3  Prefactor     19.472        34.878       -.27657E-06    .59263E-05
   4  Prefactor     14.385        12.774        .10376E-06    .21296E-05
   5  Prefactor     10.334        7.2718        .65369E-08    .61157E-05
   6  Prefactor     .10000E-03    50.301       -.60160E-06** at limit **
   7  Prefactor     .10000E-03    8.0516       -.33194E-06** at limit **
   8  norm          .10000E-03    2.7939       -.32618E-07** at limit **
   9  Prefactor     .10000E-03    2.3603        .13114E-05** at limit **
  10  Prefactor     20.984        61.970       -.67150E-05   -.65515E-05
  11  Prefactor     7.0969        6.8245       -.49383E-07   -.24922E-04
  12  Prefactor     .10000E-03    10.698       -.33156E-07** at limit **
  13  Prefactor     .10000E-03    6.2358       -.68641E-07** at limit **
  14  Prefactor     42.174        51.307       -.65531E-06    .24056E-05
  15  Prefactor     .10000E-03    2.2966        .35823E-06** at limit **
  16  Prefactor     4.5284        29.623       -.14872E-07   -.23715E-06
  17  Prefactor     .10000E-03    4.0350       -.51660E-07** at limit **
  18  norm          5.8012        12.942        .62187E-07   -.22452E-06
  19  norm          .10000E-03    1.9041       -.15278E-07** at limit **
  20  norm          .68893        6.2042        .23620E-05    .14061E-04
  21  Prefactor     10.596        6.9987        .12253E-06    .46197E-04
  22  Prefactor     .10000E-03    19.870        .19825E-06** at limit **
  23  norm          6.2268        5.9955       -.58729E-06   -.49344E-05
  24  Prefactor     .10000E-03    18.157       -.50577E-06** at limit **
  25  norm          .10000E-03    .43427       -.86301E-07** at limit **
  26  norm          .29942        3.2295        .90957E-07   -.67485E-04
  27  Prefactor     5.7916        15.320       -.21375E-06    .53018E-05
  28  Prefactor     .10000E-03    1.8993       -.61528E-07** at limit **
  29  Prefactor     20.985        23.855        .25052E-07    .16541E-04
  30  norm          .10000E-03    71.408       -.26740E-06** at limit **
  31  Prefactor     9.5964        6.5891       -.30751E-07    .36175E-04
  32  Prefactor     6.6454        5.4170        .23999E-07    .17960E-04
  33  Normalizat    1.2388        .20120        .92816E-06   -.74412E-04
  34  Prefactor     .69851        .20200       -.81507E-06    .19830E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.27029
  Prefactor  = 19.472
  Prefactor  = 14.3847
  Prefactor  = 10.3335
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.9844
  Prefactor  = 7.09689
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.1738
  Prefactor  = 0.0001
  Prefactor  = 4.52845
  Prefactor  = 0.0001
  norm       = 5.80123
  norm       = 0.0001
  norm       = 0.688931
  Prefactor  = 10.5958
  Prefactor  = 0.0001
  norm       = 6.22677
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.299416
  Prefactor  = 5.7916
  Prefactor  = 0.0001
  Prefactor  = 20.9848
  norm       = 0.0001
  Prefactor  = 9.59642
  Prefactor  = 6.64539
  Normalizat = 1.23883
  Prefactor  = 0.698506
 **********
 **   18 **HESSE 
 **********

 FCN=   5210.184     FROM HESSE     STATUS=OK           736 CALLS     5593 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    178.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.2703        16.023        .14876E-03   -1.5169    
   3  Prefactor     19.472        34.876        .90725E-04   -1.4825    
   4  Prefactor     14.385        12.773        .10566E-03   -1.4949    
   5  Prefactor     10.334        7.2692        .12465E-03   -1.5065    
   6  Prefactor     .10000E-03    50.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.2990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.7957        .11783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.3813        .10804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.984        62.175        .87079E-04   -1.4791    
  11  Prefactor     7.0969        6.8369        .15056E-03   -1.5175    
  12  Prefactor     .10000E-03    10.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2774        .17600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     42.174        51.283        .30854E-03   -1.4408    
  15  Prefactor     .10000E-03    2.2988        .10683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.5284        29.586        .18914E-03   -1.5282    
  17  Prefactor     .10000E-03    4.0381        .14160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.8012        12.944        .16675E-03   -1.5226    
  19  norm          .10000E-03    1.9043        .97272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .68893        6.3775        .14921E-02   -1.5542    
  21  Prefactor     10.596        6.9838        .12307E-03   -1.5057    
  22  Prefactor     .10000E-03    19.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.2268        6.1702        .13397E-03   -1.5209    
  24  Prefactor     .10000E-03    18.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .44937        .92692E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .29942        20.308        .23254E-02   -1.5599    
  27  Prefactor     5.7916        15.362        .16680E-03   -1.5227    
  28  Prefactor     .10000E-03    1.9110        .96827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     20.985        23.826        .87430E-04   -1.4791    
  30  norm          .10000E-03    73.110        .42776E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     9.5964        6.5568        .12941E-03   -1.5088    
  32  Prefactor     6.6454        5.4329        .14031E-03   -1.5192    
  33  Normalizat    1.2388        .24306        .21858E-03   -.85411    
  34  Prefactor     .69851        .24192        .29832E-03   -1.0359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46619e-08
Minuit parameter uncertainties:
  1  8.8621e-05
  2  16.0321
  3  34.9127
  4  12.775
  5  7.26986
  6  1.96999e-06
  7  5.31109e-06
  8  9.78754e-08
  9  3.5206e-07
  10  62.3675
  11  6.83767
  12  5.66753e-07
  13  5.09636e-07
  14  51.3366
  15  5.96465e-07
  16  23.1664
  17  7.22047e-07
  18  12.95
  19  2.08464e-07
  20  4.19251
  21  6.98438
  22  8.63329e-06
  23  6.17081
  24  2.27182e-05
  25  3.74259e-07
  26  4.93266
  27  15.3721
  28  1.0143e-06
  29  23.8366
  30  4.91653e-05
  31  6.55734
  32  5.43332
  33  0.24328
  34  0.24228
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.060e+01  6.984e+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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  6.985e-01  2.423e-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.239e+00  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.17
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 4.56e-08 +/- 3.01e-08
Energy Flux (Fixed Index): 2.47e-05 +/- 1.63e-05

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) = 5210.17617195
delta logL = 0.00819782884446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5210.16663628
delta logL = 0.0177334972504

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3301       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2130       1.0000          .0000       10.000    
     3 'Normalizat'    1.2331       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70227       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=   5210.167     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      208 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3301        127.75        .32801E-02    .13231E-03
   2  Index         2.2129        2.9950        .14007        .96181E-04
   3  Normalizat    1.2331        .83725E-01    .49537E-01    .30170E-05
   4  Prefactor     .70228        .72237E-01    .67253E-01    .19982E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.33015
  Index      = 2.21292
  Normalizat = 1.23307
  Prefactor  = 0.702275
 **********
 **   18 **HESSE 
 **********

 FCN=   5210.167     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3301        9.9411        .13120E-03   -1.5097    
   2  Index         2.2129        .62071        .48480E-02   -.59127    
   3  Normalizat    1.2331        .22642        .21900E-03   -.85587    
   4  Prefactor     .70228        .23702        .29758E-03   -1.0344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24943e-09
Minuit parameter uncertainties:
  1  9.94282
  2  0.623046
  3  0.226603
  4  0.237361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877576': 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) = 5210.16663627
delta logL = 0.0177335044891

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  9.330e+00  9.943e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.213e+00  6.230e-01  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:  7.023e-01  2.374e-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.233e+00  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.20
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.21 +/- 0.62
Photon Flux (Free Index): 5.02e-08 +/- 3.99e-08
Energy Flux (Free Index): 2.20e-05 +/- 2.04e-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/877576/cmap_HighResolution_596764801_597024001_4FGL_J2325.4-4800_daily_bin1379.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.56e-08', energy_flux2='2.20e-05', photon_flux_error='3.01e-08', dlogl='1.77e-02', energy_flux='2.47e-05', photon_flux2='5.02e-08', job_status='DONE', time_completed='2021-09-29 18:24:36.002546', photon_index_error2='0.62', photon_index2='2.21', ts='4.17', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='2.04e-05', EG='1.24', time_epoch_completed='1632965076.0', return_code='0', job_id='877576', GAL2='0.70', EG2='1.23', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='3.99e-08', ts2='4.20', photon_index='2.11' WHERE bin_id='1379' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:24:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 877576: <4FGL_J2325.4-4800_daily_bin1379> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1379> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:50 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:51 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:51 2021
Terminated at Wed Sep 29 18:24:36 2021
Results reported at Wed Sep 29 18:24:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1379 351.35 -48.0022 596764801 597024001 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 :                                   736.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            826 sec.

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

