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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1500
RA = 306.158, Dec = -32.874
tmin = 628128001, tmax = 628387201
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='892672', job_status='RUN', time_executed='2021-09-25 03:13:30.956662', time_epoch_executed='1632564810.96' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892672

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892672/ft1_4FGL_J2024.6-3252_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892672/ft2_4FGL_J2024.6-3252_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892672/ft1_4FGL_J2024.6-3252_daily_bin1500.fits outfile=/scratch/kocevski/892672/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1500.fits ra=306.158 dec=-32.874 rad=12.0 tmin=628128001.0 tmax=628387201.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 5.27
user 4.95
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892672/ft1_filtered_4FGL_J2024.6-3252_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/892672/ft2_4FGL_J2024.6-3252_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/892672/ltcube_628128001_628387201_4FGL_J2024.6-3252_daily_bin1500.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/892672/ft2_4FGL_J2024.6-3252_daily_bin1500.fits
.....................!
real 12.76
user 12.28
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892672/ft1_filtered_4FGL_J2024.6-3252_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/892672/ft2_4FGL_J2024.6-3252_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/892672/ltcube_628128001_628387201_4FGL_J2024.6-3252_daily_bin1500.fits outfile=/scratch/kocevski/892672/expmap_628128001_628387201_4FGL_J2024.6-3252_daily_bin1500.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/892672/ltcube_628128001_628387201_4FGL_J2024.6-3252_daily_bin1500.fits
.....................!
real 190.07
user 185.07
sys 4.42

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/892672/ft1_filtered_4FGL_J2024.6-3252_daily_bin1500.fits scfile=/scratch/kocevski/892672/ft2_4FGL_J2024.6-3252_daily_bin1500.fits outfile=/scratch/kocevski/892672/cmap_628128001_628387201_4FGL_J2024.6-3252_daily_bin1500.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892672/ft1_filtered_4FGL_J2024.6-3252_daily_bin1500.fits scfile=/scratch/kocevski/892672/ft2_4FGL_J2024.6-3252_daily_bin1500.fits outfile=/scratch/kocevski/892672/cmap_HighResolution_628128001_628387201_4FGL_J2024.6-3252_daily_bin1500.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892672/ft1_filtered_4FGL_J2024.6-3252_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/892672/ft2_4FGL_J2024.6-3252_daily_bin1500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892672/Model_4FGL_J2024.6-3252_daily_bin1500.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/892672/ft1_filtered_4FGL_J2024.6-3252_daily_bin1500.fits.....................!
real 54.75
user 53.35
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.423       1.0000         .10000E-03   10000.    
     2 'norm      '    15.269       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.0293       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    17.160       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .45962       1.0000         .10000E-03   10000.    
    11 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.762       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.727       1.0000         .10000E-03   10000.    
    14 'Prefactor '    87.508       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    24.560       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .17647E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .77951       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0930       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=   5996.416     FROM MIGRAD    STATUS=CONVERGED    739 CALLS     2632 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.427        21.149        .70371E-04   -.14540E-04
   2  norm          15.270        17.587        .10250E-03    .89841E-05
   3  Prefactor     .10000E-03    6.4131        .18142E-02** at limit **
   4  norm          3.0297        1.4207        .60485E-04   -.17198E-03
   5  Prefactor     .10000E-03    32.013        .18142E-02** at limit **
   6  norm          .10000E-03    6.3589        .18142E-02** at limit **
   7  norm          .10000E-03    4.7118        .16414E-02** at limit **
   8  Prefactor     .10000E-03    14.955        .18142E-02** at limit **
   9  norm          17.165        17.833        .96686E-04    .51384E-04
  10  Prefactor     .12482        103.78        .19772        .37590E-04
  11  norm          .10000E-03    10.323        .18142E-02** at limit **
  12  Prefactor     15.763        25.398        .10088E-03   -.43951E-05
  13  Prefactor     11.738        13.514        .11698E-03    .21127E-03
  14  Prefactor     87.501        82.070        .42949E-04   -.97411E-05
  15  Prefactor     .10000E-03    94.055        .18142E-02** at limit **
  16  norm          24.566        42.368        .80829E-04    .37976E-05
  17  Prefactor     .10000E-03    29.334        .18142E-02** at limit **
  18  Prefactor     .10002E-03    168.88        .18142E-02** at limit **
  19  Normalizat    .77937        .36185        .50568E-03    .15272E-03
  20  Prefactor     1.0929        .12855        .15785E-03    .84588E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.4273
  norm       = 15.2705
  Prefactor  = 0.0001
  norm       = 3.02975
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 17.1652
  Prefactor  = 0.124815
  norm       = 0.0001
  Prefactor  = 15.7629
  Prefactor  = 11.7376
  Prefactor  = 87.5006
  Prefactor  = 0.000100003
  norm       = 24.5664
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Normalizat = 0.779371
  Prefactor  = 1.09295
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.416     FROM HESSE     STATUS=OK           281 CALLS     2913 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.427        21.148        .28148E-05   -1.4568    
   2  norm          15.270        17.588        .41000E-05   -1.4926    
   3  Prefactor     .10000E-03    6.4175        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.0297        1.4207        .24194E-05   -1.5360    
   5  Prefactor     .10000E-03    32.015        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.3602        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.7119        .32827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.955        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          17.165        17.832        .38674E-05   -1.4879    
  10  Prefactor     .12482        112.32        .18830       -1.5637    
  11  norm          .10000E-03    10.323        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.763        25.394        .40353E-05   -1.4914    
  13  Prefactor     11.738        13.526        .46794E-05   -1.5023    
  14  Prefactor     87.501        82.070        .85898E-05   -1.3834    
  15  Prefactor     .10000E-03    94.057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          24.566        42.383        .32332E-05   -1.4716    
  17  Prefactor     .10000E-03    29.339        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    169.01        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .77937        .36193        .20227E-04   -1.0084    
  20  Prefactor     1.0929        .12861        .31569E-04   -.89692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.58587e-10
