/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 3 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 = 7478
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2024.6-3252_daily_bin287
RA = 306.158, Dec = -32.874
tmin = 313718401, tmax = 313977601
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='885541', job_status='RUN', time_executed='2021-09-25 02:53:48.415886', time_epoch_executed='1632563628.42' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='287'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885541

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885541/ft1_4FGL_J2024.6-3252_daily_bin287.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885541/ft2_4FGL_J2024.6-3252_daily_bin287.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885541/ft1_4FGL_J2024.6-3252_daily_bin287.fits outfile=/scratch/kocevski/885541/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin287.fits ra=306.158 dec=-32.874 rad=12.0 tmin=313718401.0 tmax=313977601.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 3.36
user 3.17
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/885541/ft2_4FGL_J2024.6-3252_daily_bin287.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/885541/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin287.fits evtable="EVENTS" outfile="/scratch/kocevski/885541/ft1_filtered_4FGL_J2024.6-3252_daily_bin287.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/885541/ft1_filtered_4FGL_J2024.6-3252_daily_bin287.fits" evtable="EVENTS" scfile=/scratch/kocevski/885541/ft2_4FGL_J2024.6-3252_daily_bin287.fits sctable="SC_DATA" outfile=/scratch/kocevski/885541/ltcube_313718401_313977601_4FGL_J2024.6-3252_daily_bin287.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/885541/ft2_4FGL_J2024.6-3252_daily_bin287.fits
.....................!
real 13.98
user 13.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885541/ft1_filtered_4FGL_J2024.6-3252_daily_bin287.fits evtable="EVENTS" scfile=/scratch/kocevski/885541/ft2_4FGL_J2024.6-3252_daily_bin287.fits sctable="SC_DATA" expcube=/scratch/kocevski/885541/ltcube_313718401_313977601_4FGL_J2024.6-3252_daily_bin287.fits outfile=/scratch/kocevski/885541/expmap_313718401_313977601_4FGL_J2024.6-3252_daily_bin287.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/885541/ltcube_313718401_313977601_4FGL_J2024.6-3252_daily_bin287.fits
.....................!
real 191.12
user 185.70
sys 5.02

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J2024.6-3252 @ 306.158 -32.874

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/885541/ft1_filtered_4FGL_J2024.6-3252_daily_bin287.fits scfile=/scratch/kocevski/885541/ft2_4FGL_J2024.6-3252_daily_bin287.fits outfile=/scratch/kocevski/885541/cmap_313718401_313977601_4FGL_J2024.6-3252_daily_bin287.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.65
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885541/ft1_filtered_4FGL_J2024.6-3252_daily_bin287.fits scfile=/scratch/kocevski/885541/ft2_4FGL_J2024.6-3252_daily_bin287.fits outfile=/scratch/kocevski/885541/cmap_HighResolution_313718401_313977601_4FGL_J2024.6-3252_daily_bin287.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.60
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8602       1.0000         .10000E-03   10000.    
     2 'norm      '    5.5318       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6514       1.0000         .10000E-03   10000.    
     4 'norm      '    .82246       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.467       1.0000         .10000E-03   10000.    
     6 'norm      '    .41223E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    23.990       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4327       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .14653E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    39.444       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.7551       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.323       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0259       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95584       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=   10093.62     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2078 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8618        9.9768        .56523E-05   -.21098E-04
   2  norm          5.5320        11.083        .73791E-06   -.54140E-05
   3  Prefactor     3.6509        4.8609        .38001E-05   -.21717E-04
   4  norm          .82259        .73304        .12913E-06    .89018E-03
   5  Prefactor     18.465        26.553       -.12752E-05    .14575E-05
   6  norm          .10003E-03    3.9692        .61917E-06** at limit **
   7  norm          23.989        12.535        .68658E-07    .67032E-05
   8  Prefactor     5.4759        59.405       -.16072E-04   -.16042E-04
   9  norm          .10000E-03    1.9484        .90377E-08** at limit **
  10  Prefactor     .10000E-03    17.170       -.39599E-06** at limit **
  11  norm          .10000E-03    34.832       -.10682E-06** at limit **
  12  Prefactor     39.445        26.770        .22350E-06    .55439E-04
  13  Prefactor     .10000E-03    1.5516       -.90722E-07** at limit **
  14  Prefactor     .10000E-03    36.983       -.21778E-06** at limit **
  15  Prefactor     .10000E-03    25.120        .87550E-06** at limit **
  16  norm          .10000E-03    12.257       -.93542E-07** at limit **
  17  Prefactor     8.7539        13.215        .23877E-06    .85717E-05
  18  Prefactor     11.322        18.228        .40059E-06    .88890E-05
  19  Normalizat    1.0259        .20778       -.60674E-06    .22786E-04
  20  Prefactor     .95585        .79066E-01   -.18906E-06    .19744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.86183
  norm       = 5.53196
  Prefactor  = 3.65087
  norm       = 0.822593
  Prefactor  = 18.4653
  norm       = 0.000100029
  norm       = 23.989
  Prefactor  = 5.47593
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 39.4453
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.75389
  Prefactor  = 11.3217
  Normalizat = 1.02588
  Prefactor  = 0.95585
 **********
 **   18 **HESSE 
 **********

 FCN=   10093.62     FROM HESSE     STATUS=OK           295 CALLS     2373 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8618        9.9456        .12019E-02   -1.5370    
   2  norm          5.5320        11.071        .85412E-03   -1.5238    
   3  Prefactor     3.6509        4.8647        .10570E-02   -1.5326    
   4  norm          .82259        .70008        .77999E-03   -1.5527    
   5  Prefactor     18.465        26.579        .93201E-04   -1.4848    
   6  norm          .10003E-03    39.158        .38438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          23.989        12.534        .81783E-04   -1.4728    
   8  Prefactor     5.4759        59.424        .17240E-03   -1.5240    
   9  norm          .10000E-03    1.9507        .13695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    35.598        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.445        26.700        .63821E-04   -1.4451    
  13  Prefactor     .10000E-03    1.5597        .12219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    37.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    12.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.7539        13.230        .13547E-03   -1.5116    
  18  Prefactor     11.322        18.237        .11906E-03   -1.5035    
  19  Normalizat    1.0259        .23554        .38508E-03   -.92169    
  20  Prefactor     .95585        .90539E-01    .15421E-03   -.94216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13446e-09
