/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 112 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 = 7398
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1514
RA = 306.158, Dec = -32.874
tmin = 631756801, tmax = 632016001
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='892694', job_status='RUN', time_executed='2021-09-25 03:15:27.745837', time_epoch_executed='1632564927.75' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892694

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892694/ft1_4FGL_J2024.6-3252_daily_bin1514.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892694/ft2_4FGL_J2024.6-3252_daily_bin1514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892694/ft1_4FGL_J2024.6-3252_daily_bin1514.fits outfile=/scratch/kocevski/892694/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1514.fits ra=306.158 dec=-32.874 rad=12.0 tmin=631756801.0 tmax=632016001.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.83
user 2.22
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892694/ft1_filtered_4FGL_J2024.6-3252_daily_bin1514.fits" evtable="EVENTS" scfile=/scratch/kocevski/892694/ft2_4FGL_J2024.6-3252_daily_bin1514.fits sctable="SC_DATA" outfile=/scratch/kocevski/892694/ltcube_631756801_632016001_4FGL_J2024.6-3252_daily_bin1514.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/892694/ft2_4FGL_J2024.6-3252_daily_bin1514.fits
.....................!
real 14.17
user 13.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892694/ft1_filtered_4FGL_J2024.6-3252_daily_bin1514.fits evtable="EVENTS" scfile=/scratch/kocevski/892694/ft2_4FGL_J2024.6-3252_daily_bin1514.fits sctable="SC_DATA" expcube=/scratch/kocevski/892694/ltcube_631756801_632016001_4FGL_J2024.6-3252_daily_bin1514.fits outfile=/scratch/kocevski/892694/expmap_631756801_632016001_4FGL_J2024.6-3252_daily_bin1514.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/892694/ltcube_631756801_632016001_4FGL_J2024.6-3252_daily_bin1514.fits
.....................!
real 191.60
user 186.04
sys 4.87

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/892694/ft1_filtered_4FGL_J2024.6-3252_daily_bin1514.fits scfile=/scratch/kocevski/892694/ft2_4FGL_J2024.6-3252_daily_bin1514.fits outfile=/scratch/kocevski/892694/cmap_631756801_632016001_4FGL_J2024.6-3252_daily_bin1514.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892694/ft1_filtered_4FGL_J2024.6-3252_daily_bin1514.fits scfile=/scratch/kocevski/892694/ft2_4FGL_J2024.6-3252_daily_bin1514.fits outfile=/scratch/kocevski/892694/cmap_HighResolution_631756801_632016001_4FGL_J2024.6-3252_daily_bin1514.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=306.158 yref=-32.874 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892694/ft1_filtered_4FGL_J2024.6-3252_daily_bin1514.fits evtable="EVENTS" scfile=/scratch/kocevski/892694/ft2_4FGL_J2024.6-3252_daily_bin1514.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892694/Model_4FGL_J2024.6-3252_daily_bin1514.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/892694/ft1_filtered_4FGL_J2024.6-3252_daily_bin1514.fits.....................!
real 33.49
user 32.08
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    128.58       1.0000         .10000E-03   10000.    
     2 'norm      '    .11869E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    19.047       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11569E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    133.82       1.0000         .10000E-03   10000.    
     9 'norm      '    .10655E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    353.10       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12922E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10416E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12948E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    27.961       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.817       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    2.8450       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .66572       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=   2590.782     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     2429 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     128.17        138.94       -.21966E-05    .13076E-05
   2  norm          .10000E-03    276.18       -.35611E-04** at limit **
   3  Prefactor     .10000E-03    31.725        .54336E-07** at limit **
   4  norm          19.049        7.4464        .35585E-07    .59889E-05
   5  Prefactor     .10000E-03    85.833        .14478E-06** at limit **
   6  norm          .10000E-03    16.531       -.52327E-06** at limit **
   7  norm          .10000E-03    15.938        .12911E-06** at limit **
   8  Prefactor     134.13        251.22        .14833E-05    .40809E-05
   9  norm          .10000E-03    35.241        .28522E-05** at limit **
  10  Prefactor     353.57        249.06        .71846E-06   -.10953E-04
  11  norm          .10000E-03    43.865        .35444E-06** at limit **
  12  Prefactor     .10000E-03    171.75       -.14014E-06** at limit **
  13  Prefactor     .10000E-03    18.850        .59395E-05** at limit **
  14  Prefactor     .10000E-03    165.16       -.40096E-06** at limit **
  15  Prefactor     .10000E-03    40.695        .13839E-06** at limit **
  16  norm          27.962        39.786        .10799E-06   -.10126E-04
  17  Prefactor     11.823        47.416        .14325E-05   -.12908E-04
  18  Prefactor     .10000E-03    51.359       -.92681E-06** at limit **
  19  Normalizat    2.8454        .62542       -.47894E-05    .24713E-04
  20  Prefactor     .66550        .22860        .29388E-05   -.10252E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 128.169
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 19.0488
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 134.129
  norm       = 0.0001
  Prefactor  = 353.566
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 27.9619
  Prefactor  = 11.8233
  Prefactor  = 0.0001
  Normalizat = 2.84538
  Prefactor  = 0.665501
 **********
 **   18 **HESSE 
 **********

 FCN=   2590.782     FROM HESSE     STATUS=OK           285 CALLS     2714 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     128.17        138.81        .17753E-03   -1.3439    
   2  norm          .10000E-03    279.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          19.049        7.4467        .82631E-04   -1.4835    
   5  Prefactor     .10000E-03    85.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    16.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    15.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     134.13        251.24        .17406E-03   -1.3386    
   9  norm          .10000E-03    35.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     353.57        249.49        .10837E-03   -1.1925    
  11  norm          .10000E-03    43.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    172.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    165.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    40.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          27.962        39.787        .75764E-04   -1.4650    
  17  Prefactor     11.823        48.077        .11654E-03   -1.5020    
  18  Prefactor     .10000E-03    51.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    2.8454        .74171        .37949E-03   -.44710    
  20  Prefactor     .66550        .26826        .25532E-03   -1.0489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30088e-10
