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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1601
RA = 351.35, Dec = -48.0022
tmin = 654307201, tmax = 654566401
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='880327', job_status='RUN', time_executed='2021-09-29 18:17:49.885698', time_epoch_executed='1632964669.89' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880327

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880327/ft1_4FGL_J2325.4-4800_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880327/ft2_4FGL_J2325.4-4800_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880327/ft1_4FGL_J2325.4-4800_daily_bin1601.fits outfile=/scratch/kocevski/880327/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1601.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=654307201.0 tmax=654566401.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.37
user 4.07
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/880327/ft2_4FGL_J2325.4-4800_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/880327/ltcube_654307201_654566401_4FGL_J2325.4-4800_daily_bin1601.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/880327/ft2_4FGL_J2325.4-4800_daily_bin1601.fits
.....................!
real 11.63
user 11.29
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/880327/ft2_4FGL_J2325.4-4800_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/880327/ltcube_654307201_654566401_4FGL_J2325.4-4800_daily_bin1601.fits outfile=/scratch/kocevski/880327/expmap_654307201_654566401_4FGL_J2325.4-4800_daily_bin1601.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/880327/ltcube_654307201_654566401_4FGL_J2325.4-4800_daily_bin1601.fits
.....................!
real 189.96
user 185.20
sys 4.37

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/880327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1601.fits scfile=/scratch/kocevski/880327/ft2_4FGL_J2325.4-4800_daily_bin1601.fits outfile=/scratch/kocevski/880327/cmap_654307201_654566401_4FGL_J2325.4-4800_daily_bin1601.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/880327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1601.fits scfile=/scratch/kocevski/880327/ft2_4FGL_J2325.4-4800_daily_bin1601.fits outfile=/scratch/kocevski/880327/cmap_HighResolution_654307201_654566401_4FGL_J2325.4-4800_daily_bin1601.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.57
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    51.423       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.6325       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.349       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .16797E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.004       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.6269       1.0000         .10000E-03   10000.    
    23 'norm      '    .10484E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .81137E-01   1.0000         .10000E-03   10000.    
    25 'norm      '    1.3618       1.0000         .10000E-03   10000.    
    26 'norm      '    5.6857       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.8616       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .19301E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.8497       1.0000         .10000E-03   10000.    
    30 'norm      '    13.758       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .18076E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0468       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .97070       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5225.851     FROM MIGRAD    STATUS=CONVERGED   1730 CALLS     6338 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.129        .18142E-02** at limit **
   2  Prefactor     .10000E-03    8.6043        .18142E-02** at limit **
   3  Prefactor     51.398        45.793        .55927E-04    .48217E-04
   4  Prefactor     .10000E-03    5.1268        .15978E-02** at limit **
   5  Prefactor     .10000E-03    4.0250        .14148E-02** at limit **
   6  Prefactor     .10000E-03    34.158        .18142E-02** at limit **
   7  Prefactor     .10000E-03    4.9566        .15664E-02** at limit **
   8  norm          2.6329        5.7684        .24888E-03    .21926E-04
   9  Prefactor     .10000E-03    1.3126        .80376E-03** at limit **
  10  Prefactor     .10000E-03    18.768        .18142E-02** at limit **
  11  Prefactor     .10000E-03    1.5083        .86516E-03** at limit **
  12  Prefactor     .10000E-03    7.8785        .18142E-02** at limit **
  13  Prefactor     .10000E-03    3.0249        .12260E-02** at limit **
  14  Prefactor     .10000E-03    36.109        .18142E-02** at limit **
  15  Prefactor     .10000E-03    3.0550        .12297E-02** at limit **
  16  Prefactor     31.343        29.371        .71563E-04    .12309E-03
  17  Prefactor     .10000E-03    14.853        .18142E-02** at limit **
  18  norm          .10000E-03    5.0204        .15806E-02** at limit **
  19  norm          .10000E-03    26.934        .28682E-02** at limit **
  20  norm          .10000E-03    1.9938        .99645E-03** at limit **
  21  Prefactor     19.036        9.7623        .91875E-04   -.32613E-03
  22  Prefactor     7.5346        74.484        .14521E-03   -.19181E-04
  23  norm          .10000E-03    3.8087        .13633E-02** at limit **
  24  Prefactor     .10007E-03    29.678        .75354E-01** at limit **
  25  norm          1.3631        1.2321        .71459E-04   -.72452E-03
  26  norm          5.6913        6.5657        .16584E-03    .14732E-03
  27  Prefactor     4.8549        13.177        .91219E-03    .27892E-04
  28  Prefactor     .10000E-03    21.751        .18655E-02** at limit **
  29  Prefactor     2.8530        22.686        .24085E-03   -.54283E-05
  30  norm          13.748        15.823        .10799E-03   -.83611E-04
  31  Prefactor     .10001E-03    7.2683        .26034E-02** at limit **
  32  Prefactor     .10000E-03    1.4070        .83575E-03** at limit **
  33  Normalizat    1.0470        .23734        .22952E-03   -.30066E-04
  34  Prefactor     .97053        .24638        .25657E-03    .18256E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 51.3977
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.63291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.3431
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100004
  norm       = 0.0001
  Prefactor  = 19.0362
  Prefactor  = 7.53459
  norm       = 0.0001
  Prefactor  = 0.000100068
  norm       = 1.36306
  norm       = 5.69131
  Prefactor  = 4.85495
  Prefactor  = 0.0001
  Prefactor  = 2.85298
  norm       = 13.7482
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Normalizat = 1.04704
  Prefactor  = 0.970532
 **********
 **   18 **HESSE 
 **********

 FCN=   5225.851     FROM HESSE     STATUS=OK           710 CALLS     7048 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.131        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.6046        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     51.398        45.789        .11185E-04   -1.4273    
   4  Prefactor     .10000E-03    5.1269        .31956E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.0251        .28296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.9576        .31327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.6329        5.7685        .99551E-05   -1.5383    
   9  Prefactor     .10000E-03    1.3128        .16075E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.768        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.5084        .17303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.8790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.0251        .24521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    36.109        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0554        .24594E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     31.343        29.370        .14313E-04   -1.4588    
  17  Prefactor     .10000E-03    14.856        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.0206        .31613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    27.773        .11473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.9939        .19929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.036        9.7178        .18375E-04   -1.4835    
  22  Prefactor     7.5346        74.495        .58084E-05   -1.5159    
  23  norm          .10000E-03    3.8094        .27266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10007E-03    25.315        .82588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.3631        1.2310        .28583E-05   -1.5474    
  26  norm          5.6913        6.5633        .66337E-05   -1.5231    
  27  Prefactor     4.8549        13.173        .36488E-04   -1.5267    
  28  Prefactor     .10000E-03    22.278        .74619E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     2.8530        22.666        .96340E-05   -1.5370    
  30  norm          13.748        15.821        .21598E-04   -1.4966    
  31  Prefactor     .10001E-03    7.3006        .52067E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.4071        .16715E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.0470        .23769        .91809E-05   -.91471    
  34  Prefactor     .97053        .24674        .10263E-04   -.93718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18379e-09
