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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1098
RA = 351.35, Dec = -48.0022
tmin = 523929601, tmax = 524188801
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='877140', job_status='RUN', time_executed='2021-09-29 18:12:13.624892', time_epoch_executed='1632964333.62' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877140

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877140/ft1_4FGL_J2325.4-4800_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877140/ft2_4FGL_J2325.4-4800_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877140/ft1_4FGL_J2325.4-4800_daily_bin1098.fits outfile=/scratch/kocevski/877140/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1098.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=523929601.0 tmax=524188801.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.54
user 3.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877140/ft2_4FGL_J2325.4-4800_daily_bin1098.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/877140/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1098.fits evtable="EVENTS" outfile="/scratch/kocevski/877140/ft1_filtered_4FGL_J2325.4-4800_daily_bin1098.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877140/ft1_filtered_4FGL_J2325.4-4800_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/877140/ft2_4FGL_J2325.4-4800_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/877140/ltcube_523929601_524188801_4FGL_J2325.4-4800_daily_bin1098.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/877140/ft2_4FGL_J2325.4-4800_daily_bin1098.fits
.....................!
real 12.11
user 11.69
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877140/ft1_filtered_4FGL_J2325.4-4800_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/877140/ft2_4FGL_J2325.4-4800_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/877140/ltcube_523929601_524188801_4FGL_J2325.4-4800_daily_bin1098.fits outfile=/scratch/kocevski/877140/expmap_523929601_524188801_4FGL_J2325.4-4800_daily_bin1098.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/877140/ltcube_523929601_524188801_4FGL_J2325.4-4800_daily_bin1098.fits
.....................!
real 190.89
user 185.02
sys 5.23

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/877140/ft1_filtered_4FGL_J2325.4-4800_daily_bin1098.fits scfile=/scratch/kocevski/877140/ft2_4FGL_J2325.4-4800_daily_bin1098.fits outfile=/scratch/kocevski/877140/cmap_523929601_524188801_4FGL_J2325.4-4800_daily_bin1098.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877140/ft1_filtered_4FGL_J2325.4-4800_daily_bin1098.fits scfile=/scratch/kocevski/877140/ft2_4FGL_J2325.4-4800_daily_bin1098.fits outfile=/scratch/kocevski/877140/cmap_HighResolution_523929601_524188801_4FGL_J2325.4-4800_daily_bin1098.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877140/ft1_filtered_4FGL_J2325.4-4800_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/877140/ft2_4FGL_J2325.4-4800_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877140/Model_4FGL_J2325.4-4800_daily_bin1098.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/877140/ft1_filtered_4FGL_J2325.4-4800_daily_bin1098.fits.....................!
real 40.13
user 38.50
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.401       1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.272       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9314       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11661E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.0951       1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.422       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.4332       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1129       1.0000         .10000E-03   10000.    
    14 'Prefactor '    57.470       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8000       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.511       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.2343       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.9706       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.4474       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.7661       1.0000         .10000E-03   10000.    
    25 'norm      '    .49913       1.0000         .10000E-03   10000.    
    26 'norm      '    2.3820       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.6179       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    3.8783       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .98437       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .89893       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=   5255.756     FROM MIGRAD    STATUS=CONVERGED    899 CALLS     4788 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.675        .16175E-05** at limit **
   2  Prefactor     10.400        14.142        .32624E-06   -.10125E-04
   3  Prefactor     46.265        36.488       -.50135E-05   -.75722E-04
   4  Prefactor     2.9311        6.9103       -.11997E-06   -.41110E-04
   5  Prefactor     .10000E-03    2.4362        .12486E-06** at limit **
   6  Prefactor     .10000E-03    11.852       -.22864E-05** at limit **
   7  Prefactor     .10016E-03    4.5388        .92192E-06** at limit **
   8  norm          .10000E-03    2.2119       -.12743E-06** at limit **
   9  Prefactor     4.0947        4.5890        .20041E-05    .80657E-04
  10  Prefactor     32.417        67.683       -.90649E-05   -.19812E-04
  11  Prefactor     6.4331        5.0883        .44714E-06   -.35852E-05
  12  Prefactor     .10000E-03    11.561        .19622E-06** at limit **
  13  Prefactor     7.1114        12.041        .26776E-05    .18118E-04
  14  Prefactor     57.445        94.733       -.25409E-04   -.49722E-04
  15  Prefactor     1.7989        2.7372        .10089E-05   -.22776E-02
  16  Prefactor     16.509        34.028       -.16425E-05   -.97979E-05
  17  Prefactor     .10000E-03    7.6387        .23620E-06** at limit **
  18  norm          3.2340        9.2120       -.21697E-06   -.29253E-04
  19  norm          .10000E-03    2.6440       -.22803E-07** at limit **
  20  norm          .10000E-03    2.0266        .32522E-07** at limit **
  21  Prefactor     4.9702        5.0575        .16455E-07   -.18571E-05
  22  Prefactor     .10000E-03    44.818       -.18490E-05** at limit **
  23  norm          3.4472        3.3098       -.26754E-07    .13832E-04
  24  Prefactor     3.7656        9.8780       -.17164E-06   -.30124E-04
  25  norm          .49914        .86213        .50118E-07   -.15995E-04
  26  norm          2.3820        2.5617        .17011E-07    .16627E-04
  27  Prefactor     .10000E-03    11.598       -.94052E-06** at limit **
  28  Prefactor     2.6174        2.9494       -.16225E-06   -.71312E-04
  29  Prefactor     .10000E-03    8.9364       -.25624E-05** at limit **
  30  norm          .10000E-03    10.041        .46693E-05** at limit **
  31  Prefactor     .10000E-03    1.6033       -.53135E-08** at limit **
  32  Prefactor     3.8777        4.3552        .15105E-05    .30991E-04
  33  Normalizat    .98444        .18569       -.72893E-06   -.13904E-04
  34  Prefactor     .89891        .20024        .11533E-05   -.88876E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.4002
  Prefactor  = 46.2651
  Prefactor  = 2.93108
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100163
  norm       = 0.0001
  Prefactor  = 4.0947
  Prefactor  = 32.4167
  Prefactor  = 6.4331
  Prefactor  = 0.0001
  Prefactor  = 7.1114
  Prefactor  = 57.4449
  Prefactor  = 1.79891
  Prefactor  = 16.5094
  Prefactor  = 0.0001
  norm       = 3.234
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.97017
  Prefactor  = 0.0001
  norm       = 3.44721
  Prefactor  = 3.76558
  norm       = 0.49914
  norm       = 2.38196
  Prefactor  = 0.0001
  Prefactor  = 2.61744
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.87774
  Normalizat = 0.984436
  Prefactor  = 0.898914
 **********
 **   18 **HESSE 
 **********

 FCN=   5255.756     FROM HESSE     STATUS=OK           746 CALLS     5534 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.400        14.122        .12424E-03   -1.5063    
   3  Prefactor     46.265        36.564        .58943E-04   -1.4347    
   4  Prefactor     2.9311        6.8891        .23725E-03   -1.5366    
   5  Prefactor     .10000E-03    2.4401        .11051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10016E-03    4.2922        .50624E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.2126        .10530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.0947        4.5753        .15103E-03   -1.5303    
  10  Prefactor     32.417        67.887        .70371E-04   -1.4569    
  11  Prefactor     6.4331        5.0849        .13972E-03   -1.5201    
  12  Prefactor     .10000E-03    11.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.1114        12.017        .15041E-03   -1.5175    
  14  Prefactor     57.445        94.783        .52919E-04   -1.4191    
  15  Prefactor     1.7989        6.8086        .15580E-02   -1.5440    
  16  Prefactor     16.509        34.052        .98567E-04   -1.4895    
  17  Prefactor     .10000E-03    7.6915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.2340        9.2030        .22523E-03   -1.5348    
  19  norm          .10000E-03    2.6476        .11510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.0331        .10076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.9702        5.0295        .15229E-03   -1.5262    
  22  Prefactor     .10000E-03    45.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.4472        3.3030        .12379E-03   -1.5337    
  24  Prefactor     3.7656        9.8070        .20803E-03   -1.5320    
  25  norm          .49914        .75559        .82927E-03   -1.5567    
  26  norm          2.3820        2.5604        .11607E-03   -1.5399    
  27  Prefactor     .10000E-03    11.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.6174        2.9300        .12540E-03   -1.5384    
  29  Prefactor     .10000E-03    8.9512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    10.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.6102        .89611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     3.8777        4.3528        .14952E-03   -1.5314    
  33  Normalizat    .98444        .22457        .22615E-03   -.93554    
  34  Prefactor     .89891        .24104        .25778E-03   -.96179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54966e-08
