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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1626
RA = 351.35, Dec = -48.0022
tmin = 660787201, tmax = 661046401
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='171999', job_status='RUN', time_executed='2021-12-13 00:38:42.397256', time_epoch_executed='1639384722.4' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1626'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/171999

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/171999/ft1_4FGL_J2325.4-4800_daily_bin1626.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/171999/ft2_4FGL_J2325.4-4800_daily_bin1626.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/171999/ft1_4FGL_J2325.4-4800_daily_bin1626.fits outfile=/scratch/kocevski/171999/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1626.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=660787201.0 tmax=661046401.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.55
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/171999/ft1_filtered_4FGL_J2325.4-4800_daily_bin1626.fits" evtable="EVENTS" scfile=/scratch/kocevski/171999/ft2_4FGL_J2325.4-4800_daily_bin1626.fits sctable="SC_DATA" outfile=/scratch/kocevski/171999/ltcube_660787201_661046401_4FGL_J2325.4-4800_daily_bin1626.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/171999/ft2_4FGL_J2325.4-4800_daily_bin1626.fits
.....................!
real 11.58
user 11.24
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/171999/ft1_filtered_4FGL_J2325.4-4800_daily_bin1626.fits evtable="EVENTS" scfile=/scratch/kocevski/171999/ft2_4FGL_J2325.4-4800_daily_bin1626.fits sctable="SC_DATA" expcube=/scratch/kocevski/171999/ltcube_660787201_661046401_4FGL_J2325.4-4800_daily_bin1626.fits outfile=/scratch/kocevski/171999/expmap_660787201_661046401_4FGL_J2325.4-4800_daily_bin1626.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/171999/ltcube_660787201_661046401_4FGL_J2325.4-4800_daily_bin1626.fits
.....................!
real 190.56
user 185.93
sys 4.26

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/171999/ft1_filtered_4FGL_J2325.4-4800_daily_bin1626.fits scfile=/scratch/kocevski/171999/ft2_4FGL_J2325.4-4800_daily_bin1626.fits outfile=/scratch/kocevski/171999/cmap_HighResolution_660787201_661046401_4FGL_J2325.4-4800_daily_bin1626.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.35 yref=-48.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/171999/ft1_filtered_4FGL_J2325.4-4800_daily_bin1626.fits evtable="EVENTS" scfile=/scratch/kocevski/171999/ft2_4FGL_J2325.4-4800_daily_bin1626.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/171999/Model_4FGL_J2325.4-4800_daily_bin1626.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/171999/ft1_filtered_4FGL_J2325.4-4800_daily_bin1626.fits.....................!
real 37.76
user 36.45
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.0173       1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.010       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.2399       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.6082       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8884       1.0000         .10000E-03   10000.    
    16 'Prefactor '    64.814       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.7418       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.6269       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.9570       1.0000         .10000E-03   10000.    
    23 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.2580       1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    28.089       1.0000         .10000E-03   10000.    
    30 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .36907       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1023       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .65780       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=   4834.082     FROM MIGRAD    STATUS=CONVERGED    901 CALLS     4080 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.734       -.10072E-04** at limit **
   2  Prefactor     5.0160        23.598       -.28187E-06   -.87276E-05
   3  Prefactor     35.009        29.644       -.99980E-06    .49151E-05
   4  Prefactor     .10000E-03    5.2990       -.14535E-05** at limit **
   5  Prefactor     .10000E-03    2.2033        .25870E-06** at limit **
   6  Prefactor     .10000E-03    26.633        .18076E-04** at limit **
   7  Prefactor     .10000E-03    3.4220        .12709E-05** at limit **
   8  norm          .10000E-03    2.7385       -.29937E-06** at limit **
   9  Prefactor     3.2397        3.6012       -.12678E-06   -.70794E-04
  10  Prefactor     .10000E-03    20.717       -.86368E-05** at limit **
  11  Prefactor     .10000E-03    1.6477       -.12456E-07** at limit **
  12  Prefactor     .10000E-03    8.4680       -.47281E-05** at limit **
  13  Prefactor     8.6071        11.157       -.22768E-06   -.10425E-04
  14  Prefactor     .10000E-03    57.952       -.81924E-05** at limit **
  15  Prefactor     5.8881        8.2369       -.17495E-06   -.11990E-03
  16  Prefactor     64.815        39.304        .42211E-06    .19219E-04
  17  Prefactor     .10000E-03    7.9095       -.37819E-05** at limit **
  18  norm          .10000E-03    13.919        .48367E-05** at limit **
  19  norm          .10000E-03    2.7228        .52878E-06** at limit **
  20  norm          5.7419        5.1625        .49933E-06    .21526E-04
  21  Prefactor     5.6271        4.6173        .35715E-07    .41692E-04
  22  Prefactor     5.9501        41.580       -.12986E-04   -.19107E-04
  23  norm          .10000E-03    2.0026        .17864E-06** at limit **
  24  Prefactor     .10000E-03    3.2607       -.12703E-05** at limit **
  25  norm          1.2580        .93149       -.12090E-07    .76903E-04
  26  norm          .10000E-03    1.5064        .10031E-06** at limit **
  27  Prefactor     .10000E-03    6.7696        .54263E-05** at limit **
  28  Prefactor     .10000E-03    1.3639        .43578E-08** at limit **
  29  Prefactor     28.089        21.001        .23518E-06    .29759E-04
  30  norm          .10000E-03    10.658        .53475E-05** at limit **
  31  Prefactor     .10000E-03    2.2444       -.36505E-06** at limit **
  32  Prefactor     .36314        2.8727       -.39415E-06   -.12137E-03
  33  Normalizat    1.1024        .18367        .12562E-05   -.28591E-04
  34  Prefactor     .65778        .19176       -.56380E-06    .49007E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.01598
  Prefactor  = 35.009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.23971
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.60707
  Prefactor  = 0.0001
  Prefactor  = 5.8881
  Prefactor  = 64.8147
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.74189
  Prefactor  = 5.62712
  Prefactor  = 5.95006
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.258
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.0893
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.363142
  Normalizat = 1.10237
  Prefactor  = 0.657775
 **********
 **   18 **HESSE 
 **********

 FCN=   4834.082     FROM HESSE     STATUS=OK           724 CALLS     4804 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0160        23.145        .17953E-03   -1.5260    
   3  Prefactor     35.009        29.648        .67728E-04   -1.4524    
   4  Prefactor     .10000E-03    5.3161        .15632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.2066        .10078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    26.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4388        .12557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.7413        .11237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2397        3.5972        .13399E-03   -1.5348    
  10  Prefactor     .10000E-03    20.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.6520        .87149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.4771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.6071        11.149        .13663E-03   -1.5121    
  14  Prefactor     .10000E-03    57.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.8881        8.2315        .16549E-03   -1.5223    
  16  Prefactor     64.815        39.307        .49848E-04   -1.4096    
  17  Prefactor     .10000E-03    7.9543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    14.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.7256        .11203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.7419        5.1572        .14215E-03   -1.5229    
  21  Prefactor     5.6271        4.6154        .13012E-03   -1.5233    
  22  Prefactor     5.9501        41.958        .16452E-03   -1.5220    
  23  norm          .10000E-03    2.0091        .95823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.2625        .12260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.2580        .93404        .54999E-04   -1.5484    
  26  norm          .10000E-03    1.5163        .83276E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.7804        .17650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.3791        .79189E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     28.089        20.963        .75591E-04   -1.4647    
  30  norm          .10000E-03    10.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    2.2702        .10168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .36314        11.654        .20132E-02   -1.5587    
  33  Normalizat    1.1024        .22211        .20349E-03   -.89676    
  34  Prefactor     .65778        .23013        .27638E-03   -1.0521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27547e-08
