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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1276
RA = 351.35, Dec = -48.0022
tmin = 570067201, tmax = 570326401
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='877417', job_status='RUN', time_executed='2021-09-29 18:13:41.524151', time_epoch_executed='1632964421.52' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877417

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877417/ft1_4FGL_J2325.4-4800_daily_bin1276.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877417/ft2_4FGL_J2325.4-4800_daily_bin1276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877417/ft1_4FGL_J2325.4-4800_daily_bin1276.fits outfile=/scratch/kocevski/877417/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1276.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=570067201.0 tmax=570326401.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.62
user 3.41
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877417/ft1_filtered_4FGL_J2325.4-4800_daily_bin1276.fits" evtable="EVENTS" scfile=/scratch/kocevski/877417/ft2_4FGL_J2325.4-4800_daily_bin1276.fits sctable="SC_DATA" outfile=/scratch/kocevski/877417/ltcube_570067201_570326401_4FGL_J2325.4-4800_daily_bin1276.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/877417/ft2_4FGL_J2325.4-4800_daily_bin1276.fits
.....................!
real 12.95
user 12.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877417/ft1_filtered_4FGL_J2325.4-4800_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/877417/ft2_4FGL_J2325.4-4800_daily_bin1276.fits sctable="SC_DATA" expcube=/scratch/kocevski/877417/ltcube_570067201_570326401_4FGL_J2325.4-4800_daily_bin1276.fits outfile=/scratch/kocevski/877417/expmap_570067201_570326401_4FGL_J2325.4-4800_daily_bin1276.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/877417/ltcube_570067201_570326401_4FGL_J2325.4-4800_daily_bin1276.fits
.....................!
real 191.28
user 185.57
sys 5.33

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/877417/ft1_filtered_4FGL_J2325.4-4800_daily_bin1276.fits scfile=/scratch/kocevski/877417/ft2_4FGL_J2325.4-4800_daily_bin1276.fits outfile=/scratch/kocevski/877417/cmap_570067201_570326401_4FGL_J2325.4-4800_daily_bin1276.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.57
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877417/ft1_filtered_4FGL_J2325.4-4800_daily_bin1276.fits scfile=/scratch/kocevski/877417/ft2_4FGL_J2325.4-4800_daily_bin1276.fits outfile=/scratch/kocevski/877417/cmap_HighResolution_570067201_570326401_4FGL_J2325.4-4800_daily_bin1276.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.58
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877417/ft1_filtered_4FGL_J2325.4-4800_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/877417/ft2_4FGL_J2325.4-4800_daily_bin1276.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877417/Model_4FGL_J2325.4-4800_daily_bin1276.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/877417/ft1_filtered_4FGL_J2325.4-4800_daily_bin1276.fits.....................!
real 30.81
user 29.42
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.418       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14200E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.837       1.0000         .10000E-03   10000.    
     8 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.6380       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.705       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16615E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.642       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.069       1.0000         .10000E-03   10000.    
    18 'norm      '    29.893       1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.0247       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .46796E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.5736       1.0000         .10000E-03   10000.    
    25 'norm      '    .66106       1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    20.209       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10730E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10862E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    5.1385       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .98410       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .58433       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=   3524.988     FROM MIGRAD    STATUS=CONVERGED    922 CALLS     4832 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.288       -.88181E-06** at limit **
   2  Prefactor     .10000E-03    5.5308       -.78576E-06** at limit **
   3  Prefactor     .10000E-03    12.588        .27740E-05** at limit **
   4  Prefactor     17.415        13.116       -.11205E-07   -.13529E-04
   5  Prefactor     .10000E-03    22.104        .30808E-05** at limit **
   6  Prefactor     .10000E-03    15.426       -.19941E-05** at limit **
   7  Prefactor     10.834        9.4597        .41998E-07   -.35492E-04
   8  norm          .10000E-03    2.9439        .44066E-08** at limit **
   9  Prefactor     .10000E-03    2.4250        .54644E-07** at limit **
  10  Prefactor     .10000E-03    17.408       -.16005E-05** at limit **
  11  Prefactor     8.6395        7.1197       -.24109E-05    .29823E-03
  12  Prefactor     .10000E-03    25.493        .26069E-05** at limit **
  13  Prefactor     20.703        14.166        .38860E-06    .40648E-06
  14  Prefactor     .10000E-03    71.754       -.10130E-04** at limit **
  15  Prefactor     .10001E-03    6.0625       -.29881E-06** at limit **
  16  Prefactor     36.657        47.816       -.55925E-05   -.10234E-03
  17  Prefactor     13.068        16.114        .26240E-06    .39519E-04
  18  norm          29.894        18.202       -.96481E-07    .28956E-04
  19  norm          .10000E-03    2.6377        .12556E-07** at limit **
  20  norm          4.0244        4.0693       -.29651E-06   -.62636E-04
  21  Prefactor     .10000E-03    6.9027       -.10906E-05** at limit **
  22  Prefactor     .10001E-03    116.99       -.19801E-04** at limit **
  23  norm          .10000E-03    1.3923       -.24347E-06** at limit **
  24  Prefactor     5.5852        16.647       -.81249E-06    .74402E-04
  25  norm          .66176        1.0379       -.81496E-07    .22283E-03
  26  norm          .10000E-03    .99446       -.79236E-07** at limit **
  27  Prefactor     20.207        20.851        .13945E-06    .22902E-04
  28  Prefactor     .10000E-03    2.1486        .21044E-07** at limit **
  29  Prefactor     .10000E-03    6.2391        .21051E-05** at limit **
  30  norm          .10000E-03    69.929       -.11131E-04** at limit **
  31  Prefactor     5.1564        6.1011       -.76270E-06    .27861E-03
  32  Prefactor     .10000E-03    3.9450        .21866E-06** at limit **
  33  Normalizat    .98375        .19934       -.11010E-05    .14920E-03
  34  Prefactor     .58460        .20855        .29020E-05    .41788E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4149
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8342
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.63952
  Prefactor  = 0.000100001
  Prefactor  = 20.7025
  Prefactor  = 0.000100002
  Prefactor  = 0.000100007
  Prefactor  = 36.6573
  Prefactor  = 13.0685
  norm       = 29.8939
  norm       = 0.0001
  norm       = 4.02437
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 5.58524
  norm       = 0.66176
  norm       = 0.0001
  Prefactor  = 20.207
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 5.15643
  Prefactor  = 0.0001
  Normalizat = 0.98375
  Prefactor  = 0.5846
 **********
 **   18 **HESSE 
 **********

 FCN=   3524.988     FROM HESSE     STATUS=OK           732 CALLS     5564 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5366        .13643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.415        13.114        .95967E-04   -1.4873    
   5  Prefactor     .10000E-03    22.920        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.834        9.4697        .12170E-03   -1.5050    
   8  norm          .10000E-03    2.9443        .99492E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.4571        .90249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.6395        7.3399        .68194E-03   -1.5120    
  12  Prefactor     .10000E-03    25.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.703        14.149        .88024E-04   -1.4798    
  14  Prefactor     .10000E-03    72.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    14.506        .28031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     36.657        48.392        .66208E-04   -1.4496    
  17  Prefactor     13.068        16.067        .11080E-03   -1.4985    
  18  norm          29.894        18.209        .73280E-04   -1.4614    
  19  norm          .10000E-03    2.6382        .94169E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.0244        4.0594        .11702E-03   -1.5307    
  21  Prefactor     .10000E-03    6.9485        .15159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    116.89        .56597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.3956        .68336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.5852        16.425        .17017E-03   -1.5235    
  25  norm          .66176        .96207        .69084E-03   -1.5545    
  26  norm          .10000E-03    .99521        .57816E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     20.207        20.838        .89097E-04   -1.4809    
  28  Prefactor     .10000E-03    4.0188        .16661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    6.2764        .14525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    71.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     5.1564        6.0297        .14791E-03   -1.5254    
  32  Prefactor     .10000E-03    4.0965        .23000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .98375        .24004        .19973E-03   -.93577    
  34  Prefactor     .58460        .24990        .27515E-03   -1.0824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01093e-09
