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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1621
RA = 306.158, Dec = -32.874
tmin = 659491201, tmax = 659750401
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='459665', job_status='RUN', time_executed='2021-12-08 06:57:26.238007', time_epoch_executed='1638975446.24' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1621'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/459665

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/459665/ft1_4FGL_J2024.6-3252_daily_bin1621.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/459665/ft2_4FGL_J2024.6-3252_daily_bin1621.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/459665/ft1_4FGL_J2024.6-3252_daily_bin1621.fits outfile=/scratch/kocevski/459665/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1621.fits ra=306.158 dec=-32.874 rad=12.0 tmin=659491201.0 tmax=659750401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.62
user 2.42
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/459665/ft1_filtered_4FGL_J2024.6-3252_daily_bin1621.fits" evtable="EVENTS" scfile=/scratch/kocevski/459665/ft2_4FGL_J2024.6-3252_daily_bin1621.fits sctable="SC_DATA" outfile=/scratch/kocevski/459665/ltcube_659491201_659750401_4FGL_J2024.6-3252_daily_bin1621.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/459665/ft2_4FGL_J2024.6-3252_daily_bin1621.fits
.....................!
real 16.57
user 16.14
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/459665/ft1_filtered_4FGL_J2024.6-3252_daily_bin1621.fits evtable="EVENTS" scfile=/scratch/kocevski/459665/ft2_4FGL_J2024.6-3252_daily_bin1621.fits sctable="SC_DATA" expcube=/scratch/kocevski/459665/ltcube_659491201_659750401_4FGL_J2024.6-3252_daily_bin1621.fits outfile=/scratch/kocevski/459665/expmap_659491201_659750401_4FGL_J2024.6-3252_daily_bin1621.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/459665/ltcube_659491201_659750401_4FGL_J2024.6-3252_daily_bin1621.fits
.....................!
real 196.35
user 189.70
sys 6.25

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/459665/ft1_filtered_4FGL_J2024.6-3252_daily_bin1621.fits scfile=/scratch/kocevski/459665/ft2_4FGL_J2024.6-3252_daily_bin1621.fits outfile=/scratch/kocevski/459665/cmap_659491201_659750401_4FGL_J2024.6-3252_daily_bin1621.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.59
user 0.44
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/459665/ft1_filtered_4FGL_J2024.6-3252_daily_bin1621.fits scfile=/scratch/kocevski/459665/ft2_4FGL_J2024.6-3252_daily_bin1621.fits outfile=/scratch/kocevski/459665/cmap_HighResolution_659491201_659750401_4FGL_J2024.6-3252_daily_bin1621.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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/459665/ft1_filtered_4FGL_J2024.6-3252_daily_bin1621.fits evtable="EVENTS" scfile=/scratch/kocevski/459665/ft2_4FGL_J2024.6-3252_daily_bin1621.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/459665/Model_4FGL_J2024.6-3252_daily_bin1621.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/459665/ft1_filtered_4FGL_J2024.6-3252_daily_bin1621.fits.....................!
real 82.83
user 81.26
sys 1.40

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.409       1.0000         .10000E-03   10000.    
     2 'norm      '    3.6176       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.8852       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14286E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .13518E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19590E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11938E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23167E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10258E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10417E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .39919E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13334E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .89460E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.2375       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.272       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.414       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1932       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1243       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=   10176.94     FROM MIGRAD    STATUS=CONVERGED    410 CALLS     2024 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.292        19.547       -.28949E-06   -.51237E-04
   2  norm          3.5911        31.651        .18916E-04   -.42354E-04
   3  Prefactor     .10000E-03    2.4485        .35019E-06** at limit **
   4  norm          4.8860        1.5478       -.14177E-06   -.35384E-03
   5  Prefactor     .10000E-03    10.029        .31606E-05** at limit **
   6  norm          .10000E-03    3.9400       -.31124E-06** at limit **
   7  norm          .10000E-03    9.9834       -.71525E-06** at limit **
   8  Prefactor     .10000E-03    35.673        .15227E-04** at limit **
   9  norm          .10000E-03    25.894       -.19042E-04** at limit **
  10  Prefactor     .10000E-03    15.250       -.32378E-05** at limit **
  11  norm          .10000E-03    6.0992        .32721E-06** at limit **
  12  Prefactor     .10000E-03    18.769        .94573E-05** at limit **
  13  Prefactor     .10000E-03    3.5445       -.44221E-07** at limit **
  14  Prefactor     .10000E-03    19.844        .52787E-05** at limit **
  15  Prefactor     .10000E-03    30.445       -.34751E-05** at limit **
  16  norm          5.1912        17.312        .78625E-05   -.26546E-04
  17  Prefactor     10.202        21.181       -.13604E-04   -.13480E-04
  18  Prefactor     28.448        23.757        .55046E-05    .18217E-04
  19  Normalizat    1.1934        .25316        .10079E-05    .10697E-03
  20  Prefactor     1.1244        .92879E-01   -.29284E-07    .39272E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.2924
  norm       = 3.59107
  Prefactor  = 0.0001
  norm       = 4.88602
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.1912
  Prefactor  = 10.2019
  Prefactor  = 28.4476
  Normalizat = 1.19342
  Prefactor  = 1.12436
 **********
 **   18 **HESSE 
 **********

 FCN=   10176.94     FROM HESSE     STATUS=OK           287 CALLS     2311 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.292        19.506        .88659E-04   -1.4807    
   2  norm          3.5911        31.355        .21242E-03   -1.5329    
   3  Prefactor     .10000E-03    2.4811        .15410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8860        1.5464        .67167E-04   -1.5266    
   5  Prefactor     .10000E-03    10.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.9478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    35.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    26.524        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.1022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.002        .36369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    30.479        .20834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.1912        17.268        .17564E-03   -1.5252    
  17  Prefactor     10.202        21.385        .12502E-03   -1.5069    
  18  Prefactor     28.448        23.826        .75159E-04   -1.4641    
  19  Normalizat    1.1934        .28937        .43113E-03   -.86806    
  20  Prefactor     1.1244        .10734        .16805E-03   -.88692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87208e-10
