/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 0 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 = 7683
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-4800_daily_bin378
RA = 351.35, Dec = -48.0022
tmin = 337305601, tmax = 337564801
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='872614', job_status='RUN', time_executed='2021-09-29 17:55:31.831100', time_epoch_executed='1632963331.83' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='378'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/872614

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/872614/ft1_4FGL_J2325.4-4800_daily_bin378.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/872614/ft2_4FGL_J2325.4-4800_daily_bin378.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/872614/ft1_4FGL_J2325.4-4800_daily_bin378.fits outfile=/scratch/kocevski/872614/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin378.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=337305601.0 tmax=337564801.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 7.47
user 7.13
sys 0.31

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/872614/ft1_filtered_4FGL_J2325.4-4800_daily_bin378.fits" evtable="EVENTS" scfile=/scratch/kocevski/872614/ft2_4FGL_J2325.4-4800_daily_bin378.fits sctable="SC_DATA" outfile=/scratch/kocevski/872614/ltcube_337305601_337564801_4FGL_J2325.4-4800_daily_bin378.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/872614/ft2_4FGL_J2325.4-4800_daily_bin378.fits
.....................!
real 11.39
user 11.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/872614/ft1_filtered_4FGL_J2325.4-4800_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/872614/ft2_4FGL_J2325.4-4800_daily_bin378.fits sctable="SC_DATA" expcube=/scratch/kocevski/872614/ltcube_337305601_337564801_4FGL_J2325.4-4800_daily_bin378.fits outfile=/scratch/kocevski/872614/expmap_337305601_337564801_4FGL_J2325.4-4800_daily_bin378.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/872614/ltcube_337305601_337564801_4FGL_J2325.4-4800_daily_bin378.fits
.....................!
real 192.77
user 187.00
sys 5.39

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/872614/ft1_filtered_4FGL_J2325.4-4800_daily_bin378.fits scfile=/scratch/kocevski/872614/ft2_4FGL_J2325.4-4800_daily_bin378.fits outfile=/scratch/kocevski/872614/cmap_337305601_337564801_4FGL_J2325.4-4800_daily_bin378.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/872614/ft1_filtered_4FGL_J2325.4-4800_daily_bin378.fits scfile=/scratch/kocevski/872614/ft2_4FGL_J2325.4-4800_daily_bin378.fits outfile=/scratch/kocevski/872614/cmap_HighResolution_337305601_337564801_4FGL_J2325.4-4800_daily_bin378.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/872614/ft1_filtered_4FGL_J2325.4-4800_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/872614/ft2_4FGL_J2325.4-4800_daily_bin378.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/872614/Model_4FGL_J2325.4-4800_daily_bin378.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/872614/ft1_filtered_4FGL_J2325.4-4800_daily_bin378.fits.....................!
real 38.06
user 36.78
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.966       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9256       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.7806       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.758       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5961       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.892       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5089       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.822       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.657       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.094       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .17607       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11333E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    10.663       1.0000         .10000E-03   10000.    
    24 'Prefactor '    22.959       1.0000         .10000E-03   10000.    
    25 'norm      '    16.288       1.0000         .10000E-03   10000.    
    26 'norm      '    .64331E-01   1.0000         .10000E-03   10000.    
    27 'Prefactor '    10.439       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    11.739       1.0000         .10000E-03   10000.    
    30 'norm      '    52.319       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .81445       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .94064       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=   4977.099     FROM MIGRAD    STATUS=CONVERGED    943 CALLS     4848 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.303       -.13468E-05** at limit **
   2  Prefactor     23.958        20.321       -.23668E-06   -.11452E-03
   3  Prefactor     .10000E-03    42.692        .13695E-05** at limit **
   4  Prefactor     4.9219        10.903        .18837E-06   -.63606E-05
   5  Prefactor     4.7791        5.3076       -.23316E-06   -.32195E-04
   6  Prefactor     13.753        29.367        .64731E-06   -.31578E-05
   7  Prefactor     3.5932        6.6755        .26801E-05    .17726E-04
   8  norm          .10000E-03    2.9762        .17771E-07** at limit **
   9  Prefactor     .10000E-03    .99613       -.17488E-06** at limit **
  10  Prefactor     25.870        36.709        .13760E-05   -.35834E-04
  11  Prefactor     1.5069        4.0494        .54539E-05    .13040E-03
  12  Prefactor     18.808        21.477       -.61007E-06   -.23207E-04
  13  Prefactor     .10000E-03    5.3858        .69310E-08** at limit **
  14  Prefactor     .10000E-03    27.263        .76879E-06** at limit **
  15  Prefactor     .10000E-03    2.3937       -.50146E-07** at limit **
  16  Prefactor     22.645        32.110        .56698E-07   -.21535E-04
  17  Prefactor     .10000E-03    7.4480        .82864E-07** at limit **
  18  norm          18.093        12.613        .42360E-07   -.46813E-04
  19  norm          .10000E-03    2.9824        .16224E-07** at limit **
  20  norm          .14818        5.6496        .15626E-05   -.24183E-03
  21  Prefactor     .10000E-03    7.5948        .99576E-09** at limit **
  22  Prefactor     .10003E-03    131.87        .80574E-06** at limit **
  23  norm          10.700        6.0220       -.23724E-06   -.17843E-02
  24  Prefactor     22.961        20.596        .13708E-06   -.83738E-04
  25  norm          16.287        2.8181        .22075E-07   -.25768E-03
  26  norm          .10205E-03    4.0430        .29345E-05** at limit **
  27  Prefactor     10.431        13.893        .28904E-06   -.12710E-04
  28  Prefactor     .10000E-03    3.6469       -.94771E-06** at limit **
  29  Prefactor     11.714        27.652        .62343E-06   -.39378E-04
  30  norm          52.305        34.461        .50596E-06   -.33358E-04
  31  Prefactor     .10000E-03    3.0787       -.25274E-06** at limit **
  32  Prefactor     .10000E-03    1.8644        .91363E-08** at limit **
  33  Normalizat    .81469        .19867       -.75672E-06   -.39941E-03
  34  Prefactor     .94071        .21200       -.13116E-05   -.29118E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 23.9582
  Prefactor  = 0.000100001
  Prefactor  = 4.9219
  Prefactor  = 4.7791
  Prefactor  = 13.7527
  Prefactor  = 3.5932
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.8704
  Prefactor  = 1.50694
  Prefactor  = 18.8081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.6449
  Prefactor  = 0.0001
  norm       = 18.093
  norm       = 0.0001
  norm       = 0.148177
  Prefactor  = 0.0001
  Prefactor  = 0.000100032
  norm       = 10.6996
  Prefactor  = 22.961
  norm       = 16.2869
  norm       = 0.000102047
  Prefactor  = 10.4307
  Prefactor  = 0.000100001
  Prefactor  = 11.7138
  norm       = 52.3048
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.814687
  Prefactor  = 0.940706
 **********
 **   18 **HESSE 
 **********

 FCN=   4977.099     FROM HESSE     STATUS=OK           736 CALLS     5584 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.958        20.321        .81823E-04   -1.4729    
   3  Prefactor     .10000E-03    42.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9219        10.894        .18122E-03   -1.5264    
   5  Prefactor     4.7791        5.3106        .16692E-03   -1.5271    
   6  Prefactor     13.753        29.376        .10799E-03   -1.4966    
   7  Prefactor     3.5932        6.6670        .10654E-02   -1.5329    
   8  norm          .10000E-03    2.9860        .11886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.0028        .68788E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.870        36.755        .78727E-04   -1.4690    
  11  Prefactor     1.5069        4.0582        .11153E-02   -1.5462    
  12  Prefactor     18.808        21.468        .92319E-04   -1.4840    
  13  Prefactor     .10000E-03    5.4194        .15980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4031        .10659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.645        32.119        .84151E-04   -1.4756    
  17  Prefactor     .10000E-03    7.4567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.093        12.614        .94158E-04   -1.4857    
  19  norm          .10000E-03    2.9834        .11898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .14818        36.217        .30824E-02   -1.5631    
  21  Prefactor     .10000E-03    7.7127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10003E-03    132.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          10.700        6.1256        .11242E-03   -1.5054    
  24  Prefactor     22.961        20.552        .83596E-04   -1.4749    
  25  norm          16.287        2.8213        .44479E-04   -1.4901    
  26  norm          .10205E-03    9.3157        .38700E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     10.431        13.895        .12401E-03   -1.5062    
  28  Prefactor     .10000E-03    3.7248        .26243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     11.714        27.487        .11692E-03   -1.5023    
  30  norm          52.305        34.475        .27724E-03   -1.4260    
  31  Prefactor     .10000E-03    3.1020        .12084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.8749        .94017E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .81469        .23501        .25639E-03   -.99526    
  34  Prefactor     .94071        .25086        .26267E-03   -.94733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26885e-09
