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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin844
RA = 351.35, Dec = -48.0022
tmin = 458092801, tmax = 458352001
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='874416', job_status='RUN', time_executed='2021-09-29 18:03:25.686539', time_epoch_executed='1632963805.69' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='844'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874416

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874416/ft1_4FGL_J2325.4-4800_daily_bin844.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874416/ft2_4FGL_J2325.4-4800_daily_bin844.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/874416/ft1_4FGL_J2325.4-4800_daily_bin844.fits outfile=/scratch/kocevski/874416/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin844.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=458092801.0 tmax=458352001.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.61
user 3.36
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/874416/ft1_filtered_4FGL_J2325.4-4800_daily_bin844.fits" evtable="EVENTS" scfile=/scratch/kocevski/874416/ft2_4FGL_J2325.4-4800_daily_bin844.fits sctable="SC_DATA" outfile=/scratch/kocevski/874416/ltcube_458092801_458352001_4FGL_J2325.4-4800_daily_bin844.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/874416/ft2_4FGL_J2325.4-4800_daily_bin844.fits
.....................!
real 11.62
user 11.29
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874416/ft1_filtered_4FGL_J2325.4-4800_daily_bin844.fits evtable="EVENTS" scfile=/scratch/kocevski/874416/ft2_4FGL_J2325.4-4800_daily_bin844.fits sctable="SC_DATA" expcube=/scratch/kocevski/874416/ltcube_458092801_458352001_4FGL_J2325.4-4800_daily_bin844.fits outfile=/scratch/kocevski/874416/expmap_458092801_458352001_4FGL_J2325.4-4800_daily_bin844.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/874416/ltcube_458092801_458352001_4FGL_J2325.4-4800_daily_bin844.fits
.....................!
real 191.18
user 186.74
sys 4.11

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/874416/ft1_filtered_4FGL_J2325.4-4800_daily_bin844.fits scfile=/scratch/kocevski/874416/ft2_4FGL_J2325.4-4800_daily_bin844.fits outfile=/scratch/kocevski/874416/cmap_458092801_458352001_4FGL_J2325.4-4800_daily_bin844.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/874416/ft1_filtered_4FGL_J2325.4-4800_daily_bin844.fits scfile=/scratch/kocevski/874416/ft2_4FGL_J2325.4-4800_daily_bin844.fits outfile=/scratch/kocevski/874416/cmap_HighResolution_458092801_458352001_4FGL_J2325.4-4800_daily_bin844.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.53
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/874416/ft1_filtered_4FGL_J2325.4-4800_daily_bin844.fits evtable="EVENTS" scfile=/scratch/kocevski/874416/ft2_4FGL_J2325.4-4800_daily_bin844.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/874416/Model_4FGL_J2325.4-4800_daily_bin844.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/874416/ft1_filtered_4FGL_J2325.4-4800_daily_bin844.fits.....................!
real 38.68
user 36.84
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.859       1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.458       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6889       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.5829       1.0000         .10000E-03   10000.    
     6 'Prefactor '    61.324       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7197       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.5147       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .69914E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    35.610       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.844       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.403       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.8774       1.0000         .10000E-03   10000.    
    23 'norm      '    16.295       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11236E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.1675       1.0000         .10000E-03   10000.    
    26 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .21313E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    10.880       1.0000         .10000E-03   10000.    
    30 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .98692       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .68313       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=   4928.016     FROM MIGRAD    STATUS=CONVERGED    951 CALLS     4907 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    60.241        .29127E-06** at limit **
   2  Prefactor     14.854        22.457        .21828E-06    .80184E-04
   3  Prefactor     35.394        50.070        .14365E-05    .10486E-03
   4  Prefactor     1.6882        6.8890        .23680E-05    .33877E-03
   5  Prefactor     9.5853        9.1113       -.13711E-06    .61519E-04
   6  Prefactor     61.319        49.283       -.59491E-06   -.27448E-05
   7  Prefactor     5.7209        7.2731        .81024E-07    .89170E-04
   8  norm          .10000E-03    2.6842        .43534E-07** at limit **
   9  Prefactor     6.5166        4.1886       -.15155E-06   -.14305E-03
  10  Prefactor     .10000E-03    17.409       -.18315E-06** at limit **
  11  Prefactor     .11823E-03    3.3212        .11901E-05** at limit **
  12  Prefactor     .10000E-03    9.1699        .18312E-07** at limit **
  13  Prefactor     .10000E-03    1.9982        .80105E-08** at limit **
  14  Prefactor     .10000E-03    21.941        .25477E-06** at limit **
  15  Prefactor     .10000E-03    2.2943        .37377E-07** at limit **
  16  Prefactor     35.616        31.416       -.21118E-06   -.61279E-04
  17  Prefactor     27.871        23.935        .79582E-07    .38327E-04
  18  norm          .10000E-03    3.5678       -.31192E-07** at limit **
  19  norm          .10000E-03    2.3384       -.67613E-07** at limit **
  20  norm          .10000E-03    2.1801        .16803E-06** at limit **
  21  Prefactor     10.405        7.7220       -.21858E-06   -.12116E-04
  22  Prefactor     8.7923        74.642       -.22988E-06   -.36648E-05
  23  norm          16.303        8.0765       -.21769E-06   -.58431E-05
  24  Prefactor     .10000E-03    29.848       -.70039E-06** at limit **
  25  norm          1.1629        1.6928        .32304E-07    .11191E-03
  26  norm          .10000E-03    2.4961       -.21475E-06** at limit **
  27  Prefactor     .10000E-03    9.2622        .23508E-06** at limit **
  28  Prefactor     .10009E-03    3.0836        .10330E-05** at limit **
  29  Prefactor     10.870        16.302        .18545E-05    .27206E-03
  30  norm          .10000E-03    11.100       -.13789E-06** at limit **
  31  Prefactor     .10000E-03    1.6694       -.27378E-06** at limit **
  32  Prefactor     .10000E-03    2.0828        .57727E-07** at limit **
  33  Normalizat    .98644        .21836        .52262E-05    .11265E-03
  34  Prefactor     .68369        .21539       -.56629E-05    .32326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.8543
  Prefactor  = 35.3941
  Prefactor  = 1.68819
  Prefactor  = 9.58529
  Prefactor  = 61.3195
  Prefactor  = 5.72086
  norm       = 0.0001
  Prefactor  = 6.51656
  Prefactor  = 0.0001
  Prefactor  = 0.000118232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.6161
  Prefactor  = 27.8714
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.4055
  Prefactor  = 8.7923
  norm       = 16.3029
  Prefactor  = 0.000100001
  norm       = 1.16293
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100089
  Prefactor  = 10.8702
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.986441
  Prefactor  = 0.683685
 **********
 **   18 **HESSE 
 **********

 FCN=   4928.016     FROM HESSE     STATUS=OK           734 CALLS     5641 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    60.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.854        22.423        .10391E-03   -1.4937    
   3  Prefactor     35.394        50.168        .67300E-04   -1.4517    
   4  Prefactor     1.6882        6.9750        .32395E-03   -1.5448    
   5  Prefactor     9.5853        9.1021        .12945E-03   -1.5089    
   6  Prefactor     61.319        49.327        .51238E-04   -1.4140    
   7  Prefactor     5.7209        7.2649        .16795E-03   -1.5230    
   8  norm          .10000E-03    2.6921        .11233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.5166        4.1879        .10972E-03   -1.5197    
  10  Prefactor     .10000E-03    17.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11823E-03    5.9760        .38594E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.1852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.9990        .96911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.3032        .10383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.616        31.408        .67158E-04   -1.4514    
  17  Prefactor     27.871        23.534        .75923E-04   -1.4652    
  18  norm          .10000E-03    3.5686        .12950E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.3393        .10483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.1833        .10123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.405        7.6381        .12422E-03   -1.5063    
  22  Prefactor     8.7923        74.107        .13453E-03   -1.5115    
  23  norm          16.303        8.0166        .99218E-04   -1.4900    
  24  Prefactor     .10000E-03    30.478        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.1629        1.5959        .86584E-04   -1.5492    
  26  norm          .10000E-03    2.5218        .10816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    9.3977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10009E-03    13.133        .19144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     10.870        16.325        .12147E-03   -1.5048    
  30  norm          .10000E-03    11.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.6833        .88714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.0963        .98805E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .98644        .23296        .22030E-03   -.93486    
  34  Prefactor     .68369        .22784        .27221E-03   -1.0417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81495e-09
