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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1500
RA = 351.35, Dec = -48.0022
tmin = 628128001, tmax = 628387201
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='880084', job_status='RUN', time_executed='2021-09-29 18:18:24.550768', time_epoch_executed='1632964704.55' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880084

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880084/ft1_4FGL_J2325.4-4800_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880084/ft2_4FGL_J2325.4-4800_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880084/ft1_4FGL_J2325.4-4800_daily_bin1500.fits outfile=/scratch/kocevski/880084/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1500.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=628128001.0 tmax=628387201.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 5.21
user 4.96
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880084/ft1_filtered_4FGL_J2325.4-4800_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/880084/ft2_4FGL_J2325.4-4800_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/880084/ltcube_628128001_628387201_4FGL_J2325.4-4800_daily_bin1500.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/880084/ft2_4FGL_J2325.4-4800_daily_bin1500.fits
.....................!
real 11.55
user 11.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880084/ft1_filtered_4FGL_J2325.4-4800_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/880084/ft2_4FGL_J2325.4-4800_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/880084/ltcube_628128001_628387201_4FGL_J2325.4-4800_daily_bin1500.fits outfile=/scratch/kocevski/880084/expmap_628128001_628387201_4FGL_J2325.4-4800_daily_bin1500.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/880084/ltcube_628128001_628387201_4FGL_J2325.4-4800_daily_bin1500.fits
.....................!
real 190.07
user 184.99
sys 4.72

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/880084/ft1_filtered_4FGL_J2325.4-4800_daily_bin1500.fits scfile=/scratch/kocevski/880084/ft2_4FGL_J2325.4-4800_daily_bin1500.fits outfile=/scratch/kocevski/880084/cmap_628128001_628387201_4FGL_J2325.4-4800_daily_bin1500.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/880084/ft1_filtered_4FGL_J2325.4-4800_daily_bin1500.fits scfile=/scratch/kocevski/880084/ft2_4FGL_J2325.4-4800_daily_bin1500.fits outfile=/scratch/kocevski/880084/cmap_HighResolution_628128001_628387201_4FGL_J2325.4-4800_daily_bin1500.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/880084/ft1_filtered_4FGL_J2325.4-4800_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/880084/ft2_4FGL_J2325.4-4800_daily_bin1500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/880084/Model_4FGL_J2325.4-4800_daily_bin1500.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/880084/ft1_filtered_4FGL_J2325.4-4800_daily_bin1500.fits.....................!
real 33.91
user 32.57
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.170       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .74617       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.960       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.1537       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .95952       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7136       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.611       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.928       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.162       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    10.067       1.0000         .10000E-03   10000.    
    20 'norm      '    3.4519       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.3225       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.7885       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.4039       1.0000         .10000E-03   10000.    
    25 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    2.2134       1.0000         .10000E-03   10000.    
    27 'Prefactor '    27.481       1.0000         .10000E-03   10000.    
    28 'Prefactor '    7.2861       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    4.1538       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .94580       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .98674       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=   4056.951     FROM MIGRAD    STATUS=CONVERGED    902 CALLS     4839 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    49.091        .14946E-05** at limit **
   2  Prefactor     42.177        28.104       -.23342E-06    .51274E-04
   3  Prefactor     .10000E-03    9.6401       -.53536E-07** at limit **
   4  Prefactor     .75467        13.873       -.41413E-06   -.31147E-04
   5  Prefactor     .10000E-03    2.2241        .22265E-07** at limit **
   6  Prefactor     31.963        32.285       -.20360E-06    .96888E-05
   7  Prefactor     .10000E-03    4.1644        .97633E-07** at limit **
   8  norm          3.1525        6.8132        .22153E-06    .55169E-05
   9  Prefactor     .95514        6.2835        .15457E-05    .15833E-04
  10  Prefactor     .10000E-03    29.443       -.22443E-05** at limit **
  11  Prefactor     7.7197        9.1652        .19260E-06    .76806E-04
  12  Prefactor     .10000E-03    44.642       -.83749E-06** at limit **
  13  Prefactor     18.612        15.954        .27193E-06    .67241E-04
  14  Prefactor     .10000E-03    47.617        .58051E-06** at limit **
  15  Prefactor     15.931        11.337        .10180E-06    .16120E-04
  16  Prefactor     .10000E-03    14.373       -.40675E-06** at limit **
  17  Prefactor     19.157        26.215        .84004E-06    .75550E-04
  18  norm          .10000E-03    8.4429        .40827E-06** at limit **
  19  norm          10.065        8.9720        .14603E-07    .62246E-04
  20  norm          3.4499        5.8144        .18000E-06   -.88098E-05
  21  Prefactor     5.3215        11.352        .16234E-06    .70797E-04
  22  Prefactor     .10000E-03    22.546        .77394E-06** at limit **
  23  norm          5.7891        6.1749       -.13225E-05   -.69792E-04
  24  Prefactor     6.4043        23.824       -.33931E-07    .39004E-04
  25  norm          .10000E-03    1.0645       -.20382E-06** at limit **
  26  norm          2.2144        5.9249        .59893E-05   -.32023E-05
  27  Prefactor     27.464        25.194        .13124E-05   -.33472E-04
  28  Prefactor     7.2863        4.6844       -.62889E-07    .14401E-03
  29  Prefactor     .10000E-03    8.0578       -.15688E-06** at limit **
  30  norm          .10000E-03    21.121        .13876E-05** at limit **
  31  Prefactor     4.1565        5.9708       -.24992E-06   -.13724E-03
  32  Prefactor     .10000E-03    1.3205        .91872E-07** at limit **
  33  Normalizat    .94499        .25111        .46490E-06    .12626E-03
  34  Prefactor     .98752        .24735       -.18318E-05    .71862E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 42.1772
  Prefactor  = 0.0001
  Prefactor  = 0.754674
  Prefactor  = 0.0001
  Prefactor  = 31.9625
  Prefactor  = 0.0001
  norm       = 3.15251
  Prefactor  = 0.955135
  Prefactor  = 0.000100001
  Prefactor  = 7.71972
  Prefactor  = 0.0001
  Prefactor  = 18.6116
  Prefactor  = 0.0001
  Prefactor  = 15.9314
  Prefactor  = 0.0001
  Prefactor  = 19.1566
  norm       = 0.0001
  norm       = 10.0651
  norm       = 3.4499
  Prefactor  = 5.32151
  Prefactor  = 0.0001
  norm       = 5.78914
  Prefactor  = 6.40429
  norm       = 0.0001
  norm       = 2.21437
  Prefactor  = 27.464
  Prefactor  = 7.28635
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.15654
  Prefactor  = 0.0001
  Normalizat = 0.94499
  Prefactor  = 0.987515
 **********
 **   18 **HESSE 
 **********

 FCN=   4056.951     FROM HESSE     STATUS=OK           742 CALLS     5581 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     42.177        28.151        .61731E-04   -1.4408    
   3  Prefactor     .10000E-03    9.6404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .75467        53.747        .45128E-02   -1.5534    
   5  Prefactor     .10000E-03    2.2248        .92771E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.963        32.295        .70878E-04   -1.4577    
   7  Prefactor     .10000E-03    4.1735        .12694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.1525        6.7983        .22825E-03   -1.5353    
   9  Prefactor     .95514        10.765        .28403E-02   -1.5513    
  10  Prefactor     .10000E-03    29.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.7197        9.1114        .14438E-03   -1.5152    
  12  Prefactor     .10000E-03    44.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.612        15.949        .92839E-04   -1.4845    
  14  Prefactor     .10000E-03    47.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.931        11.319        .10036E-03   -1.4909    
  16  Prefactor     .10000E-03    14.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.157        25.856        .91496E-04   -1.4832    
  18  norm          .10000E-03    8.4492        .18075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.065        8.9636        .12629E-03   -1.5073    
  20  norm          3.4499        5.8493        .17964E-03   -1.5336    
  21  Prefactor     5.3215        11.114        .17421E-03   -1.5247    
  22  Prefactor     .10000E-03    22.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.7891        6.2272        .13898E-03   -1.5227    
  24  Prefactor     6.4043        23.347        .15860E-03   -1.5202    
  25  norm          .10000E-03    1.6074        .12188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.2144        5.9636        .11590E-02   -1.5410    
  27  Prefactor     27.464        25.251        .76421E-04   -1.4659    
  28  Prefactor     7.2863        4.6672        .10402E-03   -1.5168    
  29  Prefactor     .10000E-03    8.0580        .17655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    21.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     4.1565        5.9530        .17401E-03   -1.5300    
  32  Prefactor     .10000E-03    1.3218        .71478E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .94499        .29983        .25902E-03   -.94897    
  34  Prefactor     .98752        .29368        .26755E-03   -.93147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3696e-08
