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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1066
RA = 306.158, Dec = -32.874
tmin = 515635201, tmax = 515894401
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='890858', job_status='RUN', time_executed='2021-09-25 03:07:01.600239', time_epoch_executed='1632564421.6' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1066'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890858

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890858/ft1_4FGL_J2024.6-3252_daily_bin1066.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890858/ft2_4FGL_J2024.6-3252_daily_bin1066.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890858/ft1_4FGL_J2024.6-3252_daily_bin1066.fits outfile=/scratch/kocevski/890858/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1066.fits ra=306.158 dec=-32.874 rad=12.0 tmin=515635201.0 tmax=515894401.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.51
user 3.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/890858/ft1_filtered_4FGL_J2024.6-3252_daily_bin1066.fits" evtable="EVENTS" scfile=/scratch/kocevski/890858/ft2_4FGL_J2024.6-3252_daily_bin1066.fits sctable="SC_DATA" outfile=/scratch/kocevski/890858/ltcube_515635201_515894401_4FGL_J2024.6-3252_daily_bin1066.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/890858/ft2_4FGL_J2024.6-3252_daily_bin1066.fits
.....................!
real 12.70
user 12.28
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890858/ft1_filtered_4FGL_J2024.6-3252_daily_bin1066.fits evtable="EVENTS" scfile=/scratch/kocevski/890858/ft2_4FGL_J2024.6-3252_daily_bin1066.fits sctable="SC_DATA" expcube=/scratch/kocevski/890858/ltcube_515635201_515894401_4FGL_J2024.6-3252_daily_bin1066.fits outfile=/scratch/kocevski/890858/expmap_515635201_515894401_4FGL_J2024.6-3252_daily_bin1066.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/890858/ltcube_515635201_515894401_4FGL_J2024.6-3252_daily_bin1066.fits
.....................!
real 190.82
user 186.17
sys 4.15

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/890858/ft1_filtered_4FGL_J2024.6-3252_daily_bin1066.fits scfile=/scratch/kocevski/890858/ft2_4FGL_J2024.6-3252_daily_bin1066.fits outfile=/scratch/kocevski/890858/cmap_515635201_515894401_4FGL_J2024.6-3252_daily_bin1066.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.41
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/890858/ft1_filtered_4FGL_J2024.6-3252_daily_bin1066.fits evtable="EVENTS" scfile=/scratch/kocevski/890858/ft2_4FGL_J2024.6-3252_daily_bin1066.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/890858/Model_4FGL_J2024.6-3252_daily_bin1066.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/890858/ft1_filtered_4FGL_J2024.6-3252_daily_bin1066.fits.....................!
real 91.90
user 90.43
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7235       1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10903E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.3789       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.0250       1.0000         .10000E-03   10000.    
     7 'norm      '    .96986E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4241       1.0000         .10000E-03   10000.    
     9 'norm      '    .10400E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.9441       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8426       1.0000         .10000E-03   10000.    
    14 'Prefactor '    53.082       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10655E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    24.467       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .40312E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.084       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2925       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90673       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=   11419.19     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2077 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7195        22.664        .20165E-05    .45678E-04
   2  norm          .10000E-03    9.8308       -.38062E-06** at limit **
   3  Prefactor     .10000E-03    2.0995        .43352E-06** at limit **
   4  norm          2.3790        .98346        .23485E-07   -.21261E-03
   5  Prefactor     .10000E-03    5.6625       -.15725E-07** at limit **
   6  norm          2.0241        7.4925        .88801E-06    .69580E-04
   7  norm          .10008E-03    5.9060       -.25846E-05** at limit **
   8  Prefactor     6.4127        25.626        .25198E-05    .16201E-04
   9  norm          .10003E-03    5.8645       -.25730E-05** at limit **
  10  Prefactor     .10000E-03    13.170       -.12036E-06** at limit **
  11  norm          5.9429        10.517        .44410E-07   -.19565E-04
  12  Prefactor     .10000E-03    10.667        .30741E-06** at limit **
  13  Prefactor     4.8431        4.8061        .31081E-05    .17688E-02
  14  Prefactor     53.054        73.055        .82359E-05    .63514E-04
  15  Prefactor     .10000E-03    80.017        .14956E-05** at limit **
  16  norm          24.461        22.578        .10586E-06   -.73160E-04
  17  Prefactor     .10025E-03    20.470        .11103E-04** at limit **
  18  Prefactor     14.084        16.592        .31382E-06   -.37153E-04
  19  Normalizat    1.2924        .20292       -.11831E-05   -.29753E-03
  20  Prefactor     .90681        .74158E-01   -.46911E-06   -.89686E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71954
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.37897
  Prefactor  = 0.0001
  norm       = 2.02406
  norm       = 0.000100084
  Prefactor  = 6.41269
  norm       = 0.000100033
  Prefactor  = 0.0001
  norm       = 5.94285
  Prefactor  = 0.0001
  Prefactor  = 4.84309
  Prefactor  = 53.0544
  Prefactor  = 0.0001
  norm       = 24.4607
  Prefactor  = 0.000100253
  Prefactor  = 14.0839
  Normalizat = 1.29243
  Prefactor  = 0.906808
 **********
 **   18 **HESSE 
 **********

 FCN=   11419.19     FROM HESSE     STATUS=OK           299 CALLS     2376 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7195        22.807        .31992E-03   -1.5446    
   2  norm          .10000E-03    9.8874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.2804        .29734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3790        .97676        .64924E-04   -1.5399    
   5  Prefactor     .10000E-03    5.6642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.0241        7.4933        .29077E-03   -1.5423    
   7  norm          .10008E-03    44.693        .46218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4127        25.649        .15835E-03   -1.5201    
   9  norm          .10003E-03    36.802        .45963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.9429        10.507        .16470E-03   -1.5220    
  12  Prefactor     .10000E-03    10.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.8431        5.3054        .91402E-03   -1.5268    
  14  Prefactor     53.054        73.479        .55050E-04   -1.4250    
  15  Prefactor     .10000E-03    80.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          24.461        22.553        .80983E-04   -1.4718    
  17  Prefactor     .10025E-03    48.878        .59149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.084        16.599        .10673E-03   -1.4957    
  19  Normalizat    1.2924        .23732        .36343E-03   -.83793    
  20  Prefactor     .90681        .87919E-01    .16091E-03   -.95904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01103e-08
