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


Performing analysis on: 4FGL_J1433.0-1801_daily_bin1021
RA = 218.253, Dec = -18.0196
tmin = 503971201, tmax = 504230401
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='606334', job_status='RUN', time_executed='2021-09-10 00:04:33.779386', time_epoch_executed='1631257473.78' WHERE source_name='4FGL J1433.0-1801' and cadence='daily' and bin_id='1021'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606334

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606334/ft1_4FGL_J1433.0-1801_daily_bin1021.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606334/ft2_4FGL_J1433.0-1801_daily_bin1021.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606334/ft1_4FGL_J1433.0-1801_daily_bin1021.fits outfile=/scratch/kocevski/606334/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1021.fits ra=218.253 dec=-18.0196 rad=12.0 tmin=503971201.0 tmax=504230401.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 4.04
user 3.80
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/606334/ft2_4FGL_J1433.0-1801_daily_bin1021.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/606334/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1021.fits evtable="EVENTS" outfile="/scratch/kocevski/606334/ft1_filtered_4FGL_J1433.0-1801_daily_bin1021.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.49
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606334/ft1_filtered_4FGL_J1433.0-1801_daily_bin1021.fits" evtable="EVENTS" scfile=/scratch/kocevski/606334/ft2_4FGL_J1433.0-1801_daily_bin1021.fits sctable="SC_DATA" outfile=/scratch/kocevski/606334/ltcube_503971201_504230401_4FGL_J1433.0-1801_daily_bin1021.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/606334/ft2_4FGL_J1433.0-1801_daily_bin1021.fits
.....................!
real 11.75
user 11.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606334/ft1_filtered_4FGL_J1433.0-1801_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/606334/ft2_4FGL_J1433.0-1801_daily_bin1021.fits sctable="SC_DATA" expcube=/scratch/kocevski/606334/ltcube_503971201_504230401_4FGL_J1433.0-1801_daily_bin1021.fits outfile=/scratch/kocevski/606334/expmap_503971201_504230401_4FGL_J1433.0-1801_daily_bin1021.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/606334/ltcube_503971201_504230401_4FGL_J1433.0-1801_daily_bin1021.fits
.....................!
real 191.04
user 185.14
sys 5.49

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/606334/ft1_filtered_4FGL_J1433.0-1801_daily_bin1021.fits scfile=/scratch/kocevski/606334/ft2_4FGL_J1433.0-1801_daily_bin1021.fits outfile=/scratch/kocevski/606334/cmap_503971201_504230401_4FGL_J1433.0-1801_daily_bin1021.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606334/ft1_filtered_4FGL_J1433.0-1801_daily_bin1021.fits scfile=/scratch/kocevski/606334/ft2_4FGL_J1433.0-1801_daily_bin1021.fits outfile=/scratch/kocevski/606334/cmap_HighResolution_503971201_504230401_4FGL_J1433.0-1801_daily_bin1021.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/606334/ft1_filtered_4FGL_J1433.0-1801_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/606334/ft2_4FGL_J1433.0-1801_daily_bin1021.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606334/Model_4FGL_J1433.0-1801_daily_bin1021.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/606334/ft1_filtered_4FGL_J1433.0-1801_daily_bin1021.fits.....................!
real 87.08
user 85.45
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3792       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      '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.607       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8746       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.142       1.0000         .10000E-03   10000.    
    10 'norm      '    4.3153       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4152       1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.925       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.149       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10381E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0948       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88041       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.

 FCN=   11223.12     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1592 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3796        2.6643        .92680E-02    .96260E-03
   2  Prefactor     .10000E-03    10.107        .90712E-02** at limit **
   3  norm          .10000E-03    2.7074        .90712E-02** at limit **
   4  Prefactor     .10000E-03    15.853        .90712E-02** at limit **
   5  norm          .10000E-03    1.3244        .41620E-01** at limit **
   6  Prefactor     .10000E-03    5.6217        .90712E-02** at limit **
   7  norm          19.606        7.2656        .22613E-02    .33318E-03
   8  Prefactor     8.8735        16.604        .33637E-02   -.31543E-03
   9  Prefactor     14.143        13.070        .26627E-02    .59100E-04
  10  norm          4.3154        5.8235        .48481E-02   -.40565E-03
  11  Prefactor     1.4082        4.0333        .90985E-02    .17567E-02
  12  Prefactor     42.924        34.407        .15297E-02    .14604E-03
  13  Prefactor     .10000E-03    124.84        .90712E-02** at limit **
  14  Prefactor     17.147        29.366        .24179E-02    .69117E-04
  15  Prefactor     .10000E-03    3.1163        .90712E-01** at limit **
  16  Normalizat    1.0948        .18321        .78919E-01    .33509E-04
  17  Prefactor     .88038        .74054E-01    .44755E-01   -.14627E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.3796
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 19.6062
  Prefactor  = 8.87347
  Prefactor  = 14.1426
  norm       = 4.31541
  Prefactor  = 1.40818
  Prefactor  = 42.9243
  Prefactor  = 0.0001
  Prefactor  = 17.1472
  Prefactor  = 0.0001
  Normalizat = 1.09484
  Prefactor  = 0.880382
 **********
 **   18 **HESSE 
 **********

 FCN=   11223.12     FROM HESSE     STATUS=OK           227 CALLS     1819 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3796        2.6189        .23376E-03   -1.5473    
   2  Prefactor     .10000E-03    10.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.7190        .17022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.7525        .23433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.6310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.606        7.2047        .90454E-04   -1.4822    
   8  Prefactor     8.8735        16.621        .13455E-03   -1.5112    
   9  Prefactor     14.143        13.067        .10651E-03   -1.4956    
  10  norm          4.3154        5.8113        .19392E-03   -1.5292    
  11  Prefactor     1.4082        3.9295        .32197E-03   -1.5471    
  12  Prefactor     42.924        34.363        .61189E-04   -1.4397    
  13  Prefactor     .10000E-03    124.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.147        28.944        .96717E-04   -1.4880    
  15  Prefactor     .10000E-03    14.376        .36030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0948        .21626        .34934E-03   -.89918    
  17  Prefactor     .88038        .88169E-01    .15930E-03   -.96830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59243e-10
