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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin739
RA = 351.35, Dec = -48.0022
tmin = 430876801, tmax = 431136001
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='874244', job_status='RUN', time_executed='2021-09-29 18:03:43.317844', time_epoch_executed='1632963823.32' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874244

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874244/ft1_4FGL_J2325.4-4800_daily_bin739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874244/ft2_4FGL_J2325.4-4800_daily_bin739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/874244/ft1_4FGL_J2325.4-4800_daily_bin739.fits outfile=/scratch/kocevski/874244/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin739.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=430876801.0 tmax=431136001.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.32
user 5.10
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/874244/ft2_4FGL_J2325.4-4800_daily_bin739.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/874244/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin739.fits evtable="EVENTS" outfile="/scratch/kocevski/874244/ft1_filtered_4FGL_J2325.4-4800_daily_bin739.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/874244/ft1_filtered_4FGL_J2325.4-4800_daily_bin739.fits" evtable="EVENTS" scfile=/scratch/kocevski/874244/ft2_4FGL_J2325.4-4800_daily_bin739.fits sctable="SC_DATA" outfile=/scratch/kocevski/874244/ltcube_430876801_431136001_4FGL_J2325.4-4800_daily_bin739.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/874244/ft2_4FGL_J2325.4-4800_daily_bin739.fits
.....................!
real 12.10
user 11.76
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874244/ft1_filtered_4FGL_J2325.4-4800_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/874244/ft2_4FGL_J2325.4-4800_daily_bin739.fits sctable="SC_DATA" expcube=/scratch/kocevski/874244/ltcube_430876801_431136001_4FGL_J2325.4-4800_daily_bin739.fits outfile=/scratch/kocevski/874244/expmap_430876801_431136001_4FGL_J2325.4-4800_daily_bin739.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/874244/ltcube_430876801_431136001_4FGL_J2325.4-4800_daily_bin739.fits
.....................!
real 189.78
user 185.38
sys 4.06

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/874244/ft1_filtered_4FGL_J2325.4-4800_daily_bin739.fits scfile=/scratch/kocevski/874244/ft2_4FGL_J2325.4-4800_daily_bin739.fits outfile=/scratch/kocevski/874244/cmap_430876801_431136001_4FGL_J2325.4-4800_daily_bin739.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/874244/ft1_filtered_4FGL_J2325.4-4800_daily_bin739.fits scfile=/scratch/kocevski/874244/ft2_4FGL_J2325.4-4800_daily_bin739.fits outfile=/scratch/kocevski/874244/cmap_HighResolution_430876801_431136001_4FGL_J2325.4-4800_daily_bin739.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/874244/ft1_filtered_4FGL_J2325.4-4800_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/874244/ft2_4FGL_J2325.4-4800_daily_bin739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/874244/Model_4FGL_J2325.4-4800_daily_bin739.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/874244/ft1_filtered_4FGL_J2325.4-4800_daily_bin739.fits.....................!
real 24.45
user 23.18
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.069       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.441       1.0000         .10000E-03   10000.    
     6 'Prefactor '    87.458       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6459       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.075       1.0000         .10000E-03   10000.    
    12 'Prefactor '    62.375       1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.119       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.201       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    30.767       1.0000         .10000E-03   10000.    
    19 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.3893       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.128       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    6.0394       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.9860       1.0000         .10000E-03   10000.    
    25 'norm      '    15.810       1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .26029E-02   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    9.3591       1.0000         .10000E-03   10000.    
    30 'norm      '    .10113E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    9.5770       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .45235E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.2912       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .35254       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=   1968.665     FROM MIGRAD    STATUS=CONVERGED    912 CALLS     5715 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    49.557        .54909E-06** at limit **
   2  Prefactor     32.093        35.513       -.91277E-07    .99189E-04
   3  Prefactor     .10000E-03    22.567        .23425E-06** at limit **
   4  Prefactor     .10001E-03    108.24       -.42892E-05** at limit **
   5  Prefactor     35.445        20.187        .96630E-07    .49960E-04
   6  Prefactor     87.451        85.129        .80267E-06    .11494E-04
   7  Prefactor     .10000E-03    4.1414       -.28390E-07** at limit **
   8  norm          .10000E-03    7.8148       -.11453E-06** at limit **
   9  Prefactor     5.6465        7.9342        .48935E-07    .63333E-04
  10  Prefactor     .10000E-03    33.924       -.23507E-05** at limit **
  11  Prefactor     14.083        13.425       -.81465E-06   -.36672E-04
  12  Prefactor     62.298        80.175        .71265E-05   -.93012E-05
  13  Prefactor     29.146        34.048       -.29018E-05   -.84051E-05
  14  Prefactor     .10000E-03    98.441       -.56816E-05** at limit **
  15  Prefactor     .10000E-03    6.5512       -.55705E-07** at limit **
  16  Prefactor     11.142        162.31        .13300E-04   -.84599E-05
  17  Prefactor     .10000E-03    43.689        .17434E-05** at limit **
  18  norm          30.775        50.323        .15451E-06    .21086E-04
  19  norm          .10000E-03    9.2941        .10983E-05** at limit **
  20  norm          2.3844        18.645       -.58986E-06    .64067E-04
  21  Prefactor     12.104        39.305       -.10829E-04    .88102E-05
  22  Prefactor     .10000E-03    45.030        .78967E-06** at limit **
  23  norm          6.0446        10.495        .12716E-06    .10059E-03
  24  Prefactor     8.1083        182.60        .25265E-04    .15366E-04
  25  norm          15.812        5.0770       -.20626E-06   -.13586E-03
  26  norm          .10000E-03    8.2062       -.22089E-06** at limit **
  27  Prefactor     .10000E-03    250.39       -.99623E-04** at limit **
  28  Prefactor     .10000E-03    2.9392       -.16593E-06** at limit **
  29  Prefactor     9.2761        70.950        .97021E-05    .31241E-04
  30  norm          .10000E-03    44.688        .98673E-06** at limit **
  31  Prefactor     9.5813        10.174       -.57750E-06   -.13049E-04
  32  Prefactor     .47404E-03    6.8183        .26041E-06** at limit **
  33  Normalizat    1.2900        .39718       -.12274E-05    .22249E-03
  34  Prefactor     .35357        .38519       -.97155E-06    .48930E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 32.0934
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 35.4451
  Prefactor  = 87.4511
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.64652
  Prefactor  = 0.0001
  Prefactor  = 14.0833
  Prefactor  = 62.2984
  Prefactor  = 29.1458
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1423
  Prefactor  = 0.0001
  norm       = 30.7753
  norm       = 0.0001
  norm       = 2.38437
  Prefactor  = 12.1044
  Prefactor  = 0.0001
  norm       = 6.04465
  Prefactor  = 8.10825
  norm       = 15.812
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.27609
  norm       = 0.0001
  Prefactor  = 9.58134
  Prefactor  = 0.000474037
  Normalizat = 1.28999
  Prefactor  = 0.353575
 **********
 **   18 **HESSE 
 **********

 FCN=   1968.665     FROM HESSE     STATUS=OK           736 CALLS     6451 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.093        35.865        .35379E-03   -1.4574    
   3  Prefactor     .10000E-03    22.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    112.58        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.445        20.168        .67316E-04   -1.4517    
   6  Prefactor     87.451        85.109        .42961E-04   -1.3835    
   7  Prefactor     .10000E-03    4.1423        .88195E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.8251        .12116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6465        7.8948        .13851E-03   -1.5233    
  10  Prefactor     .10000E-03    33.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.083        13.430        .10676E-03   -1.4957    
  12  Prefactor     62.298        80.367        .25404E-03   -1.4128    
  13  Prefactor     29.146        34.017        .74245E-04   -1.4628    
  14  Prefactor     .10000E-03    98.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.5570        .11092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.142        162.17        .11971E-03   -1.5040    
  17  Prefactor     .10000E-03    43.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          30.775        50.185        .72235E-04   -1.4598    
  19  norm          .10000E-03    9.3143        .13222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.3844        18.272        .26496E-03   -1.5399    
  21  Prefactor     12.104        39.437        .11502E-03   -1.5012    
  22  Prefactor     .10000E-03    45.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.0446        10.399        .16338E-03   -1.5216    
  24  Prefactor     8.1083        182.65        .14188E-03   -1.5138    
  25  norm          15.812        5.0943        .48193E-04   -1.4912    
  26  norm          .10000E-03    8.3134        .12392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    246.01        .56371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.9426        .74245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     9.2761        71.003        .13100E-03   -1.5099    
  30  norm          .10000E-03    44.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     9.5813        10.166        .12949E-03   -1.5089    
  32  Prefactor     .47404E-03    15.586        .38450E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.2900        .44822        .23210E-03   -.83866    
  34  Prefactor     .35357        .42254        .41717E-03   -1.1925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.93926e-10