Minuit parameter uncertainties:
  1  1.51665e-05
  2  14.1267
  3  36.5813
  4  6.89099
  5  5.62309e-06
  6  2.47175e-05
  7  0.00167059
  8  1.10731e-06
  9  4.57566
  10  68.049
  11  5.08528
  12  8.54914e-06
  13  12.0211
  14  95.0334
  15  6.81154
  16  34.0919
  17  2.41939e-06
  18  9.20702
  19  5.65377e-07
  20  1.92702e-07
  21  5.02992
  22  4.66926e-05
  23  3.30315
  24  9.81115
  25  0.7556
  26  2.56049
  27  3.86307e-06
  28  2.93019
  29  1.22398e-05
  30  4.44515e-05
  31  3.84445e-06
  32  4.35317
  33  0.224787
  34  0.241327
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  4.970e+00  5.030e+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.989e-01  2.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.844e-01  2.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.20
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.14e-08 +/- 2.16e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 1.17e-05

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

Saving results to:
/scratch/kocevski/877140/likelihoodResults_523929601_524188801_4FGL_J2325.4-4800_daily_bin1098.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) = 5255.63409866
delta logL = 0.12168263543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5255.63395283
delta logL = 0.121828472579

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6112       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7952       1.0000          .0000       10.000    
     3 'Normalizat'    .99160       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89409       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=   5255.634     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      307 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6185        6.8901        .78035E-03    .26952E-05
   2  Index         1.7960        .60795        .89020E-02    .88349E-05
   3  Normalizat    .99157        .21618        .22543E-03    .35301E-06
   4  Prefactor     .89407        .23752        .25840E-03   -.21998E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.61847
  Index      = 1.79602
  Normalizat = 0.991574
  Prefactor  = 0.894069
 **********
 **   18 **HESSE 
 **********

 FCN=   5255.634     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6185        6.7872        .31214E-04   -1.5193    
   2  Index         1.7960        .59900        .35608E-03   -.69553    
   3  Normalizat    .99157        .21640        .90173E-05   -.93313    
   4  Prefactor     .89407        .23780        .10336E-04   -.96349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12571e-13
