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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin775
RA = 351.35, Dec = -48.0022
tmin = 440208001, tmax = 440467201
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='874295', job_status='RUN', time_executed='2021-09-29 18:04:19.021743', time_epoch_executed='1632963859.02' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874295

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874295/ft1_4FGL_J2325.4-4800_daily_bin775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874295/ft2_4FGL_J2325.4-4800_daily_bin775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/874295/ft1_4FGL_J2325.4-4800_daily_bin775.fits outfile=/scratch/kocevski/874295/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin775.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=440208001.0 tmax=440467201.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.42
user 3.22
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/874295/ft1_filtered_4FGL_J2325.4-4800_daily_bin775.fits" evtable="EVENTS" scfile=/scratch/kocevski/874295/ft2_4FGL_J2325.4-4800_daily_bin775.fits sctable="SC_DATA" outfile=/scratch/kocevski/874295/ltcube_440208001_440467201_4FGL_J2325.4-4800_daily_bin775.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/874295/ft2_4FGL_J2325.4-4800_daily_bin775.fits
.....................!
real 11.53
user 11.19
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874295/ft1_filtered_4FGL_J2325.4-4800_daily_bin775.fits evtable="EVENTS" scfile=/scratch/kocevski/874295/ft2_4FGL_J2325.4-4800_daily_bin775.fits sctable="SC_DATA" expcube=/scratch/kocevski/874295/ltcube_440208001_440467201_4FGL_J2325.4-4800_daily_bin775.fits outfile=/scratch/kocevski/874295/expmap_440208001_440467201_4FGL_J2325.4-4800_daily_bin775.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/874295/ltcube_440208001_440467201_4FGL_J2325.4-4800_daily_bin775.fits
.....................!
real 191.51
user 186.32
sys 4.84

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/874295/ft1_filtered_4FGL_J2325.4-4800_daily_bin775.fits scfile=/scratch/kocevski/874295/ft2_4FGL_J2325.4-4800_daily_bin775.fits outfile=/scratch/kocevski/874295/cmap_440208001_440467201_4FGL_J2325.4-4800_daily_bin775.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/874295/ft1_filtered_4FGL_J2325.4-4800_daily_bin775.fits scfile=/scratch/kocevski/874295/ft2_4FGL_J2325.4-4800_daily_bin775.fits outfile=/scratch/kocevski/874295/cmap_HighResolution_440208001_440467201_4FGL_J2325.4-4800_daily_bin775.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/874295/ft1_filtered_4FGL_J2325.4-4800_daily_bin775.fits evtable="EVENTS" scfile=/scratch/kocevski/874295/ft2_4FGL_J2325.4-4800_daily_bin775.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/874295/Model_4FGL_J2325.4-4800_daily_bin775.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/874295/ft1_filtered_4FGL_J2325.4-4800_daily_bin775.fits.....................!
real 36.18
user 34.80
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.144       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.1074       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .59378       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.6702       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2668       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.009       1.0000         .10000E-03   10000.    
    10 'Prefactor '    55.085       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.612       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10509E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.9842       1.0000         .10000E-03   10000.    
    16 'Prefactor '    43.572       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.878       1.0000         .10000E-03   10000.    
    18 'norm      '    .11318E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.6971       1.0000         .10000E-03   10000.    
    20 'norm      '    6.1077       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.317       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    14.996       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10373E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.2578       1.0000         .10000E-03   10000.    
    26 'norm      '    4.1934       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.1907       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .98886E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .75388       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=   4326.212     FROM MIGRAD    STATUS=CONVERGED    919 CALLS     4825 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.144        51.966        .16016E-02    .31655E-03
   2  Prefactor     7.1071        15.992        .37617E-02    .47358E-04
   3  Prefactor     .10000E-03    12.015        .90712E-02** at limit **
   4  Prefactor     .60833        13.039        .87867E-01    .22374E-03
   5  Prefactor     .10000E-03    5.1966        .90712E-02** at limit **
   6  Prefactor     5.6688        29.163        .42173E-02    .89827E-04
   7  Prefactor     .10000E-03    4.6931        .90712E-02** at limit **
   8  norm          1.2674        7.0956        .98918E-02    .85549E-03
   9  Prefactor     13.009        6.4631        .27764E-02    .17255E-02
  10  Prefactor     55.085        70.717        .13511E-02    .26660E-03
  11  Prefactor     .10000E-03    2.4586        .90712E-02** at limit **
  12  Prefactor     16.605        25.083        .24566E-02    .40112E-03
  13  Prefactor     .10000E-03    7.9518        .90712E-02** at limit **
  14  Prefactor     .10022E-03    54.040        .90712E-02** at limit **
  15  Prefactor     8.9836        8.1259        .33430E-02   -.19871E-03
  16  Prefactor     43.574        33.534        .15184E-02   -.50755E-03
  17  Prefactor     19.878        18.894        .22459E-02    .30868E-04
  18  norm          .10011E-03    10.961        .90712E-01** at limit **
  19  norm          7.6972        7.5790        .36135E-02   -.30829E-03
  20  norm          6.1074        5.9739        .40613E-02   -.26329E-03
  21  Prefactor     13.319        8.0381        .27441E-02    .80896E-03
  22  Prefactor     .10003E-03    91.438        .90712E-02** at limit **
  23  norm          14.989        8.6445        .25857E-02   -.21299E-02
  24  Prefactor     .10005E-03    37.002        .90712E-02** at limit **
  25  norm          1.2578        1.4376        .99499E-02    .49905E-03
  26  norm          4.1911        8.0728        .49201E-02    .57166E-03
  27  Prefactor     .10004E-03    38.739        .90712E-02** at limit **
  28  Prefactor     4.1944        4.6981        .49217E-02    .20604E-03
  29  Prefactor     .10001E-03    10.533        .90712E-02** at limit **
  30  norm          .10001E-03    10.347        .90712E-02** at limit **
  31  Prefactor     .10002E-03    3.5699        .72763E-01** at limit **
  32  Prefactor     .10000E-03    1.8662        .90712E-02** at limit **
  33  Normalizat    1.0669        .21775        .39544E-01   -.21555E-04
  34  Prefactor     .75387        .22071        .64197E-01   -.47094E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.1435
  Prefactor  = 7.10713
  Prefactor  = 0.0001
  Prefactor  = 0.608333
  Prefactor  = 0.0001
  Prefactor  = 5.66881
  Prefactor  = 0.0001
  norm       = 1.26736
  Prefactor  = 13.0088
  Prefactor  = 55.0849
  Prefactor  = 0.0001
  Prefactor  = 16.6052
  Prefactor  = 0.0001
  Prefactor  = 0.000100217
  Prefactor  = 8.98362
  Prefactor  = 43.574
  Prefactor  = 19.8775
  norm       = 0.000100108
  norm       = 7.69722
  norm       = 6.10738
  Prefactor  = 13.3194
  Prefactor  = 0.000100027
  norm       = 14.9889
  Prefactor  = 0.000100047
  norm       = 1.25784
  norm       = 4.19113
  Prefactor  = 0.000100043
  Prefactor  = 4.19436
  Prefactor  = 0.000100007
  norm       = 0.000100007
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Normalizat = 1.06693
  Prefactor  = 0.753867
 **********
 **   18 **HESSE 
 **********

 FCN=   4326.212     FROM HESSE     STATUS=OK           732 CALLS     5557 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.144        51.964        .64064E-04   -1.4456    
   2  Prefactor     7.1071        15.983        .15047E-03   -1.5175    
   3  Prefactor     .10000E-03    12.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .60833        67.433        .45361E-02   -1.5552    
   5  Prefactor     .10000E-03    5.2294        .14642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.6688        29.149        .16869E-03   -1.5232    
   7  Prefactor     .10000E-03    4.7107        .13915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2674        7.0569        .33894E-03   -1.5483    
   9  Prefactor     13.009        6.4648        .54693E-03   -1.4986    
  10  Prefactor     55.085        70.702        .54046E-04   -1.4222    
  11  Prefactor     .10000E-03    2.4718        .10070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.605        25.050        .98266E-04   -1.4893    
  13  Prefactor     .10000E-03    7.9750        .18071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10022E-03    54.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.9836        8.1279        .13372E-03   -1.5108    
  16  Prefactor     43.574        33.535        .60734E-04   -1.4387    
  17  Prefactor     19.878        18.814        .89835E-04   -1.4816    
  18  norm          .10011E-03    45.548        .42256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.6972        7.5794        .14454E-03   -1.5153    
  20  norm          6.1074        5.9782        .15104E-03   -1.5214    
  21  Prefactor     13.319        8.0150        .10976E-03   -1.4978    
  22  Prefactor     .10003E-03    91.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          14.989        8.5984        .10343E-03   -1.4933    
  24  Prefactor     .10005E-03    37.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.2578        1.3967        .75757E-04   -1.5484    
  26  norm          4.1911        8.0089        .19680E-03   -1.5298    
  27  Prefactor     .10004E-03    39.931        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.1944        4.5401        .13523E-03   -1.5298    
  29  Prefactor     .10001E-03    10.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10001E-03    10.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10002E-03    54.782        .22804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.8746        .87718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.0669        .25879        .23165E-03   -.90821    
  34  Prefactor     .75387        .26137        .28399E-03   -1.0145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12719e-08
