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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1247
RA = 351.35, Dec = -48.0022
tmin = 562550401, tmax = 562809601
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='877373', job_status='RUN', time_executed='2021-09-29 18:12:56.213551', time_epoch_executed='1632964376.21' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1247'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877373

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877373/ft1_4FGL_J2325.4-4800_daily_bin1247.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877373/ft2_4FGL_J2325.4-4800_daily_bin1247.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877373/ft1_4FGL_J2325.4-4800_daily_bin1247.fits outfile=/scratch/kocevski/877373/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1247.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=562550401.0 tmax=562809601.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.43
user 3.21
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877373/ft1_filtered_4FGL_J2325.4-4800_daily_bin1247.fits" evtable="EVENTS" scfile=/scratch/kocevski/877373/ft2_4FGL_J2325.4-4800_daily_bin1247.fits sctable="SC_DATA" outfile=/scratch/kocevski/877373/ltcube_562550401_562809601_4FGL_J2325.4-4800_daily_bin1247.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/877373/ft2_4FGL_J2325.4-4800_daily_bin1247.fits
.....................!
real 11.86
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877373/ft1_filtered_4FGL_J2325.4-4800_daily_bin1247.fits evtable="EVENTS" scfile=/scratch/kocevski/877373/ft2_4FGL_J2325.4-4800_daily_bin1247.fits sctable="SC_DATA" expcube=/scratch/kocevski/877373/ltcube_562550401_562809601_4FGL_J2325.4-4800_daily_bin1247.fits outfile=/scratch/kocevski/877373/expmap_562550401_562809601_4FGL_J2325.4-4800_daily_bin1247.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/877373/ltcube_562550401_562809601_4FGL_J2325.4-4800_daily_bin1247.fits
.....................!
real 190.98
user 185.54
sys 4.95

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/877373/ft1_filtered_4FGL_J2325.4-4800_daily_bin1247.fits scfile=/scratch/kocevski/877373/ft2_4FGL_J2325.4-4800_daily_bin1247.fits outfile=/scratch/kocevski/877373/cmap_562550401_562809601_4FGL_J2325.4-4800_daily_bin1247.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877373/ft1_filtered_4FGL_J2325.4-4800_daily_bin1247.fits scfile=/scratch/kocevski/877373/ft2_4FGL_J2325.4-4800_daily_bin1247.fits outfile=/scratch/kocevski/877373/cmap_HighResolution_562550401_562809601_4FGL_J2325.4-4800_daily_bin1247.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/877373/ft1_filtered_4FGL_J2325.4-4800_daily_bin1247.fits evtable="EVENTS" scfile=/scratch/kocevski/877373/ft2_4FGL_J2325.4-4800_daily_bin1247.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877373/Model_4FGL_J2325.4-4800_daily_bin1247.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/877373/ft1_filtered_4FGL_J2325.4-4800_daily_bin1247.fits.....................!
real 32.12
user 30.82
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.443       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.757       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.941       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.225       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6469       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.113       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.5559       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.626       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17077E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    10.064       1.0000         .10000E-03   10000.    
    20 'norm      '    3.5928       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.1768       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .41223E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    .56285E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.7333       1.0000         .10000E-03   10000.    
    25 'norm      '    1.1182       1.0000         .10000E-03   10000.    
    26 'norm      '    3.7927       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.0532       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .78434E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1459       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .83303       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=   3747.850     FROM MIGRAD    STATUS=CONVERGED   1694 CALLS     6292 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.436        60.579        .62269E-04   -.58807E-04
   2  Prefactor     .10000E-03    10.798        .18142E-02** at limit **
   3  Prefactor     42.726        51.219        .61308E-04   -.69724E-04
   4  Prefactor     .10000E-03    5.2749        .13729E-02** at limit **
   5  Prefactor     .10000E-03    4.6351        .12856E-02** at limit **
   6  Prefactor     13.953        35.429        .10727E-03   -.18652E-04
   7  Prefactor     .10000E-03    10.743        .18142E-02** at limit **
   8  norm          10.224        8.4340        .12531E-03    .12248E-05
   9  Prefactor     1.6461        3.4563        .15948E-03    .85542E-04
  10  Prefactor     20.124        52.719        .89308E-04    .52255E-04
  11  Prefactor     9.5560        7.8278        .12964E-03   -.66912E-04
  12  Prefactor     .10001E-03    16.754        .18142E-02** at limit **
  13  Prefactor     11.619        14.035        .11749E-03    .22159E-03
  14  Prefactor     .10015E-03    688.97        .20366E-02** at limit **
  15  Prefactor     .10000E-03    2.9867        .10326E-02** at limit **
  16  Prefactor     .10000E-03    21.319        .18142E-02** at limit **
  17  Prefactor     .10000E-03    11.372        .18142E-02** at limit **
  18  norm          .10000E-03    11.990        .18142E-02** at limit **
  19  norm          10.064        8.3374        .63155E-03   -.95416E-04
  20  norm          3.5955        5.7915        .17495E-03   -.28450E-03
  21  Prefactor     6.1763        7.1029        .77899E-03    .55239E-04
  22  Prefactor     .10028E-03    55.432        .10434    ** at limit **
  23  norm          .10000E-03    34.022        .19750E-02** at limit **
  24  Prefactor     5.7334        12.894        .83873E-03    .76678E-04
  25  norm          1.1180        1.2688        .70714E-04    .14486E-02
  26  norm          3.7939        3.8596        .11622E-03    .37410E-03
  27  Prefactor     .10000E-03    5.6642        .14223E-02** at limit **
  28  Prefactor     4.0523        3.5595        .10255E-03    .30397E-03
  29  Prefactor     .10001E-03    25.880        .84270E-01** at limit **
  30  norm          .10000E-03    9.4062        .18142E-02** at limit **
  31  Prefactor     .10000E-03    2.6181        .96214E-03** at limit **
  32  Prefactor     .10000E-03    1.5152        .73487E-03** at limit **
  33  Normalizat    1.1461        .26718        .22254E-03   -.15663E-03
  34  Prefactor     .83290        .27959        .27842E-03    .14694E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.436
  Prefactor  = 0.0001
  Prefactor  = 42.7263
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.953
  Prefactor  = 0.0001
  norm       = 10.2244
  Prefactor  = 1.64612
  Prefactor  = 20.1242
  Prefactor  = 9.55604
  Prefactor  = 0.000100015
  Prefactor  = 11.6188
  Prefactor  = 0.000100148
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.0635
  norm       = 3.59552
  Prefactor  = 6.17634
  Prefactor  = 0.00010028
  norm       = 0.0001
  Prefactor  = 5.73341
  norm       = 1.11801
  norm       = 3.79387
  Prefactor  = 0.0001
  Prefactor  = 4.05231
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14611
  Prefactor  = 0.832896
 **********
 **   18 **HESSE 
 **********

 FCN=   3747.850     FROM HESSE     STATUS=OK           720 CALLS     7012 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.436        60.578        .12454E-04   -1.4420    
   2  Prefactor     .10000E-03    10.798        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     42.726        51.219        .12262E-04   -1.4400    
   4  Prefactor     .10000E-03    5.2750        .27458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.6353        .25713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.953        35.426        .42910E-05   -1.4961    
   7  Prefactor     .10000E-03    10.747        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.224        8.4340        .50123E-05   -1.5068    
   9  Prefactor     1.6461        3.4561        .63793E-05   -1.5451    
  10  Prefactor     20.124        52.717        .17862E-04   -1.4810    
  11  Prefactor     9.5560        7.8276        .51855E-05   -1.5090    
  12  Prefactor     .10001E-03    16.756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.619        14.033        .46996E-05   -1.5026    
  14  Prefactor     .10015E-03    689.33        .40731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.9868        .20652E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    21.319        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.374        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    11.993        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.064        8.3377        .25262E-04   -1.5073    
  20  norm          3.5955        5.7753        .69979E-05   -1.5329    
  21  Prefactor     6.1763        7.1009        .31160E-04   -1.5211    
  22  Prefactor     .10028E-03    50.964        .10937       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    34.460        .79001E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.7334        12.889        .33549E-04   -1.5229    
  25  norm          1.1180        1.2687        .28286E-05   -1.5496    
  26  norm          3.7939        3.8587        .46490E-05   -1.5318    
  27  Prefactor     .10000E-03    5.6643        .28447E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.0523        3.5591        .41021E-05   -1.5305    
  29  Prefactor     .10001E-03    24.306        .88302E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    9.4062        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    2.6184        .19243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.5153        .14697E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.1461        .26742        .44508E-04   -.88285    
  34  Prefactor     .83290        .27987        .11137E-04   -.98527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64475e-09
