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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1361
RA = 351.35, Dec = -48.0022
tmin = 592099201, tmax = 592358401
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='877549', job_status='RUN', time_executed='2021-09-29 18:11:51.047121', time_epoch_executed='1632964311.05' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1361'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877549

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877549/ft1_4FGL_J2325.4-4800_daily_bin1361.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877549/ft2_4FGL_J2325.4-4800_daily_bin1361.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877549/ft1_4FGL_J2325.4-4800_daily_bin1361.fits outfile=/scratch/kocevski/877549/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1361.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=592099201.0 tmax=592358401.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.50
user 3.25
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877549/ft2_4FGL_J2325.4-4800_daily_bin1361.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/877549/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1361.fits evtable="EVENTS" outfile="/scratch/kocevski/877549/ft1_filtered_4FGL_J2325.4-4800_daily_bin1361.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.53
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877549/ft1_filtered_4FGL_J2325.4-4800_daily_bin1361.fits" evtable="EVENTS" scfile=/scratch/kocevski/877549/ft2_4FGL_J2325.4-4800_daily_bin1361.fits sctable="SC_DATA" outfile=/scratch/kocevski/877549/ltcube_592099201_592358401_4FGL_J2325.4-4800_daily_bin1361.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/877549/ft2_4FGL_J2325.4-4800_daily_bin1361.fits
.....................!
real 11.62
user 11.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877549/ft1_filtered_4FGL_J2325.4-4800_daily_bin1361.fits evtable="EVENTS" scfile=/scratch/kocevski/877549/ft2_4FGL_J2325.4-4800_daily_bin1361.fits sctable="SC_DATA" expcube=/scratch/kocevski/877549/ltcube_592099201_592358401_4FGL_J2325.4-4800_daily_bin1361.fits outfile=/scratch/kocevski/877549/expmap_592099201_592358401_4FGL_J2325.4-4800_daily_bin1361.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/877549/ltcube_592099201_592358401_4FGL_J2325.4-4800_daily_bin1361.fits
.....................!
real 189.93
user 184.99
sys 4.58

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/877549/ft1_filtered_4FGL_J2325.4-4800_daily_bin1361.fits scfile=/scratch/kocevski/877549/ft2_4FGL_J2325.4-4800_daily_bin1361.fits outfile=/scratch/kocevski/877549/cmap_592099201_592358401_4FGL_J2325.4-4800_daily_bin1361.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.35 yref=-48.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.974       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .94919E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .22199       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.236       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 '    14.816       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.0932       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.1112       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.7699       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.1441       1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.539       1.0000         .10000E-03   10000.    
    25 'norm      '    1.2368       1.0000         .10000E-03   10000.    
    26 'norm      '    2.0644       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .16894E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    11.697       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .23000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .69160       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0203       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .84424       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=   4570.810     FROM MIGRAD    STATUS=CONVERGED    949 CALLS     4167 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    23.100        .15049E-05** at limit **
   2  Prefactor     16.964        25.264       -.96424E-06   -.16029E-03
   3  Prefactor     .10000E-03    17.636       -.12963E-05** at limit **
   4  Prefactor     .10008E-03    7.9988       -.31575E-06** at limit **
   5  Prefactor     .10000E-03    6.5686        .76982E-06** at limit **
   6  Prefactor     .10000E-03    13.937        .10724E-06** at limit **
   7  Prefactor     .24831        14.600       -.36336E-05    .49497E-03
   8  norm          .10000E-03    6.4205        .81216E-06** at limit **
   9  Prefactor     .10000E-03    1.2990        .19033E-07** at limit **
  10  Prefactor     29.241        28.724        .26862E-06    .80498E-04
  11  Prefactor     .10000E-03    2.1768        .73407E-09** at limit **
  12  Prefactor     .10000E-03    26.806       -.79706E-06** at limit **
  13  Prefactor     14.821        12.730        .46353E-10   -.59727E-04
  14  Prefactor     .10000E-03    40.050        .50615E-06** at limit **
  15  Prefactor     .10000E-03    1.6224        .92057E-08** at limit **
  16  Prefactor     5.0949        28.905        .73222E-05    .37907E-04
  17  Prefactor     .10000E-03    6.1183       -.39447E-06** at limit **
  18  norm          8.1113        10.247        .18139E-07   -.12973E-04
  19  norm          .10000E-03    2.3836       -.11993E-07** at limit **
  20  norm          .10000E-03    2.3928       -.28610E-07** at limit **
  21  Prefactor     9.7700        8.8559        .83138E-06   -.20956E-04
  22  Prefactor     .10001E-03    20.955        .15262E-05** at limit **
  23  norm          3.1431        4.5807        .95250E-07   -.76165E-04
  24  Prefactor     11.539        19.750       -.99092E-06   -.87180E-04
  25  norm          1.2368        1.3828        .58829E-07   -.40826E-03
  26  norm          2.0650        4.7322        .56109E-06    .44155E-04
  27  Prefactor     .10000E-03    5.0268        .48231E-07** at limit **
  28  Prefactor     .10000E-03    2.4935        .11931E-05** at limit **
  29  Prefactor     .10002E-03    28.255       -.24641E-05** at limit **
  30  norm          11.684        15.483       -.26367E-06    .12664E-03
  31  Prefactor     .10000E-03    4.6097       -.16843E-05** at limit **
  32  Prefactor     .67667        4.7576        .80937E-06   -.12711E-03
  33  Normalizat    1.0204        .19495       -.70018E-06   -.82539E-04
  34  Prefactor     .84413        .20066       -.34075E-06   -.87721E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Prefactor  = 16.9641
  Prefactor  = 0.000100004
  Prefactor  = 0.000100082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.248308
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 29.2407
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 14.8211
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.09492
  Prefactor  = 0.0001
  norm       = 8.11134
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.77
  Prefactor  = 0.000100006
  norm       = 3.14305
  Prefactor  = 11.5389
  norm       = 1.23681
  norm       = 2.06504
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100015
  norm       = 11.6836
  Prefactor  = 0.0001
  Prefactor  = 0.67667
  Normalizat = 1.02037
  Prefactor  = 0.844132
 **********
 **   18 **HESSE 
 **********

 FCN=   4570.810     FROM HESSE     STATUS=OK           738 CALLS     4905 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    23.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.964        25.029        .97213E-04   -1.4884    
   3  Prefactor     .10000E-03    17.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10008E-03    123.43        .36820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.348        .33140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .24831        67.060        .37673E-02   -1.5608    
   8  norm          .10000E-03    6.5974        .16844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.3039        .75245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.241        28.743        .74097E-04   -1.4626    
  11  Prefactor     .10000E-03    2.1891        .97396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    26.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.821        12.719        .10406E-03   -1.4938    
  14  Prefactor     .10000E-03    40.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.6231        .84103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.0949        31.504        .89078E-03   -1.5256    
  17  Prefactor     .10000E-03    6.1498        .16359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.1113        10.246        .14078E-03   -1.5138    
  19  norm          .10000E-03    2.3840        .10193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.3943        .10205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.7700        8.9142        .64102E-03   -1.5083    
  22  Prefactor     .10001E-03    21.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.1431        4.5084        .15486E-03   -1.5353    
  24  Prefactor     11.539        19.707        .11793E-03   -1.5028    
  25  norm          1.2368        1.3325        .75831E-04   -1.5486    
  26  norm          2.0650        4.6663        .19791E-03   -1.5421    
  27  Prefactor     .10000E-03    5.0423        .14804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    8.0522        .18547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10002E-03    29.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          11.684        15.085        .11713E-03   -1.5024    
  31  Prefactor     .10000E-03    7.5861        .24843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .67667        8.4744        .25931E-02   -1.5543    
  33  Normalizat    1.0204        .22924        .21859E-03   -.92351    
  34  Prefactor     .84413        .23901        .25642E-03   -.98122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13475e-08
