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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1279
RA = 351.35, Dec = -48.0022
tmin = 570844801, tmax = 571104001
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='877422', job_status='RUN', time_executed='2021-09-29 18:12:47.468756', time_epoch_executed='1632964367.47' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1279'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877422

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877422/ft1_4FGL_J2325.4-4800_daily_bin1279.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877422/ft2_4FGL_J2325.4-4800_daily_bin1279.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877422/ft1_4FGL_J2325.4-4800_daily_bin1279.fits outfile=/scratch/kocevski/877422/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1279.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=570844801.0 tmax=571104001.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.04
user 2.80
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877422/ft1_filtered_4FGL_J2325.4-4800_daily_bin1279.fits" evtable="EVENTS" scfile=/scratch/kocevski/877422/ft2_4FGL_J2325.4-4800_daily_bin1279.fits sctable="SC_DATA" outfile=/scratch/kocevski/877422/ltcube_570844801_571104001_4FGL_J2325.4-4800_daily_bin1279.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/877422/ft2_4FGL_J2325.4-4800_daily_bin1279.fits
.....................!
real 13.33
user 12.96
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877422/ft1_filtered_4FGL_J2325.4-4800_daily_bin1279.fits evtable="EVENTS" scfile=/scratch/kocevski/877422/ft2_4FGL_J2325.4-4800_daily_bin1279.fits sctable="SC_DATA" expcube=/scratch/kocevski/877422/ltcube_570844801_571104001_4FGL_J2325.4-4800_daily_bin1279.fits outfile=/scratch/kocevski/877422/expmap_570844801_571104001_4FGL_J2325.4-4800_daily_bin1279.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/877422/ltcube_570844801_571104001_4FGL_J2325.4-4800_daily_bin1279.fits
.....................!
real 190.88
user 185.06
sys 5.47

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/877422/ft1_filtered_4FGL_J2325.4-4800_daily_bin1279.fits scfile=/scratch/kocevski/877422/ft2_4FGL_J2325.4-4800_daily_bin1279.fits outfile=/scratch/kocevski/877422/cmap_570844801_571104001_4FGL_J2325.4-4800_daily_bin1279.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877422/ft1_filtered_4FGL_J2325.4-4800_daily_bin1279.fits scfile=/scratch/kocevski/877422/ft2_4FGL_J2325.4-4800_daily_bin1279.fits outfile=/scratch/kocevski/877422/cmap_HighResolution_570844801_571104001_4FGL_J2325.4-4800_daily_bin1279.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877422/ft1_filtered_4FGL_J2325.4-4800_daily_bin1279.fits evtable="EVENTS" scfile=/scratch/kocevski/877422/ft2_4FGL_J2325.4-4800_daily_bin1279.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877422/Model_4FGL_J2325.4-4800_daily_bin1279.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/877422/ft1_filtered_4FGL_J2325.4-4800_daily_bin1279.fits......................!
real 26.18
user 24.86
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.426       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.420       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3369.8       1.0000         .10000E-03   10000.    
     9 'Prefactor '    113.42       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    99.846       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    113.84       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3036       1.0000         .10000E-03   10000.    
    18 'norm      '    17.899       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.4168       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.9609       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.6353       1.0000         .10000E-03   10000.    
    26 'norm      '    11.015       1.0000         .10000E-03   10000.    
    27 'Prefactor '    44.388       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10791E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    17.082       1.0000         .10000E-03   10000.    
    30 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .74891       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .94592       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=   2532.200     FROM MIGRAD    STATUS=CONVERGED    942 CALLS     5740 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    111.80        .15771E-05** at limit **
   2  Prefactor     .10000E-03    9.6145       -.11065E-06** at limit **
   3  Prefactor     .10000E-03    82.617        .38448E-05** at limit **
   4  Prefactor     .10000E-03    6.6613       -.10194E-06** at limit **
   5  Prefactor     12.427        10.003        .58765E-08    .95569E-05
   6  Prefactor     16.420        31.900        .69790E-07    .23049E-05
   7  Prefactor     .10000E-03    7.2743       -.41116E-06** at limit **
   8  norm          3369.3        2468.2        .71056E-05    .26504E-06
   9  Prefactor     113.42        89.846       -.91063E-07   -.42221E-04
  10  Prefactor     .10000E-03    799.26        .49507E-04** at limit **
  11  Prefactor     99.926        115.53       -.38519E-05   -.86683E-05
  12  Prefactor     .10000E-03    128.25       -.12822E-05** at limit **
  13  Prefactor     .10000E-03    61.886       -.32127E-05** at limit **
  14  Prefactor     .10000E-03    213.69       -.11869E-04** at limit **
  15  Prefactor     .10000E-03    10.251       -.20397E-07** at limit **
  16  Prefactor     113.91        182.41       -.44152E-05   -.18721E-05
  17  Prefactor     1.3056        131.12        .13751E-04    .33635E-05
  18  norm          17.899        17.922       -.10897E-06   -.46278E-05
  19  norm          .10000E-03    4.8268        .23934E-06** at limit **
  20  norm          .10000E-03    3.3111       -.30940E-07** at limit **
  21  Prefactor     2.4170        8.5283        .25744E-05   -.11956E-04
  22  Prefactor     .10000E-03    34.409        .63633E-06** at limit **
  23  norm          5.9608        7.7364        .22461E-06   -.10528E-04
  24  Prefactor     .10000E-03    28.300        .15772E-05** at limit **
  25  norm          1.6352        1.5424       -.51182E-07   -.97962E-05
  26  norm          11.015        8.9283        .64732E-07   -.97365E-05
  27  Prefactor     44.391        26.669        .61845E-07    .97360E-05
  28  Prefactor     .10000E-03    2.4348       -.29104E-06** at limit **
  29  Prefactor     17.098        28.104        .73279E-07    .15096E-04
  30  norm          .10000E-03    11.878       -.78367E-07** at limit **
  31  Prefactor     .10000E-03    1.8272       -.45526E-07** at limit **
  32  Prefactor     .10000E-03    2.8198       -.13190E-06** at limit **
  33  Normalizat    .74874        .29697       -.14375E-05    .38401E-04
  34  Prefactor     .94617        .31893        .13002E-05    .18959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4269
  Prefactor  = 16.4195
  Prefactor  = 0.0001
  norm       = 3369.28
  Prefactor  = 113.418
  Prefactor  = 0.0001
  Prefactor  = 99.9257
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 113.912
  Prefactor  = 1.30557
  norm       = 17.8992
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.41696
  Prefactor  = 0.0001
  norm       = 5.9608
  Prefactor  = 0.0001
  norm       = 1.63524
  norm       = 11.0146
  Prefactor  = 44.3906
  Prefactor  = 0.0001
  Prefactor  = 17.0982
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.748743
  Prefactor  = 0.946174
 **********
 **   18 **HESSE 
 **********

 FCN=   2532.200     FROM HESSE     STATUS=OK           730 CALLS     6470 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    112.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.6211        .15240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    83.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.6862        .12684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.427        10.024        .11364E-03   -1.5003    
   6  Prefactor     16.420        31.927        .98839E-04   -1.4897    
   7  Prefactor     .10000E-03    15.637        .26041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3369.3        2466.6        .42312E-04   -.33222    
   9  Prefactor     113.42        89.821        .37774E-04   -1.3574    
  10  Prefactor     .10000E-03    799.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     99.926        115.55        .20116E-03   -1.3705    
  12  Prefactor     .10000E-03    128.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    61.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    213.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.255        .15736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     113.91        182.50        .18853E-03   -1.3569    
  17  Prefactor     1.3056        128.96        .19338E-02   -1.5479    
  18  norm          17.899        17.923        .47334E-03   -1.4862    
  19  norm          .10000E-03    4.8290        .10798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.3117        .89423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.4170        8.4187        .12803E-02   -1.5397    
  22  Prefactor     .10000E-03    34.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.9608        7.7209        .14038E-03   -1.5220    
  24  Prefactor     .10000E-03    28.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.6352        1.5401        .55951E-04   -1.5452    
  26  norm          11.015        8.9123        .11800E-03   -1.5044    
  27  Prefactor     44.391        26.695        .60176E-04   -1.4374    
  28  Prefactor     .10000E-03    3.7929        .15056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     17.098        27.843        .96905E-04   -1.4881    
  30  norm          .10000E-03    11.883        .16941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.8310        .66412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.8620        .82451E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .74874        .35619        .25822E-03   -1.0200    
  34  Prefactor     .94617        .38346        .26213E-03   -.94546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39292e-10
