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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1426
RA = 351.35, Dec = -48.0022
tmin = 608947201, tmax = 609206401
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='877647', job_status='RUN', time_executed='2021-09-29 18:11:08.836839', time_epoch_executed='1632964268.84' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1426'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877647

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877647/ft1_4FGL_J2325.4-4800_daily_bin1426.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877647/ft2_4FGL_J2325.4-4800_daily_bin1426.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877647/ft1_4FGL_J2325.4-4800_daily_bin1426.fits outfile=/scratch/kocevski/877647/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1426.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=608947201.0 tmax=609206401.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.13
user 2.91
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877647/ft2_4FGL_J2325.4-4800_daily_bin1426.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/877647/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1426.fits evtable="EVENTS" outfile="/scratch/kocevski/877647/ft1_filtered_4FGL_J2325.4-4800_daily_bin1426.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877647/ft1_filtered_4FGL_J2325.4-4800_daily_bin1426.fits" evtable="EVENTS" scfile=/scratch/kocevski/877647/ft2_4FGL_J2325.4-4800_daily_bin1426.fits sctable="SC_DATA" outfile=/scratch/kocevski/877647/ltcube_608947201_609206401_4FGL_J2325.4-4800_daily_bin1426.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/877647/ft2_4FGL_J2325.4-4800_daily_bin1426.fits
.....................!
real 13.20
user 12.08
sys 1.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877647/ft1_filtered_4FGL_J2325.4-4800_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/877647/ft2_4FGL_J2325.4-4800_daily_bin1426.fits sctable="SC_DATA" expcube=/scratch/kocevski/877647/ltcube_608947201_609206401_4FGL_J2325.4-4800_daily_bin1426.fits outfile=/scratch/kocevski/877647/expmap_608947201_609206401_4FGL_J2325.4-4800_daily_bin1426.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/877647/ltcube_608947201_609206401_4FGL_J2325.4-4800_daily_bin1426.fits
.....................!
real 190.20
user 185.50
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/877647/ft1_filtered_4FGL_J2325.4-4800_daily_bin1426.fits scfile=/scratch/kocevski/877647/ft2_4FGL_J2325.4-4800_daily_bin1426.fits outfile=/scratch/kocevski/877647/cmap_608947201_609206401_4FGL_J2325.4-4800_daily_bin1426.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877647/ft1_filtered_4FGL_J2325.4-4800_daily_bin1426.fits scfile=/scratch/kocevski/877647/ft2_4FGL_J2325.4-4800_daily_bin1426.fits outfile=/scratch/kocevski/877647/cmap_HighResolution_608947201_609206401_4FGL_J2325.4-4800_daily_bin1426.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877647/ft1_filtered_4FGL_J2325.4-4800_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/877647/ft2_4FGL_J2325.4-4800_daily_bin1426.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877647/Model_4FGL_J2325.4-4800_daily_bin1426.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/877647/ft1_filtered_4FGL_J2325.4-4800_daily_bin1426.fits.....................!
real 54.56
user 53.26
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.047       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .68183E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14269       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .78198E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5302       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11877E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.752       1.0000         .10000E-03   10000.    
     8 'norm      '    .12086E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18039E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11968E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.157       1.0000         .10000E-03   10000.    
    14 'Prefactor '    64.067       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10804E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.933       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.288       1.0000         .10000E-03   10000.    
    18 'norm      '    .10624E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.0219       1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.301       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .63017E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .75347E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .68810       1.0000         .10000E-03   10000.    
    26 'norm      '    .91736       1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.0233       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.7817       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .87660E-01   1.0000         .10000E-03   10000.    
    30 'norm      '    .42097E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    4.4277       1.0000         .10000E-03   10000.    
    32 'Prefactor '    3.0579       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1932       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .64151       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=   7892.089     FROM MIGRAD    STATUS=CONVERGED   1079 CALLS     4399 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.899        49.753        .77582E-06    .63465E-05
   2  Prefactor     .10000E-03    37.531       -.30202E-06** at limit **
   3  Prefactor     .10006E-03    132.11       -.19459E-04** at limit **
   4  Prefactor     .10000E-03    12.643        .21482E-07** at limit **
   5  Prefactor     6.5458        5.9543        .59497E-07    .46651E-04
   6  Prefactor     .10000E-03    8.4705        .30895E-08** at limit **
   7  Prefactor     18.838        8.7280        .42815E-07    .10601E-04
   8  norm          .10000E-03    3.7793       -.26328E-07** at limit **
   9  Prefactor     .10000E-03    .62706        .56436E-08** at limit **
  10  Prefactor     .10000E-03    7.5731       -.75800E-08** at limit **
  11  Prefactor     .10000E-03    1.5005       -.96274E-08** at limit **
  12  Prefactor     .10042E-03    14.706        .22563E-05** at limit **
  13  Prefactor     10.152        8.7629       -.66880E-07   -.82338E-03
  14  Prefactor     66.405        71.318        .17234E-06   -.40017E-04
  15  Prefactor     .10000E-03    5.0700        .12060E-07** at limit **
  16  Prefactor     33.177        29.488        .44910E-06   -.16646E-04
  17  Prefactor     19.450        13.062       -.31162E-07   -.13801E-03
  18  norm          .10000E-03    5.1569       -.19674E-08** at limit **
  19  norm          .10000E-03    2.4707        .32402E-08** at limit **
  20  norm          2.0236        2.1497       -.59276E-08    .49048E-04
  21  Prefactor     22.261        7.8776       -.12698E-07   -.30446E-03
  22  Prefactor     .10000E-03    80.501       -.10336E-05** at limit **
  23  norm          .10000E-03    1.5392        .29545E-08** at limit **
  24  Prefactor     .10000E-03    9.1910       -.10272E-06** at limit **
  25  norm          .68685        1.0618       -.19068E-07   -.11641E-02
  26  norm          .92201        2.2665        .13079E-06   -.19069E-03
  27  Prefactor     5.0478        7.6803        .60173E-06   -.56264E-03
  28  Prefactor     4.7778        3.5671       -.17039E-06   -.11852E-02
  29  Prefactor     .10072E-03    23.360        .35200E-05** at limit **
  30  norm          .10000E-03    7.8108       -.71366E-08** at limit **
  31  Prefactor     4.4780        5.3247        .28758E-07   -.31170E-03
  32  Prefactor     3.0625        3.1606       -.12951E-07   -.29111E-03
  33  Normalizat    1.1933        .15971       -.26865E-06   -.50240E-03
  34  Prefactor     .64077        .16093       -.88246E-07   -.32167E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8993
  Prefactor  = 0.0001
  Prefactor  = 0.000100057
  Prefactor  = 0.0001
  Prefactor  = 6.54577
  Prefactor  = 0.0001
  Prefactor  = 18.8382
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100416
  Prefactor  = 10.1518
  Prefactor  = 66.4045
  Prefactor  = 0.0001
  Prefactor  = 33.1765
  Prefactor  = 19.4496
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.0236
  Prefactor  = 22.2606
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.686849
  norm       = 0.922012
  Prefactor  = 5.04777
  Prefactor  = 4.77783
  Prefactor  = 0.000100724
  norm       = 0.0001
  Prefactor  = 4.47805
  Prefactor  = 3.06252
  Normalizat = 1.19329
  Prefactor  = 0.640772
 **********
 **   18 **HESSE 
 **********

 FCN=   7892.089     FROM HESSE     STATUS=OK           742 CALLS     5141 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.899        49.790        .94281E-04   -1.4886    
   2  Prefactor     .10000E-03    39.200        .41989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10006E-03    134.57        .38851E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.926        .20916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.5458        5.9582        .78523E-03   -1.5196    
   6  Prefactor     .10000E-03    8.4730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.838        8.7424        .92490E-04   -1.4840    
   8  norm          .10000E-03    11.942        .33434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .63003        .68691E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.5753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.5118        .10620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10042E-03    96.366        .57346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.152        9.3082        .62864E-03   -1.5071    
  14  Prefactor     66.405        71.446        .50136E-04   -1.4076    
  15  Prefactor     .10000E-03    5.2084        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     33.177        29.428        .70907E-04   -1.4555    
  17  Prefactor     19.450        12.860        .91198E-04   -1.4826    
  18  norm          .10000E-03    5.1804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.4917        .13630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.0236        2.1564        .13094E-03   -1.5423    
  21  Prefactor     22.261        7.2416        .84818E-04   -1.4764    
  22  Prefactor     .10000E-03    82.765        .37731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.5733        .21481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    37.524        .46150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .68685        .91954        .98167E-03   -1.5542    
  26  norm          .92201        2.1135        .20432E-02   -1.5516    
  27  Prefactor     5.0478        11.871        .89708E-03   -1.5259    
  28  Prefactor     4.7778        3.3442        .12409E-03   -1.5271    
  29  Prefactor     .10072E-03    136.05        .66171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    7.8212        .21240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     4.4780        5.2977        .19138E-03   -1.5285    
  32  Prefactor     3.0625        3.1518        .15309E-03   -1.5358    
  33  Normalizat    1.1933        .18680        .21284E-03   -.86810    
  34  Prefactor     .64077        .18736        .29703E-03   -1.0590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13082e-08
