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


Performing analysis on: 4FGL_J1433.0-1801_daily_bin1273
RA = 218.253, Dec = -18.0196
tmin = 569289601, tmax = 569548801
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='607685', job_status='RUN', time_executed='2021-09-10 00:08:32.335888', time_epoch_executed='1631257712.34' WHERE source_name='4FGL J1433.0-1801' and cadence='daily' and bin_id='1273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/607685

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/607685/ft1_4FGL_J1433.0-1801_daily_bin1273.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/607685/ft2_4FGL_J1433.0-1801_daily_bin1273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/607685/ft1_4FGL_J1433.0-1801_daily_bin1273.fits outfile=/scratch/kocevski/607685/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1273.fits ra=218.253 dec=-18.0196 rad=12.0 tmin=569289601.0 tmax=569548801.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.72
user 3.35
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/607685/ft1_filtered_4FGL_J1433.0-1801_daily_bin1273.fits" evtable="EVENTS" scfile=/scratch/kocevski/607685/ft2_4FGL_J1433.0-1801_daily_bin1273.fits sctable="SC_DATA" outfile=/scratch/kocevski/607685/ltcube_569289601_569548801_4FGL_J1433.0-1801_daily_bin1273.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/607685/ft2_4FGL_J1433.0-1801_daily_bin1273.fits
.....................!
real 12.16
user 11.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/607685/ft1_filtered_4FGL_J1433.0-1801_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/607685/ft2_4FGL_J1433.0-1801_daily_bin1273.fits sctable="SC_DATA" expcube=/scratch/kocevski/607685/ltcube_569289601_569548801_4FGL_J1433.0-1801_daily_bin1273.fits outfile=/scratch/kocevski/607685/expmap_569289601_569548801_4FGL_J1433.0-1801_daily_bin1273.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/607685/ltcube_569289601_569548801_4FGL_J1433.0-1801_daily_bin1273.fits
.....................!
real 189.94
user 184.95
sys 4.60

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/607685/ft1_filtered_4FGL_J1433.0-1801_daily_bin1273.fits scfile=/scratch/kocevski/607685/ft2_4FGL_J1433.0-1801_daily_bin1273.fits outfile=/scratch/kocevski/607685/cmap_569289601_569548801_4FGL_J1433.0-1801_daily_bin1273.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/607685/ft1_filtered_4FGL_J1433.0-1801_daily_bin1273.fits scfile=/scratch/kocevski/607685/ft2_4FGL_J1433.0-1801_daily_bin1273.fits outfile=/scratch/kocevski/607685/cmap_HighResolution_569289601_569548801_4FGL_J1433.0-1801_daily_bin1273.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/607685/ft1_filtered_4FGL_J1433.0-1801_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/607685/ft2_4FGL_J1433.0-1801_daily_bin1273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/607685/Model_4FGL_J1433.0-1801_daily_bin1273.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/607685/ft1_filtered_4FGL_J1433.0-1801_daily_bin1273.fits.....................!
real 74.96
user 73.55
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1207       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.083       1.0000         .10000E-03   10000.    
     3 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.9527       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.6265       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10404E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    18.383       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5594       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11157E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .67093       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1642       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=   9275.730     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1616 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1212        4.0201       -.18701E-06    .79749E-03
   2  Prefactor     17.098        41.990        .18299E-04    .46905E-05
   3  norm          .10000E-03    12.478       -.60311E-05** at limit **
   4  Prefactor     .10000E-03    28.793       -.22745E-04** at limit **
   5  norm          1.9530        1.9912        .32856E-06    .67512E-04
   6  Prefactor     .10000E-03    11.095        .57109E-05** at limit **
   7  norm          5.6293        6.3513       -.50912E-05   -.39621E-03
   8  Prefactor     .10000E-03    56.710        .26295E-04** at limit **
   9  Prefactor     .10000E-03    82.099       -.24165E-04** at limit **
  10  norm          18.379        15.187        .45067E-06    .13379E-03
  11  Prefactor     2.5636        4.3894       -.76131E-06   -.97773E-03
  12  Prefactor     .10000E-03    132.42       -.37815E-04** at limit **
  13  Prefactor     .10000E-03    48.829        .97922E-05** at limit **
  14  Prefactor     .10000E-03    22.012        .13912E-04** at limit **
  15  Prefactor     .10000E-03    9.5561       -.17791E-05** at limit **
  16  Normalizat    .67088        .23816        .15850E-06   -.42831E-05
  17  Prefactor     1.1641        .98081E-01   -.49953E-07    .23528E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.12117
  Prefactor  = 17.0976
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.95301
  Prefactor  = 0.0001
  norm       = 5.62932
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 18.3787
  Prefactor  = 2.56364
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.670883
  Prefactor  = 1.16407
 **********
 **   18 **HESSE 
 **********

 FCN=   9275.730     FROM HESSE     STATUS=OK           219 CALLS     1835 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1212        4.0186        .92058E-03   -1.5302    
   2  Prefactor     17.098        41.820        .96902E-04   -1.4881    
   3  norm          .10000E-03    12.835        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.9530        1.9890        .13236E-03   -1.5428    
   6  Prefactor     .10000E-03    11.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.6293        6.3838        .16936E-03   -1.5233    
   8  Prefactor     .10000E-03    57.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    83.735        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.379        15.157        .93414E-04   -1.4850    
  11  Prefactor     2.5636        4.3875        .25448E-03   -1.5388    
  12  Prefactor     .10000E-03    133.78        .20689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    48.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.7209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67088        .25943        .47836E-03   -1.0505    
  17  Prefactor     1.1641        .10807        .15541E-03   -.87444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21482e-09