Minuit parameter uncertainties:
  1  0.000100937
  2  4.37053e-06
  3  0.000171944
  4  3.91311e-06
  5  10.0251
  6  31.9605
  7  0.000130337
  8  2594.99
  9  89.9293
  10  0.000236842
  11  115.814
  12  9.8999e-06
  13  4.21853e-05
  14  8.5272e-05
  15  2.05684e-06
  16  183.413
  17  26.008
  18  17.9285
  19  3.08607e-06
  20  1.69138e-06
  21  8.42285
  22  2.572e-05
  23  7.72218
  24  4.76854e-05
  25  1.54017
  26  8.91342
  27  26.7022
  28  4.0145e-09
  29  27.8639
  30  2.92611e-06
  31  1.13973e-06
  32  4.22338e-06
  33  0.357303
  34  0.384562
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.417e+00  8.423e+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:  9.462e-01  3.846e-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:  7.487e-01  3.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/877422/likelihoodResults_570844801_571104001_4FGL_J2325.4-4800_daily_bin1279.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) = 2531.01797396
delta logL = 1.18171115643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2530.82392663
delta logL = 1.3757584934

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.8402       1.0000          .0000       10.000    
     3 'Normalizat'    .62689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0538       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=   2530.824     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      510 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .76721E-02    .23602E-03** at limit **
   2  Index         6.8398        2.7964        .64742E-01    .12742E-03
   3  Normalizat    .62757        .88862E-01    .63071E-01    .17548E-03
   4  Prefactor     1.0533        .10015        .39692E-01    .22979E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 6.83984
  Normalizat = 0.627567
  Prefactor  = 1.05327
 **********
 **   18 **HESSE 
 **********

 FCN=   2530.824     FROM HESSE     STATUS=OK            33 CALLS      543 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .72314E-03    .74330E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.8398        .27912        .27369E-02    .37682    
   3  Normalizat    .62757        .34122        .27905E-03   -1.0683    
   4  Prefactor     1.0533        .38801        .24968E-03   -.90974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51547e-10
