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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1284
RA = 351.35, Dec = -48.0022
tmin = 572140801, tmax = 572400001
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='877430', job_status='RUN', time_executed='2021-09-29 18:12:32.149947', time_epoch_executed='1632964352.15' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877430

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877430/ft1_4FGL_J2325.4-4800_daily_bin1284.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877430/ft2_4FGL_J2325.4-4800_daily_bin1284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877430/ft1_4FGL_J2325.4-4800_daily_bin1284.fits outfile=/scratch/kocevski/877430/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1284.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=572140801.0 tmax=572400001.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.59
user 2.39
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877430/ft1_filtered_4FGL_J2325.4-4800_daily_bin1284.fits" evtable="EVENTS" scfile=/scratch/kocevski/877430/ft2_4FGL_J2325.4-4800_daily_bin1284.fits sctable="SC_DATA" outfile=/scratch/kocevski/877430/ltcube_572140801_572400001_4FGL_J2325.4-4800_daily_bin1284.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/877430/ft2_4FGL_J2325.4-4800_daily_bin1284.fits
.....................!
real 9.55
user 9.25
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877430/ft1_filtered_4FGL_J2325.4-4800_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/877430/ft2_4FGL_J2325.4-4800_daily_bin1284.fits sctable="SC_DATA" expcube=/scratch/kocevski/877430/ltcube_572140801_572400001_4FGL_J2325.4-4800_daily_bin1284.fits outfile=/scratch/kocevski/877430/expmap_572140801_572400001_4FGL_J2325.4-4800_daily_bin1284.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/877430/ltcube_572140801_572400001_4FGL_J2325.4-4800_daily_bin1284.fits
.....................!
real 151.49
user 147.64
sys 3.61

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/877430/ft1_filtered_4FGL_J2325.4-4800_daily_bin1284.fits scfile=/scratch/kocevski/877430/ft2_4FGL_J2325.4-4800_daily_bin1284.fits outfile=/scratch/kocevski/877430/cmap_572140801_572400001_4FGL_J2325.4-4800_daily_bin1284.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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877430/ft1_filtered_4FGL_J2325.4-4800_daily_bin1284.fits scfile=/scratch/kocevski/877430/ft2_4FGL_J2325.4-4800_daily_bin1284.fits outfile=/scratch/kocevski/877430/cmap_HighResolution_572140801_572400001_4FGL_J2325.4-4800_daily_bin1284.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.46
user 0.32
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877430/ft1_filtered_4FGL_J2325.4-4800_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/877430/ft2_4FGL_J2325.4-4800_daily_bin1284.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877430/Model_4FGL_J2325.4-4800_daily_bin1284.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/877430/ft1_filtered_4FGL_J2325.4-4800_daily_bin1284.fits.....................!
real 27.85
user 26.87
sys 0.93

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16257E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23390E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.596       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .17820       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .70283E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10573E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    3.4878       1.0000         .10000E-03   10000.    
    27 'Prefactor '    12.459       1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.3610       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.5858       1.0000         .10000E-03   10000.    
    30 'norm      '    16.698       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0566       1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.0747       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=   4156.553     FROM MIGRAD    STATUS=CONVERGED    956 CALLS     4116 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    66.938        .57070E-06** at limit **
   2  Prefactor     .10000E-03    7.6198       -.12760E-05** at limit **
   3  Prefactor     .10000E-03    14.755        .13950E-05** at limit **
   4  Prefactor     .10001E-03    17.455       -.26429E-05** at limit **
   5  Prefactor     .10002E-03    11.285        .36811E-05** at limit **
   6  Prefactor     .10000E-03    15.872        .12057E-05** at limit **
   7  Prefactor     .10000E-03    3.1281        .11194E-07** at limit **
   8  norm          .10000E-03    7.9563        .10356E-05** at limit **
   9  Prefactor     .10000E-03    3.8846        .14016E-06** at limit **
  10  Prefactor     .10004E-03    443.17       -.72114E-05** at limit **
  11  Prefactor     .10000E-03    2.6280        .71249E-07** at limit **
  12  Prefactor     .10000E-03    13.150       -.17081E-05** at limit **
  13  Prefactor     .10000E-03    9.7555        .27557E-06** at limit **
  14  Prefactor     .10000E-03    34.634       -.90245E-06** at limit **
  15  Prefactor     .10000E-03    5.3003        .38367E-07** at limit **
  16  Prefactor     .10000E-03    16.949       -.44479E-06** at limit **
  17  Prefactor     .10000E-03    7.0702        .51359E-06** at limit **
  18  norm          10.595        14.889        .22457E-06    .95806E-04
  19  norm          .10000E-03    2.2796        .71218E-08** at limit **
  20  norm          .17841        6.1557        .17866E-06   -.26553E-04
  21  Prefactor     .10000E-03    2.7727       -.34940E-07** at limit **
  22  Prefactor     .10000E-03    15.368        .14823E-05** at limit **
  23  norm          .10000E-03    2.3564       -.87532E-07** at limit **
  24  Prefactor     .10045E-03    24.827       -.63227E-05** at limit **
  25  norm          .10000E-03    .73535       -.27877E-07** at limit **
  26  norm          3.4856        3.9136       -.16109E-06   -.31576E-03
  27  Prefactor     12.457        18.554        .25643E-05    .37121E-03
  28  Prefactor     3.3602        4.8089       -.10359E-05   -.80607E-03
  29  Prefactor     1.6110        110.34        .26775E-05   -.36819E-04
  30  norm          16.685        18.721        .17618E-06    .64317E-05
  31  Prefactor     .10000E-03    4.8848        .19014E-06** at limit **
  32  Prefactor     .10000E-03    3.7950       -.19106E-06** at limit **
  33  Normalizat    1.0570        .20873       -.44556E-06   -.20688E-03
  34  Prefactor     1.0742        .22217       -.56059E-06   -.22076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100006
  Prefactor  = 0.000100017
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100045
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.5953
  norm       = 0.0001
  norm       = 0.178415
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.000100454
  norm       = 0.0001
  norm       = 3.48564
  Prefactor  = 12.4572
  Prefactor  = 3.36016
  Prefactor  = 1.61099
  norm       = 16.6852
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05696
  Prefactor  = 1.07423
 **********
 **   18 **HESSE 
 **********

 FCN=   4156.553     FROM HESSE     STATUS=OK           720 CALLS     4836 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    67.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.7116        .17482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    17.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    27.900        .34659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.1322        .11136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.1360        .17826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.9534        .12405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10004E-03    452.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.6404        .10207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.8900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    34.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.3335        .14495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.1040        .16765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.595        14.874        .12309E-03   -1.5057    
  19  norm          .10000E-03    2.2800        .95067E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .17841        36.065        .30964E-02   -1.5624    
  21  Prefactor     .10000E-03    2.7778        .10478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    15.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.3753        .96519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10045E-03    60.880        .40315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.5323        .10644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.4856        3.9097        .13109E-03   -1.5335    
  27  Prefactor     12.457        19.042        .56742E-03   -1.5002    
  28  Prefactor     3.3602        4.7992        .14271E-03   -1.5341    
  29  Prefactor     1.6110        113.16        .33711E-03   -1.5454    
  30  norm          16.685        18.709        .98015E-04   -1.4891    
  31  Prefactor     .10000E-03    4.9248        .13896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    3.8718        .12253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.0570        .25081        .23035E-03   -.91146    
  34  Prefactor     1.0742        .26964        .24838E-03   -.90294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30574e-08