Minuit parameter uncertainties:
  1  4.09512e-05
  2  1.89624e-05
  3  0.000104335
  4  13.116
  5  7.6135e-06
  6  8.30878e-05
  7  9.47105
  8  5.55906e-07
  9  1.03522e-05
  10  6.63069e-05
  11  7.34063
  12  0.000268238
  13  14.1508
  14  0.000836861
  15  0.000627012
  16  48.444
  17  16.0718
  18  18.2123
  19  6.47046e-07
  20  4.05971
  21  1.10448e-05
  22  0.00177421
  23  1.61726e-06
  24  16.4387
  25  0.962096
  26  6.16915e-07
  27  20.8452
  28  8.97613e-05
  29  5.87435e-05
  30  0.000423823
  31  6.03042
  32  4.10578e-06
  33  0.240306
  34  0.250374
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  1.104e-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:  5.846e-01  2.504e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.837e-01  2.403e-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: 7.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877417/likelihoodResults_570067201_570326401_4FGL_J2325.4-4800_daily_bin1276.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) = 3524.98860321
delta logL = -0.000686274562668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3524.98791656
delta logL = 3.70140696759e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1407       1.0000          .0000       10.000    
     3 'Normalizat'    .98375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58459       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=   3524.988     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      214 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.878        .90712E-02** at limit **
   2  Index         2.1810        6.1806        .50000       -.52052E-04
   3  Normalizat    .98375        .11240E-01    .45963E-01    .11270E-06
   4  Prefactor     .58460        .12254E-01    .62191E-01   -.21872E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.18097
  Normalizat = 0.983749
  Prefactor  = 0.584601
 **********
 **   18 **HESSE 
 **********

 FCN=   3524.988     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      247 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    848.07        .32124E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1810        8.8821        .50000       -.59899    
   3  Normalizat    .98375        .56310E-01    .19973E-03   -.93577    
   4  Prefactor     .58460        .61304E-01    .27515E-03   -1.0824    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.90186e-07
Minuit parameter uncertainties:
  1  0.00238578
  2  43.5452
  3  0.0563129
  4  0.0613111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877417': 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) = 3524.98791609
delta logL = 8.46502189233e-07

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  2.386e-03  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.181e+00  4.355e+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:  5.846e-01  6.131e-02  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.837e-01  5.631e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.59e-03', job_status='DONE', photon_flux_upper_limit='7.39e-08', time_completed='2021-09-29 18:25:49.607482', job_id='877417', GAL2='0.58', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1632965149.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='8.47e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1276' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:25:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 877417: <4FGL_J2325.4-4800_daily_bin1276> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1276 351.35 -48.0022 570067201 570326401 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 :                                   675.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            916 sec.

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

