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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin812
RA = 351.35, Dec = -48.0022
tmin = 449798401, tmax = 450057601
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='874352', job_status='RUN', time_executed='2021-09-29 18:02:47.817558', time_epoch_executed='1632963767.82' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='812'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874352

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874352/ft1_4FGL_J2325.4-4800_daily_bin812.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874352/ft2_4FGL_J2325.4-4800_daily_bin812.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/874352/ft1_4FGL_J2325.4-4800_daily_bin812.fits outfile=/scratch/kocevski/874352/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin812.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=449798401.0 tmax=450057601.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 4.38
user 4.15
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/874352/ft1_filtered_4FGL_J2325.4-4800_daily_bin812.fits" evtable="EVENTS" scfile=/scratch/kocevski/874352/ft2_4FGL_J2325.4-4800_daily_bin812.fits sctable="SC_DATA" outfile=/scratch/kocevski/874352/ltcube_449798401_450057601_4FGL_J2325.4-4800_daily_bin812.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/874352/ft2_4FGL_J2325.4-4800_daily_bin812.fits
.....................!
real 11.93
user 11.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874352/ft1_filtered_4FGL_J2325.4-4800_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/874352/ft2_4FGL_J2325.4-4800_daily_bin812.fits sctable="SC_DATA" expcube=/scratch/kocevski/874352/ltcube_449798401_450057601_4FGL_J2325.4-4800_daily_bin812.fits outfile=/scratch/kocevski/874352/expmap_449798401_450057601_4FGL_J2325.4-4800_daily_bin812.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/874352/ltcube_449798401_450057601_4FGL_J2325.4-4800_daily_bin812.fits
.....................!
real 189.83
user 184.93
sys 4.50

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/874352/ft1_filtered_4FGL_J2325.4-4800_daily_bin812.fits scfile=/scratch/kocevski/874352/ft2_4FGL_J2325.4-4800_daily_bin812.fits outfile=/scratch/kocevski/874352/cmap_449798401_450057601_4FGL_J2325.4-4800_daily_bin812.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/874352/ft1_filtered_4FGL_J2325.4-4800_daily_bin812.fits scfile=/scratch/kocevski/874352/ft2_4FGL_J2325.4-4800_daily_bin812.fits outfile=/scratch/kocevski/874352/cmap_HighResolution_449798401_450057601_4FGL_J2325.4-4800_daily_bin812.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/874352/ft1_filtered_4FGL_J2325.4-4800_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/874352/ft2_4FGL_J2325.4-4800_daily_bin812.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/874352/Model_4FGL_J2325.4-4800_daily_bin812.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/874352/ft1_filtered_4FGL_J2325.4-4800_daily_bin812.fits.....................!
real 33.45
user 32.13
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8867       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10268E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.927       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4677       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.897       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.781       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.843       1.0000         .10000E-03   10000.    
    18 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.6641       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.2109       1.0000         .10000E-03   10000.    
    23 'norm      '    .16185E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    2.8061       1.0000         .10000E-03   10000.    
    26 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    14.939       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    39.611       1.0000         .10000E-03   10000.    
    30 'norm      '    6.2720       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0383       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .82032       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=   3927.339     FROM MIGRAD    STATUS=CONVERGED    911 CALLS     4768 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.853       -.79313E-06** at limit **
   2  Prefactor     .10000E-03    15.620        .12366E-05** at limit **
   3  Prefactor     .10000E-03    78.323        .12508E-05** at limit **
   4  Prefactor     3.8944        26.133        .91670E-05   -.17662E-03
   5  Prefactor     .10000E-03    8.8774        .41037E-06** at limit **
   6  Prefactor     .10000E-03    12.282       -.13176E-05** at limit **
   7  Prefactor     .10000E-03    5.7910        .34064E-06** at limit **
   8  norm          13.928        9.0146       -.72120E-08   -.13973E-05
   9  Prefactor     .10000E-03    1.8133        .49257E-08** at limit **
  10  Prefactor     .10000E-03    14.735        .17915E-06** at limit **
  11  Prefactor     1.4681        7.3217        .16417E-05   -.10304E-03
  12  Prefactor     16.905        24.541        .26603E-06    .29835E-04
  13  Prefactor     .10000E-03    7.4628       -.40061E-06** at limit **
  14  Prefactor     .10000E-03    40.375        .36271E-06** at limit **
  15  Prefactor     .10000E-03    3.7832        .38108E-07** at limit **
  16  Prefactor     34.790        32.535        .83675E-06    .98321E-04
  17  Prefactor     18.852        18.801       -.30743E-07   -.16241E-04
  18  norm          .10000E-03    5.6867       -.54688E-08** at limit **
  19  norm          .10000E-03    4.8647       -.67634E-06** at limit **
  20  norm          .10000E-03    2.1533       -.63314E-07** at limit **
  21  Prefactor     5.6639        6.1985        .12916E-07   -.92649E-05
  22  Prefactor     7.1821        29.756       -.37328E-05   -.16056E-03
  23  norm          .10000E-03    4.5695       -.13004E-06** at limit **
  24  Prefactor     .10000E-03    9.8787        .27835E-06** at limit **
  25  norm          2.8060        1.8068       -.32184E-07   -.90504E-04
  26  norm          .10000E-03    1.9027       -.10297E-06** at limit **
  27  Prefactor     14.941        15.716       -.19257E-06   -.24516E-04
  28  Prefactor     .10000E-03    2.4923        .21918E-06** at limit **
  29  Prefactor     39.629        35.062        .25695E-05    .24100E-03
  30  norm          6.2709        18.445        .28379E-07   -.92481E-05
  31  Prefactor     .10000E-03    3.8969       -.74460E-07** at limit **
  32  Prefactor     .10000E-03    9.5604        .64003E-06** at limit **
  33  Normalizat    1.0380        .22149       -.12038E-05   -.48607E-04
  34  Prefactor     .82057        .22874       -.12527E-06   -.76787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.89436
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 13.928
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.46809
  Prefactor  = 16.9051
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.79
  Prefactor  = 18.852
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.6639
  Prefactor  = 7.18207
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.80601
  norm       = 0.0001
  Prefactor  = 14.9405
  Prefactor  = 0.0001
  Prefactor  = 39.6286
  norm       = 6.27095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.03797
  Prefactor  = 0.820568
 **********
 **   18 **HESSE 
 **********

 FCN=   3927.339     FROM HESSE     STATUS=OK           722 CALLS     5490 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    78.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8944        28.589        .10233E-02   -1.5313    
   5  Prefactor     .10000E-03    8.9386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8169        .14735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.928        9.0201        .10733E-03   -1.4961    
   9  Prefactor     .10000E-03    1.8339        .82385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4681        7.3731        .31643E-03   -1.5466    
  12  Prefactor     16.905        24.504        .97435E-04   -1.4885    
  13  Prefactor     .10000E-03    7.4984        .16728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    40.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.7966        .11904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.790        32.631        .67950E-04   -1.4528    
  17  Prefactor     18.852        18.788        .92268E-04   -1.4839    
  18  norm          .10000E-03    5.6955        .14596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.8988        .13530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.1536        .89796E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.6639        6.1930        .15666E-03   -1.5232    
  22  Prefactor     7.1821        32.274        .14937E-03   -1.5172    
  23  norm          .10000E-03    4.7764        .26230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.8924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.8060        1.8000        .62528E-04   -1.5373    
  26  norm          .10000E-03    1.9106        .84361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     14.941        15.712        .10363E-03   -1.4935    
  28  Prefactor     .10000E-03    2.5016        .96348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     39.629        35.773        .63687E-04   -1.4448    
  30  norm          6.2709        18.457        .16028E-03   -1.5207    
  31  Prefactor     .10000E-03    3.9222        .12079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    9.8946        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.0380        .26352        .22805E-03   -.91769    
  34  Prefactor     .82057        .27156        .26687E-03   -.98975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22507e-09
