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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1728
RA = 306.158, Dec = -32.874
tmin = 687225601, tmax = 687484801
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='304304', job_status='RUN', time_executed='2022-10-15 00:37:04.987675', time_epoch_executed='1665819424.99' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304304

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304304/ft1_4FGL_J2024.6-3252_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304304/ft2_4FGL_J2024.6-3252_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304304/ft1_4FGL_J2024.6-3252_daily_bin1728.fits outfile=/scratch/kocevski/304304/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1728.fits ra=306.158 dec=-32.874 rad=12.0 tmin=687225601.0 tmax=687484801.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 2.79
user 2.51
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304304/ft1_filtered_4FGL_J2024.6-3252_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/304304/ft2_4FGL_J2024.6-3252_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/304304/ltcube_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.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/304304/ft2_4FGL_J2024.6-3252_daily_bin1728.fits
.....................!
real 13.31
user 12.82
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304304/ft1_filtered_4FGL_J2024.6-3252_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304304/ft2_4FGL_J2024.6-3252_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/304304/ltcube_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.fits outfile=/scratch/kocevski/304304/expmap_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.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/304304/ltcube_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.fits
.....................!
real 194.37
user 188.78
sys 5.02

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/304304/ft1_filtered_4FGL_J2024.6-3252_daily_bin1728.fits scfile=/scratch/kocevski/304304/ft2_4FGL_J2024.6-3252_daily_bin1728.fits outfile=/scratch/kocevski/304304/cmap_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.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.59
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304304/ft1_filtered_4FGL_J2024.6-3252_daily_bin1728.fits scfile=/scratch/kocevski/304304/ft2_4FGL_J2024.6-3252_daily_bin1728.fits outfile=/scratch/kocevski/304304/cmap_HighResolution_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/304304/ft1_filtered_4FGL_J2024.6-3252_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304304/ft2_4FGL_J2024.6-3252_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/304304/Model_4FGL_J2024.6-3252_daily_bin1728.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/304304/ft1_filtered_4FGL_J2024.6-3252_daily_bin1728.fits.....................!
real 97.30
user 95.82
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/304304/ft1_filtered_4FGL_J2024.6-3252_daily_bin1728.fits', '/scratch/kocevski/304304/ft2_4FGL_J2024.6-3252_daily_bin1728.fits', expMap='/scratch/kocevski/304304/expmap_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.fits', expCube='/scratch/kocevski/304304/ltcube_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/304304/Model_4FGL_J2024.6-3252_daily_bin1728.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/304304/ft1_filtered_4FGL_J2024.6-3252_daily_bin1728.fits
Spacecraft file(s): /scratch/kocevski/304304/ft2_4FGL_J2024.6-3252_daily_bin1728.fits
Exposure map: /scratch/kocevski/304304/expmap_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.fits
Exposure cube: /scratch/kocevski/304304/ltcube_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/304304/Model_4FGL_J2024.6-3252_daily_bin1728.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) = 12207.6830759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0510       1.0000          .0000       .10000E+07
     2 'norm      '    .11081E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .69252E-05   1.0000          .0000       .10000E+07
     4 'norm      '    8.1979       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.128       1.0000          .0000       .10000E+07
     6 'norm      '    .13210E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30172E-03   1.0000          .0000       .10000E+07
     8 'norm      '    9.2467       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.993       1.0000          .0000       .10000E+07
    10 'norm      '    14.630       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.0273       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.117       1.0000          .0000       .10000E+07
    13 'norm      '    22.411       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9922       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41646E-05   1.0000          .0000       .10000E+07
    16 'Normalizat'    .92413       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1161       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=   12207.64     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      977 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0853        9.0987       -.41010E-06   -.26141E-02
   2  norm           .0000        5.3366       -.21929E-08** at limit **
   3  Prefactor     .39413E-08    8.5808       -.63893E-07** at limit **
   4  norm          8.1992        1.3877       -.11800E-07   -.34240E-02
   5  Prefactor     18.101        3.1024       -.19986E-07    .23499E-02
   6  norm          .16653E-09    3.3701       -.50321E-08** at limit **
   7  norm          .21649E-08    5.1700       -.11071E-06** at limit **
   8  norm          9.1888        10.147       -.32050E-07   -.11878E-01
   9  Prefactor     21.635        43.475       -.33509E-06    .20345E-01
  10  norm          14.510        5.6316       -.73748E-08   -.20967    
  11  Prefactor     5.9349        6.3271       -.36333E-06   -.64780E-02
  12  Prefactor     9.9289        50.665       -.21043E-06    .14689E-01
  13  norm          21.989        21.505        .12627E-06    .37409E-01
  14  Prefactor     7.3358        2.7800       -.60194E-08   -.41642E-01
  15  Prefactor     .33862E-08    13.118       -.47626E-06** at limit **
  16  Normalizat    .92357        .24674        .52215E-05    .83267E-04
  17  Prefactor     1.1161        .92747E-01   -.50779E-06    .15012E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.08529
  norm       = 0
  Prefactor  = 3.94129e-09
  norm       = 8.19918
  Prefactor  = 18.1007
  norm       = 1.66533e-10
  norm       = 2.16493e-09
  norm       = 9.18879
  Prefactor  = 21.6349
  norm       = 14.51
  Prefactor  = 5.93488
  Prefactor  = 9.92885
  norm       = 21.9887
  Prefactor  = 7.33582
  Prefactor  = 3.38618e-09
  Normalizat = 0.923571
  Prefactor  = 1.11609
 **********
 **   18 **HESSE 
 **********

 FCN=   12207.64     FROM HESSE     STATUS=OK           263 CALLS     1240 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0853        9.1155        .58058E-03   -1.5673    
   2  norm           .0000        5.3344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .39413E-08    8.3186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.1992        1.3892        .34991E-03   -1.5651    
   5  Prefactor     18.101        23.406        .23496E-03   -1.5623    
   6  norm          .16653E-09    3.3645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .21649E-08    5.1701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.1888        10.186        .32934E-03   -1.5647    
   9  Prefactor     21.635        44.295        .22954E-03   -1.5615    
  10  norm          14.510        17.845        .26160E-03   -1.5632    
  11  Prefactor     5.9349        6.3623        .40874E-03   -1.5659    
  12  Prefactor     9.9289        53.710        .28752E-03   -1.5645    
  13  norm          21.989        22.055        .21129E-03   -1.5614    
  14  Prefactor     7.3358        18.018        .37915E-03   -1.5654    
  15  Prefactor     .33862E-08    13.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .92357        .22475        .10494       -.95637    
  17  Prefactor     1.1161        .83089E-01    .37005E-01   -.88954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24573e-06