Minuit parameter uncertainties:
  1  21.1525
  2  17.5939
  3  6.68722e-05
  4  1.42069
  5  5.42302e-05
  6  3.61026e-05
  7  7.61278e-06
  8  1.91381e-05
  9  17.8375
  10  7.4996
  11  1.35127e-05
  12  25.4117
  13  13.5299
  14  82.1768
  15  0.000980064
  16  42.4347
  17  0.000198765
  18  0.00334219
  19  0.363055
  20  0.128642
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.717e+01  1.784e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.352e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  1.491e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  5.973e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  1.093e+00  1.286e-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:  7.794e-01  3.631e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 6.74e-08 +/- 7.01e-08
Energy Flux (Fixed Index): 2.18e-05 +/- 2.26e-05

TS (Fixed Index): 1.23
Ra Dec: 306.158 -32.874
Photon Flux Upper Limit: 2.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.02e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892672/likelihoodResults_628128001_628387201_4FGL_J2024.6-3252_daily_bin1500.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) = 5996.05196094
delta logL = 0.364109822911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5996.04538858
delta logL = 0.370682180131

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.912       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5829       1.0000          .0000       5.0000    
     3 'Normalizat'    .81648       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0854       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.

 FCN=   5996.045     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      226 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.878        15.699        .25102E-02    .29527E-03
   2  alpha         1.5811        .55779        .45354       -.33184E-04
   3  Normalizat    .81601        .31183        .11169        .31927E-04
   4  Prefactor     1.0853        .11422        .38170E-01    .57317E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.8782
  alpha      = 1.58108
  Normalizat = 0.816011
  Prefactor  = 1.08526
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.045     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.878        20.185        .50204E-03   -1.4911    
   2  alpha         1.5811        .86034        .17977E-01   -.37639    
   3  Normalizat    .81601        .34576        .49525E-03   -.99478    
   4  Prefactor     1.0853        .12717        .15828E-03   -.89939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64901e-09
Minuit parameter uncertainties:
  1  20.1941
  2  0.881288
  3  0.346696
  4  0.127202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892672': 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) = 5996.04537555
delta logL = 0.370695205308

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.588e+01  2.019e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  1.581e+00  8.813e-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:  1.085e+00  1.272e-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:  8.160e-01  3.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 1.58 +/- 0.88
Photon Flux (Free Index): 3.56e-08 +/- 5.39e-08
Energy Flux (Free Index): 3.27e-05 +/- 3.57e-05

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/892672/cmap_HighResolution_628128001_628387201_4FGL_J2024.6-3252_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-05', comment='SUCCESS', photon_flux='6.74e-08', energy_flux2='3.27e-05', photon_flux_error='7.01e-08', dlogl='3.71e-01', energy_flux='2.18e-05', photon_flux2='3.56e-08', job_status='DONE', time_completed='2021-09-25 03:24:24.821718', photon_index_error2='0.88', photon_index2='1.58', ts='1.23', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.17e-07', energy_flux_error2='3.57e-05', EG='0.78', time_epoch_completed='1632565464.82', return_code='0', job_id='892672', GAL2='1.09', EG2='0.82', return_code2='0', energy_flux_error='2.26e-05', photon_flux_error2='5.39e-08', ts2='1.97', photon_index='2.35' WHERE bin_id='1500' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:24:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 892672: <4FGL_J2024.6-3252_daily_bin1500> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1500> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 03:11:25 2021
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:13:21 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:21 2021
Terminated at Sat Sep 25 03:24:25 2021
Results reported at Sat Sep 25 03:24:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1500 306.158 -32.874 628128001 628387201 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 :                                   632.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            780 sec.

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

