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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1236
RA = 351.35, Dec = -48.0022
tmin = 559699201, tmax = 559958401
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='877356', job_status='RUN', time_executed='2021-09-29 18:12:54.288179', time_epoch_executed='1632964374.29' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1236'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877356

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877356/ft1_4FGL_J2325.4-4800_daily_bin1236.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877356/ft1_4FGL_J2325.4-4800_daily_bin1236.fits outfile=/scratch/kocevski/877356/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1236.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=559699201.0 tmax=559958401.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.65
user 3.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.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/877356/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1236.fits evtable="EVENTS" outfile="/scratch/kocevski/877356/ft1_filtered_4FGL_J2325.4-4800_daily_bin1236.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/877356/ft1_filtered_4FGL_J2325.4-4800_daily_bin1236.fits" evtable="EVENTS" scfile=/scratch/kocevski/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.fits sctable="SC_DATA" outfile=/scratch/kocevski/877356/ltcube_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.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/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.fits
.....................!
real 11.88
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877356/ft1_filtered_4FGL_J2325.4-4800_daily_bin1236.fits evtable="EVENTS" scfile=/scratch/kocevski/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.fits sctable="SC_DATA" expcube=/scratch/kocevski/877356/ltcube_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.fits outfile=/scratch/kocevski/877356/expmap_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.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/877356/ltcube_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.fits
.....................!
real 190.77
user 185.12
sys 5.25

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/877356/ft1_filtered_4FGL_J2325.4-4800_daily_bin1236.fits scfile=/scratch/kocevski/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.fits outfile=/scratch/kocevski/877356/cmap_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877356/ft1_filtered_4FGL_J2325.4-4800_daily_bin1236.fits scfile=/scratch/kocevski/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.fits outfile=/scratch/kocevski/877356/cmap_HighResolution_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877356/ft1_filtered_4FGL_J2325.4-4800_daily_bin1236.fits evtable="EVENTS" scfile=/scratch/kocevski/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877356/Model_4FGL_J2325.4-4800_daily_bin1236.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/877356/ft1_filtered_4FGL_J2325.4-4800_daily_bin1236.fits.............................!
real 16.10
user 14.83
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/877356/ft1_filtered_4FGL_J2325.4-4800_daily_bin1236.fits', '/scratch/kocevski/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.fits', expMap='/scratch/kocevski/877356/expmap_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.fits', expCube='/scratch/kocevski/877356/ltcube_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/877356/Model_4FGL_J2325.4-4800_daily_bin1236.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/877356/ft1_filtered_4FGL_J2325.4-4800_daily_bin1236.fits
Spacecraft file(s): /scratch/kocevski/877356/ft2_4FGL_J2325.4-4800_daily_bin1236.fits
Exposure map: /scratch/kocevski/877356/expmap_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.fits
Exposure cube: /scratch/kocevski/877356/ltcube_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/877356/Model_4FGL_J2325.4-4800_daily_bin1236.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 378.639008649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 375.824340216

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    506.99       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .84206E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7857       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5468       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .40896E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .38479E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18903E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .10445       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2328       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .40417       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .25435E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .27191E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17722       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0264       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19055       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .23885E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    24.294       1.0000         .10000E-03   10000.    
    19 'norm      '    .20955E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .38482E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .99364E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.8518       1.0000         .10000E-03   10000.    
    25 'norm      '    .10302E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10431E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.1836       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .88453E-02   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .38456E-01   1.0000         .10000E-03   10000.    
    30 'norm      '    1.8676       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .41560E-01   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.3357       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .20901       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   375.8169     FROM MIGRAD    STATUS=CONVERGED    304 CALLS      662 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     508.49        372.03        .45582E-03   -.35506E-01
   2  Prefactor     .30980E-03    225.38        .94357E-02** at limit **
   3  Prefactor     .33804E-02    1321.6        .45977E-02   -.20686E-02
   4  Prefactor     1.5468        1.0651         .0000         .0000    
   5  Prefactor     .13027E-03    .21278       -.89698E-06** at limit **
   6  Prefactor     .38127E-03    .21223        .33042E-05** at limit **
   7  Prefactor     .10000E-03    .20781        .21050E-05** at limit **
   8  norm          .10409E-03    .22717       -.39902E-05** at limit **
   9  Prefactor     8.3297        1.0077        .74396E-07    .15932E-04
  10  Prefactor     .15081E-03    .29555       -.13263E-04** at limit **
  11  Prefactor     .10000E-03    .28778        .24354E-07** at limit **
  12  Prefactor     .53322E-03    .20968       -.24217E-04** at limit **
  13  Prefactor     .10052E-03    .24370       -.29062E-05** at limit **
  14  Prefactor     .10253E-03    .39781       -.19514E-04** at limit **
  15  Prefactor     .10000E-03    .20571       -.30535E-08** at limit **
  16  Prefactor     .11676E-03    .24673        .58948E-05** at limit **
  17  Prefactor     .10159E-03    .20893        .54829E-05** at limit **
  18  norm          20.936        .92869       -.12889E-04    .75342E-03
  19  norm          .10000E-03    .20571       -.12050E-04** at limit **
  20  norm          .10000E-03    .20571       -.34358E-07** at limit **
  21  Prefactor     .10000E-03    .23868        .45254E-05** at limit **
  22  Prefactor     .10000E-03    .20578        .67840E-05** at limit **
  23  norm          .10000E-03    .20571        .92460E-07** at limit **
  24  Prefactor     17.390        2.1418        .29592E-04   -.13529E-02
  25  norm          .10000E-03    .20571        .37226E-07** at limit **
  26  norm          .10000E-03    .20571       -.22005E-06** at limit **
  27  Prefactor     2.1836        1.0290         .0000         .0000    
  28  Prefactor     .10350E-03    .20931        .64672E-05** at limit **
  29  Prefactor     .13798E-03    .21222        .18410E-05** at limit **
  30  norm          .44785E-03    .14517        .94589E-05** at limit **
  31  Prefactor     .14641E-03    .21293        .76978E-05** at limit **
  32  Prefactor     .10000E-03    .20571        .75307E-05** at limit **
  33  Normalizat    1.3173        1.0660       -.18559E-04    .19160E-04
  34  Prefactor     .22222        .51118        .53631E-04    .20425E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 508.485
  Prefactor  = 0.000309799
  Prefactor  = 0.00338036
  Prefactor  = 1.54684
  Prefactor  = 0.000130267
  Prefactor  = 0.000381269
  Prefactor  = 0.0001
  norm       = 0.000104094
  Prefactor  = 8.32974
  Prefactor  = 0.000150815
  Prefactor  = 0.0001
  Prefactor  = 0.000533222
  Prefactor  = 0.000100517
  Prefactor  = 0.000102529
  Prefactor  = 0.0001
  Prefactor  = 0.000116758
  Prefactor  = 0.000101588
  norm       = 20.9363
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 17.3896
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.18357
  Prefactor  = 0.000103496
  Prefactor  = 0.000137979
  norm       = 0.000447853
  Prefactor  = 0.000146407
  Prefactor  = 0.000100001
  Normalizat = 1.31733
  Prefactor  = 0.222216
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   375.8169     FROM HESSE     STATUS=FAILED        15 CALLS      677 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     508.49        372.03        .45582E-03   -1.1159    
   2  Prefactor     .30980E-03    225.38        .94357E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33804E-02    1321.6        .45977E-02   -1.5719    
   4  Prefactor     576.92        575.19         .0000       -1.5459    
   5  Prefactor     .13027E-03    .21278       -.89698E-06   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .38127E-03    .21223        .33042E-05   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .20781        .21050E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10409E-03    .22717       -.39902E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.3297        1.0077        .74396E-07   -1.5131    
  10  Prefactor     .15081E-03    .29555       -.13263E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .28778        .24354E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .53322E-03    .20968       -.24217E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10052E-03    .24370       -.29062E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10253E-03    .39781       -.19514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .20571       -.30535E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11676E-03    .24673        .58948E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10159E-03    .20893        .54829E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          20.936        .92869       -.12889E-04   -1.4793    
  19  norm          .10000E-03    .20571       -.12050E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .20571       -.34358E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .23868        .45254E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .20578        .67840E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .20571        .92460E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     17.390        2.1418        .29592E-04   -1.4874    
  25  norm          .10000E-03    .20571        .37226E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .20571       -.22005E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.1836        1.0290         .0000       -1.5412    
  28  Prefactor     .10350E-03    .20931        .64672E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .13798E-03    .21222        .18410E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .44785E-03    .14517        .94589E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14641E-03    .21293        .76978E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    .20571        .75307E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.3173        1.0660       -.18559E-04   -.83051    
  34  Prefactor     .22222        .51118        .53631E-04   -1.2715    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.99855e-09
