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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1128
RA = 351.35, Dec = -48.0022
tmin = 531705601, tmax = 531964801
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='877187', job_status='RUN', time_executed='2021-09-29 18:13:05.572529', time_epoch_executed='1632964385.57' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1128'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877187

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877187/ft1_4FGL_J2325.4-4800_daily_bin1128.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877187/ft2_4FGL_J2325.4-4800_daily_bin1128.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877187/ft1_4FGL_J2325.4-4800_daily_bin1128.fits outfile=/scratch/kocevski/877187/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1128.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=531705601.0 tmax=531964801.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.01
user 3.78
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877187/ft1_filtered_4FGL_J2325.4-4800_daily_bin1128.fits" evtable="EVENTS" scfile=/scratch/kocevski/877187/ft2_4FGL_J2325.4-4800_daily_bin1128.fits sctable="SC_DATA" outfile=/scratch/kocevski/877187/ltcube_531705601_531964801_4FGL_J2325.4-4800_daily_bin1128.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/877187/ft2_4FGL_J2325.4-4800_daily_bin1128.fits
.....................!
real 12.02
user 11.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877187/ft1_filtered_4FGL_J2325.4-4800_daily_bin1128.fits evtable="EVENTS" scfile=/scratch/kocevski/877187/ft2_4FGL_J2325.4-4800_daily_bin1128.fits sctable="SC_DATA" expcube=/scratch/kocevski/877187/ltcube_531705601_531964801_4FGL_J2325.4-4800_daily_bin1128.fits outfile=/scratch/kocevski/877187/expmap_531705601_531964801_4FGL_J2325.4-4800_daily_bin1128.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/877187/ltcube_531705601_531964801_4FGL_J2325.4-4800_daily_bin1128.fits
.....................!
real 191.03
user 186.13
sys 4.09

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/877187/ft1_filtered_4FGL_J2325.4-4800_daily_bin1128.fits scfile=/scratch/kocevski/877187/ft2_4FGL_J2325.4-4800_daily_bin1128.fits outfile=/scratch/kocevski/877187/cmap_531705601_531964801_4FGL_J2325.4-4800_daily_bin1128.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877187/ft1_filtered_4FGL_J2325.4-4800_daily_bin1128.fits scfile=/scratch/kocevski/877187/ft2_4FGL_J2325.4-4800_daily_bin1128.fits outfile=/scratch/kocevski/877187/cmap_HighResolution_531705601_531964801_4FGL_J2325.4-4800_daily_bin1128.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877187/ft1_filtered_4FGL_J2325.4-4800_daily_bin1128.fits evtable="EVENTS" scfile=/scratch/kocevski/877187/ft2_4FGL_J2325.4-4800_daily_bin1128.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877187/Model_4FGL_J2325.4-4800_daily_bin1128.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/877187/ft1_filtered_4FGL_J2325.4-4800_daily_bin1128.fits......................!
real 33.71
user 32.36
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4535       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3481       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7000       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3426       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10882E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5247       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.2690       1.0000         .10000E-03   10000.    
    19 'norm      '    3.2741       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10545E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .12986E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.985       1.0000         .10000E-03   10000.    
    25 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .12429E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10307E-02   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .51339E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    18.673       1.0000         .10000E-03   10000.    
    30 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .91404       1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.2423       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=   4038.732     FROM MIGRAD    STATUS=CONVERGED    931 CALLS     4841 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    107.61        .20891E-06** at limit **
   2  Prefactor     .10000E-03    11.704        .13158E-05** at limit **
   3  Prefactor     .10000E-03    12.515        .47056E-06** at limit **
   4  Prefactor     8.4535        9.3758       -.23903E-06    .18749E-04
   5  Prefactor     .10000E-03    7.9896        .53210E-06** at limit **
   6  Prefactor     .10000E-03    18.016        .49997E-06** at limit **
   7  Prefactor     .10000E-03    4.5209        .48370E-07** at limit **
   8  norm          .10000E-03    3.2823       -.19023E-07** at limit **
   9  Prefactor     5.3480        4.7508        .18659E-06    .31640E-03
  10  Prefactor     .10000E-03    23.607        .22784E-05** at limit **
  11  Prefactor     5.6999        8.6045        .43176E-05   -.63109E-03
  12  Prefactor     .10002E-03    37.164       -.61166E-05** at limit **
  13  Prefactor     2.3408        18.958       -.42803E-06   -.26709E-05
  14  Prefactor     .10003E-03    116.31       -.71329E-05** at limit **
  15  Prefactor     6.5242        7.8271        .17039E-06    .24921E-05
  16  Prefactor     .10000E-03    16.387       -.10157E-05** at limit **
  17  Prefactor     .10000E-03    6.1270       -.36606E-07** at limit **
  18  norm          6.2721        14.819        .44241E-06    .26202E-05
  19  norm          3.2743        6.1756        .17886E-06   -.68308E-04
  20  norm          .10000E-03    2.2332       -.55657E-08** at limit **
  21  Prefactor     .10000E-03    5.5284       -.24428E-07** at limit **
  22  Prefactor     .10004E-03    60.428        .81623E-05** at limit **
  23  norm          .10001E-03    4.5086       -.77074E-06** at limit **
  24  Prefactor     11.992        18.528       -.21830E-06   -.10034E-03
  25  norm          .10000E-03    .60747        .13755E-06** at limit **
  26  norm          .10002E-03    6.5628       -.10521E-05** at limit **
  27  Prefactor     .10050E-03    12.454        .26027E-05** at limit **
  28  Prefactor     .10001E-03    3.2311        .87167E-06** at limit **
  29  Prefactor     18.705        32.644       -.58313E-06    .18685E-04
  30  norm          .10000E-03    13.046       -.22581E-06** at limit **
  31  Prefactor     .10000E-03    3.7541        .76939E-07** at limit **
  32  Prefactor     .10000E-03    1.7195        .55677E-07** at limit **
  33  Normalizat    .91394        .22669       -.27310E-05   -.98699E-04
  34  Prefactor     1.2425        .23690       -.65166E-07   -.17516E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 8.4535
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.34797
  Prefactor  = 0.000100003
  Prefactor  = 5.69987
  Prefactor  = 0.000100017
  Prefactor  = 2.34077
  Prefactor  = 0.000100026
  Prefactor  = 6.52419
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 6.27208
  norm       = 3.27433
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100042
  norm       = 0.000100008
  Prefactor  = 11.9918
  norm       = 0.0001
  norm       = 0.000100022
  Prefactor  = 0.0001005
  Prefactor  = 0.000100011
  Prefactor  = 18.7052
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.913943
  Prefactor  = 1.24247
 **********
 **   18 **HESSE 
 **********

 FCN=   4038.732     FROM HESSE     STATUS=OK           728 CALLS     5569 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    107.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4535        9.3757        .68938E-03   -1.5126    
   5  Prefactor     .10000E-03    8.1011        .17559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.5473        .13197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.2859        .11245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.3480        4.7655        .12551E-03   -1.5245    
  10  Prefactor     .10000E-03    23.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.6999        8.8886        .84122E-03   -1.5230    
  12  Prefactor     .10002E-03    38.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3408        18.835        .26786E-03   -1.5402    
  14  Prefactor     .10003E-03    118.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.5242        7.8212        .15711E-03   -1.5197    
  16  Prefactor     .10000E-03    16.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.1315        .15363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.2721        14.809        .16032E-03   -1.5207    
  19  norm          3.2743        6.1472        .21045E-03   -1.5346    
  20  norm          .10000E-03    2.2339        .92745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.5421        .14556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10004E-03    64.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10001E-03    8.9999        .25127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.992        18.377        .11571E-03   -1.5015    
  25  norm          .10000E-03    .77879        .94903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10002E-03    13.926        .29963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10050E-03    95.285        .42026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10001E-03    17.154        .19563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     18.705        29.844        .92687E-04   -1.4843    
  30  norm          .10000E-03    13.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    3.8036        .12017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.7256        .81383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .91394        .27114        .25597E-03   -.95972    
  34  Prefactor     1.2425        .28777        .24327E-03   -.85034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02818e-08