Minuit parameter uncertainties:
  1  0.00013408
  2  0.000133329
  3  0.000127076
  4  21.1171
  5  2.85842e-05
  6  0.000161672
  7  2.40317e-05
  8  9.02097
  9  8.14794e-07
  10  2.49585e-05
  11  6.58116
  12  24.5186
  13  4.40183e-05
  14  7.54404e-05
  15  5.22019e-06
  16  32.648
  17  18.794
  18  9.52199e-07
  19  4.85955e-05
  20  4.45539e-06
  21  6.19366
  22  30.4767
  23  0.000112149
  24  1.58808e-05
  25  1.80004
  26  7.80065e-06
  27  15.7168
  28  1.86189e-05
  29  35.7923
  30  18.4733
  31  2.14725e-05
  32  9.08181e-06
  33  0.263851
  34  0.272002
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  5.664e+00  6.194e+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:  8.206e-01  2.720e-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.038e+00  2.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.22
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.44e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 1.32e-05 +/- 1.45e-05

TS (Fixed Index): 2.22
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/874352/likelihoodResults_449798401_450057601_4FGL_J2325.4-4800_daily_bin812.txt

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) = 3927.21231204
delta logL = 0.12678993809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3927.21226638
delta logL = 0.126835596425

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3458       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7625       1.0000          .0000       10.000    
     3 'Normalizat'    1.0447       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81695       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3927.212     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      301 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3325        8.1282        .73992E-03    .61305E-05
   2  Index         1.7611        .67027        .89777E-02    .83134E-05
   3  Normalizat    1.0447        .25153        .22744E-03    .11996E-04
   4  Prefactor     .81700        .26582        .26741E-03    .87367E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.33253
  Index      = 1.76109
  Normalizat = 1.04472
  Prefactor  = 0.817004
 **********
 **   18 **HESSE 
 **********

 FCN=   3927.212     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .69E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3325        8.0709        .29597E-04   -1.5166    
   2  Index         1.7611        .66570        .35911E-03   -.70467    
   3  Normalizat    1.0447        .25180        .90977E-05   -.91547    
   4  Prefactor     .81700        .26613        .10696E-04   -.99105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.93138e-13
