/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 46 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 = 7385
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2024.6-3252_daily_bin977
RA = 306.158, Dec = -32.874
tmin = 492566401, tmax = 492825601
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='890709', job_status='RUN', time_executed='2021-09-25 03:07:06.809574', time_epoch_executed='1632564426.81' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='977'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890709

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890709/ft1_4FGL_J2024.6-3252_daily_bin977.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890709/ft1_4FGL_J2024.6-3252_daily_bin977.fits outfile=/scratch/kocevski/890709/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin977.fits ra=306.158 dec=-32.874 rad=12.0 tmin=492566401.0 tmax=492825601.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.56
user 3.32
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.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/890709/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin977.fits evtable="EVENTS" outfile="/scratch/kocevski/890709/ft1_filtered_4FGL_J2024.6-3252_daily_bin977.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/890709/ft1_filtered_4FGL_J2024.6-3252_daily_bin977.fits" evtable="EVENTS" scfile=/scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits sctable="SC_DATA" outfile=/scratch/kocevski/890709/ltcube_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.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/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits
.....................!
real 14.71
user 14.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890709/ft1_filtered_4FGL_J2024.6-3252_daily_bin977.fits evtable="EVENTS" scfile=/scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits sctable="SC_DATA" expcube=/scratch/kocevski/890709/ltcube_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.fits outfile=/scratch/kocevski/890709/expmap_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.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/890709/ltcube_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.fits
.....................!
real 192.05
user 186.40
sys 5.15

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J2024.6-3252 @ 306.158 -32.874

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/890709/ft1_filtered_4FGL_J2024.6-3252_daily_bin977.fits scfile=/scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits outfile=/scratch/kocevski/890709/cmap_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.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=306.158 yref=-32.874 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.56
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/890709/ft1_filtered_4FGL_J2024.6-3252_daily_bin977.fits scfile=/scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits outfile=/scratch/kocevski/890709/cmap_HighResolution_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.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=306.158 yref=-32.874 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/890709/ft1_filtered_4FGL_J2024.6-3252_daily_bin977.fits evtable="EVENTS" scfile=/scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/890709/Model_4FGL_J2024.6-3252_daily_bin977.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/890709/ft1_filtered_4FGL_J2024.6-3252_daily_bin977.fits.....................!
real 74.53
user 73.14
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/890709/ft1_filtered_4FGL_J2024.6-3252_daily_bin977.fits', '/scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits', expMap='/scratch/kocevski/890709/expmap_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.fits', expCube='/scratch/kocevski/890709/ltcube_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/890709/Model_4FGL_J2024.6-3252_daily_bin977.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2024.6-3252'

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  4.769e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.352e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  1.491e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  5.973e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/890709/ft1_filtered_4FGL_J2024.6-3252_daily_bin977.fits
Spacecraft file(s): /scratch/kocevski/890709/ft2_4FGL_J2024.6-3252_daily_bin977.fits
Exposure map: /scratch/kocevski/890709/expmap_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.fits
Exposure cube: /scratch/kocevski/890709/ltcube_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/890709/Model_4FGL_J2024.6-3252_daily_bin977.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) = 8786.23463684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.3188       1.0000         .10000E-03   10000.    
     4 'norm      '    2.1831       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6751       1.0000         .10000E-03   10000.    
     6 'norm      '    7.2087       1.0000         .10000E-03   10000.    
     7 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    17.664       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .29013E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    6.1386       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12994E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .48616E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    4.7432       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .39970       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.955       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2753       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88698       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+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=   8786.193     FROM MIGRAD    STATUS=CONVERGED    753 CALLS     2100 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.981        .18142E-02** at limit **
   2  norm          .10000E-03    5.2043        .18142E-02** at limit **
   3  Prefactor     7.3214        6.2159        .14826E-03    .13956E-03
   4  norm          2.1833        1.1495        .69713E-04    .29876E-03
   5  Prefactor     4.6803        26.356        .18612E-03   -.18325E-05
   6  norm          7.2087        10.719        .14940E-03    .95121E-04
   7  norm          .10000E-03    18.438        .36285E-03** at limit **
   8  Prefactor     .10000E-03    25.671        .18142E-02** at limit **
   9  norm          17.665        12.221        .95295E-04   -.43664E-04
  10  Prefactor     .10001E-03    309.31        .39729E-03** at limit **
  11  norm          6.1421        9.6817        .16204E-03    .35922E-04
  12  Prefactor     .10000E-03    9.7618        .18142E-02** at limit **
  13  Prefactor     .10000E-03    5.1590        .36285E-03** at limit **
  14  Prefactor     .10000E-03    108.56        .18142E-02** at limit **
  15  Prefactor     .10000E-03    42.919        .19530    ** at limit **
  16  norm          4.7435        10.643        .18475E-03   -.76180E-04
  17  Prefactor     .27819        13.568        .87633E-01    .34188E-03
  18  Prefactor     18.963        22.089        .91994E-04   -.19031E-03
  19  Normalizat    1.2754        .27202        .36535E-03   -.17127E-03
  20  Prefactor     .88687        .10088        .16280E-03   -.11892E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.32136
  norm       = 2.18334
  Prefactor  = 4.68028
  norm       = 7.20874
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 17.6648
  Prefactor  = 0.000100007
  norm       = 6.14209
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.74352
  Prefactor  = 0.278192
  Prefactor  = 18.9626
  Normalizat = 1.27545
  Prefactor  = 0.88687
 **********
 **   18 **HESSE 
 **********

 FCN=   8786.193     FROM HESSE     STATUS=OK           291 CALLS     2391 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.984        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.2043        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.3214        6.2152        .59304E-05   -1.5167    
   4  norm          2.1833        1.1494        .27885E-05   -1.5412    
   5  Prefactor     4.6803        26.346        .74449E-05   -1.5275    
   6  norm          7.2087        10.717        .59759E-05   -1.5171    
   7  norm          .10000E-03    18.439        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    25.673        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          17.665        12.221        .38118E-05   -1.4867    
  10  Prefactor     .10001E-03    309.31        .79457E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1421        9.6820        .64815E-05   -1.5212    
  12  Prefactor     .10000E-03    9.7621        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.1592        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    108.60        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    43.615        .19272       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.7435        10.644        .73901E-05   -1.5272    
  17  Prefactor     .27819        12.510        .92659E-01   -1.5602    
  18  Prefactor     18.963        22.088        .36798E-05   -1.4837    
  19  Normalizat    1.2754        .27205        .14614E-04   -.84302    
  20  Prefactor     .88687        .10095        .32561E-04   -.96601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92557e-09