Minuit parameter uncertainties:
  1  373.83
  2  0.43655
  3  4.26202
  4  1.06512
  5  0.00507547
  6  0.0154524
  7  4.27297e-06
  8  0.00192879
  9  1.00773
  10  0.0077508
  11  2.8608e-07
  12  0.0190618
  13  0.000710241
  14  0.00200621
  15  4.9775e-08
  16  0.00406685
  17  0.00115207
  18  0.928688
  19  4.38728e-05
  20  9.28077e-09
  21  1.57385e-05
  22  2.4768e-05
  23  3.58069e-07
  24  2.14179
  25  1.46982e-07
  26  6.54142e-07
  27  1.02897
  28  0.00171079
  29  0.0056781
  30  0.0142127
  31  0.00628694
  32  2.93183e-05
  33  1.08469
  34  0.522029
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 375.816868573

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  1.574e-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:  2.222e-01  5.220e-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.317e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/877356/likelihoodResults_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.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) = 375.816954161
delta logL = -8.5587443948e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 375.816869379
delta logL = -8.06125342478e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7338       1.0000          .0000       10.000    
     3 'Normalizat'    1.3173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .22220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   375.8169     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      245 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    820.61        .90712E-02** at limit **
   2  Index         2.7028        7.2667        .50000        .93713E-05
   3  Normalizat    1.3173        .93815E-01    .48788E-01    .46097E-05
   4  Prefactor     .22221        .84352E-01    .10224        .48000E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.70276
  Normalizat = 1.31733
  Prefactor  = 0.222211
 **********
 **   18 **HESSE 
 **********

 FCN=   375.8169     FROM HESSE     STATUS=OK            31 CALLS      276 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.421        .10364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7028        6.3463        .50000       -.47737    
   3  Normalizat    1.3173        .71098        .21567E-03   -.83050    
   4  Prefactor     .22221        .62271        .45301E-03   -1.2715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.2167e-11
Minuit parameter uncertainties:
  1  0.000250951
  2  4.57263
  3  0.716369
  4  0.642898
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877356': 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) = 375.816869297
delta logL = -7.23558912341e-07

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  2.510e-04  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.703e+00  4.573e+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:  2.222e-01  6.429e-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.317e+00  7.164e-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/877356/cmap_HighResolution_559699201_559958401_4FGL_J2325.4-4800_daily_bin1236.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-02', job_status='DONE', photon_flux_upper_limit='9.04e-07', time_completed='2021-09-29 18:18:36.224851', job_id='877356', GAL2='0.22', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1632964716.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.22', dlogl='-7.24e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1236' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:18:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 877356: <4FGL_J2325.4-4800_daily_bin1236> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1236> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:31 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10: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:10:33 2021
Terminated at Wed Sep 29 18:18:36 2021
Results reported at Wed Sep 29 18:18:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1236 351.35 -48.0022 559699201 559958401 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 :                                   328.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   483 sec.
    Turnaround time :                            485 sec.

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

