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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1273
RA = 351.35, Dec = -48.0022
tmin = 569289601, tmax = 569548801
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='877414', job_status='RUN', time_executed='2021-09-29 18:12:07.271423', time_epoch_executed='1632964327.27' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877414

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877414/ft1_4FGL_J2325.4-4800_daily_bin1273.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877414/ft2_4FGL_J2325.4-4800_daily_bin1273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877414/ft1_4FGL_J2325.4-4800_daily_bin1273.fits outfile=/scratch/kocevski/877414/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1273.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=569289601.0 tmax=569548801.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.62
user 3.35
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877414/ft1_filtered_4FGL_J2325.4-4800_daily_bin1273.fits" evtable="EVENTS" scfile=/scratch/kocevski/877414/ft2_4FGL_J2325.4-4800_daily_bin1273.fits sctable="SC_DATA" outfile=/scratch/kocevski/877414/ltcube_569289601_569548801_4FGL_J2325.4-4800_daily_bin1273.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/877414/ft2_4FGL_J2325.4-4800_daily_bin1273.fits
.....................!
real 11.82
user 11.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877414/ft1_filtered_4FGL_J2325.4-4800_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/877414/ft2_4FGL_J2325.4-4800_daily_bin1273.fits sctable="SC_DATA" expcube=/scratch/kocevski/877414/ltcube_569289601_569548801_4FGL_J2325.4-4800_daily_bin1273.fits outfile=/scratch/kocevski/877414/expmap_569289601_569548801_4FGL_J2325.4-4800_daily_bin1273.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/877414/ltcube_569289601_569548801_4FGL_J2325.4-4800_daily_bin1273.fits
.....................!
real 190.62
user 185.27
sys 4.98

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/877414/ft1_filtered_4FGL_J2325.4-4800_daily_bin1273.fits scfile=/scratch/kocevski/877414/ft2_4FGL_J2325.4-4800_daily_bin1273.fits outfile=/scratch/kocevski/877414/cmap_569289601_569548801_4FGL_J2325.4-4800_daily_bin1273.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877414/ft1_filtered_4FGL_J2325.4-4800_daily_bin1273.fits scfile=/scratch/kocevski/877414/ft2_4FGL_J2325.4-4800_daily_bin1273.fits outfile=/scratch/kocevski/877414/cmap_HighResolution_569289601_569548801_4FGL_J2325.4-4800_daily_bin1273.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877414/ft1_filtered_4FGL_J2325.4-4800_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/877414/ft2_4FGL_J2325.4-4800_daily_bin1273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877414/Model_4FGL_J2325.4-4800_daily_bin1273.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/877414/ft1_filtered_4FGL_J2325.4-4800_daily_bin1273.fits.....................!
real 39.57
user 38.20
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.322       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.305       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9451       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6778       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.5212       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.2488       1.0000         .10000E-03   10000.    
    12 'Prefactor '    47.629       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    67.109       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.756       1.0000         .10000E-03   10000.    
    18 'norm      '    6.0329       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    63.186       1.0000         .10000E-03   10000.    
    23 'norm      '    .33913E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.6100       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.6874       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .16653E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.5371       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0651       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .85141       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=   5113.298     FROM MIGRAD    STATUS=CONVERGED    935 CALLS     4849 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.349        44.139        .48931E-06    .21618E-04
   2  Prefactor     .10000E-03    23.114        .82519E-07** at limit **
   3  Prefactor     15.322        32.443       -.87155E-06   -.90937E-04
   4  Prefactor     7.9346        16.566        .14169E-05    .17929E-03
   5  Prefactor     7.6762        9.2120        .30991E-05   -.45300E-04
   6  Prefactor     .10000E-03    9.3301       -.11662E-06** at limit **
   7  Prefactor     .10000E-03    4.3460       -.16111E-06** at limit **
   8  norm          7.5226        7.5665       -.46388E-06   -.54877E-06
   9  Prefactor     .10000E-03    3.0610       -.12633E-06** at limit **
  10  Prefactor     .10000E-03    15.974       -.52694E-06** at limit **
  11  Prefactor     9.2462        8.8062        .17358E-06   -.44558E-04
  12  Prefactor     47.598        38.614        .12527E-05    .21858E-03
  13  Prefactor     .10000E-03    8.0353        .59395E-06** at limit **
  14  Prefactor     .10000E-03    35.869        .70643E-06** at limit **
  15  Prefactor     .10000E-03    3.5093       -.37561E-07** at limit **
  16  Prefactor     67.143        60.232        .14817E-05    .22858E-03
  17  Prefactor     14.758        17.641        .43230E-06    .41705E-04
  18  norm          6.0318        8.7173        .93611E-06   -.21132E-04
  19  norm          .10000E-03    1.9773        .64408E-08** at limit **
  20  norm          .10000E-03    2.4810        .33570E-07** at limit **
  21  Prefactor     .10000E-03    2.3044       -.68852E-08** at limit **
  22  Prefactor     63.329        48.381       -.10391E-05   -.56596E-03
  23  norm          .10015E-03    4.8077        .23281E-05** at limit **
  24  Prefactor     .10000E-03    4.6022       -.29289E-07** at limit **
  25  norm          1.6098        1.0882        .10254E-06   -.16486E-03
  26  norm          .10000E-03    3.6309        .16697E-06** at limit **
  27  Prefactor     .10000E-03    27.421       -.22697E-05** at limit **
  28  Prefactor     4.6881        3.5914        .11549E-05   -.17618E-03
  29  Prefactor     .10000E-03    11.524       -.66553E-07** at limit **
  30  norm          .10000E-03    9.3922       -.11137E-06** at limit **
  31  Prefactor     .10010E-03    3.5721        .34495E-06** at limit **
  32  Prefactor     1.5366        2.7701        .38698E-06   -.48046E-04
  33  Normalizat    1.0647        .21641       -.30086E-05   -.43047E-03
  34  Prefactor     .85206        .20897        .11577E-05   -.46954E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.349
  Prefactor  = 0.0001
  Prefactor  = 15.3217
  Prefactor  = 7.93459
  Prefactor  = 7.67622
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.52261
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 9.24622
  Prefactor  = 47.5975
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 67.1426
  Prefactor  = 14.7582
  norm       = 6.03179
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.329
  norm       = 0.000100149
  Prefactor  = 0.0001
  norm       = 1.60983
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 4.6881
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100105
  Prefactor  = 1.53661
  Normalizat = 1.06474
  Prefactor  = 0.852059
 **********
 **   18 **HESSE 
 **********

 FCN=   5113.298     FROM HESSE     STATUS=OK           722 CALLS     5571 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.349        44.148        .60220E-04   -1.4375    
   2  Prefactor     .10000E-03    23.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.322        32.259        .10238E-03   -1.4925    
   4  Prefactor     7.9346        16.641        .14225E-03   -1.5145    
   5  Prefactor     7.6762        9.1613        .72362E-03   -1.5154    
   6  Prefactor     .10000E-03    9.3332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.3746        .14556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.5226        7.5635        .73117E-03   -1.5159    
   9  Prefactor     .10000E-03    3.1748        .24411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.2462        8.7974        .13178E-03   -1.5100    
  12  Prefactor     47.598        38.721        .58101E-04   -1.4327    
  13  Prefactor     .10000E-03    8.1030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.5296        .13081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     67.143        60.782        .48994E-04   -1.4067    
  17  Prefactor     14.758        17.657        .10427E-03   -1.4939    
  18  norm          6.0318        8.7128        .81735E-03   -1.5217    
  19  norm          .10000E-03    1.9776        .98197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.4837        .10997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.3137        .10599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     63.329        43.663        .50482E-04   -1.4115    
  23  norm          .10015E-03    22.443        .24772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.6111        .14981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.6098        1.0873        .16692E-03   -1.5454    
  26  norm          .10000E-03    3.6791        .13280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    28.496        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.6881        3.5282        .55079E-03   -1.5275    
  29  Prefactor     .10000E-03    11.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    9.3967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10010E-03    23.072        .24446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     1.5366        2.7363        .15388E-03   -1.5460    
  33  Normalizat    1.0647        .24687        .23177E-03   -.90892    
  34  Prefactor     .85206        .24233        .27301E-03   -.97837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27709e-08
