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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin849
RA = 351.35, Dec = -48.0022
tmin = 459388801, tmax = 459648001
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='875550', job_status='RUN', time_executed='2021-09-29 18:07:55.351642', time_epoch_executed='1632964075.35' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='849'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875550

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875550/ft1_4FGL_J2325.4-4800_daily_bin849.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875550/ft2_4FGL_J2325.4-4800_daily_bin849.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875550/ft1_4FGL_J2325.4-4800_daily_bin849.fits outfile=/scratch/kocevski/875550/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin849.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=459388801.0 tmax=459648001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.48
user 3.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875550/ft2_4FGL_J2325.4-4800_daily_bin849.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/875550/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin849.fits evtable="EVENTS" outfile="/scratch/kocevski/875550/ft1_filtered_4FGL_J2325.4-4800_daily_bin849.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875550/ft1_filtered_4FGL_J2325.4-4800_daily_bin849.fits" evtable="EVENTS" scfile=/scratch/kocevski/875550/ft2_4FGL_J2325.4-4800_daily_bin849.fits sctable="SC_DATA" outfile=/scratch/kocevski/875550/ltcube_459388801_459648001_4FGL_J2325.4-4800_daily_bin849.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/875550/ft2_4FGL_J2325.4-4800_daily_bin849.fits
.....................!
real 12.11
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875550/ft1_filtered_4FGL_J2325.4-4800_daily_bin849.fits evtable="EVENTS" scfile=/scratch/kocevski/875550/ft2_4FGL_J2325.4-4800_daily_bin849.fits sctable="SC_DATA" expcube=/scratch/kocevski/875550/ltcube_459388801_459648001_4FGL_J2325.4-4800_daily_bin849.fits outfile=/scratch/kocevski/875550/expmap_459388801_459648001_4FGL_J2325.4-4800_daily_bin849.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/875550/ltcube_459388801_459648001_4FGL_J2325.4-4800_daily_bin849.fits
.....................!
real 191.44
user 185.97
sys 4.90

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/875550/ft1_filtered_4FGL_J2325.4-4800_daily_bin849.fits scfile=/scratch/kocevski/875550/ft2_4FGL_J2325.4-4800_daily_bin849.fits outfile=/scratch/kocevski/875550/cmap_459388801_459648001_4FGL_J2325.4-4800_daily_bin849.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.39
sys 0.14

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

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875550/ft1_filtered_4FGL_J2325.4-4800_daily_bin849.fits evtable="EVENTS" scfile=/scratch/kocevski/875550/ft2_4FGL_J2325.4-4800_daily_bin849.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875550/Model_4FGL_J2325.4-4800_daily_bin849.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/875550/ft1_filtered_4FGL_J2325.4-4800_daily_bin849.fits.....................!
real 38.01
user 36.53
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12230E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23362E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-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      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .52649E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3497       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.514       1.0000         .10000E-03   10000.    
    18 'norm      '    5.6759       1.0000         .10000E-03   10000.    
    19 'norm      '    5.2328       1.0000         .10000E-03   10000.    
    20 'norm      '    5.8767       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    70.216       1.0000         .10000E-03   10000.    
    23 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.9330       1.0000         .10000E-03   10000.    
    25 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.8897       1.0000         .10000E-03   10000.    
    27 'Prefactor '    19.269       1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.7776       1.0000         .10000E-03   10000.    
    29 'Prefactor '    11.989       1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    3.4570       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.6088       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .45650       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=   4741.885     FROM MIGRAD    STATUS=CONVERGED    943 CALLS     4890 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.254       -.11111E-06** at limit **
   2  Prefactor     .10000E-03    19.691       -.18461E-06** at limit **
   3  Prefactor     .10000E-03    127.38       -.13349E-05** at limit **
   4  Prefactor     .10001E-03    11.914        .60410E-06** at limit **
   5  Prefactor     .10000E-03    8.7665        .29341E-06** at limit **
   6  Prefactor     .10000E-03    9.5199       -.22087E-06** at limit **
   7  Prefactor     .10000E-03    3.8955        .72555E-08** at limit **
   8  norm          .10000E-03    3.5144        .12571E-07** at limit **
   9  Prefactor     .10000E-03    1.9971       -.21233E-06** at limit **
  10  Prefactor     .10000E-03    15.247       -.32043E-06** at limit **
  11  Prefactor     .10000E-03    5.0468        .11763E-06** at limit **
  12  Prefactor     .10000E-03    65.836        .18584E-05** at limit **
  13  Prefactor     .10002E-03    8.4867        .89627E-06** at limit **
  14  Prefactor     .10000E-03    37.913       -.66238E-06** at limit **
  15  Prefactor     6.3499        7.0718        .63321E-06    .92835E-05
  16  Prefactor     .10000E-03    23.927        .57222E-06** at limit **
  17  Prefactor     15.514        15.170       -.39371E-08   -.11168E-04
  18  norm          5.6751        11.342        .32387E-05   -.31387E-05
  19  norm          5.2328        5.1377       -.11251E-07    .11401E-03
  20  norm          5.8768        5.5738        .12392E-07    .24134E-04
  21  Prefactor     .10000E-03    12.775       -.16609E-06** at limit **
  22  Prefactor     70.208        51.514       -.39399E-06   -.40647E-04
  23  norm          .10000E-03    2.6413       -.15087E-06** at limit **
  24  Prefactor     1.9413        56.261        .43329E-05    .15079E-05
  25  norm          .10000E-03    .47651       -.22171E-07** at limit **
  26  norm          1.8907        3.1679        .10118E-06    .34316E-05
  27  Prefactor     19.275        19.347        .34245E-07   -.21226E-04
  28  Prefactor     2.7773        2.7872       -.35255E-07   -.20080E-04
  29  Prefactor     11.982        22.709       -.26730E-06   -.74154E-05
  30  norm          .10000E-03    6.6808       -.54850E-09** at limit **
  31  Prefactor     .10000E-03    3.4514        .11712E-07** at limit **
  32  Prefactor     3.4545        5.6636        .26563E-06   -.30729E-04
  33  Normalizat    1.6086        .22980        .23204E-06   -.10666E-03
  34  Prefactor     .45670        .22231       -.11443E-05   -.55787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100017
  Prefactor  = 0.000100001
  Prefactor  = 6.34987
  Prefactor  = 0.000100001
  Prefactor  = 15.5145
  norm       = 5.67512
  norm       = 5.23278
  norm       = 5.87682
  Prefactor  = 0.0001
  Prefactor  = 70.2082
  norm       = 0.0001
  Prefactor  = 1.94134
  norm       = 0.0001
  norm       = 1.89068
  Prefactor  = 19.2748
  Prefactor  = 2.77727
  Prefactor  = 11.9822
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.45446
  Normalizat = 1.60858
  Prefactor  = 0.456696
 **********
 **   18 **HESSE 
 **********

 FCN=   4741.885     FROM HESSE     STATUS=OK           728 CALLS     5618 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    19.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    128.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    68.846        .45427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.9958        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.5244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9059        .13272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.5187        .12608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.018        .18760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.1247        .15101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    66.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    33.793        .37914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    37.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3499        7.0749        .79644E-03   -1.5204    
  16  Prefactor     .10000E-03    23.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.514        15.134        .10169E-03   -1.4920    
  18  norm          5.6751        11.303        .84303E-03   -1.5231    
  19  norm          5.2328        5.1381        .15029E-03   -1.5250    
  20  norm          5.8768        5.5767        .14984E-03   -1.5223    
  21  Prefactor     .10000E-03    12.847        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     70.208        51.648        .47905E-04   -1.4030    
  23  norm          .10000E-03    2.6441        .10900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.9413        54.703        .29871E-03   -1.5429    
  25  norm          .10000E-03    .48454        .92351E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.8907        3.1328        .15195E-03   -1.5433    
  27  Prefactor     19.275        19.402        .91242E-04   -1.4830    
  28  Prefactor     2.7773        2.7831        .10870E-03   -1.5375    
  29  Prefactor     11.982        22.633        .11569E-03   -1.5016    
  30  norm          .10000E-03    6.6813        .17384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    3.4847        .12484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     3.4545        5.6701        .19669E-03   -1.5336    
  33  Normalizat    1.6086        .26909        .20515E-03   -.74771    
  34  Prefactor     .45670        .25580        .36912E-03   -1.1401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1734e-09
