/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 38 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 = 7392
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-4800_daily_bin244
RA = 351.35, Dec = -48.0022
tmin = 302572801, tmax = 302832001
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='871379', job_status='RUN', time_executed='2021-09-29 17:51:40.163867', time_epoch_executed='1632963100.16' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='244'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/871379

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/871379/ft1_4FGL_J2325.4-4800_daily_bin244.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/871379/ft2_4FGL_J2325.4-4800_daily_bin244.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/871379/ft1_4FGL_J2325.4-4800_daily_bin244.fits outfile=/scratch/kocevski/871379/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin244.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=302572801.0 tmax=302832001.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.49
user 3.27
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/871379/ft1_filtered_4FGL_J2325.4-4800_daily_bin244.fits" evtable="EVENTS" scfile=/scratch/kocevski/871379/ft2_4FGL_J2325.4-4800_daily_bin244.fits sctable="SC_DATA" outfile=/scratch/kocevski/871379/ltcube_302572801_302832001_4FGL_J2325.4-4800_daily_bin244.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/871379/ft2_4FGL_J2325.4-4800_daily_bin244.fits
.....................!
real 12.76
user 12.37
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/871379/ft1_filtered_4FGL_J2325.4-4800_daily_bin244.fits evtable="EVENTS" scfile=/scratch/kocevski/871379/ft2_4FGL_J2325.4-4800_daily_bin244.fits sctable="SC_DATA" expcube=/scratch/kocevski/871379/ltcube_302572801_302832001_4FGL_J2325.4-4800_daily_bin244.fits outfile=/scratch/kocevski/871379/expmap_302572801_302832001_4FGL_J2325.4-4800_daily_bin244.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/871379/ltcube_302572801_302832001_4FGL_J2325.4-4800_daily_bin244.fits
.....................!
real 189.82
user 184.88
sys 4.63

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/871379/ft1_filtered_4FGL_J2325.4-4800_daily_bin244.fits scfile=/scratch/kocevski/871379/ft2_4FGL_J2325.4-4800_daily_bin244.fits outfile=/scratch/kocevski/871379/cmap_302572801_302832001_4FGL_J2325.4-4800_daily_bin244.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.52
user 0.34
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/871379/ft1_filtered_4FGL_J2325.4-4800_daily_bin244.fits scfile=/scratch/kocevski/871379/ft2_4FGL_J2325.4-4800_daily_bin244.fits outfile=/scratch/kocevski/871379/cmap_HighResolution_302572801_302832001_4FGL_J2325.4-4800_daily_bin244.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/871379/ft1_filtered_4FGL_J2325.4-4800_daily_bin244.fits evtable="EVENTS" scfile=/scratch/kocevski/871379/ft2_4FGL_J2325.4-4800_daily_bin244.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/871379/Model_4FGL_J2325.4-4800_daily_bin244.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/871379/ft1_filtered_4FGL_J2325.4-4800_daily_bin244.fits.....................!
real 43.34
user 42.09
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13517E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.523       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .47172E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12679E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .18411E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .67012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.899       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.613       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    14.784       1.0000         .10000E-03   10000.    
    19 'norm      '    6.5955       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10660E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.0630       1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.614       1.0000         .10000E-03   10000.    
    25 'norm      '    24.811       1.0000         .10000E-03   10000.    
    26 'norm      '    9.8163       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.2418       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.9625       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10374E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    33.923       1.0000         .10000E-03   10000.    
    31 'Prefactor '    9.2480       1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.1528       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.5265       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .86973       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=   5561.355     FROM MIGRAD    STATUS=CONVERGED    927 CALLS     4831 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    121.65        .53106E-05** at limit **
   2  Prefactor     .10000E-03    15.127       -.77725E-06** at limit **
   3  Prefactor     53.540        55.888       -.20559E-05   -.53645E-04
   4  Prefactor     .10045E-03    21.723        .56652E-05** at limit **
   5  Prefactor     .10000E-03    23.457       -.54557E-06** at limit **
   6  Prefactor     .10000E-03    26.079       -.14372E-05** at limit **
   7  Prefactor     .10000E-03    4.4964        .41933E-07** at limit **
   8  norm          .10000E-03    7.2666       -.39361E-06** at limit **
   9  Prefactor     .10000E-03    3.4554        .24666E-06** at limit **
  10  Prefactor     .10000E-03    30.591        .90335E-07** at limit **
  11  Prefactor     19.904        9.6444        .11143E-06    .49816E-04
  12  Prefactor     31.619        34.491       -.21493E-06   -.13445E-05
  13  Prefactor     .10000E-03    12.912        .19357E-06** at limit **
  14  Prefactor     .10000E-03    65.062       -.61065E-05** at limit **
  15  Prefactor     .10000E-03    4.2506       -.47116E-07** at limit **
  16  Prefactor     .10000E-03    19.158        .23179E-05** at limit **
  17  Prefactor     .10000E-03    45.010        .21950E-05** at limit **
  18  norm          14.779        21.975       -.64853E-06   -.17950E-04
  19  norm          6.5953        6.5198        .15388E-07   -.13359E-04
  20  norm          .10000E-03    2.5429        .46435E-07** at limit **
  21  Prefactor     .10000E-03    6.8304       -.41431E-06** at limit **
  22  Prefactor     .10000E-03    23.650       -.92730E-06** at limit **
  23  norm          4.0632        5.4767       -.27930E-06   -.25144E-04
  24  Prefactor     12.578        29.910        .25854E-05    .37484E-04
  25  norm          24.812        3.9134       -.85649E-07   -.34853E-03
  26  norm          9.8161        6.0842        .24931E-06    .84558E-04
  27  Prefactor     2.2319        41.257        .10451E-04    .16178E-03
  28  Prefactor     1.9638        6.9480       -.20220E-06   -.63263E-04
  29  Prefactor     .10000E-03    40.131        .37667E-05** at limit **
  30  norm          33.916        33.984        .45053E-06    .14560E-04
  31  Prefactor     9.2500        9.6348       -.78173E-07   -.70932E-04
  32  Prefactor     1.1538        4.0765        .38195E-06    .70402E-04
  33  Normalizat    1.5261        .25562       -.83008E-06   -.27463E-04
  34  Prefactor     .87027        .24964        .91708E-06   -.20885E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 53.5403
  Prefactor  = 0.00010045
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 19.9036
  Prefactor  = 31.6187
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.7789
  norm       = 6.59531
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.06319
  Prefactor  = 12.5776
  norm       = 24.812
  norm       = 9.81609
  Prefactor  = 2.23188
  Prefactor  = 1.9638
  Prefactor  = 0.000100001
  norm       = 33.9156
  Prefactor  = 9.24998
  Prefactor  = 1.15376
  Normalizat = 1.52614
  Prefactor  = 0.870271
 **********
 **   18 **HESSE 
 **********

 FCN=   5561.355     FROM HESSE     STATUS=OK           732 CALLS     5563 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    122.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     53.540        55.812        .54824E-04   -1.4243    
   4  Prefactor     .10045E-03    72.563        .50973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.417        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    26.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.5059        .15443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    38.576        .38860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    35.199        .26140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.904        9.5926        .89787E-04   -1.4815    
  12  Prefactor     31.619        34.447        .71264E-04   -1.4583    
  13  Prefactor     .10000E-03    13.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    65.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2690        .15015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    45.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.779        21.972        .10417E-03   -1.4939    
  19  norm          6.5953        6.5238        .15626E-03   -1.5194    
  20  norm          .10000E-03    2.5450        .11610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.8505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    23.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.0632        5.4647        .19084E-03   -1.5305    
  24  Prefactor     12.578        29.946        .11278E-03   -1.4999    
  25  norm          24.812        3.8967        .51240E-04   -1.4711    
  26  norm          9.8161        6.0821        .12790E-03   -1.5081    
  27  Prefactor     2.2319        43.775        .13725E-02   -1.5409    
  28  Prefactor     1.9638        6.8214        .29609E-03   -1.5428    
  29  Prefactor     .10000E-03    40.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          33.916        34.031        .68802E-04   -1.4543    
  31  Prefactor     9.2500        9.5681        .13179E-03   -1.5100    
  32  Prefactor     1.1538        4.0166        .27215E-03   -1.5493    
  33  Normalizat    1.5261        .30750        .27325E-03   -.77047    
  34  Prefactor     .87027        .29832        .35776E-03   -.97188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.72849e-09
