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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1674
RA = 306.158, Dec = -32.874
tmin = 673228801, tmax = 673488001
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='717708', job_status='RUN', time_executed='2022-05-06 03:11:58.837879', time_epoch_executed='1651831918.84' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/717708

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/717708/ft1_4FGL_J2024.6-3252_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/717708/ft2_4FGL_J2024.6-3252_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/717708/ft1_4FGL_J2024.6-3252_daily_bin1674.fits outfile=/scratch/kocevski/717708/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1674.fits ra=306.158 dec=-32.874 rad=12.0 tmin=673228801.0 tmax=673488001.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.76
user 2.54
sys 0.21

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

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

Number of photons that the gtmktime cut: 996

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/717708/ft1_filtered_4FGL_J2024.6-3252_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/717708/ft2_4FGL_J2024.6-3252_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/717708/ltcube_673228801_673488001_4FGL_J2024.6-3252_daily_bin1674.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/717708/ft2_4FGL_J2024.6-3252_daily_bin1674.fits
.....................!
real 14.50
user 14.12
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/717708/ft1_filtered_4FGL_J2024.6-3252_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717708/ft2_4FGL_J2024.6-3252_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/717708/ltcube_673228801_673488001_4FGL_J2024.6-3252_daily_bin1674.fits outfile=/scratch/kocevski/717708/expmap_673228801_673488001_4FGL_J2024.6-3252_daily_bin1674.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/717708/ltcube_673228801_673488001_4FGL_J2024.6-3252_daily_bin1674.fits
.....................!
real 192.99
user 187.01
sys 5.56

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/717708/ft1_filtered_4FGL_J2024.6-3252_daily_bin1674.fits scfile=/scratch/kocevski/717708/ft2_4FGL_J2024.6-3252_daily_bin1674.fits outfile=/scratch/kocevski/717708/cmap_673228801_673488001_4FGL_J2024.6-3252_daily_bin1674.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=306.158 yref=-32.874 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/717708/ft1_filtered_4FGL_J2024.6-3252_daily_bin1674.fits scfile=/scratch/kocevski/717708/ft2_4FGL_J2024.6-3252_daily_bin1674.fits outfile=/scratch/kocevski/717708/cmap_HighResolution_673228801_673488001_4FGL_J2024.6-3252_daily_bin1674.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.56
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/717708/ft1_filtered_4FGL_J2024.6-3252_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717708/ft2_4FGL_J2024.6-3252_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/717708/Model_4FGL_J2024.6-3252_daily_bin1674.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/717708/ft1_filtered_4FGL_J2024.6-3252_daily_bin1674.fits.....................!
real 84.69
user 83.28
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1903       1.0000         .10000E-03   10000.    
     2 'norm      '    9.2055       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .78107E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    22.952       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    15.290       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1861       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.101       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10424E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13803E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    19.728       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.938       1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.303       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94287       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1038       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=   10324.11     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     1855 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1909        2.2741       -.27804E-06   -.56814E-04
   2  norm          9.2031        22.843        .37917E-07   -.12280E-03
   3  Prefactor     .61585E-01    2.9518       -.65042E-08    .15950E-03
   4  norm          22.951        2.5046        .17498E-08    .16870E-03
   5  Prefactor     .10000E-03    10.595       -.71597E-08** at limit **
   6  norm          15.289        11.296        .68840E-09    .17388E-03
   7  norm          .10000E-03    4.4458       -.18548E-08** at limit **
   8  Prefactor     .10000E-03    22.915        .40294E-08** at limit **
   9  norm          .10000E-03    5.7374       -.24428E-09** at limit **
  10  Prefactor     8.1880        40.715        .50100E-08   -.88965E-04
  11  norm          .10000E-03    5.8107       -.10577E-09** at limit **
  12  Prefactor     14.097        22.368        .17547E-08   -.12796E-03
  13  Prefactor     .10000E-03    3.2372       -.14551E-08** at limit **
  14  Prefactor     .10001E-03    123.92       -.18382E-07** at limit **
  15  Prefactor     .10000E-03    15.236        .33611E-08** at limit **
  16  norm          19.727        22.513       -.46843E-09   -.92522E-04
  17  Prefactor     14.934        18.696        .80103E-08   -.61711E-03
  18  Prefactor     25.294        25.541       -.76460E-08    .21271E-03
  19  Normalizat    .94295        .25238        .50131E-08    .66758E-04
  20  Prefactor     1.1038        .93538E-01    .40543E-08   -.47136E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.19086
  norm       = 9.20311
  Prefactor  = 0.0615847
  norm       = 22.9514
  Prefactor  = 0.000100002
  norm       = 15.2885
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 8.18803
  norm       = 0.0001
  Prefactor  = 14.0971
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  norm       = 19.7269
  Prefactor  = 14.9339
  Prefactor  = 25.2944
  Normalizat = 0.942955
  Prefactor  = 1.10384
 **********
 **   18 **HESSE 
 **********

 FCN=   10324.11     FROM HESSE     STATUS=OK           301 CALLS     2156 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1909        47.156        .13905E-02   -1.5412    
   2  norm          9.2031        23.266        .13209E-03   -1.5101    
   3  Prefactor     .61585E-01    3.2696        .52865E-01   -1.5658    
   4  norm          22.951        2.5306        .50453E-04   -1.4749    
   5  Prefactor     .10000E-03    10.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          15.289        11.294        .10243E-03   -1.4926    
   7  norm          .10000E-03    4.4594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.7780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.1880        39.311        .14012E-03   -1.5136    
  11  norm          .10000E-03    5.8144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.097        22.374        .10666E-03   -1.4957    
  13  Prefactor     .10000E-03    9.4210        .34293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    125.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          19.727        22.509        .90176E-04   -1.4819    
  17  Prefactor     14.934        18.740        .10363E-03   -1.4935    
  18  Prefactor     25.294        25.588        .79636E-04   -1.4702    
  19  Normalizat    .94295        .27942        .47349E-03   -.94967    
  20  Prefactor     1.1038        .10528        .17100E-03   -.89344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43674e-09
