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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1282
RA = 351.35, Dec = -48.0022
tmin = 571622401, tmax = 571881601
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='877427', job_status='RUN', time_executed='2021-09-29 18:13:15.759532', time_epoch_executed='1632964395.76' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877427

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877427/ft1_4FGL_J2325.4-4800_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877427/ft2_4FGL_J2325.4-4800_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877427/ft1_4FGL_J2325.4-4800_daily_bin1282.fits outfile=/scratch/kocevski/877427/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1282.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=571622401.0 tmax=571881601.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 2.72
user 2.50
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877427/ft1_filtered_4FGL_J2325.4-4800_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/877427/ft2_4FGL_J2325.4-4800_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/877427/ltcube_571622401_571881601_4FGL_J2325.4-4800_daily_bin1282.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/877427/ft2_4FGL_J2325.4-4800_daily_bin1282.fits
.....................!
real 12.87
user 12.55
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877427/ft1_filtered_4FGL_J2325.4-4800_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/877427/ft2_4FGL_J2325.4-4800_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/877427/ltcube_571622401_571881601_4FGL_J2325.4-4800_daily_bin1282.fits outfile=/scratch/kocevski/877427/expmap_571622401_571881601_4FGL_J2325.4-4800_daily_bin1282.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/877427/ltcube_571622401_571881601_4FGL_J2325.4-4800_daily_bin1282.fits
.....................!
real 189.56
user 185.18
sys 4.05

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/877427/ft1_filtered_4FGL_J2325.4-4800_daily_bin1282.fits scfile=/scratch/kocevski/877427/ft2_4FGL_J2325.4-4800_daily_bin1282.fits outfile=/scratch/kocevski/877427/cmap_571622401_571881601_4FGL_J2325.4-4800_daily_bin1282.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.35 yref=-48.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.41
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877427/ft1_filtered_4FGL_J2325.4-4800_daily_bin1282.fits scfile=/scratch/kocevski/877427/ft2_4FGL_J2325.4-4800_daily_bin1282.fits outfile=/scratch/kocevski/877427/cmap_HighResolution_571622401_571881601_4FGL_J2325.4-4800_daily_bin1282.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.55
user 0.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877427/ft1_filtered_4FGL_J2325.4-4800_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/877427/ft2_4FGL_J2325.4-4800_daily_bin1282.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877427/Model_4FGL_J2325.4-4800_daily_bin1282.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/877427/ft1_filtered_4FGL_J2325.4-4800_daily_bin1282.fits.....................!
real 28.28
user 27.09
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.657       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .37935E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12867E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.211       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .30429E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10621E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.248       1.0000         .10000E-03   10000.    
     8 'norm      '    .24212E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.733       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2402       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12989E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12963E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    74.477       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16649E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.597       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.5618       1.0000         .10000E-03   10000.    
    18 'norm      '    12.802       1.0000         .10000E-03   10000.    
    19 'norm      '    8.6846       1.0000         .10000E-03   10000.    
    20 'norm      '    .19464E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.301       1.0000         .10000E-03   10000.    
    22 'Prefactor '    144.74       1.0000         .10000E-03   10000.    
    23 'norm      '    .12241E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .66539E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .82888       1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.2055       1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.9608       1.0000         .10000E-03   10000.    
    30 'norm      '    .20428E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    19.454       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .97595       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .92030       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=   2900.508     FROM MIGRAD    STATUS=CONVERGED   1022 CALLS     4299 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.668        78.022        .30251E-06    .28133E-05
   2  Prefactor     .10000E-03    37.608       -.15009E-05** at limit **
   3  Prefactor     .10000E-03    28.731       -.54726E-06** at limit **
   4  Prefactor     12.224        21.939        .35068E-06    .49952E-04
   5  Prefactor     .10000E-03    11.291       -.56253E-06** at limit **
   6  Prefactor     .10000E-03    46.489       -.39762E-06** at limit **
   7  Prefactor     11.306        12.198        .16310E-06    .71228E-04
   8  norm          .10000E-03    7.4539       -.41096E-07** at limit **
   9  Prefactor     11.006        13.153       -.83365E-08   -.12065E-04
  10  Prefactor     .10000E-03    42.093       -.14406E-06** at limit **
  11  Prefactor     3.1401        11.990        .83079E-06    .14523E-04
  12  Prefactor     .10000E-03    14.333        .77979E-07** at limit **
  13  Prefactor     .10000E-03    7.6689        .96485E-07** at limit **
  14  Prefactor     74.532        105.24        .78773E-07    .67890E-05
  15  Prefactor     .10000E-03    11.588       -.15015E-06** at limit **
  16  Prefactor     24.849        59.900        .20786E-06    .30753E-04
  17  Prefactor     8.2473        31.689        .33302E-06    .40728E-05
  18  norm          13.122        20.632        .77847E-07   -.27512E-05
  19  norm          8.6866        11.983       -.77245E-07   -.29353E-04
  20  norm          .10000E-03    6.1016        .99005E-06** at limit **
  21  Prefactor     12.288        11.207       -.20008E-07    .35392E-05
  22  Prefactor     146.25        79.075       -.10397E-05   -.13586E-03
  23  norm          .10000E-03    10.244        .39665E-05** at limit **
  24  Prefactor     .10000E-03    8.6575        .16931E-06** at limit **
  25  norm          .10000E-03    1.0589        .34686E-06** at limit **
  26  norm          .10000E-03    5.7656        .11596E-05** at limit **
  27  Prefactor     .72237        22.743       -.10990E-05    .10934E-03
  28  Prefactor     6.1866        6.3547       -.67747E-06    .50856E-05
  29  Prefactor     4.6028        84.905        .50469E-05    .14003E-04
  30  norm          .10000E-03    12.831       -.14103E-06** at limit **
  31  Prefactor     19.426        10.386        .14291E-06    .12375E-03
  32  Prefactor     .10000E-03    4.5847       -.13573E-05** at limit **
  33  Normalizat    .97628        .31402       -.57473E-06    .11129E-03
  34  Prefactor     .92032        .30155        .79498E-06    .57354E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.6682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.2239
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3063
  norm       = 0.0001
  Prefactor  = 11.0064
  Prefactor  = 0.0001
  Prefactor  = 3.14009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 74.5325
  Prefactor  = 0.0001
  Prefactor  = 24.849
  Prefactor  = 8.24735
  norm       = 13.1224
  norm       = 8.6866
  norm       = 0.0001
  Prefactor  = 12.2877
  Prefactor  = 146.245
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.722375
  Prefactor  = 6.1866
  Prefactor  = 4.60279
  norm       = 0.0001
  Prefactor  = 19.426
  Prefactor  = 0.000100003
  Normalizat = 0.976279
  Prefactor  = 0.920319
 **********
 **   18 **HESSE 
 **********

 FCN=   2900.508     FROM HESSE     STATUS=OK           732 CALLS     5031 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.668        78.188        .51518E-04   -1.4162    
   2  Prefactor     .10000E-03    37.837        .19559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    28.780        .18174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.224        21.945        .11463E-03   -1.5009    
   5  Prefactor     .10000E-03    11.604        .35331E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    46.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.306        12.225        .11945E-03   -1.5035    
   8  norm          .10000E-03    7.4568        .14362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.006        13.150        .12229E-03   -1.5044    
  10  Prefactor     .10000E-03    42.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.1401        11.931        .22502E-03   -1.5354    
  12  Prefactor     .10000E-03    14.336        .19917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.6753        .14566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     74.532        105.23        .23262E-03   -1.3979    
  15  Prefactor     .10000E-03    11.634        .17906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.849        59.687        .79178E-04   -1.4711    
  17  Prefactor     8.2473        31.645        .13700E-03   -1.5134    
  18  norm          13.122        20.627        .11195E-03   -1.4983    
  19  norm          8.6866        11.947        .13602E-03   -1.5118    
  20  norm          .10000E-03    6.1252        .12995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.288        11.193        .11422E-03   -1.5007    
  22  Prefactor     146.25        80.770        .16746E-03   -1.3283    
  23  norm          .10000E-03    10.542        .33714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.6636        .15474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.0704        .10717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    5.8487        .12631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .72237        225.89        .45305E-02   -1.5538    
  28  Prefactor     6.1866        6.2810        .10736E-03   -1.5210    
  29  Prefactor     4.6028        83.251        .18057E-03   -1.5279    
  30  norm          .10000E-03    12.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     19.426        10.387        .90808E-04   -1.4826    
  32  Prefactor     .10000E-03    7.5678        .20829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .97628        .37800        .25797E-03   -.93829    
  34  Prefactor     .92032        .35848        .28055E-03   -.95435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64279e-09
