aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 25 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7644
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1747
RA = 306.158, Dec = -32.874
tmin = 692150401, tmax = 692409601
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='812397', job_status='RUN', time_executed='2022-12-11 01:35:52.009978', time_epoch_executed='1670751352.01' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/812397

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/812397/ft1_4FGL_J2024.6-3252_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/812397/ft1_4FGL_J2024.6-3252_daily_bin1747.fits outfile=/scratch/kocevski/812397/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1747.fits ra=306.158 dec=-32.874 rad=12.0 tmin=692150401.0 tmax=692409601.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.97
user 3.74
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.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/812397/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/812397/ft1_filtered_4FGL_J2024.6-3252_daily_bin1747.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 719

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/812397/ft1_filtered_4FGL_J2024.6-3252_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/812397/ltcube_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.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/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.fits
.....................!
real 11.65
user 11.26
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/812397/ft1_filtered_4FGL_J2024.6-3252_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/812397/ltcube_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.fits outfile=/scratch/kocevski/812397/expmap_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.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/812397/ltcube_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.fits
.....................!
real 191.11
user 185.43
sys 5.36

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/812397/ft1_filtered_4FGL_J2024.6-3252_daily_bin1747.fits scfile=/scratch/kocevski/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.fits outfile=/scratch/kocevski/812397/cmap_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/812397/ft1_filtered_4FGL_J2024.6-3252_daily_bin1747.fits scfile=/scratch/kocevski/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.fits outfile=/scratch/kocevski/812397/cmap_HighResolution_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/812397/ft1_filtered_4FGL_J2024.6-3252_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/812397/Model_4FGL_J2024.6-3252_daily_bin1747.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/812397/ft1_filtered_4FGL_J2024.6-3252_daily_bin1747.fits.....................!
real 68.28
user 66.91
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/812397/ft1_filtered_4FGL_J2024.6-3252_daily_bin1747.fits', '/scratch/kocevski/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.fits', expMap='/scratch/kocevski/812397/expmap_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.fits', expCube='/scratch/kocevski/812397/ltcube_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/812397/Model_4FGL_J2024.6-3252_daily_bin1747.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  0.000e+00  1.000e+06 ( 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 -5.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/812397/ft1_filtered_4FGL_J2024.6-3252_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/812397/ft2_4FGL_J2024.6-3252_daily_bin1747.fits
Exposure map: /scratch/kocevski/812397/expmap_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.fits
Exposure cube: /scratch/kocevski/812397/ltcube_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/812397/Model_4FGL_J2024.6-3252_daily_bin1747.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) = 7830.84078297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5409       1.0000          .0000       .10000E+07
     2 'norm      '    .54410E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .20511E-05   1.0000          .0000       .10000E+07
     4 'norm      '    22.998       1.0000          .0000       .10000E+07
     5 'Prefactor '    .81673E-04   1.0000          .0000       .10000E+07
     6 'norm      '    8.7118       1.0000          .0000       .10000E+07
     7 'norm      '    .43875E-03   1.0000          .0000       .10000E+07
     8 'norm      '    14.638       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25286E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .63492E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8895       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14508E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .31982E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    56.098       1.0000          .0000       .10000E+07
    15 'Prefactor '    .23410E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    .83418       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0686       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7830.774     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1182 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5466        1.4879        .64986E-09   -.77423E-04
   2  norm          .74163E-07    8.4307       -.63268E-07** at limit **
   3  Prefactor      .0000        2.5247        .18192E-07** at limit **
   4  norm          23.002        2.7120        .11996E-07    .28341E-02
   5  Prefactor     .44557E-05    9.1337        .79874E-07** at limit **
   6  norm          8.8002        8.7309        .15237E-07    .68003E-04
   7  norm          .11013E-06    8.5709       -.82765E-07** at limit **
   8  norm          14.675        1.3994        .30375E-09    .11089E-02
   9  Prefactor     .18301E-05    12.146        .10867E-06** at limit **
  10  norm          .16653E-09    5.6497       -.22646E-06** at limit **
  11  Prefactor     2.8910        5.5896        .10209E-07   -.17276E-03
  12  Prefactor     .11240E-05    12.742        .11786E-06** at limit **
  13  norm          .14999E-06    12.886        .90358E-07** at limit **
  14  Prefactor     57.719        35.763       -.13493E-07   -.19609E-01
  15  Prefactor     .19540E-07    10.504        .10999E-06** at limit **
  16  Normalizat    .83008        .32732       -.75597E-05   -.12504E-03
  17  Prefactor     1.0692        .11714        .14476E-05   -.18747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.54659
  norm       = 7.41629e-08
  Prefactor  = 0
  norm       = 23.0025
  Prefactor  = 4.45566e-06
  norm       = 8.80025
  norm       = 1.10134e-07
  norm       = 14.675
  Prefactor  = 1.83009e-06
  norm       = 1.66533e-10
  Prefactor  = 2.89101
  Prefactor  = 1.12399e-06
  norm       = 1.49991e-07
  Prefactor  = 57.7186
  Prefactor  = 1.95399e-08
  Normalizat = 0.830077
  Prefactor  = 1.06917
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.774     FROM HESSE     STATUS=OK           253 CALLS     1435 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5466        20.747        .47219E-03   -1.5665    
   2  norm          .74163E-07    8.6138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.5230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          23.002        2.7387        .20857E-03   -1.5612    
   5  Prefactor     .44557E-05    20.611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8002        8.7359        .33936E-03   -1.5649    
   7  norm          .11013E-06    8.8310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.675        15.137        .26153E-03   -1.5631    
   9  Prefactor     .18301E-05    16.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .16653E-09    5.6516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8910        5.6124        .59759E-03   -1.5674    
  12  Prefactor     .11240E-05    25.225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .14999E-06    13.248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     57.719        35.985        .13352E-03   -1.5556    
  15  Prefactor     .19540E-07    24.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .83008        .30042        .11741       -.98963    
  17  Prefactor     1.0692        .10588        .38925E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24603e-07