Minuit parameter uncertainties:
  1  0.000589048
  2  2.58382e-05
  3  55.8662
  4  0.0114488
  5  7.42346e-05
  6  0.000103428
  7  4.76428e-06
  8  0.000404265
  9  0.000667086
  10  8.34493e-07
  11  9.59332
  12  34.4691
  13  1.16331e-05
  14  0.000659736
  15  4.68952e-06
  16  0.000130204
  17  8.23004e-05
  18  21.9843
  19  6.52451
  20  3.79163e-06
  21  5.79472e-05
  22  6.46559e-05
  23  5.46534
  24  29.982
  25  3.89678
  26  6.08249
  27  19.785
  28  6.82408
  29  0.000397682
  30  34.0504
  31  9.56972
  32  4.01755
  33  0.307878
  34  0.298882
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  5.795e-05  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.703e-01  2.989e-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.526e+00  3.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/871379/likelihoodResults_302572801_302832001_4FGL_J2325.4-4800_daily_bin244.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): 102
logL (Free Index) = 5561.35593109
delta logL = -0.000692394871294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5561.3552387
delta logL = -1.2729287846e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1273       1.0000          .0000       10.000    
     3 'Normalizat'    1.5261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87030       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5561.355     FROM MIGRAD    STATUS=FAILED       100 CALLS      256 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    453.81        .18142E-02** at limit **
   2  Index         2.1510        5.3343        .50000       -.29536E-04
   3  Normalizat    1.5261        .52123E-01    .27325E-03    .20595E-04
   4  Prefactor     .87027        .53555E-01    .35776E-03    .49096E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5561.355     FROM SIMPLEX   STATUS=UNCHANGED    163 CALLS      419 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    453.81        .41948E-03** at limit **
   2  Index         2.1510        5.3343        .32581E-05   -.29536E-04
   3  Normalizat    1.5261        .52123E-01    .63087E-07    .20595E-04
   4  Prefactor     .87027        .53555E-01    .58748E-07    .49096E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5561.355     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      453 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1374.9        .36285E-03** at limit **
   2  Index         2.1512        5.5050        .50000       -.29551E-04
   3  Normalizat    1.5261        .13765        .10930E-04    .18931E-04
   4  Prefactor     .87027        .14140        .14310E-04    .47825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.15119
  Normalizat = 1.52614
  Prefactor  = 0.870272
 **********
 **   18 **HESSE 
 **********

 FCN=   5561.355     FROM HESSE     STATUS=OK            29 CALLS      482 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    7.8710        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1512        6.0664        .50000       -.60622    
   3  Normalizat    1.5261        .28442        .21860E-05   -.77047    
   4  Prefactor     .87027        .29217        .28621E-05   -.97188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33726e-09
Minuit parameter uncertainties:
  1  0.000439483
  2  4.31607
  3  0.284719
  4  0.292696
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/871379': 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) = 5561.35523838
delta logL = 3.09621100314e-07

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  4.395e-04  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.151e+00  4.316e+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:  8.703e-01  2.927e-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.526e+00  2.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/871379/cmap_HighResolution_302572801_302832001_4FGL_J2325.4-4800_daily_bin244.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.99e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-29 18:06:55.872844', job_id='871379', GAL2='0.87', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1632964015.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='244' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:06:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 871379: <4FGL_J2325.4-4800_daily_bin244> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin244> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:50:43 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:50:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:50:45 2021
Terminated at Wed Sep 29 18:06:56 2021
Results reported at Wed Sep 29 18:06:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin244 351.35 -48.0022 302572801 302832001 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 :                                   912.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             287.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            973 sec.

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