Minuit parameter uncertainties:
  1  52.0241
  2  15.9928
  3  9.8844e-06
  4  12.8234
  5  1.44583e-07
  6  25.729
  7  9.83437e-07
  8  5.98205
  9  6.46511
  10  70.8095
  11  3.68183e-06
  12  25.0655
  13  1.9127e-05
  14  0.00685566
  15  8.12888
  16  33.5497
  17  18.8196
  18  0.00443562
  19  7.58039
  20  5.97878
  21  8.01569
  22  0.0031277
  23  8.59913
  24  0.00264963
  25  1.39673
  26  8.01095
  27  0.00260843
  28  4.54046
  29  0.000540215
  30  0.000522269
  31  0.00184876
  32  2.03334e-06
  33  0.259097
  34  0.261796
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.332e+01  8.016e+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:  7.539e-01  2.618e-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.067e+00  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.56
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.74e-08 +/- 3.45e-08
Energy Flux (Fixed Index): 3.11e-05 +/- 1.87e-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) = 4324.17806492
delta logL = 2.0340638298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4324.16541599
delta logL = 2.04671275871

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.973       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2313       1.0000          .0000       10.000    
     3 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73304       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=   4324.165     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      216 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.979        9.3529        .25877E-02   -.72989E-03
   2  Index         1.2317        .33915        .15367       -.34717E-04
   3  Normalizat    1.1067        .20717        .37740E-01    .46998E-05
   4  Prefactor     .73293        .21779        .65051E-01    .18933E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.979
  Index      = 1.23166
  Normalizat = 1.10667
  Prefactor  = 0.732931
 **********
 **   18 **HESSE 
 **********

 FCN=   4324.165     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.979        10.595        .51755E-03   -1.4934    
   2  Index         1.2317        .39677        .65734E-02   -.85362    
   3  Normalizat    1.1067        .24420        .22816E-03   -.89538    
   4  Prefactor     .73293        .25643        .28779E-03   -1.0225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29055e-12
