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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1691
RA = 306.158, Dec = -32.874
tmin = 677635201, tmax = 677894401
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='310876', job_status='RUN', time_executed='2022-06-26 01:13:49.286491', time_epoch_executed='1656231229.29' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1691'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/310876

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/310876/ft1_4FGL_J2024.6-3252_daily_bin1691.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/310876/ft2_4FGL_J2024.6-3252_daily_bin1691.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/310876/ft1_4FGL_J2024.6-3252_daily_bin1691.fits outfile=/scratch/kocevski/310876/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1691.fits ra=306.158 dec=-32.874 rad=12.0 tmin=677635201.0 tmax=677894401.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.38
user 2.14
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/310876/ft2_4FGL_J2024.6-3252_daily_bin1691.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/310876/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1691.fits evtable="EVENTS" outfile="/scratch/kocevski/310876/ft1_filtered_4FGL_J2024.6-3252_daily_bin1691.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.54
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 141

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/310876/ft1_filtered_4FGL_J2024.6-3252_daily_bin1691.fits" evtable="EVENTS" scfile=/scratch/kocevski/310876/ft2_4FGL_J2024.6-3252_daily_bin1691.fits sctable="SC_DATA" outfile=/scratch/kocevski/310876/ltcube_677635201_677894401_4FGL_J2024.6-3252_daily_bin1691.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/310876/ft2_4FGL_J2024.6-3252_daily_bin1691.fits
.....................!
real 15.61
user 15.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/310876/ft1_filtered_4FGL_J2024.6-3252_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/310876/ft2_4FGL_J2024.6-3252_daily_bin1691.fits sctable="SC_DATA" expcube=/scratch/kocevski/310876/ltcube_677635201_677894401_4FGL_J2024.6-3252_daily_bin1691.fits outfile=/scratch/kocevski/310876/expmap_677635201_677894401_4FGL_J2024.6-3252_daily_bin1691.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/310876/ltcube_677635201_677894401_4FGL_J2024.6-3252_daily_bin1691.fits
.....................!
real 192.71
user 186.45
sys 5.22

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/310876/ft1_filtered_4FGL_J2024.6-3252_daily_bin1691.fits scfile=/scratch/kocevski/310876/ft2_4FGL_J2024.6-3252_daily_bin1691.fits outfile=/scratch/kocevski/310876/cmap_677635201_677894401_4FGL_J2024.6-3252_daily_bin1691.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/310876/ft1_filtered_4FGL_J2024.6-3252_daily_bin1691.fits scfile=/scratch/kocevski/310876/ft2_4FGL_J2024.6-3252_daily_bin1691.fits outfile=/scratch/kocevski/310876/cmap_HighResolution_677635201_677894401_4FGL_J2024.6-3252_daily_bin1691.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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/310876/ft1_filtered_4FGL_J2024.6-3252_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/310876/ft2_4FGL_J2024.6-3252_daily_bin1691.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/310876/Model_4FGL_J2024.6-3252_daily_bin1691.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/310876/ft1_filtered_4FGL_J2024.6-3252_daily_bin1691.fits.....................!
real 26.44
user 25.07
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10858E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    33.033       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11808E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11256E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .76384E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    75.840       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11406E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .20692E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10515E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    95.937       1.0000         .10000E-03   10000.    
    15 'Prefactor '    88.178       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5567       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10635E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8835       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2209       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .72148       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=   1674.303     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2028 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    98.733       -.64226E-05** at limit **
   2  norm          .10000E-03    81.576        .67608E-05** at limit **
   3  Prefactor     .10000E-03    61.468       -.43040E-05** at limit **
   4  norm          33.033        10.197        .13591E-06    .28307E-03
   5  Prefactor     .10000E-03    201.52        .23452E-04** at limit **
   6  norm          .10000E-03    80.409        .75417E-05** at limit **
   7  norm          .10000E-03    35.796        .52057E-06** at limit **
   8  Prefactor     .10004E-03    6633.2       -.17199E-03** at limit **
   9  norm          75.839        54.845        .69886E-06    .44930E-04
  10  Prefactor     .10000E-03    151.55       -.15184E-04** at limit **
  11  norm          .10000E-03    44.071        .11579E-05** at limit **
  12  Prefactor     .10000E-03    93.804       -.44493E-05** at limit **
  13  Prefactor     .10000E-03    19.544       -.97739E-06** at limit **
  14  Prefactor     95.564        244.82       -.43015E-04   -.29301E-04
  15  Prefactor     88.438        207.32       -.36673E-04   -.30967E-04
  16  norm          1.1514        1691.0        .15927E-03   -.14878E-04
  17  Prefactor     .10000E-03    32.459        .64882E-06** at limit **
  18  Prefactor     2.1176        623.06        .20454E-04    .77431E-05
  19  Normalizat    1.2204        .57414       -.14158E-04    .29831E-04
  20  Prefactor     .72176        .20774       -.11047E-05   -.23639E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 33.0332
  Prefactor  = 0.000100002
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100045
  norm       = 75.8391
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 95.5642
  Prefactor  = 88.4384
  norm       = 1.15137
  Prefactor  = 0.0001
  Prefactor  = 2.11757
  Normalizat = 1.22039
  Prefactor  = 0.721758
 **********
 **   18 **HESSE 
 **********

 FCN=   1674.303     FROM HESSE     STATUS=OK           281 CALLS     2309 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    98.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    81.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    61.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          33.033        10.192        .69719E-04   -1.4558    
   5  Prefactor     .10000E-03    202.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    80.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    35.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10004E-03    6644.9        .18556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          75.839        54.936        .46108E-04   -1.3964    
  10  Prefactor     .10000E-03    151.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    44.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    93.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.671        .17656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     95.564        247.99        .20518E-03   -1.3750    
  15  Prefactor     88.438        220.18        .21393E-03   -1.3824    
  16  norm          1.1514        2073.8        .34118E-02   -1.5493    
  17  Prefactor     .10000E-03    32.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1176        628.58        .30329E-03   -1.5417    
  19  Normalizat    1.2204        .68543        .38071E-03   -.85975    
  20  Prefactor     .72176        .25177        .18087E-03   -1.0268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90239e-10