Minuit parameter uncertainties:
  1  8.07207
  2  0.669133
  3  0.252087
  4  0.266551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874352': 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) = 3927.21226221
delta logL = 0.12683977242

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  7.333e+00  8.072e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.761e+00  6.691e-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:  8.170e-01  2.666e-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.045e+00  2.521e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.48
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.76 +/- 0.67
Photon Flux (Free Index): 1.66e-08 +/- 2.36e-08
Energy Flux (Free Index): 2.24e-05 +/- 3.54e-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/874352/cmap_HighResolution_449798401_450057601_4FGL_J2325.4-4800_daily_bin812.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.74e-03', comment='SUCCESS', photon_flux='2.44e-08', energy_flux2='2.24e-05', photon_flux_error='2.67e-08', dlogl='1.27e-01', energy_flux='1.32e-05', photon_flux2='1.66e-08', job_status='DONE', time_completed='2021-09-29 18:14:28.868059', photon_index_error2='0.67', photon_index2='1.76', ts='2.22', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='3.54e-05', EG='1.04', time_epoch_completed='1632964468.87', return_code='0', job_id='874352', GAL2='0.82', EG2='1.04', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='2.36e-08', ts2='2.48', photon_index='2.11' WHERE bin_id='812' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:14:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 874352: <4FGL_J2325.4-4800_daily_bin812> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin812 351.35 -48.0022 449798401 450057601 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 :                                   699.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            828 sec.

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