Minuit parameter uncertainties:
  1  5.73022e-05
  2  22.4356
  3  50.2282
  4  6.86415
  5  9.10338
  6  49.3595
  7  7.26601
  8  3.44041e-06
  9  4.18805
  10  9.63915e-05
  11  0.0208783
  12  1.07852e-05
  13  6.58596e-07
  14  0.000121633
  15  8.88259e-07
  16  31.4229
  17  23.5422
  18  2.82629e-06
  19  4.36882e-06
  20  1.07749e-05
  21  7.6388
  22  51.1374
  23  8.01714
  24  0.000288937
  25  1.59591
  26  1.38652e-05
  27  3.07695e-05
  28  0.00215724
  29  16.3312
  30  4.07286e-05
  31  1.96012e-05
  32  2.97763e-06
  33  0.233205
  34  0.228147
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.041e+01  7.639e+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.837e-01  2.281e-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:  9.864e-01  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.12
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 4.48e-08 +/- 3.29e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 1.78e-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) = 4927.89049069
delta logL = 0.125547841546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4927.88137074
delta logL = 0.134667792149

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3210       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3026       1.0000          .0000       10.000    
     3 'Normalizat'    1.0214       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67182       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=   4927.881     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      234 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3401        6.2994        .39913E-02   -.11532E-03
   2  Index         1.3045        .55123        .28562       -.56906E-04
   3  Normalizat    1.0215        .17908        .43153E-01    .39268E-05
   4  Prefactor     .67161        .18722        .62169E-01    .14357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.34008
  Index      = 1.30447
  Normalizat = 1.02154
  Prefactor  = 0.671608
 **********
 **   18 **HESSE 
 **********

 FCN=   4927.881     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3401        15.072        .15965E-03   -1.5204    
   2  Index         1.3045        1.4537        .11005E-01   -.83174    
   3  Normalizat    1.0215        .21506        .21725E-03   -.92312    
   4  Prefactor     .67161        .22455        .27502E-03   -1.0465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91255e-11