Minuit parameter uncertainties:
  1  0.000181241
  2  28.1599
  3  1.88784e-05
  4  12.7486
  5  1.35407e-06
  6  32.3124
  7  1.1953e-05
  8  6.8
  9  6.41435
  10  0.000252494
  11  9.11305
  12  6.75006e-05
  13  15.9523
  14  9.27419e-05
  15  11.3203
  16  2.3886e-05
  17  25.8715
  18  2.34014e-05
  19  8.96478
  20  5.85025
  21  11.1179
  22  2.80151e-05
  23  6.22787
  24  23.3799
  25  1.18838e-05
  26  5.96524
  27  25.2607
  28  4.66746
  29  3.4199e-05
  30  1.98983e-05
  31  5.95387
  32  6.50709e-06
  33  0.300359
  34  0.294155
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  5.322e+00  1.112e+01  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.875e-01  2.942e-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.450e-01  3.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/880084/likelihoodResults_628128001_628387201_4FGL_J2325.4-4800_daily_bin1500.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) = 4056.94890238
delta logL = 0.0019763072396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4056.94825054
delta logL = 0.00262814358621

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0272       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1936       1.0000          .0000       10.000    
     3 'Normalizat'    .94111       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98982       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=   4056.948     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      201 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0176        27.182        .44837E-02    .18249E-03
   2  Index         2.1977        2.8223        .24782E-01    .55342E-04
   3  Normalizat    .94109        .24724        .45425E-01   -.86143E-05
   4  Prefactor     .98986        .25064        .46140E-01   -.28509E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.01758
  Index      = 2.19771
  Normalizat = 0.941085
  Prefactor  = 0.989855
 **********
 **   18 **HESSE 
 **********

 FCN=   4056.948     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0176        9.5630        .17935E-03   -1.5260    
   2  Index         2.1977        1.2635        .99128E-03   -.59494    
   3  Normalizat    .94109        .27961        .25949E-03   -.95031    
   4  Prefactor     .98986        .29114        .26726E-03   -.93068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73931e-12
Minuit parameter uncertainties:
  1  9.5659
  2  1.28397
  3  0.28004
  4  0.291602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880084': 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) = 4056.9482447
delta logL = 0.00263398975494

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  5.018e+00  9.566e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.198e+00  1.284e+00  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:  9.899e-01  2.916e-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.411e-01  2.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/880084/cmap_HighResolution_628128001_628387201_4FGL_J2325.4-4800_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.96e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-09-29 18:30:43.624583', job_id='880084', GAL2='0.99', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1632965443.62', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.63e-03', ts2='0.51', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1500' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:30:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 880084: <4FGL_J2325.4-4800_daily_bin1500> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1500 351.35 -48.0022 628128001 628387201 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 :                                   724.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

