/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 12 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_bin1144
RA = 351.35, Dec = -48.0022
tmin = 535852801, tmax = 536112001
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='877212', job_status='RUN', time_executed='2021-09-29 18:10:39.324561', time_epoch_executed='1632964239.32' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1144'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877212

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877212/ft1_4FGL_J2325.4-4800_daily_bin1144.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877212/ft2_4FGL_J2325.4-4800_daily_bin1144.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877212/ft1_4FGL_J2325.4-4800_daily_bin1144.fits outfile=/scratch/kocevski/877212/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1144.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=535852801.0 tmax=536112001.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.57
user 3.35
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877212/ft1_filtered_4FGL_J2325.4-4800_daily_bin1144.fits" evtable="EVENTS" scfile=/scratch/kocevski/877212/ft2_4FGL_J2325.4-4800_daily_bin1144.fits sctable="SC_DATA" outfile=/scratch/kocevski/877212/ltcube_535852801_536112001_4FGL_J2325.4-4800_daily_bin1144.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/877212/ft2_4FGL_J2325.4-4800_daily_bin1144.fits
.....................!
real 12.00
user 11.65
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877212/ft1_filtered_4FGL_J2325.4-4800_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/877212/ft2_4FGL_J2325.4-4800_daily_bin1144.fits sctable="SC_DATA" expcube=/scratch/kocevski/877212/ltcube_535852801_536112001_4FGL_J2325.4-4800_daily_bin1144.fits outfile=/scratch/kocevski/877212/expmap_535852801_536112001_4FGL_J2325.4-4800_daily_bin1144.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/877212/ltcube_535852801_536112001_4FGL_J2325.4-4800_daily_bin1144.fits
.....................!
real 190.01
user 184.85
sys 4.73

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/877212/ft1_filtered_4FGL_J2325.4-4800_daily_bin1144.fits scfile=/scratch/kocevski/877212/ft2_4FGL_J2325.4-4800_daily_bin1144.fits outfile=/scratch/kocevski/877212/cmap_535852801_536112001_4FGL_J2325.4-4800_daily_bin1144.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.52
user 0.37
sys 0.14

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .12900E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    84.024       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.036       1.0000         .10000E-03   10000.    
     8 'norm      '    7.9580       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4207       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.761       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3894       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.3293       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.574       1.0000         .10000E-03   10000.    
    18 'norm      '    14.009       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.6862       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.520       1.0000         .10000E-03   10000.    
    22 'Prefactor '    36.175       1.0000         .10000E-03   10000.    
    23 'norm      '    .39589E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    2.7079       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    17.986       1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .12086E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1178       1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.0029       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=   5093.461     FROM MIGRAD    STATUS=CONVERGED    922 CALLS     4924 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    48.253        .18871E-04** at limit **
   2  Prefactor     .10000E-03    74.878       -.28056E-04** at limit **
   3  Prefactor     84.015        60.870       -.64277E-05    .23432E-03
   4  Prefactor     .10000E-03    5.4141        .81064E-06** at limit **
   5  Prefactor     .10000E-03    5.0623       -.56777E-06** at limit **
   6  Prefactor     .10000E-03    20.521        .48903E-05** at limit **
   7  Prefactor     16.036        12.552        .56144E-06    .13797E-03
   8  norm          7.9578        7.0936        .13887E-07    .29373E-04
   9  Prefactor     1.4203        3.8439       -.79740E-06   -.74058E-03
  10  Prefactor     23.759        47.811       -.18935E-05    .71315E-05
  11  Prefactor     4.3898        5.2385       -.20946E-06   -.27383E-03
  12  Prefactor     .10000E-03    21.689       -.12923E-05** at limit **
  13  Prefactor     .10000E-03    8.0556        .24644E-05** at limit **
  14  Prefactor     .10000E-03    57.589        .20886E-04** at limit **
  15  Prefactor     8.3293        10.527       -.11108E-06   -.36818E-04
  16  Prefactor     .10000E-03    14.157        .37705E-05** at limit **
  17  Prefactor     14.576        16.634       -.15729E-06    .67498E-04
  18  norm          14.009        12.827       -.10064E-06    .38299E-04
  19  norm          .10000E-03    4.5861        .19394E-07** at limit **
  20  norm          2.6866        4.4641       -.10906E-05    .58690E-03
  21  Prefactor     12.521        8.5805       -.21370E-06    .25827E-03
  22  Prefactor     36.186        42.860        .99461E-05    .44630E-03
  23  norm          .10001E-03    4.0302       -.20280E-05** at limit **
  24  Prefactor     .10000E-03    12.690       -.48483E-05** at limit **
  25  norm          .10000E-03    .73314       -.10725E-06** at limit **
  26  norm          2.7080        3.3211       -.31769E-06    .36989E-03
  27  Prefactor     .10000E-03    33.581       -.16103E-04** at limit **
  28  Prefactor     .10000E-03    3.1116       -.19549E-06** at limit **
  29  Prefactor     17.992        27.759        .58914E-05    .16860E-03
  30  norm          .10000E-03    8.1362        .25270E-05** at limit **
  31  Prefactor     .10002E-03    3.6021       -.15232E-05** at limit **
  32  Prefactor     .10000E-03    2.0275        .21014E-07** at limit **
  33  Normalizat    1.1177        .21402       -.14329E-06    .76762E-03
  34  Prefactor     1.0031        .22318        .32294E-06    .53784E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 84.0155
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0362
  norm       = 7.95777
  Prefactor  = 1.42033
  Prefactor  = 23.7592
  Prefactor  = 4.3898
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.32927
  Prefactor  = 0.0001
  Prefactor  = 14.5757
  norm       = 14.0091
  norm       = 0.0001
  norm       = 2.6866
  Prefactor  = 12.5208
  Prefactor  = 36.1858
  norm       = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.70798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.9924
  norm       = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  Normalizat = 1.11768
  Prefactor  = 1.00305
 **********
 **   18 **HESSE 
 **********

 FCN=   5093.461     FROM HESSE     STATUS=OK           724 CALLS     5648 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    74.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     84.015        60.498        .43823E-04   -1.3872    
   4  Prefactor     .10000E-03    5.4184        .16218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.0825        .15678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.036        12.557        .10002E-03   -1.4907    
   8  norm          7.9578        7.0992        .14213E-03   -1.5144    
   9  Prefactor     1.4203        3.8294        .21729E-03   -1.5470    
  10  Prefactor     23.759        47.640        .82176E-04   -1.4733    
  11  Prefactor     4.3898        5.2388        .17080E-03   -1.5289    
  12  Prefactor     .10000E-03    21.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.1310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    57.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.3293        10.518        .13891E-03   -1.5131    
  16  Prefactor     .10000E-03    14.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.576        16.461        .10492E-03   -1.4944    
  18  norm          14.009        12.829        .10701E-03   -1.4959    
  19  norm          .10000E-03    4.6237        .14920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.6866        4.2843        .17900E-03   -1.5380    
  21  Prefactor     12.521        8.4719        .11321E-03   -1.5000    
  22  Prefactor     36.186        40.549        .66632E-04   -1.4504    
  23  norm          .10001E-03    30.248        .23927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    12.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.0973        .11489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.7080        3.3009        .13790E-03   -1.5379    
  27  Prefactor     .10000E-03    33.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    3.1691        .24479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     17.992        27.550        .94439E-04   -1.4859    
  30  norm          .10000E-03    8.1341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10002E-03    7.6947        .25862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.0432        .99214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.1177        .25887        .24477E-03   -.89186    
  34  Prefactor     1.0031        .26925        .27579E-03   -.92628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55143e-09