Minuit parameter uncertainties:
  1  15.0811
  2  1.50309
  3  0.215245
  4  0.224853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874416': 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) = 4927.88136967
delta logL = 0.134668858326

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  6.340e+00  1.508e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.304e+00  1.503e+00  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.716e-01  2.249e-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.022e+00  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.38
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.30 +/- 1.50
Photon Flux (Free Index): 8.33e-09 +/- 2.69e-08
Energy Flux (Free Index): 5.03e-05 +/- 1.01e-04

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/874416/cmap_HighResolution_458092801_458352001_4FGL_J2325.4-4800_daily_bin844.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.48e-08', energy_flux2='5.03e-05', photon_flux_error='3.29e-08', dlogl='1.35e-01', energy_flux='2.43e-05', photon_flux2='8.33e-09', job_status='DONE', time_completed='2021-09-29 18:15:19.756640', photon_index_error2='1.50', photon_index2='1.30', ts='9.12', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='1.01e-04', EG='0.99', time_epoch_completed='1632964519.76', return_code='0', job_id='874416', GAL2='0.67', EG2='1.02', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='2.69e-08', ts2='9.38', photon_index='2.11' WHERE bin_id='844' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:15:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 874416: <4FGL_J2325.4-4800_daily_bin844> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin844> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:00:44 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:00:45 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:00:45 2021
Terminated at Wed Sep 29 18:15:20 2021
Results reported at Wed Sep 29 18:15:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin844 351.35 -48.0022 458092801 458352001 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 :                                   713.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            876 sec.

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