Minuit parameter uncertainties:
  1  4.01886
  2  41.8919
  3  2.42147e-05
  4  2.3378e-05
  5  1.98905
  6  3.95594e-06
  7  6.38461
  8  0.000185722
  9  0.000471421
  10  15.1606
  11  4.38808
  12  0.000664887
  13  5.79373e-05
  14  1.92333e-06
  15  1.38914e-05
  16  0.259908
  17  0.108086
Done.

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

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  1.838e+01  1.516e+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.164e+00  1.081e-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:  6.709e-01  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.04
Ra Dec: 218.253 -18.020
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 5.57e-08 +/- 4.60e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.47e-05

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

Saving results to:
/scratch/kocevski/607685/likelihoodResults_569289601_569548801_4FGL_J1433.0-1801_daily_bin1273.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) = 9275.56685683
delta logL = 0.163172869132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9275.55997137
delta logL = 0.170058332162

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.904       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9004       1.0000          .0000       5.0000    
     3 'Normalizat'    .64404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1711       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=   9275.560     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      301 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.923        16.759        .51874E-03   -.12304E-03
   2  alpha         2.9019        .96512        .20682E-01    .23684E-03
   3  Normalizat    .64403        .26084        .48753E-03    .11785E-03
   4  Prefactor     1.1710        .10870        .15500E-03   -.58823E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.9229
  alpha      = 2.90193
  Normalizat = 0.644035
  Prefactor  = 1.17102
 **********
 **   18 **HESSE 
 **********

 FCN=   9275.560     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.923        15.356        .20750E-04   -1.4935    
   2  alpha         2.9019        .88743        .41365E-02    .16147    
   3  Normalizat    .64403        .26052        .19501E-04   -1.0615    
   4  Prefactor     1.1710        .10851        .62001E-05   -.87228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38627e-10
Minuit parameter uncertainties:
  1  15.3602
  2  0.90777
  3  0.261021
  4  0.108534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/607685': 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) = 9275.55996286
delta logL = 0.170066842484

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  1.492e+01  1.536e+01  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  2.902e+00  9.078e-01  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.171e+00  1.085e-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:  6.440e-01  2.610e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 218.253 -18.020
Photon Index (Free Index): 2.90 +/- 0.91
Photon Flux (Free Index): 7.52e-08 +/- 6.09e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.38e-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/607685/cmap_HighResolution_569289601_569548801_4FGL_J1433.0-1801_daily_bin1273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-05', comment='SUCCESS', photon_flux='5.57e-08', energy_flux2='1.80e-05', photon_flux_error='4.60e-08', dlogl='1.70e-01', energy_flux='1.78e-05', photon_flux2='7.52e-08', job_status='DONE', time_completed='2021-09-10 00:19:58.922613', photon_index_error2='0.91', photon_index2='2.90', ts='2.04', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.38e-05', EG='0.67', time_epoch_completed='1631258398.92', return_code='0', job_id='607685', GAL2='1.17', EG2='0.64', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='6.09e-08', ts2='2.40', photon_index='2.39' WHERE bin_id='1273' AND source_name='4FGL J1433.0-1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:19:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 607685: <4FGL_J1433.0-1801_daily_bin1273> in cluster <slac> Done

Job <4FGL_J1433.0-1801_daily_bin1273> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 00:06:17 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:06:18 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:18 2021
Terminated at Fri Sep 10 00:19:59 2021
Results reported at Fri Sep 10 00:19:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1433.0-1801_daily_bin1273 218.253 -18.0196 569289601 569548801 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 :                                   670.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            822 sec.

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