Minuit parameter uncertainties:
  1  19.5124
  2  21.2372
  3  1.72205e-06
  4  1.54642
  5  1.92426e-06
  6  1.93899e-06
  7  3.1169e-06
  8  1.3984e-05
  9  0.00035812
  10  5.0394e-06
  11  2.50767e-06
  12  2.8987e-05
  13  0.000343178
  14  4.8544e-06
  15  2.03332e-05
  16  17.2844
  17  21.401
  18  23.8335
  19  0.289763
  20  0.10736
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.000e-04  3.581e-04  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.124e+00  1.074e-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.193e+00  2.898e-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: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/459665/likelihoodResults_659491201_659750401_4FGL_J2024.6-3252_daily_bin1621.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) = 10176.9396028
delta logL = -0.000179905369805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10176.9394236
delta logL = -7.43355485611e-07

Fit tolerance = 1e-08

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

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

 FCN=   10176.31     FROM MIGRAD    STATUS=CONVERGED    174 CALLS      341 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88487        1.7493        .87786E-04    .36261E-05
   2  alpha         4.6806        2.5059        .58798E-01    .71783E-04
   3  Normalizat    1.1047        .28674        .44593E-03   -.69855E-05
   4  Prefactor     1.1421        .10702        .16688E-03   -.44009E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.88487
  alpha      = 4.68065
  Normalizat = 1.10471
  Prefactor  = 1.14207
 **********
 **   18 **HESSE 
 **********

 FCN=   10176.31     FROM HESSE     STATUS=OK            25 CALLS      366 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88487        2.4023        .35114E-05   -1.5520    
   2  alpha         4.6806        2.8121        .11760E-01    2.0818    
   3  Normalizat    1.1047        .28655        .17837E-04   -.89601    
   4  Prefactor     1.1421        .10706        .66751E-05   -.88133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73459e-12
Minuit parameter uncertainties:
  1  2.40259
  2  1.72356
  3  0.286952
  4  0.107076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/459665': 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) = 10176.3074518
delta logL = 0.631971088054

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  8.849e-01  2.403e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  4.681e+00  1.724e+00  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.142e+00  1.071e-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.105e+00  2.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.35
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 4.68 +/- 1.72
Photon Flux (Free Index): 7.32e-08 +/- 3.78e-07
Energy Flux (Free Index): 1.04e-05 +/- 5.18e-05

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/459665/cmap_HighResolution_659491201_659750401_4FGL_J2024.6-3252_daily_bin1621.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-05', comment='SUCCESS', energy_flux2='1.04e-05', dlogl='6.32e-01', photon_flux2='7.32e-08', job_status='DONE', time_completed='2021-12-08 07:11:00.348319', photon_index_error2='1.72', photon_index2='4.68', ts='-0.00', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='5.18e-05', EG='1.19', time_epoch_completed='1638976260.35', return_code='0', job_id='459665', GAL2='1.14', EG2='1.10', return_code2='0', photon_flux_error2='3.78e-07', ts2='1.35', photon_index='2.35' WHERE bin_id='1621' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 07:11:00 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 459665: <4FGL_J2024.6-3252_daily_bin1621> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1621> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec  8 06:55:23 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 06:57:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 06:57:19 2021
Terminated at Wed Dec  8 07:11:01 2021
Results reported at Wed Dec  8 07:11:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1621 306.158 -32.874 659491201 659750401 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 :                                   813.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            938 sec.

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

