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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1664
RA = 306.158, Dec = -32.874
tmin = 670636801, tmax = 670896001
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='316591', job_status='RUN', time_executed='2022-04-06 00:37:43.553959', time_epoch_executed='1649230663.55' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316591

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316591/ft1_4FGL_J2024.6-3252_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316591/ft2_4FGL_J2024.6-3252_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316591/ft1_4FGL_J2024.6-3252_daily_bin1664.fits outfile=/scratch/kocevski/316591/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1664.fits ra=306.158 dec=-32.874 rad=12.0 tmin=670636801.0 tmax=670896001.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 5.44
user 5.10
sys 0.26

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

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

Number of photons that the gtmktime cut: 1075

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316591/ft1_filtered_4FGL_J2024.6-3252_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316591/ft2_4FGL_J2024.6-3252_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316591/ltcube_670636801_670896001_4FGL_J2024.6-3252_daily_bin1664.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/316591/ft2_4FGL_J2024.6-3252_daily_bin1664.fits
.....................!
real 11.59
user 11.22
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316591/ft1_filtered_4FGL_J2024.6-3252_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316591/ft2_4FGL_J2024.6-3252_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316591/ltcube_670636801_670896001_4FGL_J2024.6-3252_daily_bin1664.fits outfile=/scratch/kocevski/316591/expmap_670636801_670896001_4FGL_J2024.6-3252_daily_bin1664.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/316591/ltcube_670636801_670896001_4FGL_J2024.6-3252_daily_bin1664.fits
.....................!
real 190.43
user 185.48
sys 4.59

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/316591/ft1_filtered_4FGL_J2024.6-3252_daily_bin1664.fits scfile=/scratch/kocevski/316591/ft2_4FGL_J2024.6-3252_daily_bin1664.fits outfile=/scratch/kocevski/316591/cmap_670636801_670896001_4FGL_J2024.6-3252_daily_bin1664.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316591/ft1_filtered_4FGL_J2024.6-3252_daily_bin1664.fits scfile=/scratch/kocevski/316591/ft2_4FGL_J2024.6-3252_daily_bin1664.fits outfile=/scratch/kocevski/316591/cmap_HighResolution_670636801_670896001_4FGL_J2024.6-3252_daily_bin1664.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/316591/ft1_filtered_4FGL_J2024.6-3252_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316591/ft2_4FGL_J2024.6-3252_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316591/Model_4FGL_J2024.6-3252_daily_bin1664.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/316591/ft1_filtered_4FGL_J2024.6-3252_daily_bin1664.fits.....................!
real 92.11
user 90.66
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.749       1.0000         .10000E-03   10000.    
     2 'norm      '    34.845       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.9593       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.860       1.0000         .10000E-03   10000.    
     6 'norm      '    .10437E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .18436E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10443E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3690       1.0000         .10000E-03   10000.    
    11 'norm      '    15.691       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21317E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4237       1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.612       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14384E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10429E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    35.033       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94822       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1362       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.

 FCN=   11396.80     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2045 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.686        18.336        .35393E-05   -.73313E-04
   2  norm          34.834        21.326        .13611E-05   -.16355E-05
   3  Prefactor     .10016E-03    3.0106        .21352E-05** at limit **
   4  norm          8.9645        1.6188       -.46919E-07   -.62595E-03
   5  Prefactor     16.022        24.649       -.45761E-05   -.14774E-03
   6  norm          .10000E-03    7.2571        .32463E-08** at limit **
   7  norm          .10000E-03    8.9499        .21559E-07** at limit **
   8  Prefactor     .10000E-03    16.065       -.94127E-05** at limit **
   9  norm          .10000E-03    7.3530       -.47756E-07** at limit **
  10  Prefactor     5.0509        131.70        .52167E-04   -.54228E-05
  11  norm          15.713        14.203       -.64080E-05   -.33231E-05
  12  Prefactor     .10000E-03    14.517       -.56625E-06** at limit **
  13  Prefactor     2.4314        4.7359       -.20188E-05   -.95759E-03
  14  Prefactor     62.956        56.003        .19486E-04   -.18521E-05
  15  Prefactor     .10000E-03    39.090       -.23188E-05** at limit **
  16  norm          .10000E-03    6.1209       -.35854E-09** at limit **
  17  Prefactor     .10000E-03    10.784        .13728E-06** at limit **
  18  Prefactor     34.981        19.963       -.84282E-05   -.12655E-04
  19  Normalizat    .94821        .23109       -.32257E-05   -.32436E-03
  20  Prefactor     1.1362        .87700E-01    .24314E-06   -.98627E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6857
  norm       = 34.8337
  Prefactor  = 0.000100158
  norm       = 8.96451
  Prefactor  = 16.0223
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.05089
  norm       = 15.7133
  Prefactor  = 0.0001
  Prefactor  = 2.43141
  Prefactor  = 62.9564
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.9807
  Normalizat = 0.948206
  Prefactor  = 1.13619
 **********
 **   18 **HESSE 
 **********

 FCN=   11396.80     FROM HESSE     STATUS=OK           289 CALLS     2334 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.686        18.311        .10092E-03   -1.4916    
   2  norm          34.834        21.333        .67888E-04   -1.4527    
   3  Prefactor     .10016E-03    15.672        .34871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.9645        1.6180        .54679E-04   -1.5109    
   5  Prefactor     16.022        24.571        .10057E-03   -1.4907    
   6  norm          .10000E-03    7.3850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.0158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.4947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.0509        131.08        .17344E-03   -1.5258    
  11  norm          15.713        14.190        .10111E-03   -1.4915    
  12  Prefactor     .10000E-03    14.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.4314        4.7264        .26289E-03   -1.5396    
  14  Prefactor     62.956        55.946        .50712E-04   -1.4119    
  15  Prefactor     .10000E-03    39.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.1228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.981        19.933        .67706E-04   -1.4524    
  19  Normalizat    .94821        .25661        .46229E-03   -.94786    
  20  Prefactor     1.1362        .98495E-01    .16530E-03   -.88318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06537e-08