Minuit parameter uncertainties:
  1  0.000112091
  2  2.57204e-06
  3  6.21572
  4  1.14941
  5  22.2233
  6  10.7203
  7  0.000205295
  8  0.000130332
  9  12.2231
  10  0.00295613
  11  9.68447
  12  4.08601e-05
  13  0.000146041
  14  0.000168089
  15  0.000255686
  16  10.648
  17  3.73115
  18  22.0975
  19  0.272356
  20  0.100969
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.766e+01  1.222e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.352e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  1.491e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  5.973e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  8.869e-01  1.010e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.275e+00  2.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.20
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 6.94e-08 +/- 4.80e-08
Energy Flux (Fixed Index): 2.24e-05 +/- 1.55e-05

TS (Fixed Index): 3.20
Ra Dec: 306.158 -32.874
Photon Flux Upper Limit: 1.68e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/890709/likelihoodResults_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8786.16569325
delta logL = 0.0271991373593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8786.15941091
delta logL = 0.033481480119

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.436       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5347       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88984       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+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=   8786.159     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      248 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.432        13.233        .98791E-04    .25916E-03
   2  alpha         2.5349        .73866        .17684E-01    .75820E-05
   3  Normalizat    1.2633        .26527        .36680E-03    .14431E-03
   4  Prefactor     .88985        .10007        .16256E-03    .25452E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.432
  alpha      = 2.53485
  Normalizat = 1.26333
  Prefactor  = 0.889846
 **********
 **   18 **HESSE 
 **********

 FCN=   8786.159     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.432        12.741        .39516E-05   -1.4897    
   2  alpha         2.5349        .71136        .70737E-03    .13942E-01
   3  Normalizat    1.2633        .26518        .14672E-04   -.84668    
   4  Prefactor     .88985        .10004        .32511E-04   -.96497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00729e-11
Minuit parameter uncertainties:
  1  12.7432
  2  0.721331
  3  0.26546
  4  0.100059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890709': 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) = 8786.15941082
delta logL = 0.0334815671213

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.643e+01  1.274e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.535e+00  7.213e-01  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  1.491e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  5.973e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  8.898e-01  1.001e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.263e+00  2.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.27
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 2.53 +/- 0.72
Photon Flux (Free Index): 7.79e-08 +/- 6.01e-08
Energy Flux (Free Index): 2.17e-05 +/- 1.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/890709/cmap_HighResolution_492566401_492825601_4FGL_J2024.6-3252_daily_bin977.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.42e-05', comment='SUCCESS', photon_flux='6.94e-08', energy_flux2='2.17e-05', photon_flux_error='4.80e-08', dlogl='3.35e-02', energy_flux='2.24e-05', photon_flux2='7.79e-08', job_status='DONE', time_completed='2021-09-25 03:19:47.027179', photon_index_error2='0.72', photon_index2='2.53', ts='3.20', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.68e-07', energy_flux_error2='1.49e-05', EG='1.28', time_epoch_completed='1632565187.03', return_code='0', job_id='890709', GAL2='0.89', EG2='1.26', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='6.01e-08', ts2='3.27', photon_index='2.35' WHERE bin_id='977' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:19:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 890709: <4FGL_J2024.6-3252_daily_bin977> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin977> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 03:06:06 2021
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:06:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 03:06:08 2021
Terminated at Sat Sep 25 03:19:47 2021
Results reported at Sat Sep 25 03:19:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin977 306.158 -32.874 492566401 492825601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2024.6-3252 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   754.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