Minuit parameter uncertainties:
  1  78.3231
  2  6.9084e-05
  3  1.37485e-05
  4  21.959
  5  1.04347e-05
  6  1.93667e-05
  7  12.2279
  8  1.52346e-06
  9  13.1533
  10  7.14064e-05
  11  11.9405
  12  1.57191e-06
  13  1.56668e-07
  14  105.494
  15  3.91647e-06
  16  59.8308
  17  31.7092
  18  20.6381
  19  11.9501
  20  1.45737e-05
  21  11.1945
  22  80.8311
  23  8.02429e-05
  24  2.05677e-06
  25  9.90886e-07
  26  1.86912e-05
  27  25.6444
  28  6.28164
  29  39.2135
  30  4.20805e-06
  31  10.3883
  32  0.000282121
  33  0.379045
  34  0.359408
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.229e+01  1.119e+01  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:  9.203e-01  3.594e-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.763e-01  3.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.57
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.29e-08 +/- 4.82e-08
Energy Flux (Fixed Index): 2.87e-05 +/- 2.61e-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) = 2900.49860862
delta logL = 0.00963788571244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2900.49241029
delta logL = 0.0158362195361

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.933       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2337       1.0000          .0000       10.000    
     3 'Normalizat'    .96664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92618       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=   2900.492     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.938        296.82        .30292E-02    .34355E-03
   2  Index         2.2335        5.9563        .11119        .53808E-04
   3  Normalizat    .96675        .17801        .45748E-01   -.59620E-04
   4  Prefactor     .92607        .12596        .45338E-01    .11013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9377
  Index      = 2.23345
  Normalizat = 0.966755
  Prefactor  = 0.926075
 **********
 **   18 **HESSE 
 **********

 FCN=   2900.492     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.938        13.220        .60584E-03   -1.5046    
   2  Index         2.2335        .76987        .55364E-02   -.58633    
   3  Normalizat    .96675        .33538        .25905E-03   -.94153    
   4  Prefactor     .92607        .35188        .27974E-03   -.95236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0462e-09