Minuit parameter uncertainties:
  1  18.3171
  2  21.338
  3  0.00314361
  4  1.618
  5  24.5867
  6  2.91024e-06
  7  6.47118e-06
  8  1.12451e-05
  9  2.00222e-05
  10  51.5877
  11  14.1929
  12  1.57023e-05
  13  4.72713
  14  55.9926
  15  2.00509e-05
  16  1.95613e-06
  17  3.98954e-05
  18  19.9367
  19  0.256947
  20  0.0985104
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  2.002e-05  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:  1.136e+00  9.851e-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.482e-01  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 306.158 -32.874
Photon Flux Upper Limit: 6.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/316591/likelihoodResults_670636801_670896001_4FGL_J2024.6-3252_daily_bin1664.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) = 11396.7957387
delta logL = -0.000636052218397

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11396.7951027
delta logL = -6.67168933433e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3472       1.0000          .0000       5.0000    
     3 'Normalizat'    .94815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1362       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=   11396.80     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      239 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1541.8        .18142E-02** at limit **
   2  alpha         2.1919        2.7112        .16500       -.13091E-07
   3  Normalizat    .94821        .14384        .46230E-03   -.10968E-03
   4  Prefactor     1.1362        .56225E-01    .16530E-03   -.27976E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.19192
  Normalizat = 0.948206
  Prefactor  = 1.13619
 **********
 **   18 **HESSE 
 **********

 FCN=   11396.80     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.6296        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1919        2.6416        .65999E-02   -.12354    
   3  Normalizat    .94821        .24893        .18492E-04   -.94786    
   4  Prefactor     1.1362        .97349E-01    .33059E-04   -.88318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79559e-11
Minuit parameter uncertainties:
  1  2.03269e-05
  2  327.071
  3  0.24923
  4  0.0973647
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316591': 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) = 11396.7951025
delta logL = 1.12055204227e-07

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  2.033e-05  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.192e+00  3.271e+02  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:  1.136e+00  9.736e-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.482e-01  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 306.158 -32.874

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/316591/cmap_HighResolution_670636801_670896001_4FGL_J2024.6-3252_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.19e-05', job_status='DONE', photon_flux_upper_limit='6.80e-08', time_completed='2022-04-06 00:52:11.198659', job_id='316591', GAL2='1.14', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1649231531.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1664' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:52:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 316591: <4FGL_J2024.6-3252_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:32 2022
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:36 2022
Terminated at Wed Apr  6 00:52:11 2022
Results reported at Wed Apr  6 00:52:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1664 306.158 -32.874 670636801 670896001 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 :                                   869.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            999 sec.

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

