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


Performing analysis on: 4FGL_J1433.0-1801_daily_bin1048
RA = 218.253, Dec = -18.0196
tmin = 510969601, tmax = 511228801
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='606372', job_status='RUN', time_executed='2021-09-10 00:04:56.588368', time_epoch_executed='1631257496.59' WHERE source_name='4FGL J1433.0-1801' and cadence='daily' and bin_id='1048'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606372

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606372/ft1_4FGL_J1433.0-1801_daily_bin1048.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606372/ft1_4FGL_J1433.0-1801_daily_bin1048.fits outfile=/scratch/kocevski/606372/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1048.fits ra=218.253 dec=-18.0196 rad=12.0 tmin=510969601.0 tmax=511228801.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.64
user 2.44
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.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/606372/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1048.fits evtable="EVENTS" outfile="/scratch/kocevski/606372/ft1_filtered_4FGL_J1433.0-1801_daily_bin1048.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.43
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606372/ft1_filtered_4FGL_J1433.0-1801_daily_bin1048.fits" evtable="EVENTS" scfile=/scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits sctable="SC_DATA" outfile=/scratch/kocevski/606372/ltcube_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.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/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits
.....................!
real 9.59
user 9.28
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606372/ft1_filtered_4FGL_J1433.0-1801_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits sctable="SC_DATA" expcube=/scratch/kocevski/606372/ltcube_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.fits outfile=/scratch/kocevski/606372/expmap_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.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/606372/ltcube_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.fits
.....................!
real 145.33
user 141.23
sys 3.86

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 184 point sources and 0 extended sources

Setting source of interest to:
4FGL J1433.0-1801 @ 218.253 -18.0196

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/606372/ft1_filtered_4FGL_J1433.0-1801_daily_bin1048.fits scfile=/scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits outfile=/scratch/kocevski/606372/cmap_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.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=218.253 yref=-18.0196 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.51
user 0.28
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606372/ft1_filtered_4FGL_J1433.0-1801_daily_bin1048.fits scfile=/scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits outfile=/scratch/kocevski/606372/cmap_HighResolution_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.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=218.253 yref=-18.0196 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.45
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/606372/ft1_filtered_4FGL_J1433.0-1801_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606372/Model_4FGL_J1433.0-1801_daily_bin1048.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/606372/ft1_filtered_4FGL_J1433.0-1801_daily_bin1048.fits.....................!
real 42.79
user 41.66
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/606372/ft1_filtered_4FGL_J1433.0-1801_daily_bin1048.fits', '/scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits', expMap='/scratch/kocevski/606372/expmap_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.fits', expCube='/scratch/kocevski/606372/ltcube_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/606372/Model_4FGL_J1433.0-1801_daily_bin1048.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1433.0-1801'

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  2.612e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  2.395e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  3.285e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  5.808e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/606372/ft1_filtered_4FGL_J1433.0-1801_daily_bin1048.fits
Spacecraft file(s): /scratch/kocevski/606372/ft2_4FGL_J1433.0-1801_daily_bin1048.fits
Exposure map: /scratch/kocevski/606372/expmap_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.fits
Exposure cube: /scratch/kocevski/606372/ltcube_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/606372/Model_4FGL_J1433.0-1801_daily_bin1048.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) = 6181.51150646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5859       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    17.869       1.0000         .10000E-03   10000.    
     4 'Prefactor '    125.11       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    43.201       1.0000         .10000E-03   10000.    
     7 'norm      '    21.552       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8619       1.0000         .10000E-03   10000.    
    10 'norm      '    12.645       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14232E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.6095       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1942       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86387       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6181.510     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1612 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5858        4.8555       -.11016E-05   -.77427E-03
   2  Prefactor     .10000E-03    42.425       -.25926E-04** at limit **
   3  norm          17.870        12.485        .31414E-07   -.77686E-05
   4  Prefactor     125.11        95.047        .91578E-06   -.17981E-05
   5  norm          .10000E-03    1.3669       -.21261E-06** at limit **
   6  Prefactor     43.201        32.115       -.58534E-06   -.49473E-05
   7  norm          21.554        10.225        .76124E-05    .44816E-05
   8  Prefactor     .10000E-03    11.269       -.29681E-06** at limit **
   9  Prefactor     3.8625        30.397       -.20335E-05   -.28282E-04
  10  norm          12.641        18.567       -.90241E-06    .17430E-04
  11  Prefactor     .10235E-03    5.2862       -.10548E-05** at limit **
  12  Prefactor     .10000E-03    66.096        .17854E-04** at limit **
  13  Prefactor     .10000E-03    67.324        .20475E-04** at limit **
  14  Prefactor     .10000E-03    33.806        .11491E-04** at limit **
  15  Prefactor     8.6087        12.864       -.81549E-06   -.61911E-04
  16  Normalizat    1.1942        .27955       -.34015E-05    .89414E-04
  17  Prefactor     .86388        .10610        .48277E-06   -.60713E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.5858
  Prefactor  = 0.0001
  norm       = 17.87
  Prefactor  = 125.107
  norm       = 0.0001
  Prefactor  = 43.2013
  norm       = 21.5541
  Prefactor  = 0.0001
  Prefactor  = 3.86255
  norm       = 12.6415
  Prefactor  = 0.000102351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.60872
  Normalizat = 1.19416
  Prefactor  = 0.863876
 **********
 **   18 **HESSE 
 **********

 FCN=   6181.510     FROM HESSE     STATUS=OK           229 CALLS     1841 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5858        4.8580        .29625E-03   -1.5456    
   2  Prefactor     .10000E-03    42.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.870        12.498        .94747E-04   -1.4862    
   4  Prefactor     125.11        95.073        .35988E-04   -1.3466    
   5  norm          .10000E-03    1.3845        .89777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     43.201        32.120        .60993E-04   -1.4392    
   7  norm          21.554        10.205        .86278E-04   -1.4779    
   8  Prefactor     .10000E-03    11.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8625        30.254        .20535E-03   -1.5315    
  10  norm          12.641        18.543        .11265E-03   -1.4997    
  11  Prefactor     .10235E-03    6.1889        .55394E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    66.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    67.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    33.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.6087        12.869        .13661E-03   -1.5121    
  16  Normalizat    1.1942        .32963        .38023E-03   -.86784    
  17  Prefactor     .86388        .12578        .17034E-03   -.97415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93261e-09
