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


Performing analysis on: 4FGL_J1433.0-1801_daily_bin1417
RA = 218.253, Dec = -18.0196
tmin = 606614401, tmax = 606873601
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='607941', job_status='RUN', time_executed='2021-09-10 00:06:54.263566', time_epoch_executed='1631257614.26' WHERE source_name='4FGL J1433.0-1801' and cadence='daily' and bin_id='1417'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/607941

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/607941/ft1_4FGL_J1433.0-1801_daily_bin1417.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/607941/ft1_4FGL_J1433.0-1801_daily_bin1417.fits outfile=/scratch/kocevski/607941/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1417.fits ra=218.253 dec=-18.0196 rad=12.0 tmin=606614401.0 tmax=606873601.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.14
user 4.89
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.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/607941/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1417.fits evtable="EVENTS" outfile="/scratch/kocevski/607941/ft1_filtered_4FGL_J1433.0-1801_daily_bin1417.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.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/607941/ft1_filtered_4FGL_J1433.0-1801_daily_bin1417.fits" evtable="EVENTS" scfile=/scratch/kocevski/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.fits sctable="SC_DATA" outfile=/scratch/kocevski/607941/ltcube_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.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/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.fits
.....................!
real 11.50
user 11.11
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/607941/ft1_filtered_4FGL_J1433.0-1801_daily_bin1417.fits evtable="EVENTS" scfile=/scratch/kocevski/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.fits sctable="SC_DATA" expcube=/scratch/kocevski/607941/ltcube_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.fits outfile=/scratch/kocevski/607941/expmap_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.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/607941/ltcube_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.fits
.....................!
real 191.44
user 186.37
sys 4.66

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/607941/ft1_filtered_4FGL_J1433.0-1801_daily_bin1417.fits scfile=/scratch/kocevski/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.fits outfile=/scratch/kocevski/607941/cmap_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/607941/ft1_filtered_4FGL_J1433.0-1801_daily_bin1417.fits scfile=/scratch/kocevski/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.fits outfile=/scratch/kocevski/607941/cmap_HighResolution_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.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.54
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/607941/ft1_filtered_4FGL_J1433.0-1801_daily_bin1417.fits evtable="EVENTS" scfile=/scratch/kocevski/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/607941/Model_4FGL_J1433.0-1801_daily_bin1417.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/607941/ft1_filtered_4FGL_J1433.0-1801_daily_bin1417.fits.....................!
real 55.47
user 54.20
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/607941/ft1_filtered_4FGL_J1433.0-1801_daily_bin1417.fits', '/scratch/kocevski/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.fits', expMap='/scratch/kocevski/607941/expmap_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.fits', expCube='/scratch/kocevski/607941/ltcube_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/607941/Model_4FGL_J1433.0-1801_daily_bin1417.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/607941/ft1_filtered_4FGL_J1433.0-1801_daily_bin1417.fits
Spacecraft file(s): /scratch/kocevski/607941/ft2_4FGL_J1433.0-1801_daily_bin1417.fits
Exposure map: /scratch/kocevski/607941/expmap_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.fits
Exposure cube: /scratch/kocevski/607941/ltcube_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/607941/Model_4FGL_J1433.0-1801_daily_bin1417.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) = 6054.53543029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.2376       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.313       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.720       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0562       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.7679       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .74374       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=   6054.528     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1891 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.2967        .15005E-07** at limit **
   2  Prefactor     .10000E-03    25.887        .14330E-05** at limit **
   3  norm          .10000E-03    4.0168       -.70548E-09** at limit **
   4  Prefactor     .10000E-03    26.643       -.17660E-05** at limit **
   5  norm          .10000E-03    1.0070       -.72898E-08** at limit **
   6  Prefactor     .10000E-03    11.130        .70470E-06** at limit **
   7  norm          .10000E-03    3.7260        .47394E-08** at limit **
   8  Prefactor     .10000E-03    15.061       -.44295E-06** at limit **
   9  Prefactor     .10000E-03    7.5187       -.82879E-07** at limit **
  10  norm          1.2377        1.1954        .47983E-07   -.41284E-03
  11  Prefactor     .10000E-03    5.1960       -.36248E-05** at limit **
  12  Prefactor     .10000E-03    16.300        .23012E-05** at limit **
  13  Prefactor     12.322        70.591        .24467E-04    .97107E-04
  14  Prefactor     28.716        56.557       -.57296E-05    .34075E-03
  15  Prefactor     3.0541        11.412        .10953E-06    .20779E-04
  16  Normalizat    1.7681        .26994        .24479E-06    .25114E-03
  17  Prefactor     .74369        .10321       -.13999E-06    .51516E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.23768
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 12.3216
  Prefactor  = 28.7162
  Prefactor  = 3.05407
  Normalizat = 1.76807
  Prefactor  = 0.743695
 **********
 **   18 **HESSE 
 **********

 FCN=   6054.528     FROM HESSE     STATUS=OK           211 CALLS     2102 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.3458        .17488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.0332        .15230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    26.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.0129        .76249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.7409        .14667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.5203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.2377        10.885        .20170E-02   -1.5485    
  11  Prefactor     .10000E-03    14.160        .31337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.322        77.196        .11416E-03   -1.5006    
  14  Prefactor     28.716        54.923        .74758E-04   -1.4636    
  15  Prefactor     3.0541        11.393        .23206E-03   -1.5358    
  16  Normalizat    1.7681        .31694        .32774E-03   -.70500    
  17  Prefactor     .74369        .12152        .18117E-03   -1.0184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23027e-09
