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


Performing analysis on: 4FGL_J1433.0-1801_daily_bin1068
RA = 218.253, Dec = -18.0196
tmin = 516153601, tmax = 516412801
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='606400', job_status='RUN', time_executed='2021-09-10 00:02:26.905749', time_epoch_executed='1631257346.91' WHERE source_name='4FGL J1433.0-1801' and cadence='daily' and bin_id='1068'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606400

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606400/ft1_4FGL_J1433.0-1801_daily_bin1068.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606400/ft2_4FGL_J1433.0-1801_daily_bin1068.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606400/ft1_4FGL_J1433.0-1801_daily_bin1068.fits outfile=/scratch/kocevski/606400/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1068.fits ra=218.253 dec=-18.0196 rad=12.0 tmin=516153601.0 tmax=516412801.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 3.53
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606400/ft1_filtered_4FGL_J1433.0-1801_daily_bin1068.fits" evtable="EVENTS" scfile=/scratch/kocevski/606400/ft2_4FGL_J1433.0-1801_daily_bin1068.fits sctable="SC_DATA" outfile=/scratch/kocevski/606400/ltcube_516153601_516412801_4FGL_J1433.0-1801_daily_bin1068.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/606400/ft2_4FGL_J1433.0-1801_daily_bin1068.fits
.....................!
real 11.94
user 11.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606400/ft1_filtered_4FGL_J1433.0-1801_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/606400/ft2_4FGL_J1433.0-1801_daily_bin1068.fits sctable="SC_DATA" expcube=/scratch/kocevski/606400/ltcube_516153601_516412801_4FGL_J1433.0-1801_daily_bin1068.fits outfile=/scratch/kocevski/606400/expmap_516153601_516412801_4FGL_J1433.0-1801_daily_bin1068.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/606400/ltcube_516153601_516412801_4FGL_J1433.0-1801_daily_bin1068.fits
.....................!
real 190.73
user 185.64
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/606400/ft1_filtered_4FGL_J1433.0-1801_daily_bin1068.fits scfile=/scratch/kocevski/606400/ft2_4FGL_J1433.0-1801_daily_bin1068.fits outfile=/scratch/kocevski/606400/cmap_516153601_516412801_4FGL_J1433.0-1801_daily_bin1068.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606400/ft1_filtered_4FGL_J1433.0-1801_daily_bin1068.fits scfile=/scratch/kocevski/606400/ft2_4FGL_J1433.0-1801_daily_bin1068.fits outfile=/scratch/kocevski/606400/cmap_HighResolution_516153601_516412801_4FGL_J1433.0-1801_daily_bin1068.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/606400/ft1_filtered_4FGL_J1433.0-1801_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/606400/ft2_4FGL_J1433.0-1801_daily_bin1068.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606400/Model_4FGL_J1433.0-1801_daily_bin1068.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/606400/ft1_filtered_4FGL_J1433.0-1801_daily_bin1068.fits.....................!
real 67.75
user 66.37
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0614       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.3617       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6611       1.0000         .10000E-03   10000.    
     7 'norm      '    14.721       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    12.200       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.657       1.0000         .10000E-03   10000.    
    13 'Prefactor '    65.399       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.260       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0682       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0720       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=   7708.425     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1604 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0614        4.2541       -.27760E-06   -.31185E-03
   2  Prefactor     .10000E-03    14.341       -.28592E-08** at limit **
   3  norm          .10000E-03    5.7769        .50638E-07** at limit **
   4  Prefactor     .10000E-03    36.226        .16077E-06** at limit **
   5  norm          2.3614        4.3915       -.75298E-06   -.81193E-03
   6  Prefactor     1.6565        44.512       -.49193E-05   -.72199E-04
   7  norm          14.720        10.472        .19986E-06   -.23229E-05
   8  Prefactor     .10000E-03    17.719       -.18731E-06** at limit **
   9  Prefactor     .10000E-03    9.6480       -.30034E-07** at limit **
  10  norm          12.200        12.437       -.35392E-06   -.20792E-04
  11  Prefactor     .10000E-03    4.1095       -.28306E-06** at limit **
  12  Prefactor     28.654        57.896       -.47820E-05    .38823E-04
  13  Prefactor     65.410        71.644        .12709E-04   -.16066E-03
  14  Prefactor     43.259        55.988       -.13370E-05   -.30709E-04
  15  Prefactor     .10000E-03    5.0373        .21899E-07** at limit **
  16  Normalizat    1.0683        .27922       -.51689E-06    .48328E-05
  17  Prefactor     1.0720        .10767        .14582E-06    .17753E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.06135
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.36136
  Prefactor  = 1.6565
  norm       = 14.7202
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.2
  Prefactor  = 0.0001
  Prefactor  = 28.6544
  Prefactor  = 65.4098
  Prefactor  = 43.2594
  Prefactor  = 0.0001
  Normalizat = 1.06825
  Prefactor  = 1.07202
 **********
 **   18 **HESSE 
 **********

 FCN=   7708.425     FROM HESSE     STATUS=OK           219 CALLS     1823 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0614        4.2611        .20891E-03   -1.5358    
   2  Prefactor     .10000E-03    14.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.8264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    36.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.3614        4.5035        .23519E-03   -1.5401    
   6  Prefactor     1.6565        46.580        .32732E-03   -1.5451    
   7  norm          14.720        10.448        .10439E-03   -1.4940    
   8  Prefactor     .10000E-03    17.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.6537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.200        12.438        .11469E-03   -1.5009    
  11  Prefactor     .10000E-03    4.1429        .17396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.654        57.852        .74840E-04   -1.4637    
  13  Prefactor     65.410        69.562        .49627E-04   -1.4089    
  14  Prefactor     43.259        55.986        .60952E-04   -1.4392    
  15  Prefactor     .10000E-03    5.0494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0683        .32329        .42897E-03   -.90778    
  17  Prefactor     1.0720        .12558        .16862E-03   -.90366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.89434e-10