Minuit parameter uncertainties:
  1  0.000286798
  2  0.000209917
  3  0.000328357
  4  0.000683504
  5  0.00138418
  6  0.000291669
  7  8.24635e-07
  8  0.000173731
  9  1.80014e-05
  10  0.00905038
  11  7.30973e-06
  12  0.000375302
  13  5.2724e-05
  14  0.00032131
  15  6.43346e-06
  16  0.000109889
  17  8.83554e-05
  18  14.879
  19  1.45108e-06
  20  5.07497
  21  6.87814e-06
  22  0.000361823
  23  4.46202e-06
  24  0.0105234
  25  3.08292e-05
  26  3.91003
  27  19.0509
  28  4.79973
  29  27.0562
  30  18.7152
  31  2.3766e-05
  32  1.08923e-05
  33  0.251096
  34  0.269983
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  6.878e-06  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:  1.074e+00  2.700e-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.057e+00  2.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 5.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877430/likelihoodResults_572140801_572400001_4FGL_J2325.4-4800_daily_bin1284.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): 102
logL (Free Index) = 4156.55472559
delta logL = -0.00169223168359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4156.55303335
delta logL = -6.91215973347e-11

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0881       1.0000          .0000       10.000    
     3 'Normalizat'    1.0569       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0743       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4156.553     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      239 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10285E-03    1.6393        .10611E-01** at limit **
   2  Index         1.9572        5.6380        .50000        .35654E-04
   3  Normalizat    1.0570        .36710E-02    .23035E-03    .26059E-04
   4  Prefactor     1.0742        .40038E-02    .24838E-03    .50852E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010285
  Index      = 1.95718
  Normalizat = 1.05696
  Prefactor  = 1.07423
 **********
 **   18 **HESSE 
 **********

 FCN=   4156.553     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10285E-03    90.605        .10986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9572        7.6030        .50000       -.65425    
   3  Normalizat    1.0570        .28189E-01    .92140E-05   -.91146    
   4  Prefactor     1.0742        .30735E-01    .99351E-05   -.90294    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45118e-07
Minuit parameter uncertainties:
  1  0.0321893
  2  618.846
  3  0.0281897
  4  0.0307352
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877430': 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): 102
logL (Free Index) = 4156.55303221
delta logL = 1.14806789497e-06

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.029e-04  3.219e-02  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.957e+00  6.188e+02  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:  1.074e+00  3.074e-02  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.057e+00  2.819e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.350 -48.002

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/877430/cmap_HighResolution_572140801_572400001_4FGL_J2325.4-4800_daily_bin1284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.73e-08', time_completed='2021-09-29 18:22:38.834025', job_id='877430', GAL2='1.07', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632964958.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1284' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:22:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 877430: <4FGL_J2325.4-4800_daily_bin1284> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1284> 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) <bullet0086>, 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:39 2021
Results reported at Wed Sep 29 18:22:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1284 351.35 -48.0022 572140801 572400001 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 :                                   564.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            722 sec.

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

