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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin899
RA = 351.35, Dec = -48.0022
tmin = 472348801, tmax = 472608001
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='875628', job_status='RUN', time_executed='2021-09-29 18:07:37.290083', time_epoch_executed='1632964057.29' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='899'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875628/ft1_4FGL_J2325.4-4800_daily_bin899.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875628/ft2_4FGL_J2325.4-4800_daily_bin899.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875628/ft1_4FGL_J2325.4-4800_daily_bin899.fits outfile=/scratch/kocevski/875628/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin899.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=472348801.0 tmax=472608001.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.84
user 3.59
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875628/ft1_filtered_4FGL_J2325.4-4800_daily_bin899.fits" evtable="EVENTS" scfile=/scratch/kocevski/875628/ft2_4FGL_J2325.4-4800_daily_bin899.fits sctable="SC_DATA" outfile=/scratch/kocevski/875628/ltcube_472348801_472608001_4FGL_J2325.4-4800_daily_bin899.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/875628/ft2_4FGL_J2325.4-4800_daily_bin899.fits
.....................!
real 12.10
user 11.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875628/ft1_filtered_4FGL_J2325.4-4800_daily_bin899.fits evtable="EVENTS" scfile=/scratch/kocevski/875628/ft2_4FGL_J2325.4-4800_daily_bin899.fits sctable="SC_DATA" expcube=/scratch/kocevski/875628/ltcube_472348801_472608001_4FGL_J2325.4-4800_daily_bin899.fits outfile=/scratch/kocevski/875628/expmap_472348801_472608001_4FGL_J2325.4-4800_daily_bin899.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/875628/ltcube_472348801_472608001_4FGL_J2325.4-4800_daily_bin899.fits
.....................!
real 189.95
user 184.96
sys 4.60

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/875628/ft1_filtered_4FGL_J2325.4-4800_daily_bin899.fits scfile=/scratch/kocevski/875628/ft2_4FGL_J2325.4-4800_daily_bin899.fits outfile=/scratch/kocevski/875628/cmap_472348801_472608001_4FGL_J2325.4-4800_daily_bin899.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.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875628/ft1_filtered_4FGL_J2325.4-4800_daily_bin899.fits evtable="EVENTS" scfile=/scratch/kocevski/875628/ft2_4FGL_J2325.4-4800_daily_bin899.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875628/Model_4FGL_J2325.4-4800_daily_bin899.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/875628/ft1_filtered_4FGL_J2325.4-4800_daily_bin899.fits.....................!
real 33.66
user 32.37
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10383E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9553       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6963       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8218       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.312       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.361       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.479       1.0000         .10000E-03   10000.    
    18 'norm      '    22.949       1.0000         .10000E-03   10000.    
    19 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.6826       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.2242       1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.493       1.0000         .10000E-03   10000.    
    23 'norm      '    14.515       1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.3543       1.0000         .10000E-03   10000.    
    25 'norm      '    .92849       1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    9.1445       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.0853       1.0000         .10000E-03   10000.    
    32 'Prefactor '    5.2491       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.3266       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .44242       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=   3796.719     FROM MIGRAD    STATUS=CONVERGED    926 CALLS     4801 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    76.908        .42546E-06** at limit **
   2  Prefactor     .10000E-03    16.408        .31935E-05** at limit **
   3  Prefactor     1.8317        173.66        .18790E-04   -.23011E-04
   4  Prefactor     .10000E-03    4.8864        .13100E-07** at limit **
   5  Prefactor     4.6962        6.0997        .16555E-05   -.43272E-04
   6  Prefactor     4.8884        90.085        .30720E-04   -.12143E-04
   7  Prefactor     .10000E-03    2.5880       -.35053E-07** at limit **
   8  norm          14.317        10.359       -.16511E-05    .42017E-05
   9  Prefactor     .10000E-03    2.9798        .48462E-07** at limit **
  10  Prefactor     13.363        42.448       -.13257E-05   -.61283E-05
  11  Prefactor     .10000E-03    2.7866        .34460E-07** at limit **
  12  Prefactor     .10000E-03    14.307        .10650E-05** at limit **
  13  Prefactor     .10000E-03    6.5404        .86531E-07** at limit **
  14  Prefactor     .10000E-03    50.018       -.43826E-06** at limit **
  15  Prefactor     .10000E-03    2.8905        .44587E-08** at limit **
  16  Prefactor     .10000E-03    11.961        .15327E-06** at limit **
  17  Prefactor     11.482        23.330        .87427E-07   -.22919E-04
  18  norm          22.944        21.579        .43254E-06   -.10804E-04
  19  norm          .10000E-03    3.8451       -.16308E-07** at limit **
  20  norm          5.6840        5.6261        .12001E-05    .73863E-04
  21  Prefactor     9.2243        10.873        .13354E-06   -.32832E-04
  22  Prefactor     29.507        71.906        .15953E-04   -.86285E-05
  23  norm          14.513        9.2625       -.15748E-05   -.58646E-04
  24  Prefactor     4.3550        45.813       -.10664E-05   -.46805E-04
  25  norm          .92816        1.8328        .19875E-07   -.53956E-03
  26  norm          .10000E-03    3.1435       -.16061E-06** at limit **
  27  Prefactor     .10000E-03    9.9614       -.15315E-07** at limit **
  28  Prefactor     9.1441        5.3748       -.15791E-06   -.14351E-02
  29  Prefactor     .10000E-03    15.898       -.19998E-05** at limit **
  30  norm          .10000E-03    15.915       -.21635E-05** at limit **
  31  Prefactor     1.0861        8.4915       -.28741E-05   -.72948E-03
  32  Prefactor     5.2496        6.4831        .66583E-06   -.29989E-03
  33  Normalizat    1.3267        .24253       -.23130E-05    .46345E-04
  34  Prefactor     .44235        .22929        .80676E-06   -.84581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.83174
  Prefactor  = 0.0001
  Prefactor  = 4.69623
  Prefactor  = 4.88841
  Prefactor  = 0.0001
  norm       = 14.3168
  Prefactor  = 0.0001
  Prefactor  = 13.3625
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4817
  norm       = 22.9442
  norm       = 0.0001
  norm       = 5.68398
  Prefactor  = 9.22433
  Prefactor  = 29.5074
  norm       = 14.5134
  Prefactor  = 4.35496
  norm       = 0.928164
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.14406
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.08615
  Prefactor  = 5.24963
  Normalizat = 1.32668
  Prefactor  = 0.442348
 **********
 **   18 **HESSE 
 **********

 FCN=   3796.719     FROM HESSE     STATUS=OK           732 CALLS     5533 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    77.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8317        172.00        .29671E-03   -1.5437    
   4  Prefactor     .10000E-03    4.8891        .13303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.6962        6.0833        .16797E-03   -1.5275    
   6  Prefactor     4.8884        86.334        .18321E-03   -1.5266    
   7  Prefactor     .10000E-03    2.5894        .96810E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.317        10.351        .10587E-03   -1.4951    
   9  Prefactor     .10000E-03    3.0340        .10379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.363        42.441        .10958E-03   -1.4977    
  11  Prefactor     .10000E-03    2.8024        .10043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5664        .15388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    50.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.8947        .10231E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.482        22.810        .11824E-03   -1.5030    
  18  norm          22.944        21.551        .83615E-04   -1.4750    
  19  norm          .10000E-03    3.8488        .11794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.6840        5.6323        .14015E-03   -1.5231    
  21  Prefactor     9.2243        10.697        .13196E-03   -1.5100    
  22  Prefactor     29.507        71.373        .73775E-04   -1.4621    
  23  norm          14.513        9.2612        .10513E-03   -1.4946    
  24  Prefactor     4.3550        43.409        .19303E-03   -1.5291    
  25  norm          .92816        1.7083        .95102E-04   -1.5515    
  26  norm          .10000E-03    3.1593        .10662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    9.9880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     9.1441        5.3120        .49944E-03   -1.5103    
  29  Prefactor     .10000E-03    15.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    15.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.0861        8.9501        .33512E-03   -1.5500    
  32  Prefactor     5.2496        6.4733        .16338E-03   -1.5250    
  33  Normalizat    1.3267        .27277        .20351E-03   -.82774    
  34  Prefactor     .44235        .25532        .33924E-03   -1.1470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65186e-09