Minuit parameter uncertainties:
  1  49.9124
  2  5.21397e-05
  3  0.00553136
  4  5.85108e-06
  5  5.95869
  6  3.53812e-07
  7  8.74301
  8  6.91989e-06
  9  1.47887e-07
  10  3.24294e-07
  11  2.42955e-06
  12  0.0126864
  13  9.30948
  14  71.5384
  15  2.7718e-06
  16  29.4412
  17  12.8623
  18  3.5051e-07
  19  5.40364e-07
  20  2.15651
  21  7.24185
  22  0.000210659
  23  5.72689e-07
  24  0.0002103
  25  0.919554
  26  2.11365
  27  11.8762
  28  3.34437
  29  0.0198922
  30  6.23738e-08
  31  5.29822
  32  3.15193
  33  0.186908
  34  0.187542
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.226e+01  7.242e+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.408e-01  1.875e-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.193e+00  1.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 43.90
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 9.59e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 5.20e-05 +/- 1.69e-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) = 7891.04352439
delta logL = 1.04514415919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7891.04319174
delta logL = 1.04547680302

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.812       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7443       1.0000          .0000       10.000    
     3 'Normalizat'    1.2268       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62308       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=   7891.043     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      268 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.788        171.85        .18660E-02   -.35105E-04
   2  Index         1.7436        2.7876        .12452        .85606E-04
   3  Normalizat    1.2269        .24252        .34264E-01   -.34755E-03
   4  Prefactor     .62305        .15275        .68068E-01   -.19453E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.7884
  Index      = 1.74358
  Normalizat = 1.22694
  Prefactor  = 0.623053
 **********
 **   18 **HESSE 
 **********

 FCN=   7891.043     FROM HESSE     STATUS=OK            31 CALLS      299 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.788        10.111        .74640E-04   -1.4634    
   2  Index         1.7436        .25214        .48575E-02   -.70928    
   3  Normalizat    1.2269        .17709        .21057E-03   -.85774    
   4  Prefactor     .62305        .18549        .30124E-03   -1.0662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04818e-11