Minuit parameter uncertainties:
  1  19.4244
  2  0.00159844
  3  3.53252e-06
  4  2.73874
  5  0.019166
  6  8.73593
  7  0.00197256
  8  15.1374
  9  0.0110378
  10  6.12894e-05
  11  5.61238
  12  0.0106495
  13  0.00281911
  14  35.9854
  15  0.00138798
  16  0.301028
  17  0.105899
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.468e+01  1.514e+01  0.000e+00  1.000e+06 ( 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 -5.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:  1.069e+00  1.059e-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:  8.301e-01  3.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.29
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 5.77e-08 +/- 5.95e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.92e-05

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

Saving results to:
/scratch/kocevski/812397/likelihoodResults_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.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) = 7830.23291032
delta logL = 0.540940762692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7830.22661468
delta logL = 0.54723639839

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.3510       1.0000          .0000       .10000E+07
     2 'alpha     '    3.4065       1.0000          .0000       5.0000    
     3 'Normalizat'    .76527       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0839       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=   7830.227     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      281 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3449        18.234        .13867E-04    .30138E-02
   2  alpha         3.4072        1.5729        .18912E-01    .37482E-04
   3  Normalizat    .76525        .32468        .54036E-03    .12215E-03
   4  Prefactor     1.0839        .11839        .16918E-03   -.90518E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.34491
  alpha      = 3.40717
  Normalizat = 0.765249
  Prefactor  = 1.08386
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.227     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3449        12.951        .55467E-06   -1.5650    
   2  alpha         3.4072        1.1692        .75647E-03    .37134    
   3  Normalizat    .76525        .32296        .21614E-04   -1.0137    
   4  Prefactor     1.0839        .11750        .67671E-05   -.89984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18373e-10
Minuit parameter uncertainties:
  1  12.9511
  2  1.22491
  3  0.323774
  4  0.117527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/812397': 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) = 7830.22661451
delta logL = 0.547236570561

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  8.345e+00  1.295e+01  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  3.407e+00  1.225e+00  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  1.491e-01  0.000e+00 -5.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:  1.084e+00  1.175e-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:  7.652e-01  3.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.44
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 3.41 +/- 1.22
Photon Flux (Free Index): 1.14e-07 +/- 9.17e-08
Energy Flux (Free Index): 2.07e-05 +/- 1.60e-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/812397/cmap_HighResolution_692150401_692409601_4FGL_J2024.6-3252_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-05', comment='SUCCESS', photon_flux='5.77e-08', energy_flux2='2.07e-05', photon_flux_error='5.95e-08', dlogl='5.47e-01', energy_flux='1.86e-05', photon_flux2='1.14e-07', job_status='DONE', time_completed='2022-12-11 01:45:31.060794', photon_index_error2='1.22', photon_index2='3.41', ts='1.29', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.86e-07', energy_flux_error2='1.60e-05', EG='0.83', time_epoch_completed='1670751931.06', return_code='0', job_id='812397', GAL2='1.08', EG2='0.77', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='9.17e-08', ts2='2.44', photon_index='2.35' WHERE bin_id='1747' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:45:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 812397: <4FGL_J2024.6-3252_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1747> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Dec 11 01:35:15 2022
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:35:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:35:16 2022
Terminated at Sun Dec 11 01:45:31 2022
Results reported at Sun Dec 11 01:45:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1747 306.158 -32.874 692150401 692409601 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 :                                   581.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            616 sec.

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

