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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1219
RA = 306.158, Dec = -32.874
tmin = 555292801, tmax = 555552001
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='891104', job_status='RUN', time_executed='2021-09-25 03:10:26.044451', time_epoch_executed='1632564626.04' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891104

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891104/ft1_4FGL_J2024.6-3252_daily_bin1219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891104/ft2_4FGL_J2024.6-3252_daily_bin1219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891104/ft1_4FGL_J2024.6-3252_daily_bin1219.fits outfile=/scratch/kocevski/891104/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1219.fits ra=306.158 dec=-32.874 rad=12.0 tmin=555292801.0 tmax=555552001.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.64
user 3.42
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891104/ft1_filtered_4FGL_J2024.6-3252_daily_bin1219.fits" evtable="EVENTS" scfile=/scratch/kocevski/891104/ft2_4FGL_J2024.6-3252_daily_bin1219.fits sctable="SC_DATA" outfile=/scratch/kocevski/891104/ltcube_555292801_555552001_4FGL_J2024.6-3252_daily_bin1219.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/891104/ft2_4FGL_J2024.6-3252_daily_bin1219.fits
.....................!
real 11.66
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891104/ft1_filtered_4FGL_J2024.6-3252_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/891104/ft2_4FGL_J2024.6-3252_daily_bin1219.fits sctable="SC_DATA" expcube=/scratch/kocevski/891104/ltcube_555292801_555552001_4FGL_J2024.6-3252_daily_bin1219.fits outfile=/scratch/kocevski/891104/expmap_555292801_555552001_4FGL_J2024.6-3252_daily_bin1219.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/891104/ltcube_555292801_555552001_4FGL_J2024.6-3252_daily_bin1219.fits
.....................!
real 191.73
user 185.92
sys 5.46

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

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891104/ft1_filtered_4FGL_J2024.6-3252_daily_bin1219.fits scfile=/scratch/kocevski/891104/ft2_4FGL_J2024.6-3252_daily_bin1219.fits outfile=/scratch/kocevski/891104/cmap_HighResolution_555292801_555552001_4FGL_J2024.6-3252_daily_bin1219.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.58
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891104/ft1_filtered_4FGL_J2024.6-3252_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/891104/ft2_4FGL_J2024.6-3252_daily_bin1219.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891104/Model_4FGL_J2024.6-3252_daily_bin1219.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/891104/ft1_filtered_4FGL_J2024.6-3252_daily_bin1219.fits.....................!
real 46.33
user 44.94
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.590       1.0000         .10000E-03   10000.    
     4 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.112       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.963       1.0000         .10000E-03   10000.    
     8 'Prefactor '    53.628       1.0000         .10000E-03   10000.    
     9 'norm      '    .24952E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    79.535       1.0000         .10000E-03   10000.    
    11 'norm      '    .10155E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10468E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    145.19       1.0000         .10000E-03   10000.    
    15 'Prefactor '    95.974       1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.883       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .28016E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95919       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=   4557.471     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2068 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    77.152       -.29496E-05** at limit **
   2  norm          .10000E-03    23.927        .39394E-06** at limit **
   3  Prefactor     19.589        11.505       -.18035E-05   -.53663E-03
   4  norm          .10000E-03    1.7681        .47515E-06** at limit **
   5  Prefactor     42.107        37.962       -.88120E-06    .17213E-04
   6  norm          .10000E-03    20.245        .25478E-06** at limit **
   7  norm          13.958        14.023       -.17458E-05    .12500E-04
   8  Prefactor     53.530        121.64       -.10834E-03    .10859E-04
   9  norm          .10030E-03    19.418       -.12317E-05** at limit **
  10  Prefactor     79.543        75.288        .39341E-05    .53704E-04
  11  norm          .10000E-03    27.601       -.94723E-07** at limit **
  12  Prefactor     .10003E-03    56.926        .68026E-05** at limit **
  13  Prefactor     .10000E-03    2.6841       -.19500E-06** at limit **
  14  Prefactor     144.48        260.99       -.57176E-03    .14017E-04
  15  Prefactor     95.963        105.74       -.11668E-04    .29518E-04
  16  norm          .10000E-03    11.102       -.44526E-07** at limit **
  17  Prefactor     30.886        36.100       -.83909E-05    .36863E-04
  18  Prefactor     .10001E-03    299.82        .53886E-04** at limit **
  19  Normalizat    1.0749        .39028        .21251E-04   -.43684E-04
  20  Prefactor     .95942        .12656        .27095E-05    .12557E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.5886
  norm       = 0.0001
  Prefactor  = 42.107
  norm       = 0.0001
  norm       = 13.9582
  Prefactor  = 53.5301
  norm       = 0.000100304
  Prefactor  = 79.543
  norm       = 0.000100003
  Prefactor  = 0.000100027
  Prefactor  = 0.0001
  Prefactor  = 144.482
  Prefactor  = 95.9626
  norm       = 0.0001
  Prefactor  = 30.8859
  Prefactor  = 0.000100007
  Normalizat = 1.0749
  Prefactor  = 0.95942
 **********
 **   18 **HESSE 
 **********

 FCN=   4557.471     FROM HESSE     STATUS=OK           293 CALLS     2361 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    77.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    23.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.589        11.511        .45246E-03   -1.4822    
   4  norm          .10000E-03    1.8075        .87586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     42.107        37.986        .61774E-04   -1.4409    
   6  norm          .10000E-03    20.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.958        14.031        .10719E-03   -1.4961    
   8  Prefactor     53.530        121.77        .27386E-03   -1.4243    
   9  norm          .10030E-03    26.605        .84334E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     79.543        75.463        .45032E-04   -1.3922    
  11  norm          .10000E-03    27.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10003E-03    57.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.6869        .10799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     144.48        261.19        .16720E-03   -1.3298    
  15  Prefactor     95.963        106.21        .41028E-04   -1.3746    
  16  norm          .10000E-03    11.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     30.886        36.377        .72099E-04   -1.4596    
  18  Prefactor     .10001E-03    307.05        .42837E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0749        .45201        .45616E-03   -.90562    
  20  Prefactor     .95942        .14805        .16644E-03   -.94095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14792e-09