Minuit parameter uncertainties:
  1  2.26356e-05
  2  0.000733343
  3  60.5421
  4  4.35682e-06
  5  1.71773e-05
  6  2.35893e-06
  7  12.5588
  8  7.09994
  9  3.83009
  10  47.7162
  11  5.23938
  12  1.0274e-06
  13  9.60016e-06
  14  1.3724e-05
  15  10.5206
  16  2.41954e-07
  17  16.4661
  18  12.8315
  19  2.03536e-06
  20  4.28479
  21  8.47274
  22  40.5795
  23  0.000811488
  24  2.953e-06
  25  2.76009e-06
  26  3.30117
  27  0.000246549
  28  1.2316e-05
  29  27.5699
  30  5.94182e-06
  31  0.000689059
  32  3.94293e-06
  33  0.259165
  34  0.269612
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.003e+00  2.696e-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.118e+00  2.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.97
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 3.65e-08
Energy Flux (Fixed Index): 2.92e-05 +/- 1.98e-05

TS (Fixed Index): 3.97
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877212/likelihoodResults_535852801_536112001_4FGL_J2325.4-4800_daily_bin1144.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) = 5093.37447962
delta logL = 0.0863090473931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5093.36489894
delta logL = 0.0958897275332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4629       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3207       1.0000          .0000       10.000    
     3 'Normalizat'    1.1051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0114       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=   5093.365     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      308 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4593        10.762        .65138E-03   -.24700E-03
   2  Index         2.3201        .56560        .42953E-02   -.56943E-04
   3  Normalizat    1.1051        .24822        .24591E-03   -.29218E-04
   4  Prefactor     1.0116        .26583        .27492E-03   -.43834E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.45934
  Index      = 2.3201
  Normalizat = 1.1051
  Prefactor  = 1.01157
 **********
 **   18 **HESSE 
 **********

 FCN=   5093.365     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4593        9.5961        .26055E-04   -1.5093    
   2  Index         2.3201        .50443        .17181E-03   -.56567    
   3  Normalizat    1.1051        .24824        .98364E-05   -.89588    
   4  Prefactor     1.0116        .26590        .10997E-04   -.92345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33314e-11
Minuit parameter uncertainties:
  1  9.59763
  2  0.505643
  3  0.248501
  4  0.266245
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877212': 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) = 5093.36489491
delta logL = 0.0958937648611

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.012e+00  2.662e-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.105e+00  2.485e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.17
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.32 +/- 0.51
Photon Flux (Free Index): 6.40e-08 +/- 4.53e-08
Energy Flux (Free Index): 2.35e-05 +/- 1.84e-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/877212/cmap_HighResolution_535852801_536112001_4FGL_J2325.4-4800_daily_bin1144.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.99e-03', comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='2.35e-05', photon_flux_error='3.65e-08', dlogl='9.59e-02', energy_flux='2.92e-05', photon_flux2='6.40e-08', job_status='DONE', time_completed='2021-09-29 18:24:47.170627', photon_index_error2='0.51', photon_index2='2.32', ts='3.97', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='1.84e-05', EG='1.12', time_epoch_completed='1632965087.17', return_code='0', job_id='877212', GAL2='1.01', EG2='1.11', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='4.53e-08', ts2='4.17', photon_index='2.11' WHERE bin_id='1144' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:24:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 877212: <4FGL_J2325.4-4800_daily_bin1144> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1144 351.35 -48.0022 535852801 536112001 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 :                                   844.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            869 sec.

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