Minuit parameter uncertainties:
  1  4.26148
  2  1.77521e-06
  3  1.79485e-06
  4  7.02897e-06
  5  4.50419
  6  17.5827
  7  10.4497
  8  4.65684e-07
  9  1.07403e-06
  10  12.4402
  11  6.04454e-05
  12  57.9655
  13  69.6489
  14  56.0541
  15  2.82952e-06
  16  0.323884
  17  0.125616
Done.

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

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  1.220e+01  1.244e+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:  1.072e+00  1.256e-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.068e+00  3.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.58
Ra Dec: 218.253 -18.020
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 3.70e-08 +/- 3.77e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.21e-05

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

Saving results to:
/scratch/kocevski/606400/likelihoodResults_516153601_516412801_4FGL_J1433.0-1801_daily_bin1068.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) = 7708.34793935
delta logL = 0.0771162714864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7708.34704466
delta logL = 0.078010960181

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.434       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9811       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0792       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0697       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=   7708.347     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      188 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.439        12.874        .13716E-04   -.14533E-03
   2  alpha         1.9823        1.0229        .29801E-04   -.38990E-04
   3  Normalizat    1.0793        .27057       -.14409E-05   -.55396E-04
   4  Prefactor     1.0697        .10701       -.45845E-06   -.74780E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.4389
  alpha      = 1.98234
  Normalizat = 1.07926
  Prefactor  = 1.06969
 **********
 **   18 **HESSE 
 **********

 FCN=   7708.347     FROM HESSE     STATUS=OK            31 CALLS      219 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.439        12.860        .11360E-03   -1.5002    
   2  alpha         1.9823        1.0254        .84663E-02   -.20857    
   3  Normalizat    1.0793        .31433        .42704E-03   -.90421    
   4  Prefactor     1.0697        .12466        .16877E-03   -.90441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64417e-10
Minuit parameter uncertainties:
  1  12.8627
  2  1.05808
  3  0.314878
  4  0.124697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606400': 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) = 7708.34704395
delta logL = 0.0780116779461

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  1.244e+01  1.286e+01  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  1.982e+00  1.058e+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:  1.070e+00  1.247e-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.079e+00  3.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.73
Ra Dec: 218.253 -18.020
Photon Index (Free Index): 1.98 +/- 1.06
Photon Flux (Free Index): 2.72e-08 +/- 3.74e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.21e-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/606400/cmap_HighResolution_516153601_516412801_4FGL_J1433.0-1801_daily_bin1068.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-05', comment='SUCCESS', photon_flux='3.70e-08', energy_flux2='1.20e-05', photon_flux_error='3.77e-08', dlogl='7.80e-02', energy_flux='1.18e-05', photon_flux2='2.72e-08', job_status='DONE', time_completed='2021-09-10 00:12:39.453611', photon_index_error2='1.06', photon_index2='1.98', ts='1.58', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.21e-05', EG='1.07', time_epoch_completed='1631257959.45', return_code='0', job_id='606400', GAL2='1.07', EG2='1.08', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='3.74e-08', ts2='1.73', photon_index='2.39' WHERE bin_id='1068' AND source_name='4FGL J1433.0-1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:12:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 606400: <4FGL_J1433.0-1801_daily_bin1068> in cluster <slac> Done

Job <4FGL_J1433.0-1801_daily_bin1068> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:01:36 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:01:38 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:38 2021
Terminated at Fri Sep 10 00:12:40 2021
Results reported at Fri Sep 10 00:12:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1433.0-1801_daily_bin1068 218.253 -18.0196 516153601 516412801 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 :                                   608.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            664 sec.

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