Minuit parameter uncertainties:
  1  12.5302
  2  1.38596e-05
  3  6.12891e-05
  4  0.976767
  5  2.83009e-06
  6  7.49675
  7  0.00388756
  8  25.6691
  9  0.00221583
  10  1.25463e-05
  11  10.5099
  12  5.16088e-05
  13  5.3059
  14  73.6053
  15  0.000110107
  16  22.5609
  17  0.00703633
  18  16.6043
  19  0.237517
  20  0.0879324
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  2.216e-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.068e-01  8.793e-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.292e+00  2.375e-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: 8.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/890858/likelihoodResults_515635201_515894401_4FGL_J2024.6-3252_daily_bin1066.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) = 11419.1899548
delta logL = -0.00012711762065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11419.1898354
delta logL = -7.73795363784e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13092E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1691       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2924       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90681       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=   11419.19     FROM MIGRAD    STATUS=FAILED        99 CALLS      403 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13389E-03    1345.2        .34000E-02** at limit **
   2  alpha         2.5428        2.9305        .17276        .35096E-05
   3  Normalizat    1.2924        .31637E-01    .36343E-03   -.75826E-04
   4  Prefactor     .90681        .12054E-01    .16091E-03   -.31873E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11419.19     FROM SIMPLEX   STATUS=PROGRESS     125 CALLS      528 TOTAL
                     EDM=   .73E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10363E-03    1345.2        .97767E-03** at limit **
   2  alpha         2.5427        2.9305        .60559E-04    .35096E-05
   3  Normalizat    1.2924        .31637E-01    .14564E-05   -.75826E-04
   4  Prefactor     .90681        .12054E-01    .44974E-06   -.31873E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11419.19     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      560 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    160.59        .67999E-03** at limit **
   2  alpha         2.4861        3.3356        .69103E-01   -.35207E-07
   3  Normalizat    1.2924        .22915        .14537E-04   -.15478E-02
   4  Prefactor     .90681        .87367E-01    .32181E-04   -.35474E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.48606
  Normalizat = 1.29243
  Prefactor  = 0.906808
 **********
 **   18 **HESSE 
 **********

 FCN=   11419.19     FROM HESSE     STATUS=OK            23 CALLS      583 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    42.734        .13600E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4861        3.1071        .27641E-02   -.55744E-02
   3  Normalizat    1.2924        .22908        .29075E-05   -.83793    
   4  Prefactor     .90681        .87348E-01    .64363E-05   -.95904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18577e-09
Minuit parameter uncertainties:
  1  0.000337155
  2  234.35
  3  0.229262
  4  0.0873612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890858': 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) = 11419.1898275
delta logL = 1.58030161401e-07

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  3.372e-04  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.486e+00  2.343e+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.068e-01  8.736e-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.292e+00  2.293e-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/890858/cmap_HighResolution_515635201_515894401_4FGL_J2024.6-3252_daily_bin1066.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2021-09-25 03:22:14.530126', job_id='890858', GAL2='0.91', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1632565334.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.58e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1066' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:22:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 890858: <4FGL_J2024.6-3252_daily_bin1066> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1066 306.158 -32.874 515635201 515894401 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 :                                   908.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            957 sec.

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