Minuit parameter uncertainties:
  1  6.70154e-05
  2  4.31989e-05
  3  0.00128789
  4  0.00199086
  5  4.59985e-05
  6  6.83054e-05
  7  3.75813e-07
  8  2.81775e-07
  9  0.000476771
  10  0.000124935
  11  1.00798e-06
  12  0.00085264
  13  0.00151355
  14  0.0004259
  15  7.07587
  16  0.000256482
  17  15.1375
  18  11.3069
  19  5.13852
  20  5.57715
  21  4.25522e-05
  22  51.6808
  23  3.38478e-07
  24  20.6307
  25  3.14101e-06
  26  3.13308
  27  19.4085
  28  2.78319
  29  22.6488
  30  8.14926e-07
  31  9.58073e-07
  32  5.67101
  33  0.269335
  34  0.256448
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  4.255e-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:  4.567e-01  2.564e-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.609e+00  2.693e-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.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875550/likelihoodResults_459388801_459648001_4FGL_J2325.4-4800_daily_bin849.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) = 4741.88504184
delta logL = -0.000371275627913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4741.41079677
delta logL = 0.473873794778

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46778       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5515       1.0000          .0000       10.000    
     3 'Normalizat'    1.5391       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49752       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=   4741.411     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      256 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46833        8.6656        .11003E-01    .11657E-02
   2  Index         3.5510        2.5787        .88771E-01    .15151E-03
   3  Normalizat    1.5391        .43197E-01    .47166E-01   -.84301E-05
   4  Prefactor     .49744        .44315E-01    .79975E-01    .26604E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.468329
  Index      = 3.55101
  Normalizat = 1.53912
  Prefactor  = 0.497443
 **********
 **   18 **HESSE 
 **********

 FCN=   4741.411     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      289 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46833        26.948        .49545E-04   -1.5571    
   2  Index         3.5510        6.7752        .47878E-02   -.29401    
   3  Normalizat    1.5391        .23521        .20849E-03   -.76685    
   4  Prefactor     .49744        .23677        .35422E-03   -1.1209    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.02861e-07
Minuit parameter uncertainties:
  1  7.10769
  2  6.03505
  3  0.235374
  4  0.237242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875550': 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) = 4741.41079664
delta logL = 0.47387392319

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  4.974e-01  2.372e-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.539e+00  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.350 -48.002

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/875550/cmap_HighResolution_459388801_459648001_4FGL_J2325.4-4800_daily_bin849.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.41e-08', time_completed='2021-09-29 18:21:16.081467', job_id='875550', GAL2='0.50', fit_tolerance='1e-08', EG2='1.54', EG='1.61', time_epoch_completed='1632964876.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.46', dlogl='4.74e-01', ts2='0.99', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='849' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:21:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 875550: <4FGL_J2325.4-4800_daily_bin849> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin849 351.35 -48.0022 459388801 459648001 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 :                                   798.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            963 sec.

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

