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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin580
RA = 351.35, Dec = -48.0022
tmin = 389664001, tmax = 389923201
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='874012', job_status='RUN', time_executed='2021-09-29 18:02:39.481586', time_epoch_executed='1632963759.48' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='580'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874012

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874012/ft1_4FGL_J2325.4-4800_daily_bin580.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874012/ft2_4FGL_J2325.4-4800_daily_bin580.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/874012/ft1_4FGL_J2325.4-4800_daily_bin580.fits outfile=/scratch/kocevski/874012/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin580.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=389664001.0 tmax=389923201.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 4.84
user 4.63
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/874012/ft1_filtered_4FGL_J2325.4-4800_daily_bin580.fits" evtable="EVENTS" scfile=/scratch/kocevski/874012/ft2_4FGL_J2325.4-4800_daily_bin580.fits sctable="SC_DATA" outfile=/scratch/kocevski/874012/ltcube_389664001_389923201_4FGL_J2325.4-4800_daily_bin580.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/874012/ft2_4FGL_J2325.4-4800_daily_bin580.fits
.....................!
real 12.24
user 11.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874012/ft1_filtered_4FGL_J2325.4-4800_daily_bin580.fits evtable="EVENTS" scfile=/scratch/kocevski/874012/ft2_4FGL_J2325.4-4800_daily_bin580.fits sctable="SC_DATA" expcube=/scratch/kocevski/874012/ltcube_389664001_389923201_4FGL_J2325.4-4800_daily_bin580.fits outfile=/scratch/kocevski/874012/expmap_389664001_389923201_4FGL_J2325.4-4800_daily_bin580.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/874012/ltcube_389664001_389923201_4FGL_J2325.4-4800_daily_bin580.fits
.....................!
real 192.39
user 186.46
sys 5.54

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/874012/ft1_filtered_4FGL_J2325.4-4800_daily_bin580.fits scfile=/scratch/kocevski/874012/ft2_4FGL_J2325.4-4800_daily_bin580.fits outfile=/scratch/kocevski/874012/cmap_389664001_389923201_4FGL_J2325.4-4800_daily_bin580.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/874012/ft1_filtered_4FGL_J2325.4-4800_daily_bin580.fits scfile=/scratch/kocevski/874012/ft2_4FGL_J2325.4-4800_daily_bin580.fits outfile=/scratch/kocevski/874012/cmap_HighResolution_389664001_389923201_4FGL_J2325.4-4800_daily_bin580.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.35 yref=-48.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/874012/ft1_filtered_4FGL_J2325.4-4800_daily_bin580.fits evtable="EVENTS" scfile=/scratch/kocevski/874012/ft2_4FGL_J2325.4-4800_daily_bin580.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/874012/Model_4FGL_J2325.4-4800_daily_bin580.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/874012/ft1_filtered_4FGL_J2325.4-4800_daily_bin580.fits.....................!
real 41.16
user 39.80
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    25.205       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.114       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .99533       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0574       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.126       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.840       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.338       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .64756       1.0000         .10000E-03   10000.    
    20 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.892       1.0000         .10000E-03   10000.    
    23 'norm      '    .10382E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    33.594       1.0000         .10000E-03   10000.    
    25 'norm      '    7.1614       1.0000         .10000E-03   10000.    
    26 'norm      '    6.8664       1.0000         .10000E-03   10000.    
    27 'Prefactor '    9.1770       1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.3176       1.0000         .10000E-03   10000.    
    29 'Prefactor '    9.9508       1.0000         .10000E-03   10000.    
    30 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .34224E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    8.7936       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .66565       1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.3691       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=   5222.139     FROM MIGRAD    STATUS=CONVERGED    940 CALLS     4811 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.345        .18728E-05** at limit **
   2  Prefactor     25.208        27.986       -.23800E-06   -.77643E-05
   3  Prefactor     .10000E-03    35.974       -.45681E-05** at limit **
   4  Prefactor     .10000E-03    6.3548        .18787E-06** at limit **
   5  Prefactor     .10000E-03    6.8655       -.43989E-06** at limit **
   6  Prefactor     16.963        36.672       -.30717E-05   -.33764E-04
   7  Prefactor     .10000E-03    4.0617       -.29381E-07** at limit **
   8  norm          .99456        4.2519        .12983E-06   -.22147E-03
   9  Prefactor     3.0557        2.7708        .92699E-06   -.30961E-02
  10  Prefactor     .10000E-03    32.058        .88342E-05** at limit **
  11  Prefactor     13.127        7.0274       -.17521E-06   -.72487E-05
  12  Prefactor     .10000E-03    18.350       -.27513E-05** at limit **
  13  Prefactor     21.840        13.717       -.13034E-06    .32331E-04
  14  Prefactor     .10000E-03    37.310       -.78724E-05** at limit **
  15  Prefactor     .10000E-03    3.6277       -.48668E-07** at limit **
  16  Prefactor     .10000E-03    47.972        .42282E-05** at limit **
  17  Prefactor     11.338        16.023        .33025E-06   -.11721E-04
  18  norm          .10000E-03    5.4967       -.28264E-07** at limit **
  19  norm          .64750        10.049        .64763E-06   -.30698E-03
  20  norm          .10000E-03    2.6356        .10183E-07** at limit **
  21  Prefactor     .10000E-03    7.7165        .61605E-06** at limit **
  22  Prefactor     26.885        44.103       -.50297E-05   -.70082E-04
  23  norm          .10000E-03    3.2207        .80016E-07** at limit **
  24  Prefactor     33.608        23.987       -.48021E-05   -.29725E-03
  25  norm          7.1615        2.2735        .15478E-06   -.22152E-03
  26  norm          6.8678        5.6885        .37755E-06   -.29444E-04
  27  Prefactor     9.1730        20.430       -.73208E-06   -.58489E-04
  28  Prefactor     6.3256        6.8141       -.53131E-06   -.30908E-03
  29  Prefactor     9.9275        32.819        .39295E-05    .69473E-05
  30  norm          .10000E-03    9.9559       -.34783E-06** at limit **
  31  Prefactor     .10005E-03    4.7823        .56128E-06** at limit **
  32  Prefactor     8.7948        5.8432        .77765E-07   -.37122E-04
  33  Normalizat    .66529        .23278        .23627E-05   -.12067E-03
  34  Prefactor     1.3696        .22946       -.73302E-06   -.21164E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 25.2082
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.9626
  Prefactor  = 0.0001
  norm       = 0.994555
  Prefactor  = 3.05573
  Prefactor  = 0.000100001
  Prefactor  = 13.1268
  Prefactor  = 0.0001
  Prefactor  = 21.8396
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3383
  norm       = 0.0001
  norm       = 0.647501
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 26.8847
  norm       = 0.0001
  Prefactor  = 33.6081
  norm       = 7.16147
  norm       = 6.86776
  Prefactor  = 9.173
  Prefactor  = 6.32565
  Prefactor  = 9.92749
  norm       = 0.0001
  Prefactor  = 0.000100053
  Prefactor  = 8.79483
  Normalizat = 0.66529
  Prefactor  = 1.36959
 **********
 **   18 **HESSE 
 **********

 FCN=   5222.139     FROM HESSE     STATUS=OK           732 CALLS     5543 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.208        27.988        .79790E-04   -1.4703    
   3  Prefactor     .10000E-03    36.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.3683        .17791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.9066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.963        36.717        .96815E-04   -1.4884    
   7  Prefactor     .10000E-03    4.0701        .14223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .99456        4.1128        .29159E-03   -1.5509    
   9  Prefactor     3.0557        4.7037        .91747E-03   -1.5358    
  10  Prefactor     .10000E-03    32.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.127        7.0362        .11056E-03   -1.4983    
  12  Prefactor     .10000E-03    18.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.840        13.714        .85709E-04   -1.4773    
  14  Prefactor     .10000E-03    37.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.6384        .13440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    48.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.338        16.026        .11898E-03   -1.5034    
  18  norm          .10000E-03    5.5005        .16547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .64750        10.596        .44187E-03   -1.5547    
  20  norm          .10000E-03    2.6435        .11456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.8816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     26.885        44.252        .77252E-04   -1.4670    
  23  norm          .10000E-03    3.2420        .12637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     33.608        24.207        .69136E-04   -1.4548    
  25  norm          7.1615        2.2642        .53718E-04   -1.5173    
  26  norm          6.8678        5.6773        .14422E-03   -1.5184    
  27  Prefactor     9.1730        20.231        .13230E-03   -1.5102    
  28  Prefactor     6.3256        6.4766        .15322E-03   -1.5205    
  29  Prefactor     9.9275        32.584        .12703E-03   -1.5078    
  30  norm          .10000E-03    9.9576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10005E-03    36.507        .27582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     8.7948        5.8466        .13115E-03   -1.5115    
  33  Normalizat    .66529        .27721        .31915E-03   -1.0528    
  34  Prefactor     1.3696        .27785        .24837E-03   -.81261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.33206e-09