Minuit parameter uncertainties:
  1  10.5962
  2  0.397744
  3  0.244451
  4  0.256841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874295': 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) = 4324.16541547
delta logL = 2.04671328223

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.498e+01  1.060e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.232e+00  3.977e-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.329e-01  2.568e-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.107e+00  2.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.67
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.23 +/- 0.40
Photon Flux (Free Index): 1.90e-08 +/- 1.49e-08
Energy Flux (Free Index): 1.44e-04 +/- 1.39e-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/874295/cmap_HighResolution_440208001_440467201_4FGL_J2325.4-4800_daily_bin775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.74e-08', energy_flux2='1.44e-04', photon_flux_error='3.45e-08', dlogl='2.05e+00', energy_flux='3.11e-05', photon_flux2='1.90e-08', job_status='DONE', time_completed='2021-09-29 18:15:09.510764', photon_index_error2='0.40', photon_index2='1.23', ts='19.56', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.39e-04', EG='1.07', time_epoch_completed='1632964509.51', return_code='0', job_id='874295', GAL2='0.73', EG2='1.11', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='1.49e-08', ts2='23.67', photon_index='2.11' WHERE bin_id='775' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:15:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 874295: <4FGL_J2325.4-4800_daily_bin775> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin775 351.35 -48.0022 440208001 440467201 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 :                                   650.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            874 sec.

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