Minuit parameter uncertainties:
  1  4.71615e-10
  2  0.279285
  3  0.342379
  4  0.389046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877422': 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) = 2530.82391732
delta logL = 1.37576779915

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  4.716e-10  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  6.840e+00  2.793e-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:  1.053e+00  3.890e-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:  6.276e-01  3.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.00
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 6.84 +/- 0.28
Photon Flux (Free Index): 8.66e-08 +/- 6.58e-08
Energy Flux (Free Index): 1.04e-05 +/- 7.84e-06

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/877422/cmap_HighResolution_570844801_571104001_4FGL_J2325.4-4800_daily_bin1279.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.87e-03', comment='SUCCESS', energy_flux2='1.04e-05', dlogl='1.38e+00', photon_flux2='8.66e-08', job_status='DONE', time_completed='2021-09-29 18:23:59.719991', photon_index_error2='0.28', photon_index2='6.84', ts='0.11', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='7.84e-06', EG='0.75', time_epoch_completed='1632965039.72', return_code='0', job_id='877422', GAL2='1.05', EG2='0.63', return_code2='0', photon_flux_error2='6.58e-08', ts2='3.00', photon_index='2.11' WHERE bin_id='1279' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:23:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 877422: <4FGL_J2325.4-4800_daily_bin1279> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1279> 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) <bullet0253>, 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:24:00 2021
Results reported at Wed Sep 29 18:24:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1279 351.35 -48.0022 570844801 571104001 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 :                                   618.00 sec.
    Max Memory :                                 1032 MB
    Average Memory :                             233.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            803 sec.

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