Minuit parameter uncertainties:
  1  6.776e-05
  2  28.0028
  3  0.000275112
  4  5.60364e-07
  5  2.00592e-05
  6  36.7656
  7  3.92255e-06
  8  4.04524
  9  4.70428
  10  0.000434503
  11  7.0366
  12  0.00010958
  13  13.7158
  14  0.000436579
  15  3.71368e-06
  16  0.00023781
  17  16.0318
  18  6.51464e-06
  19  5.23933
  20  4.65503e-06
  21  0.000158093
  22  44.3062
  23  2.31436e-05
  24  24.2141
  25  2.26422
  26  5.67774
  27  20.2462
  28  6.47736
  29  32.6421
  30  1.06208e-05
  31  0.00279339
  32  5.84697
  33  0.277796
  34  0.278153
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  1.581e-04  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:  1.370e+00  2.782e-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:  6.653e-01  2.778e-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: 8.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/874012/likelihoodResults_389664001_389923201_4FGL_J2325.4-4800_daily_bin580.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) = 5222.13930238
delta logL = -0.000604173126703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5222.1386983
delta logL = -9.51931724558e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1285       1.0000          .0000       10.000    
     3 'Normalizat'    .66533       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3696       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=   5222.139     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    189.36        .90712E-02** at limit **
   2  Index         2.1532        8.2350        .50000       -.27092E-04
   3  Normalizat    .66529        .24926E-01    .72105E-01   -.65472E-04
   4  Prefactor     1.3696        .26974E-01    .56172E-01    .11345E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.15322
  Normalizat = 0.665288
  Prefactor  = 1.36959
 **********
 **   18 **HESSE 
 **********

 FCN=   5222.139     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      242 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    261.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1532        6.4614        .50000       -.60572    
   3  Normalizat    .66529        .29210E-01    .31915E-03   -1.0528    
   4  Prefactor     1.3696        .31663E-01    .24837E-03   -.81261    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00251e-07
Minuit parameter uncertainties:
  1  0.00270249
  2  23.2745
  3  0.0292109
  4  0.0316633
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874012': 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) = 5222.13869791
delta logL = 2.96016878565e-07

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  2.702e-03  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.153e+00  2.327e+01  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.370e+00  3.166e-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:  6.653e-01  2.921e-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/874012/cmap_HighResolution_389664001_389923201_4FGL_J2325.4-4800_daily_bin580.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.07e-03', job_status='DONE', photon_flux_upper_limit='8.02e-08', time_completed='2021-09-29 18:16:49.148499', job_id='874012', GAL2='1.37', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1632964609.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='2.96e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='580' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:16:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 874012: <4FGL_J2325.4-4800_daily_bin580> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin580> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:00:13 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:00:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:00:14 2021
Terminated at Wed Sep 29 18:16:50 2021
Results reported at Wed Sep 29 18:16:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin580 351.35 -48.0022 389664001 389923201 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 :                                   848.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            997 sec.

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