Minuit parameter uncertainties:
  1  20.3464
  2  23.2887
  3  0.896784
  4  2.53064
  5  0.000283486
  6  11.2952
  7  4.43154e-05
  8  0.000243835
  9  8.90094e-07
  10  35.92
  11  1.3048e-06
  12  22.3876
  13  9.04921e-05
  14  0.00244583
  15  0.000163711
  16  22.5182
  17  18.7472
  18  25.5993
  19  0.279849
  20  0.105296
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  8.901e-07  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.104e+00  1.053e-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:  9.430e-01  2.798e-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: 7.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/717708/likelihoodResults_673228801_673488001_4FGL_J2024.6-3252_daily_bin1674.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): 102
logL (Free Index) = 10324.1063122
delta logL = -0.000824812133942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10324.10549
delta logL = -2.64144728135e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10461E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3644       1.0000          .0000       5.0000    
     3 'Normalizat'    .94264       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1039       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10324.11     FROM MIGRAD    STATUS=FAILED       113 CALLS      262 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    47.111        .86527E-01** at limit **
   2  alpha         3.5581        2.5840        .16491       -.26447E-04
   3  Normalizat    .94295        .45323E-01    .47349E-03   -.46916E-04
   4  Prefactor     1.1038        .16778E-01    .17100E-03   -.15661E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10324.11     FROM SIMPLEX   STATUS=UNCHANGED    153 CALLS      415 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    47.111        .11422E-02** at limit **
   2  alpha         3.5581        2.5840        .94451E-05   -.26447E-04
   3  Normalizat    .94295        .45323E-01    .29380E-06   -.46916E-04
   4  Prefactor     1.1038        .16778E-01    .37380E-07   -.15661E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10324.11     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      448 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    39.957        .19411E-04** at limit **
   2  alpha         3.5603        3.7575        .54793E-04   -.26490E-04
   3  Normalizat    .94295        .26351       -.16069E-05   -.18420E-03
   4  Prefactor     1.1038        .10368       -.90891E-07   -.35418E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 3.56031
  Normalizat = 0.942949
  Prefactor  = 1.10384
 **********
 **   18 **HESSE 
 **********

 FCN=   10324.11     FROM HESSE     STATUS=OK            23 CALLS      471 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    39.468        .85777E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5603        3.6963        .65965E-02    .43799    
   3  Normalizat    .94295        .26440        .37879E-05   -.94967    
   4  Prefactor     1.1038        .10355        .68401E-05   -.89344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.96077e-10
Minuit parameter uncertainties:
  1  0.00028899
  2  2.26407
  3  0.264767
  4  0.103572
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/717708': 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) = 10324.10548
delta logL = 7.40436189517e-06

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  2.890e-04  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  3.560e+00  2.264e+00  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.104e+00  1.036e-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:  9.429e-01  2.648e-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/717708/cmap_HighResolution_673228801_673488001_4FGL_J2024.6-3252_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.48e-05', job_status='DONE', photon_flux_upper_limit='7.69e-08', time_completed='2022-05-06 03:25:39.429372', job_id='717708', GAL2='1.10', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1651832739.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='7.40e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1674' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:25:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 717708: <4FGL_J2024.6-3252_daily_bin1674> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1674> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri May  6 03:10:20 2022
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 03:10:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 03:10:37 2022
Terminated at Fri May  6 03:25:40 2022
Results reported at Fri May  6 03:25:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1674 306.158 -32.874 673228801 673488001 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 :                                   822.52 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            920 sec.

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