Minuit parameter uncertainties:
  1  139.163
  2  5.72513e-05
  3  2.43506e-05
  4  7.44701
  5  2.55242e-05
  6  1.445e-06
  7  1.08555e-06
  8  253.282
  9  2.26528e-05
  10  250.259
  11  1.08789e-05
  12  0.00022871
  13  7.82932e-06
  14  0.000186962
  15  2.47443e-05
  16  39.8248
  17  47.7502
  18  2.79154e-05
  19  0.745105
  20  0.268782
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  2.265e-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:  6.655e-01  2.688e-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:  2.845e+00  7.451e-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: 3.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892694/likelihoodResults_631756801_632016001_4FGL_J2024.6-3252_daily_bin1514.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) = 2590.78261537
delta logL = -0.00013468858242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2590.78248082
delta logL = -1.40165866469e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10110E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.0444       1.0000          .0000       5.0000    
     3 'Normalizat'    2.8453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66553       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=   2590.782     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      421 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10007E-03    7148.9        .36285E-02** at limit **
   2  alpha         3.3331        3.3043        .20000        .45361E-07
   3  Normalizat    2.8454        .12358        .37950E-03   -.66457E-04
   4  Prefactor     .66551        .45992E-01    .25532E-03   -.91880E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100065
  alpha      = 3.33313
  Normalizat = 2.84537
  Prefactor  = 0.665505
 **********
 **   18 **HESSE 
 **********

 FCN=   2590.782     FROM HESSE     STATUS=OK            23 CALLS      444 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10007E-03    91.243        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3331        3.2764        .80000E-02    .33975    
   3  Normalizat    2.8454        .71446        .75900E-04   -.44711    
   4  Prefactor     .66551        .26665        .10213E-04   -1.0489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.39334e-10
Minuit parameter uncertainties:
  1  0.00489432
  2  633.216
  3  0.71749
  4  0.26716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892694': 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) = 2590.78247982
delta logL = 8.62196429807e-07

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.001e-04  4.894e-03  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  3.333e+00  6.332e+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:  6.655e-01  2.672e-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:  2.845e+00  7.175e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/892694/cmap_HighResolution_631756801_632016001_4FGL_J2024.6-3252_daily_bin1514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-04', job_status='DONE', photon_flux_upper_limit='3.85e-07', time_completed='2021-09-25 03:23:57.218092', job_id='892694', GAL2='0.67', fit_tolerance='1e-08', EG2='2.85', EG='2.85', time_epoch_completed='1632565437.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='8.62e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1514' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:23:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 892694: <4FGL_J2024.6-3252_daily_bin1514> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1514> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 03:11:27 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:13:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 03:13:25 2021
Terminated at Sat Sep 25 03:23:57 2021
Results reported at Sat Sep 25 03:23:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1514 306.158 -32.874 631756801 632016001 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 :                                   446.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            750 sec.

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