Minuit parameter uncertainties:
  1  6.78796
  2  0.601462
  3  0.216596
  4  0.238072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877140': 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) = 5255.63395068
delta logL = 0.121830614004

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  6.618e+00  6.788e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.796e+00  6.015e-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.941e-01  2.381e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.916e-01  2.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.44
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.80 +/- 0.60
Photon Flux (Free Index): 1.59e-08 +/- 1.93e-08
Energy Flux (Free Index): 1.93e-05 +/- 2.83e-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/877140/cmap_HighResolution_523929601_524188801_4FGL_J2325.4-4800_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-03', comment='SUCCESS', photon_flux='2.14e-08', energy_flux2='1.93e-05', photon_flux_error='2.16e-08', dlogl='1.22e-01', energy_flux='1.16e-05', photon_flux2='1.59e-08', job_status='DONE', time_completed='2021-09-29 18:26:31.578473', photon_index_error2='0.60', photon_index2='1.80', ts='3.20', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='7.88e-08', energy_flux_error2='2.83e-05', EG='0.98', time_epoch_completed='1632965191.58', return_code='0', job_id='877140', GAL2='0.89', EG2='0.99', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='1.93e-08', ts2='3.44', photon_index='2.11' WHERE bin_id='1098' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:26:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 877140: <4FGL_J2325.4-4800_daily_bin1098> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1098> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:12 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:13 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:13 2021
Terminated at Wed Sep 29 18:26:32 2021
Results reported at Wed Sep 29 18:26:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1098 351.35 -48.0022 523929601 524188801 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 :                                   850.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