Minuit parameter uncertainties:
  1  0.000190492
  2  0.000200415
  3  7.04502e-05
  4  9.3773
  5  6.79151e-05
  6  0.000100597
  7  5.91196e-06
  8  4.79306e-07
  9  4.76584
  10  0.000497826
  11  8.89067
  12  0.00164308
  13  13.2852
  14  0.00349021
  15  7.82238
  16  0.000183931
  17  1.63044e-06
  18  14.8174
  19  6.14842
  20  2.17717e-06
  21  1.27937e-05
  22  0.00330785
  23  0.000527418
  24  18.386
  25  2.51791e-06
  26  0.00109894
  27  0.0138225
  28  0.000867994
  29  29.8676
  30  3.82111e-05
  31  2.9112e-06
  32  2.93164e-06
  33  0.271546
  34  0.288134
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  1.279e-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:  1.242e+00  2.881e-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:  9.139e-01  2.715e-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.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877187/likelihoodResults_531705601_531964801_4FGL_J2325.4-4800_daily_bin1128.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) = 4038.73323515
delta logL = -0.000858438641444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4038.73237671
delta logL = 5.91307980358e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0971       1.0000          .0000       10.000    
     3 'Normalizat'    .91396       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2425       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=   4038.732     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8718        .90712E-02** at limit **
   2  Index         2.0889        8.4806        .50000        .11589E-04
   3  Normalizat    .91394        .44218E-02    .45080E-01    .19360E-04
   4  Prefactor     1.2425        .48369E-02    .55017E-01    .13609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.08887
  Normalizat = 0.913942
  Prefactor  = 1.24248
 **********
 **   18 **HESSE 
 **********

 FCN=   4038.732     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.967        .14599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0889        8.5152        .50000       -.62146    
   3  Normalizat    .91394        .14604E-01    .25597E-03   -.95972    
   4  Prefactor     1.2425        .15975E-01    .24327E-03   -.85034    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.73576e-07
Minuit parameter uncertainties:
  1  2.06789e-05
  2  146.79
  3  0.0146042
  4  0.0159752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877187': 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) = 4038.73237667
delta logL = 4.97961991641e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.242e+00  1.598e-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:  9.139e-01  1.460e-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/877187/cmap_HighResolution_531705601_531964801_4FGL_J2325.4-4800_daily_bin1128.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', job_status='DONE', photon_flux_upper_limit='8.10e-08', time_completed='2021-09-29 18:25:24.862968', job_id='877187', GAL2='1.24', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632965124.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='4.98e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1128' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:25:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 877187: <4FGL_J2325.4-4800_daily_bin1128> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1128 351.35 -48.0022 531705601 531964801 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 :                                   716.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            909 sec.

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