Minuit parameter uncertainties:
  1  1.90389e-06
  2  0.000322863
  3  2.10882e-07
  4  0.00040199
  5  2.54748e-07
  6  0.000103866
  7  8.0879e-07
  8  7.38154e-05
  9  1.03575e-05
  10  7.34226
  11  0.000146791
  12  0.000407293
  13  61.7999
  14  55.0201
  15  11.4009
  16  0.317311
  17  0.121565
Done.

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

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  1.238e+00  7.342e+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

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  7.437e-01  1.216e-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.768e+00  3.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 218.253 -18.020
Photon Flux Upper Limit: 8.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/607941/likelihoodResults_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.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) = 6054.45463065
delta logL = 0.0736784824321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6054.41552426
delta logL = 0.112784881798

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6054.416     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      224 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1394        8.3038         .0000        .49791E-02
   2  alpha         1.4561        1.5282         .0000       -.10191E-04
   3  Normalizat    1.7736        .26872         .0000        .30898E-05
   4  Prefactor     .74052        .10267         .0000        .14676E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.13944
  alpha      = 1.45606
  Normalizat = 1.77362
  Prefactor  = 0.740517
 **********
 **   18 **HESSE 
 **********

 FCN=   6054.416     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1394        7.4299        .11425E-02   -1.5354    
   2  alpha         1.4561        1.4460        .49459E-01   -.43078    
   3  Normalizat    1.7736        .31579        .32732E-03   -.70354    
   4  Prefactor     .74052        .12070        .18149E-03   -1.0196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35466e-09
Minuit parameter uncertainties:
  1  7.43207
  2  1.5674
  3  0.316153
  4  0.120741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/607941': 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) = 6054.41552374
delta logL = 0.11278539777

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  3.139e+00  7.432e+00  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  1.456e+00  1.567e+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:  7.405e-01  1.207e-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.774e+00  3.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 218.253 -18.020

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/607941/cmap_HighResolution_606614401_606873601_4FGL_J1433.0-1801_daily_bin1417.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-05', job_status='DONE', photon_flux_upper_limit='8.37e-08', time_completed='2021-09-10 00:16:24.198830', job_id='607941', GAL2='0.74', fit_tolerance='1e-08', EG2='1.77', EG='1.77', time_epoch_completed='1631258184.2', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.13e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1417' AND source_name='4FGL J1433.0-1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:16:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 607941: <4FGL_J1433.0-1801_daily_bin1417> in cluster <slac> Done

Job <4FGL_J1433.0-1801_daily_bin1417> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 00:06:35 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:06:36 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:06:36 2021
Terminated at Fri Sep 10 00:16:25 2021
Results reported at Fri Sep 10 00:16:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1433.0-1801_daily_bin1417 218.253 -18.0196 606614401 606873601 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 :                                   567.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   588 sec.
    Turnaround time :                            590 sec.

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