Minuit parameter uncertainties:
  1  9.95133
  2  11.0754
  3  4.86525
  4  0.700089
  5  26.5957
  6  0.00212818
  7  12.5356
  8  36.1231
  9  3.1957e-07
  10  2.20196e-05
  11  0.000162432
  12  26.7082
  13  4.52887e-06
  14  1.61132e-05
  15  2.97582e-05
  16  1.75782e-05
  17  13.2347
  18  18.2456
  19  0.235775
  20  0.0905533
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  3.196e-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:  9.559e-01  9.055e-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:  1.026e+00  2.358e-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: 4.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/885541/likelihoodResults_313718401_313977601_4FGL_J2024.6-3252_daily_bin287.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) = 10093.6265417
delta logL = -0.00243600477552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10093.6241057
delta logL = 1.63890945259e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3510       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95585       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=   10093.62     FROM MIGRAD    STATUS=FAILED        88 CALLS      242 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10006E-03    6.5331        .13696E-02** at limit **
   2  alpha         2.3055        3.6081        .16498        .16824E-05
   3  Normalizat    1.0259        .22772        .38508E-03   -.66722E-05
   4  Prefactor     .95585        .89079E-01    .15421E-03   -.14892E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10093.62     FROM SIMPLEX   STATUS=UNCHANGED    125 CALLS      367 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10006E-03    6.5331        .23429E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3055        3.6081        .23594E-03   -.77897E-01
   3  Normalizat    1.0259        .22772        .20496E-04   -.92168    
   4  Prefactor     .95585        .89079E-01    .85646E-05   -.94216    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10093.62     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      397 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9556        .27391E-03** at limit **
   2  alpha         2.2567        2.8648        .65991E-02   -.89584E-08
   3  Normalizat    1.0259        .22787        .15403E-04    .11809E-04
   4  Prefactor     .95585        .89138E-01    .61684E-05    .23591E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.25671
  Normalizat = 1.02588
  Prefactor  = 0.95585
 **********
 **   18 **HESSE 
 **********

 FCN=   10093.62     FROM HESSE     STATUS=OK            23 CALLS      420 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9555        .54783E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2567        2.5517        .13198E-02   -.97472E-01
   3  Normalizat    1.0259        .22737        .30806E-05   -.92168    
   4  Prefactor     .95585        .88945E-01    .12337E-05   -.94216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75487e-12
Minuit parameter uncertainties:
  1  2.21278e-06
  2  265.665
  3  0.227585
  4  0.088959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885541': 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) = 10093.6241056
delta logL = 6.288428267e-08

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  2.213e-06  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.257e+00  2.657e+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:  9.559e-01  8.896e-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:  1.026e+00  2.276e-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/885541/cmap_HighResolution_313718401_313977601_4FGL_J2024.6-3252_daily_bin287.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-05', job_status='DONE', photon_flux_upper_limit='4.18e-08', time_completed='2021-09-25 03:07:32.672628', job_id='885541', GAL2='0.96', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1632564452.67', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='6.29e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='287' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:07:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 885541: <4FGL_J2024.6-3252_daily_bin287> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin287> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 02:51:14 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 02:53:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 02:53:37 2021
Terminated at Sat Sep 25 03:07:33 2021
Results reported at Sat Sep 25 03:07:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin287 306.158 -32.874 313718401 313977601 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 :                                   820.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            979 sec.

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