Minuit parameter uncertainties:
  1  4.96596e-07
  2  21.5631
  3  29.6609
  4  2.43093e-06
  5  4.91338e-07
  6  2.7594e-05
  7  2.79067e-06
  8  2.91075e-07
  9  3.59743
  10  6.77294e-07
  11  5.71062e-07
  12  7.68959e-08
  13  11.1513
  14  5.85135e-06
  15  8.23304
  16  39.3227
  17  5.29149e-07
  18  3.24303e-05
  19  7.0135e-09
  20  5.15758
  21  4.61568
  22  31.6322
  23  2.98908e-05
  24  7.23391e-07
  25  0.93405
  26  1.21173e-05
  27  1.06145e-05
  28  1.53049e-06
  29  20.9682
  30  3.08275e-06
  31  2.94217e-06
  32  4.11463
  33  0.222302
  34  0.230466
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  5.627e+00  4.616e+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.578e-01  2.305e-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.102e+00  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.99
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.42e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 1.08e-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) = 4833.84884619
delta logL = 0.233368145477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4833.84876816
delta logL = 0.233446177519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8714       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7410       1.0000          .0000       10.000    
     3 'Normalizat'    1.1086       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65443       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=   4833.849     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      264 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8580        230.36        .35730E-02   -.22938E-04
   2  Index         1.7394        5.5851        .20278        .36878E-04
   3  Normalizat    1.1086        .88671E-01    .37663E-01   -.41348E-05
   4  Prefactor     .65450        .81116E-01    .62630E-01    .14883E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.85797
  Index      = 1.7394
  Normalizat = 1.10858
  Prefactor  = 0.654497
 **********
 **   18 **HESSE 
 **********

 FCN=   4833.849     FROM HESSE     STATUS=OK            33 CALLS      297 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8580        6.9004        .14292E-03   -1.5147    
   2  Index         1.7394        .52389        .70202E-02   -.71038    
   3  Normalizat    1.1086        .20972        .20302E-03   -.89477    
   4  Prefactor     .65450        .22594        .27708E-03   -1.0534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0755e-12
Minuit parameter uncertainties:
  1  6.90114
  2  0.52557
  3  0.20988
  4  0.226252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/171999': 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) = 4833.84875927
delta logL = 0.233455068159

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  7.858e+00  6.901e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.739e+00  5.256e-01  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  6.545e-01  2.263e-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.109e+00  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.47
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.74 +/- 0.53
Photon Flux (Free Index): 1.72e-08 +/- 1.78e-08
Energy Flux (Free Index): 2.48e-05 +/- 3.33e-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/171999/cmap_HighResolution_660787201_661046401_4FGL_J2325.4-4800_daily_bin1626.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.42e-08', energy_flux2='2.48e-05', photon_flux_error='1.99e-08', dlogl='2.33e-01', energy_flux='1.31e-05', photon_flux2='1.72e-08', job_status='DONE', time_completed='2021-12-13 00:49:36.179433', photon_index_error2='0.53', photon_index2='1.74', ts='5.99', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='3.33e-05', EG='1.10', time_epoch_completed='1639385376.18', return_code='0', job_id='171999', GAL2='0.65', EG2='1.11', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='1.78e-08', ts2='6.47', photon_index='2.11' WHERE bin_id='1626' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 13 00:49:36 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 171999: <4FGL_J2325.4-4800_daily_bin1626> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1626> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Dec 13 00:36:05 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 13 00:36:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 13 00:36:06 2021
Terminated at Mon Dec 13 00:49:36 2021
Results reported at Mon Dec 13 00:49:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1626 351.35 -48.0022 660787201 661046401 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 :                                   656.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            811 sec.

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