Minuit parameter uncertainties:
  1  6.64656e-05
  2  4.0952e-05
  3  35.6049
  4  4.93921e-06
  5  6.08412
  6  41.156
  7  3.10365e-06
  8  10.3526
  9  1.02727e-05
  10  42.537
  11  7.12453e-06
  12  2.81221e-05
  13  1.72522e-05
  14  1.87916e-05
  15  1.12619e-06
  16  3.21684e-06
  17  22.827
  18  21.5583
  19  1.19279e-06
  20  5.63287
  21  10.6994
  22  71.5806
  23  9.26215
  24  27.5243
  25  1.70844
  26  2.63949e-05
  27  2.83661e-05
  28  5.31228
  29  1.15113e-05
  30  3.98521e-05
  31  6.23674
  32  6.47417
  33  0.273071
  34  0.255977
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  9.224e+00  1.070e+01  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.423e-01  2.560e-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.327e+00  2.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.60
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 4.60e-08
Energy Flux (Fixed Index): 2.15e-05 +/- 2.50e-05

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

Saving results to:
/scratch/kocevski/875628/likelihoodResults_472348801_472608001_4FGL_J2325.4-4800_daily_bin899.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): 0
logL (Free Index) = 3796.6964473
delta logL = 0.0222507976591

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3796.69389583
delta logL = 0.0248022628439

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8641       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9128       1.0000          .0000       10.000    
     3 'Normalizat'    1.3373       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43710       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=   3796.694     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      256 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8643        9.9967        .12759E-03   -.19422E-03
   2  Index         1.9130        .87537        .96792E-02   -.51127E-04
   3  Normalizat    1.3373        .24833        .20291E-03    .61951E-04
   4  Prefactor     .43709        .24711        .34125E-03    .44208E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.86433
  Index      = 1.91297
  Normalizat = 1.33731
  Prefactor  = 0.437087
 **********
 **   18 **HESSE 
 **********

 FCN=   3796.694     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8643        9.9399        .25517E-04   -1.5080    
   2  Index         1.9130        .86907        .38717E-03   -.66544    
   3  Normalizat    1.3373        .24815        .40582E-04   -.82459    
   4  Prefactor     .43709        .24714        .13650E-04   -1.1496    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95102e-10