Minuit parameter uncertainties:
  1  0.000724771
  2  25.0447
  3  0.000530085
  4  0.00638122
  5  0.000165611
  6  4.11734e-05
  7  8.16887
  8  0.000195568
  9  5.37292e-07
  10  28.7563
  11  4.2687e-07
  12  0.000410389
  13  12.7213
  14  0.000326151
  15  5.48222e-07
  16  25.3582
  17  9.61778e-05
  18  10.2478
  19  1.00908e-06
  20  2.26875e-06
  21  8.91545
  22  0.000720694
  23  4.50889
  24  19.7183
  25  1.33253
  26  4.66711
  27  9.27805e-06
  28  0.000172594
  29  0.00133029
  30  15.0901
  31  3.46057e-05
  32  4.7898
  33  0.229458
  34  0.239304
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  9.770e+00  8.915e+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:  8.441e-01  2.393e-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.020e+00  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.68
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 4.21e-08 +/- 3.84e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 2.08e-05

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) = 4570.79932892
delta logL = 0.0105451229474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4570.79480892
delta logL = 0.0150651219737

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.631       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0133       1.0000          .0000       10.000    
     3 'Normalizat'    1.0246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84158       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=   4570.795     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      246 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.632        9.6411        .12288E-03   -.35805E-04
   2  Index         2.0133        .54150        .63647E-02    .15231E-04
   3  Normalizat    1.0246        .22129        .21821E-03    .51214E-04
   4  Prefactor     .84157        .23806        .25679E-03   -.58527E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6316
  Index      = 2.01332
  Normalizat = 1.02462
  Prefactor  = 0.84157
 **********
 **   18 **HESSE 
 **********

 FCN=   4570.795     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.632        9.4003        .49152E-05   -1.5056    
   2  Index         2.0133        .52778        .25459E-03   -.64017    
   3  Normalizat    1.0246        .22143        .87285E-05   -.92210    
   4  Prefactor     .84157        .23828        .10272E-04   -.98214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37955e-11
Minuit parameter uncertainties:
  1  9.40164
  2  0.529312
  3  0.221626
  4  0.23857
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877549': 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) = 4570.79480892
delta logL = 0.0150651266013

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.063e+01  9.402e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.013e+00  5.293e-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:  8.416e-01  2.386e-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.025e+00  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.74
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.01 +/- 0.53
Photon Flux (Free Index): 3.81e-08 +/- 3.77e-08
Energy Flux (Free Index): 2.55e-05 +/- 2.62e-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/877549/cmap_HighResolution_592099201_592358401_4FGL_J2325.4-4800_daily_bin1361.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.21e-08', energy_flux2='2.55e-05', photon_flux_error='3.84e-08', dlogl='1.51e-02', energy_flux='2.28e-05', photon_flux2='3.81e-08', job_status='DONE', time_completed='2021-09-29 18:22:52.247192', photon_index_error2='0.53', photon_index2='2.01', ts='4.68', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.62e-05', EG='1.02', time_epoch_completed='1632964972.25', return_code='0', job_id='877549', GAL2='0.84', EG2='1.02', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='3.77e-08', ts2='4.74', photon_index='2.11' WHERE bin_id='1361' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:22:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 877549: <4FGL_J2325.4-4800_daily_bin1361> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1361 351.35 -48.0022 592099201 592358401 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 :                                   637.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            725 sec.

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