Minuit parameter uncertainties:
  1  44.1806
  2  0.000183968
  3  32.2955
  4  16.6507
  5  9.16295
  6  2.82199e-05
  7  8.63924e-07
  8  7.56446
  9  8.66111e-06
  10  0.000196121
  11  8.79864
  12  38.7418
  13  1.56234e-05
  14  0.000312747
  15  5.33291e-06
  16  60.8383
  17  17.663
  18  8.71465
  19  4.47473e-07
  20  3.36084e-06
  21  2.51867e-07
  22  43.6852
  23  0.00366383
  24  2.81075e-06
  25  1.08728
  26  5.90053e-06
  27  0.00067977
  28  3.52831
  29  3.34995e-05
  30  2.51223e-05
  31  0.00311362
  32  2.73652
  33  0.247136
  34  0.242637
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  2.519e-07  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.521e-01  2.426e-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.065e+00  2.471e-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: 4.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877414/likelihoodResults_569289601_569548801_4FGL_J2325.4-4800_daily_bin1273.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) = 5113.30013375
delta logL = -0.00202898739008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5113.2981045
delta logL = 2.62967660092e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0880       1.0000          .0000       10.000    
     3 'Normalizat'    1.0647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85207       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=   5113.298     FROM MIGRAD    STATUS=FAILED        84 CALLS      231 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10108E-03    37.060        .10733E-02** at limit **
   2  Index         2.0359        5.3590        .50000        .53006E-04
   3  Normalizat    1.0647        .18082E-01    .23177E-03    .65777E-04
   4  Prefactor     .85206        .19366E-01    .27301E-03    .32731E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5113.298     FROM SIMPLEX   STATUS=PROGRESS     128 CALLS      359 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10101E-03    37.060        .19754E-03** at limit **
   2  Index         2.0348        5.3590        .40319E-03    .53006E-04
   3  Normalizat    1.0647        .18082E-01    .41300E-05    .65777E-04
   4  Prefactor     .85206        .19366E-01    .20530E-05    .32731E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5113.298     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      411 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.218        .21467E-02** at limit **
   2  Index         1.6533        9.1717        .50000       -.80172E-07
   3  Normalizat    1.0647        .17917E-01    .92709E-05    .76274E-04
   4  Prefactor     .85206        .19189E-01    .10920E-04    .31023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.65327
  Normalizat = 1.06474
  Prefactor  = 0.852061
 **********
 **   18 **HESSE 
 **********

 FCN=   5113.298     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      440 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    187.89        .42933E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6533        5.7717        .50000       -.73333    
   3  Normalizat    1.0647        .41066E-01    .18542E-05   -.90892    
   4  Prefactor     .85206        .43986E-01    .21841E-05   -.97837    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.52672e-09
Minuit parameter uncertainties:
  1  0.00019533
  2  680.766
  3  0.041067
  4  0.0439879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877414': 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): 102
logL (Free Index) = 5113.29810136
delta logL = 3.4068034438e-06

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  1.953e-04  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.653e+00  6.808e+02  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.521e-01  4.399e-02  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.065e+00  4.107e-02  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/877414/cmap_HighResolution_569289601_569548801_4FGL_J2325.4-4800_daily_bin1273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.54e-03', job_status='DONE', photon_flux_upper_limit='4.68e-08', time_completed='2021-09-29 18:26:55.712766', job_id='877414', GAL2='0.85', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632965215.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='3.41e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1273' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:26:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 877414: <4FGL_J2325.4-4800_daily_bin1273> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1273> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:36 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:10:37 2021
Terminated at Wed Sep 29 18:26:56 2021
Results reported at Wed Sep 29 18:26:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1273 351.35 -48.0022 569289601 569548801 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 :                                   851.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