Minuit parameter uncertainties:
  1  0.000146825
  2  20.3273
  3  0.000384326
  4  10.8983
  5  5.31115
  6  29.4068
  7  6.66835
  8  3.34174e-06
  9  1.20707e-05
  10  36.7872
  11  4.05893
  12  21.4764
  13  3.72643e-06
  14  6.01817e-05
  15  5.08212e-06
  16  32.1439
  17  1.99672e-06
  18  12.6158
  19  1.002e-06
  20  4.63443
  21  1.02776e-05
  22  0.0041317
  23  6.12597
  24  20.5584
  25  2.82131
  26  0.0087346
  27  13.8991
  28  0.000122862
  29  27.5164
  30  34.4881
  31  2.96718e-05
  32  7.56703e-07
  33  0.235305
  34  0.251172
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  1.028e-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:  9.407e-01  2.512e-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:  8.147e-01  2.353e-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.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/872614/likelihoodResults_337305601_337564801_4FGL_J2325.4-4800_daily_bin378.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) = 4977.09929407
delta logL = -0.000617815070655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4977.09867663
delta logL = -3.74430783268e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10588E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1246       1.0000          .0000       10.000    
     3 'Normalizat'    .81461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94081       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=   4977.099     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      238 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10062E-03    237.73        .36285E-03** at limit **
   2  Index         2.1606        6.2995        .50000       -.18299E-04
   3  Normalizat    .81469        .25479E-01    .25638E-03    .63232E-04
   4  Prefactor     .94070        .28030E-01    .26267E-03    .52153E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100621
  Index      = 2.16057
  Normalizat = 0.814689
  Prefactor  = 0.940705
 **********
 **   18 **HESSE 
 **********

 FCN=   4977.099     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .86E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10062E-03    1305.5        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1606        8.7928        .50000       -.60394    
   3  Normalizat    .81469        .82016E-01    .10255E-04   -.99526    
   4  Prefactor     .94070        .89687E-01    .10507E-04   -.94733    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.60098e-08
Minuit parameter uncertainties:
  1  0.0582648
  2  765.493
  3  0.0820282
  4  0.0897006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/872614': 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) = 4977.09867604
delta logL = 2.17642991629e-07

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.006e-04  5.826e-02  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.161e+00  7.655e+02  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:  9.407e-01  8.970e-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:  8.147e-01  8.203e-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/872614/cmap_HighResolution_337305601_337564801_4FGL_J2325.4-4800_daily_bin378.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.52e-08', time_completed='2021-09-29 18:10:01.292335', job_id='872614', GAL2='0.94', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1632964201.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='378' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:10:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 872614: <4FGL_J2325.4-4800_daily_bin378> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin378> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:55:22 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:55:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:55:24 2021
Terminated at Wed Sep 29 18:10:02 2021
Results reported at Wed Sep 29 18:10:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin378 351.35 -48.0022 337305601 337564801 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 :                                   864.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            880 sec.

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