Minuit parameter uncertainties:
  1  0.000161139
  2  0.000237991
  3  7.21828e-05
  4  10.193
  5  0.00135107
  6  0.000462172
  7  9.33567e-05
  8  0.0258514
  9  54.9727
  10  0.000476463
  11  0.000281649
  12  0.00121814
  13  9.97482e-05
  14  250.761
  15  222.267
  16  101.47
  17  0.000119384
  18  73.7608
  19  0.69058
  20  0.252167
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  7.584e+01  5.497e+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:  7.218e-01  2.522e-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.220e+00  6.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.58
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.98e-07 +/- 2.16e-07
Energy Flux (Fixed Index): 9.62e-05 +/- 6.98e-05

TS (Fixed Index): 3.58
Ra Dec: 306.158 -32.874
Photon Flux Upper Limit: 7.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.55e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/310876/likelihoodResults_677635201_677894401_4FGL_J2024.6-3252_daily_bin1691.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) = 1673.63051529
delta logL = 0.672481868338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1673.62437247
delta logL = 0.678624686454

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    52.089       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2942       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0561       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75878       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=   1673.624     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      285 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          52.091        50.634        .55570E-04   -.21731E-03
   2  alpha         3.2941        .84356        .85324E-03   -.49013E-04
   3  Normalizat    1.0562        .62949        .40367E-03    .19883E-04
   4  Prefactor     .75876        .23449        .17646E-03    .64057E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 52.0911
  alpha      = 3.29411
  Normalizat = 1.05617
  Prefactor  = 0.758761
 **********
 **   18 **HESSE 
 **********

 FCN=   1673.624     FROM HESSE     STATUS=OK            23 CALLS      308 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.091        50.395        .11114E-04   -1.4263    
   2  alpha         3.2941        .83972        .34129E-04    .32324    
   3  Normalizat    1.0562        .62995        .16147E-04   -.91172    
   4  Prefactor     .75876        .23466        .35293E-04   -1.0127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46584e-10
Minuit parameter uncertainties:
  1  50.4362
  2  0.858351
  3  0.634494
  4  0.234967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/310876': 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) = 1673.62437247
delta logL = 0.678624691079

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  5.209e+01  5.044e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  3.294e+00  8.584e-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:  7.588e-01  2.350e-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.056e+00  6.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.01
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 3.29 +/- 0.86
Photon Flux (Free Index): 6.12e-07 +/- 4.37e-07
Energy Flux (Free Index): 1.16e-04 +/- 7.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/310876/cmap_HighResolution_677635201_677894401_4FGL_J2024.6-3252_daily_bin1691.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-04', comment='SUCCESS', photon_flux='2.98e-07', energy_flux2='1.16e-04', photon_flux_error='2.16e-07', dlogl='6.79e-01', energy_flux='9.62e-05', photon_flux2='6.12e-07', job_status='DONE', time_completed='2022-06-26 01:20:21.221503', photon_index_error2='0.86', photon_index2='3.29', ts='3.58', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='7.88e-07', energy_flux_error2='7.15e-05', EG='1.22', time_epoch_completed='1656231621.22', return_code='0', job_id='310876', GAL2='0.76', EG2='1.06', return_code2='0', energy_flux_error='6.98e-05', photon_flux_error2='4.37e-07', ts2='5.01', photon_index='2.35' WHERE bin_id='1691' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun 26 01:20:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 310876: <4FGL_J2024.6-3252_daily_bin1691> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1691> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jun 26 01:10:24 2022
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun 26 01:11:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun 26 01:11:50 2022
Terminated at Sun Jun 26 01:20:22 2022
Results reported at Sun Jun 26 01:20:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1691 306.158 -32.874 677635201 677894401 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 :                                   393.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   511 sec.
    Turnaround time :                            598 sec.

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