Minuit parameter uncertainties:
  1  60.6682
  2  7.39526e-05
  3  51.2719
  4  2.05738e-05
  5  1.37685e-05
  6  35.4794
  7  9.34478e-06
  8  8.43499
  9  3.4565
  10  52.8392
  11  7.82845
  12  0.000999394
  13  14.0373
  14  0.0204423
  15  4.13007e-06
  16  9.48127e-05
  17  2.37336e-06
  18  0.000148133
  19  8.33867
  20  5.77616
  21  7.10189
  22  0.00756567
  23  0.000100606
  24  12.8951
  25  1.26872
  26  3.85899
  27  5.17842e-06
  28  3.55931
  29  0.000788438
  30  7.80683e-05
  31  7.2708e-06
  32  3.91948e-06
  33  0.26774
  34  0.280349
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  6.176e+00  7.102e+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.329e-01  2.803e-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.146e+00  2.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.63
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.66e-05

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

Saving results to:
/scratch/kocevski/877373/likelihoodResults_562550401_562809601_4FGL_J2325.4-4800_daily_bin1247.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) = 3747.84192792
delta logL = 0.00784868586925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3747.83517279
delta logL = 0.0146038201792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2205       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2329       1.0000          .0000       10.000    
     3 'Normalizat'    1.1430       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83502       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3747.835     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2181        204.20        .43983E-02    .98553E-04
   2  Index         2.2331        6.0123        .12550        .69196E-04
   3  Normalizat    1.1429        .94547E-01    .36471E-01    .16410E-05
   4  Prefactor     .83502        .90575E-01    .44171E-01    .86625E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.21812
  Index      = 2.23313
  Normalizat = 1.14294
  Prefactor  = 0.835023
 **********
 **   18 **HESSE 
 **********

 FCN=   3747.835     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2181        8.6837        .14146E-03   -1.5251    
   2  Index         2.2331        .82651        .62661E-02   -.58641    
   3  Normalizat    1.1429        .25561        .22280E-03   -.88385    
   4  Prefactor     .83502        .27739        .27810E-03   -.98450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15542e-12
Minuit parameter uncertainties:
  1  8.68575
  2  0.832034
  3  0.255892
  4  0.277858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877373': 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) = 3747.83517274
delta logL = 0.0146038728922

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  5.218e+00  8.686e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.233e+00  8.320e-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.350e-01  2.779e-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.143e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.23 +/- 0.83
Photon Flux (Free Index): 2.93e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.79e-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/877373/cmap_HighResolution_562550401_562809601_4FGL_J2325.4-4800_daily_bin1247.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.67e-03', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.24e-05', photon_flux_error='3.06e-08', dlogl='1.46e-02', energy_flux='1.44e-05', photon_flux2='2.93e-08', job_status='DONE', time_completed='2021-09-29 18:26:05.188828', photon_index_error2='0.83', photon_index2='2.23', ts='1.63', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.79e-05', EG='1.15', time_epoch_completed='1632965165.19', return_code='0', job_id='877373', GAL2='0.84', EG2='1.14', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='3.34e-08', ts2='1.67', photon_index='2.11' WHERE bin_id='1247' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:26:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 877373: <4FGL_J2325.4-4800_daily_bin1247> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1247 351.35 -48.0022 562550401 562809601 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 :                                   773.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            932 sec.

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