Minuit parameter uncertainties:
  1  6.32079e-06
  2  35.8888
  3  8.12613e-05
  4  0.00185356
  5  20.1721
  6  85.2281
  7  2.44976e-06
  8  2.73332e-05
  9  7.89626
  10  3.65353e-05
  11  13.4332
  12  80.5077
  13  34.0395
  14  1.93149e-05
  15  5.20757e-06
  16  85.2957
  17  0.000169036
  18  50.2539
  19  5.6291e-05
  20  13.2066
  21  39.5225
  22  9.87679e-05
  23  10.4017
  24  77.2352
  25  5.09442
  26  6.32782e-05
  27  0.000124832
  28  7.29171e-05
  29  51.4124
  30  0.000124553
  31  10.168
  32  0.152747
  33  0.449581
  34  0.426311
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.210e+01  3.952e+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:  3.536e-01  4.263e-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.290e+00  4.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 2.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/874244/likelihoodResults_430876801_431136001_4FGL_J2325.4-4800_daily_bin739.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) = 1968.55694392
delta logL = 0.108444247044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1968.55452886
delta logL = 0.110859304484

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3200       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5409       1.0000          .0000       10.000    
     3 'Normalizat'    1.2543       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .37533       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=   1968.555     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      300 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3224        22.149        .13899E-03   -.19100E-03
   2  Index         2.5405        1.1042        .50031E-02   -.65016E-04
   3  Normalizat    1.2539        .42195        .23453E-03    .34194E-03
   4  Prefactor     .37549        .40911        .40498E-03    .22096E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32239
  Index      = 2.54052
  Normalizat = 1.25394
  Prefactor  = 0.375493
 **********
 **   18 **HESSE 
 **********

 FCN=   1968.555     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3224        19.290        .55594E-05   -1.5131    
   2  Index         2.5405        .96234        .20012E-03   -.51427    
   3  Normalizat    1.2539        .42144        .46906E-04   -.84952    
   4  Prefactor     .37549        .40814        .16199E-04   -1.1808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66395e-10
Minuit parameter uncertainties:
  1  19.3042
  2  0.970357
  3  0.422599
  4  0.411338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874244': 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) = 1968.55452778
delta logL = 0.110860382636

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  8.322e+00  1.930e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.541e+00  9.704e-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:  3.755e-01  4.113e-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.254e+00  4.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
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/874244/cmap_HighResolution_430876801_431136001_4FGL_J2325.4-4800_daily_bin739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-02', job_status='DONE', photon_flux_upper_limit='2.88e-07', time_completed='2021-09-29 18:13:02.837670', job_id='874244', GAL2='0.38', fit_tolerance='1e-08', EG2='1.25', EG='1.29', time_epoch_completed='1632964382.84', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.35', dlogl='1.11e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='739' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:13:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 874244: <4FGL_J2325.4-4800_daily_bin739> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin739> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:00:32 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:00:33 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:00:33 2021
Terminated at Wed Sep 29 18:13:03 2021
Results reported at Wed Sep 29 18:13:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin739 351.35 -48.0022 430876801 431136001 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 :                                   559.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            751 sec.

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