Minuit parameter uncertainties:
  1  0.000117177
  2  8.8919e-06
  3  11.5125
  4  4.87503e-05
  5  38.0073
  6  5.89648e-05
  7  14.0342
  8  122.34
  9  0.00569471
  10  75.5542
  11  0.000544494
  12  0.00248012
  13  2.15104e-05
  14  263.317
  15  106.419
  16  7.94367e-06
  17  36.4033
  18  0.00296705
  19  0.453649
  20  0.148114
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.003e-04  5.695e-03  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.594e-01  1.481e-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.075e+00  4.536e-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: 2.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891104/likelihoodResults_555292801_555552001_4FGL_J2024.6-3252_daily_bin1219.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) = 4557.47085547
delta logL = -1.26750501295e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4557.4708292
delta logL = 1.36001663122e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49733E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7485       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0749       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95943       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4557.468     FROM MIGRAD    STATUS=FAILED       147 CALLS      367 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95287        6644.2        .38420E-03    .17074E-04
   2  alpha         3.2542        3.3588        .50000        .21592E-04
   3  Normalizat    1.0666        .11420        .45771E-03   -.50670E-05
   4  Prefactor     .96022        .41892E-01    .16638E-03   -.13461E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4557.468     FROM SIMPLEX   STATUS=UNCHANGED    106 CALLS      473 TOTAL
                     EDM=   .71E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95287        6644.2        .79441E-03    .17074E-04
   2  alpha         3.2542        3.3588        .28127E-02    .21592E-04
   3  Normalizat    1.0666        .11420        .65149E-04   -.50670E-05
   4  Prefactor     .96022        .41892E-01    .13090E-04   -.13461E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4557.468     FROM MIGRAD    STATUS=FAILED        77 CALLS      550 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95285        6673.6        .30736E-05    .96170E-05
   2  alpha         3.2542        3.2838        .50000        .21733E-04
   3  Normalizat    1.0666        .11599        .36617E-05   -.86933E-05
   4  Prefactor     .96022        .42593E-01    .13310E-05   -.22207E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.952848
  alpha      = 3.25423
  Normalizat = 1.06665
  Prefactor  = 0.960217
 **********
 **   18 **HESSE 
 **********

 FCN=   4557.468     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      579 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95285        6668.6        .61471E-06   -1.5513    
   2  alpha         3.2542        3.2934        .50000        .30647    
   3  Normalizat    1.0666        .11696        .73234E-06   -.90830    
   4  Prefactor     .96022        .45452E-01    .26621E-06   -.94068    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.65903e-07
Minuit parameter uncertainties:
  1  122.154
  2  57.7455
  3  0.116984
  4  0.0454534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891104': 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): 1
logL (Free Index) = 4557.46803644
delta logL = 0.00280635566651

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  9.528e-01  1.222e+02  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  3.254e+00  5.775e+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:  9.602e-01  4.545e-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.067e+00  1.170e-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/891104/cmap_HighResolution_555292801_555552001_4FGL_J2024.6-3252_daily_bin1219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-05', job_status='DONE', photon_flux_upper_limit='2.04e-07', time_completed='2021-09-25 03:20:34.324268', job_id='891104', GAL2='0.96', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1632565234.32', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.81e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1219' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:20:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 891104: <4FGL_J2024.6-3252_daily_bin1219> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1219> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 03:06:39 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:07:43 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:07:43 2021
Terminated at Sat Sep 25 03:20:35 2021
Results reported at Sat Sep 25 03:20:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1219 306.158 -32.874 555292801 555552001 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 :                                   536.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            836 sec.

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