Minuit parameter uncertainties:
  1  9.11552
  2  2.26857e-05
  3  0.000361045
  4  1.38916
  5  23.4064
  6  4.92096e-05
  7  0.000210934
  8  10.186
  9  44.2961
  10  17.8449
  11  6.36226
  12  46.1863
  13  22.0549
  14  18.0181
  15  0.000421844
  16  0.224978
  17  0.0830991
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  9.189e+00  1.019e+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.116e+00  8.310e-02  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:  9.236e-01  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 3.61e-08 +/- 4.00e-08
Energy Flux (Fixed Index): 1.17e-05 +/- 1.29e-05

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

Saving results to:
/scratch/kocevski/304304/likelihoodResults_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.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) = 12207.6182227
delta logL = 0.0237173544465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12207.6160398
delta logL = 0.0259003210813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6295       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5680       1.0000          .0000       5.0000    
     3 'Normalizat'    .91569       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1178       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=   12207.62     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      249 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6267        10.799        .13640E-04    .21521E-02
   2  alpha         2.5678        1.0027        .29498E-01    .14492E-04
   3  Normalizat    .91550        .24408        .46692E-03    .21251E-03
   4  Prefactor     1.1179        .92676E-01    .16228E-03    .60856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.6267
  alpha      = 2.56781
  Normalizat = 0.915498
  Prefactor  = 1.11786
 **********
 **   18 **HESSE 
 **********

 FCN=   12207.62     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6267        10.187        .54558E-06   -1.5649    
   2  alpha         2.5678        .94823        .11799E-02    .27127E-01
   3  Normalizat    .91550        .24398        .18677E-04   -.95918    
   4  Prefactor     1.1179        .92609E-01    .32456E-04   -.88898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13861e-10
Minuit parameter uncertainties:
  1  10.187
  2  0.972601
  3  0.24428
  4  0.0926219
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304304': 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) = 12207.6160392
delta logL = 0.0259008697067

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  8.627e+00  1.019e+01  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.568e+00  9.726e-01  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.118e+00  9.262e-02  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:  9.155e-01  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.08
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 2.57 +/- 0.97
Photon Flux (Free Index): 4.24e-08 +/- 5.05e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.24e-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/304304/cmap_HighResolution_687225601_687484801_4FGL_J2024.6-3252_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.90e-05', comment='SUCCESS', photon_flux='3.61e-08', energy_flux2='1.15e-05', photon_flux_error='4.00e-08', dlogl='2.59e-02', energy_flux='1.17e-05', photon_flux2='4.24e-08', job_status='DONE', time_completed='2022-10-15 00:48:55.339509', photon_index_error2='0.97', photon_index2='2.57', ts='1.03', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.24e-05', EG='0.92', time_epoch_completed='1665820135.34', return_code='0', job_id='304304', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='5.05e-08', ts2='1.08', photon_index='2.35' WHERE bin_id='1728' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:48:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 304304: <4FGL_J2024.6-3252_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1728> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Oct 15 00:35:43 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:35:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:35:43 2022
Terminated at Sat Oct 15 00:48:56 2022
Results reported at Sat Oct 15 00:48:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1728 306.158 -32.874 687225601 687484801 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 :                                   711.43 sec.
    Max Memory :                                 1190 MB
    Average Memory :                             343.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            793 sec.

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