Minuit parameter uncertainties:
  1  9.94157
  2  0.876298
  3  0.248376
  4  0.247749
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875628': 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) = 3796.69389581
delta logL = 0.0248022809569

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  9.864e+00  9.942e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.913e+00  8.763e-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:  4.371e-01  2.477e-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.337e+00  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.65
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.91 +/- 0.88
Photon Flux (Free Index): 2.92e-08 +/- 5.33e-08
Energy Flux (Free Index): 2.53e-05 +/- 3.33e-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/875628/cmap_HighResolution_472348801_472608001_4FGL_J2325.4-4800_daily_bin899.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='2.53e-05', photon_flux_error='4.60e-08', dlogl='2.48e-02', energy_flux='2.15e-05', photon_flux2='2.92e-08', job_status='DONE', time_completed='2021-09-29 18:19:14.860646', photon_index_error2='0.88', photon_index2='1.91', ts='2.60', fit_tolerance='1e-08', GAL='0.44', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='3.33e-05', EG='1.33', time_epoch_completed='1632964754.86', return_code='0', job_id='875628', GAL2='0.44', EG2='1.34', return_code2='0', energy_flux_error='2.50e-05', photon_flux_error2='5.33e-08', ts2='2.65', photon_index='2.11' WHERE bin_id='899' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:19:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 875628: <4FGL_J2325.4-4800_daily_bin899> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin899 351.35 -48.0022 472348801 472608001 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 :                                   695.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            836 sec.

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