Minuit parameter uncertainties:
  1  0.000576717
  2  1.41039e-05
  3  45.8207
  4  3.97844e-05
  5  4.29913e-06
  6  9.67205e-06
  7  4.01544e-05
  8  5.76974
  9  2.03187e-05
  10  0.000129377
  11  1.03625e-05
  12  6.50911e-05
  13  2.24113e-05
  14  5.47929e-05
  15  2.50983e-05
  16  29.384
  17  0.000132051
  18  3.43702e-05
  19  0.000648859
  20  5.56924e-06
  21  9.71864
  22  47.4597
  23  4.98662e-05
  24  0.00263123
  25  1.23106
  26  6.5641
  27  13.1812
  28  0.000209625
  29  16.0912
  30  15.8255
  31  0.000564822
  32  1.4071e-05
  33  0.237931
  34  0.247031
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.904e+01  9.719e+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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  9.705e-01  2.470e-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.047e+00  2.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.75
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 8.20e-08 +/- 4.18e-08
Energy Flux (Fixed Index): 4.44e-05 +/- 2.27e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5225.78459005
delta logL = 0.0660358798696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5225.77442562
delta logL = 0.0762003132704

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.034       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2778       1.0000          .0000       10.000    
     3 'Normalizat'    1.0245       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98522       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=   5225.774     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      254 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.031        108.35        .25006E-02    .83177E-04
   2  Index         2.2775        2.6238        .99716E-01    .15296E-03
   3  Normalizat    1.0243        .12894        .42766E-01    .24134E-04
   4  Prefactor     .98554        .88450E-01    .46082E-01    .11234E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0307
  Index      = 2.27749
  Normalizat = 1.02425
  Prefactor  = 0.985535
 **********
 **   18 **HESSE 
 **********

 FCN=   5225.774     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.031        11.442        .10002E-03   -1.4907    
   2  Index         2.2775        .47174        .37574E-02   -.57580    
   3  Normalizat    1.0243        .23265        .23163E-03   -.92222    
   4  Prefactor     .98554        .24484        .25477E-03   -.93213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08446e-11
Minuit parameter uncertainties:
  1  11.4432
  2  0.472742
  3  0.232883
  4  0.245116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880327': 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) = 5225.77442339
delta logL = 0.0762025422628

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.603e+01  1.144e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.277e+00  4.727e-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:  9.855e-01  2.451e-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.024e+00  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.93
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.28 +/- 0.47
Photon Flux (Free Index): 9.89e-08 +/- 6.07e-08
Energy Flux (Free Index): 3.88e-05 +/- 2.09e-05

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/880327/cmap_HighResolution_654307201_654566401_4FGL_J2325.4-4800_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.20e-08', energy_flux2='3.88e-05', photon_flux_error='4.18e-08', dlogl='7.62e-02', energy_flux='4.44e-05', photon_flux2='9.89e-08', job_status='DONE', time_completed='2021-09-29 18:32:02.109312', photon_index_error2='0.47', photon_index2='2.28', ts='18.75', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.09e-05', EG='1.05', time_epoch_completed='1632965522.11', return_code='0', job_id='880327', GAL2='0.99', EG2='1.02', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='6.07e-08', ts2='18.93', photon_index='2.11' WHERE bin_id='1601' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:32:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 880327: <4FGL_J2325.4-4800_daily_bin1601> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1601> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:15:30 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:15:31 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:15:31 2021
Terminated at Wed Sep 29 18:32:02 2021
Results reported at Wed Sep 29 18:32:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1601 351.35 -48.0022 654307201 654566401 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 :                                   840.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             279.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            992 sec.

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