Minuit parameter uncertainties:
  1  4.85919
  2  0.000150085
  3  12.4996
  4  95.1888
  5  2.27363e-05
  6  32.1325
  7  10.2054
  8  6.80722e-05
  9  21.6348
  10  18.5519
  11  0.0076295
  12  3.67041e-05
  13  0.00010467
  14  4.43508e-05
  15  12.8732
  16  0.330204
  17  0.125821
Done.

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

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  1.264e+01  1.855e+01  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  2.395e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  3.285e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  5.808e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  8.639e-01  1.258e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.194e+00  3.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.61
Ra Dec: 218.253 -18.020
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/606372/likelihoodResults_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.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) = 6179.89384243
delta logL = 1.61582524375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6179.89095205
delta logL = 1.61871562598

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9937       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1805       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89788       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+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=   6179.891     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      312 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9942        13.676        .11527E-03   -.35219E-03
   2  alpha         4.1804        1.3401        .19122E-01   -.10738E-04
   3  Normalizat    1.0382        .33671        .40388E-03    .49570E-04
   4  Prefactor     .89790        .12800        .16721E-03    .34504E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.99415
  alpha      = 4.18042
  Normalizat = 1.03821
  Prefactor  = 0.8979
 **********
 **   18 **HESSE 
 **********

 FCN=   6179.891     FROM HESSE     STATUS=OK            25 CALLS      337 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9942        9.7360        .46109E-05   -1.5179    
   2  alpha         4.1804        1.0076        .76488E-03    .73713    
   3  Normalizat    1.0382        .33603        .16155E-04   -.91761    
   4  Prefactor     .89790        .12747        .33442E-04   -.96215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58541e-10
Minuit parameter uncertainties:
  1  9.73821
  2  1.06544
  3  0.336716
  4  0.127513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606372': 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) = 6179.89095202
delta logL = 1.61871564928

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  6.994e+00  9.738e+00  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  4.180e+00  1.065e+00  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  3.285e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  5.808e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  8.979e-01  1.275e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.038e+00  3.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.10
Ra Dec: 218.253 -18.020
Photon Index (Free Index): 4.18 +/- 1.07
Photon Flux (Free Index): 1.73e-07 +/- 1.10e-07
Energy Flux (Free Index): 2.81e-05 +/- 1.69e-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/606372/cmap_HighResolution_510969601_511228801_4FGL_J1433.0-1801_daily_bin1048.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-05', comment='SUCCESS', energy_flux2='2.81e-05', dlogl='1.62e+00', photon_flux2='1.73e-07', job_status='DONE', time_completed='2021-09-10 00:12:05.426212', photon_index_error2='1.07', photon_index2='4.18', ts='0.61', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.69e-05', EG='1.19', time_epoch_completed='1631257925.43', return_code='0', job_id='606372', GAL2='0.90', EG2='1.04', return_code2='0', photon_flux_error2='1.10e-07', ts2='4.10', photon_index='2.39' WHERE bin_id='1048' AND source_name='4FGL J1433.0-1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:12:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 606372: <4FGL_J1433.0-1801_daily_bin1048> in cluster <slac> Done

Job <4FGL_J1433.0-1801_daily_bin1048> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:01:32 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:01:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 00:01:34 2021
Terminated at Fri Sep 10 00:12:45 2021
Results reported at Fri Sep 10 00:12:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1433.0-1801_daily_bin1048 218.253 -18.0196 510969601 511228801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1433.0-1801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   425.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             256.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   643 sec.
    Turnaround time :                            689 sec.

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