Minuit parameter uncertainties:
  1  2.61916
  2  1.09127e-06
  3  3.04327e-06
  4  1.14151e-05
  5  1.31736e-06
  6  1.23937e-06
  7  7.20507
  8  16.6297
  9  13.0697
  10  5.81202
  11  3.93025
  12  34.3786
  13  0.000207162
  14  28.9678
  15  7.33894e-06
  16  0.216434
  17  0.0881837
Done.

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

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  4.315e+00  5.812e+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:  8.804e-01  8.818e-02  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.095e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 218.253 -18.020
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.31e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 4.19e-06 +/- 5.64e-06

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

Saving results to:
/scratch/kocevski/606334/likelihoodResults_503971201_504230401_4FGL_J1433.0-1801_daily_bin1021.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) = 11222.923889
delta logL = 0.193562598488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11222.9172405
delta logL = 0.200211063824

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8478       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4159       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87805       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=   11222.92     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8487        5.2140        .49976E-05    .24300E-03
   2  alpha         1.4164        1.1232        .20896E-04   -.11406E-03
   3  Normalizat    1.1046        .17753       -.19802E-06   -.93062E-04
   4  Prefactor     .87806        .73810E-01   -.10662E-06   -.69589E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.84874
  alpha      = 1.41642
  Normalizat = 1.10459
  Prefactor  = 0.878062
 **********
 **   18 **HESSE 
 **********

 FCN=   11222.92     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8487        5.2893        .20573E-03   -1.5316    
   2  alpha         1.4164        1.1916        .50420E-01   -.44830    
   3  Normalizat    1.1046        .21074        .34797E-03   -.89605    
   4  Prefactor     .87806        .87805E-01    .15947E-03   -.96912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34861e-09
Minuit parameter uncertainties:
  1  5.28997
  2  1.25564
  3  0.210901
  4  0.0878189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606334': 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) = 11222.9172403
delta logL = 0.200211302341

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  3.849e+00  5.290e+00  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  1.416e+00  1.256e+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.781e-01  8.782e-02  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.105e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.43
Ra Dec: 218.253 -18.020
Photon Index (Free Index): 1.42 +/- 1.26
Photon Flux (Free Index): 6.46e-09 +/- 9.85e-09
Energy Flux (Free Index): 5.12e-06 +/- 7.09e-06

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/606334/cmap_HighResolution_503971201_504230401_4FGL_J1433.0-1801_daily_bin1021.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-05', comment='SUCCESS', photon_flux='1.31e-08', energy_flux2='5.12e-06', photon_flux_error='1.76e-08', dlogl='2.00e-01', energy_flux='4.19e-06', photon_flux2='6.46e-09', job_status='DONE', time_completed='2021-09-10 00:17:27.462804', photon_index_error2='1.26', photon_index2='1.42', ts='1.04', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='6.45e-08', energy_flux_error2='7.09e-06', EG='1.09', time_epoch_completed='1631258247.46', return_code='0', job_id='606334', GAL2='0.88', EG2='1.10', return_code2='0', energy_flux_error='5.64e-06', photon_flux_error2='9.85e-09', ts2='1.43', photon_index='2.39' WHERE bin_id='1021' AND source_name='4FGL J1433.0-1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:17:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 606334: <4FGL_J1433.0-1801_daily_bin1021> in cluster <slac> Done

Job <4FGL_J1433.0-1801_daily_bin1021> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:01:30 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:01:32 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:32 2021
Terminated at Fri Sep 10 00:17:28 2021
Results reported at Fri Sep 10 00:17:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1433.0-1801_daily_bin1021 218.253 -18.0196 503971201 504230401 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 :                                   769.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            958 sec.

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