Minuit parameter uncertainties:
  1  13.2232
  2  0.774319
  3  0.336114
  4  0.352745
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877427': 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) = 2900.49241016
delta logL = 0.0158363471692

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.094e+01  1.322e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.233e+00  7.743e-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:  9.261e-01  3.527e-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.668e-01  3.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.61
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.23 +/- 0.77
Photon Flux (Free Index): 6.14e-08 +/- 7.02e-08
Energy Flux (Free Index): 2.60e-05 +/- 2.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/877427/cmap_HighResolution_571622401_571881601_4FGL_J2325.4-4800_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.29e-08', energy_flux2='2.60e-05', photon_flux_error='4.82e-08', dlogl='1.58e-02', energy_flux='2.87e-05', photon_flux2='6.14e-08', job_status='DONE', time_completed='2021-09-29 18:22:54.563287', photon_index_error2='0.77', photon_index2='2.23', ts='4.57', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.66e-05', EG='0.98', time_epoch_completed='1632964974.56', return_code='0', job_id='877427', GAL2='0.93', EG2='0.97', return_code2='0', energy_flux_error='2.61e-05', photon_flux_error2='7.02e-08', ts2='4.61', photon_index='2.11' WHERE bin_id='1282' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:22:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 877427: <4FGL_J2325.4-4800_daily_bin1282> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1282 351.35 -48.0022 571622401 571881601 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 :                                   527.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            738 sec.

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