Minuit parameter uncertainties:
  1  10.1118
  2  0.25233
  3  0.177181
  4  0.185677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877647': 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) = 7891.04318392
delta logL = 1.04548462261

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.879e+01  1.011e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.744e+00  2.523e-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:  6.231e-01  1.857e-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.227e+00  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 46.03
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.74 +/- 0.25
Photon Flux (Free Index): 6.35e-08 +/- 3.06e-08
Energy Flux (Free Index): 9.03e-05 +/- 5.11e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/877647/cmap_HighResolution_608947201_609206401_4FGL_J2325.4-4800_daily_bin1426.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.59e-08', energy_flux2='9.03e-05', photon_flux_error='3.12e-08', dlogl='1.05e+00', energy_flux='5.20e-05', photon_flux2='6.35e-08', job_status='DONE', time_completed='2021-09-29 18:26:59.112562', photon_index_error2='0.25', photon_index2='1.74', ts='43.90', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='5.11e-05', EG='1.19', time_epoch_completed='1632965219.11', return_code='0', job_id='877647', GAL2='0.62', EG2='1.23', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='3.06e-08', ts2='46.03', photon_index='2.11' WHERE bin_id='1426' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:26:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 877647: <4FGL_J2325.4-4800_daily_bin1426> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1426> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:56 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:58 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:58 2021
Terminated at Wed Sep 29 18:26:59 2021
Results reported at Wed Sep 29 18:26:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1426 351.35 -48.0022 608947201 609206401 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 :                                   940.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            963 sec.

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

