/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 133 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 = 7470
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1433.0-1801_daily_bin133
RA = 218.253, Dec = -18.0196
tmin = 273801601, tmax = 274060801
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='601746', job_status='RUN', time_executed='2021-09-09 23:48:47.671980', time_epoch_executed='1631256527.67' WHERE source_name='4FGL J1433.0-1801' and cadence='daily' and bin_id='133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601746

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601746/ft1_4FGL_J1433.0-1801_daily_bin133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601746/ft2_4FGL_J1433.0-1801_daily_bin133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601746/ft1_4FGL_J1433.0-1801_daily_bin133.fits outfile=/scratch/kocevski/601746/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin133.fits ra=218.253 dec=-18.0196 rad=12.0 tmin=273801601.0 tmax=274060801.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.60
user 3.37
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/601746/ft1_filtered_4FGL_J1433.0-1801_daily_bin133.fits" evtable="EVENTS" scfile=/scratch/kocevski/601746/ft2_4FGL_J1433.0-1801_daily_bin133.fits sctable="SC_DATA" outfile=/scratch/kocevski/601746/ltcube_273801601_274060801_4FGL_J1433.0-1801_daily_bin133.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/601746/ft2_4FGL_J1433.0-1801_daily_bin133.fits
.....................!
real 12.16
user 11.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601746/ft1_filtered_4FGL_J1433.0-1801_daily_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/601746/ft2_4FGL_J1433.0-1801_daily_bin133.fits sctable="SC_DATA" expcube=/scratch/kocevski/601746/ltcube_273801601_274060801_4FGL_J1433.0-1801_daily_bin133.fits outfile=/scratch/kocevski/601746/expmap_273801601_274060801_4FGL_J1433.0-1801_daily_bin133.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/601746/ltcube_273801601_274060801_4FGL_J1433.0-1801_daily_bin133.fits
.....................!
real 189.98
user 184.97
sys 4.51

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/601746/ft1_filtered_4FGL_J1433.0-1801_daily_bin133.fits scfile=/scratch/kocevski/601746/ft2_4FGL_J1433.0-1801_daily_bin133.fits outfile=/scratch/kocevski/601746/cmap_273801601_274060801_4FGL_J1433.0-1801_daily_bin133.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/601746/ft1_filtered_4FGL_J1433.0-1801_daily_bin133.fits scfile=/scratch/kocevski/601746/ft2_4FGL_J1433.0-1801_daily_bin133.fits outfile=/scratch/kocevski/601746/cmap_HighResolution_273801601_274060801_4FGL_J1433.0-1801_daily_bin133.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.56
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/601746/ft1_filtered_4FGL_J1433.0-1801_daily_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/601746/ft2_4FGL_J1433.0-1801_daily_bin133.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601746/Model_4FGL_J1433.0-1801_daily_bin133.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/601746/ft1_filtered_4FGL_J1433.0-1801_daily_bin133.fits....................!
real 86.65
user 85.30
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.667       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .31631E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.421       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.292       1.0000         .10000E-03   10000.    
    10 'norm      '    5.9991       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0603       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96682       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=   10938.32     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     1577 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.666        5.5147        .24074E-06   -.44986E-03
   2  Prefactor     .10000E-03    26.738        .43493E-06** at limit **
   3  norm          .10000E-03    4.4605       -.48960E-09** at limit **
   4  Prefactor     .10000E-03    27.095       -.61148E-06** at limit **
   5  norm          .10000E-03    1.0124       -.28528E-07** at limit **
   6  Prefactor     .10000E-03    11.742        .20796E-05** at limit **
   7  norm          .10000E-03    1.6392       -.25414E-08** at limit **
   8  Prefactor     14.417        17.913       -.10458E-05   -.17096E-03
   9  Prefactor     10.292        24.653       -.16663E-05   -.42221E-04
  10  norm          5.9984        8.9533        .26051E-05   -.80666E-03
  11  Prefactor     .10000E-03    1.5883       -.33634E-07** at limit **
  12  Prefactor     .10000E-03    27.230       -.15336E-05** at limit **
  13  Prefactor     .10001E-03    16.763        .42950E-05** at limit **
  14  Prefactor     .10000E-03    13.025       -.26273E-05** at limit **
  15  Prefactor     .10000E-03    13.983       -.23606E-05** at limit **
  16  Normalizat    1.0600        .19346        .20668E-06    .14636E-04
  17  Prefactor     .96695        .78105E-01   -.17568E-06    .15239E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6664
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 14.4174
  Prefactor  = 10.2916
  norm       = 5.99838
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Normalizat = 1.05999
  Prefactor  = 0.966947
 **********
 **   18 **HESSE 
 **********

 FCN=   10938.32     FROM HESSE     STATUS=OK           217 CALLS     1794 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.666        5.5558        .61338E-03   -1.5055    
   2  Prefactor     .10000E-03    26.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.6099        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.3985        .20358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.6440        .13074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.417        18.135        .10547E-03   -1.4948    
   9  Prefactor     10.292        24.708        .12490E-03   -1.5066    
  10  norm          5.9984        10.352        .81968E-03   -1.5218    
  11  Prefactor     .10000E-03    1.5980        .12870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    17.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.762        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0600        .23070        .36744E-03   -.91047    
  17  Prefactor     .96695        .93559E-01    .15785E-03   -.93840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03087e-09
Minuit parameter uncertainties:
  1  5.55605
  2  7.19078e-05
  3  1.43837e-07
  4  0.000115411
  5  0.000161954
  6  0.000239539
  7  1.60485e-06
  8  18.1423
  9  24.7321
  10  10.3552
  11  1.47563e-06
  12  0.000274258
  13  0.000622455
  14  0.000330644
  15  0.000258591
  16  0.230921
  17  0.0935751
Done.

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

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  5.998e+00  1.036e+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:  9.669e-01  9.358e-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.060e+00  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/601746/likelihoodResults_273801601_274060801_4FGL_J1433.0-1801_daily_bin133.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) = 10938.2290238
delta logL = 0.0959086044077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10938.2201192
delta logL = 0.104813240278

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0426       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1785       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0371       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97217       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10938.22     FROM MIGRAD    STATUS=FAILED       102 CALLS      265 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0386        16.447        .89533E-03   -.43629E-04
   2  alpha         3.1796        3.8142        .37644E-01    .32574E-03
   3  Normalizat    1.0369        .23386        .37104E-03   -.10724E-04
   4  Prefactor     .97223        .95459E-01    .15746E-03   -.58194E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10938.22     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      342 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0386        16.447        .16851E-03   -1.5259    
   2  alpha         3.1796        3.8142        .36169E-02    .27531    
   3  Normalizat    1.0369        .23386        .33937E-03   -.91804    
   4  Prefactor     .97223        .95459E-01    .14883E-03   -.93661    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10938.22     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      382 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0386        10.335        .35813E-04   -.46982E-04
   2  alpha         3.1796        1.6108        .75289E-02   -.13197E-05
   3  Normalizat    1.0369        .23116        .14841E-04   -.64345E-05
   4  Prefactor     .97223        .94148E-01    .62984E-05   -.31046E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.03857
  alpha      = 3.17961
  Normalizat = 1.03691
  Prefactor  = 0.972232
 **********
 **   18 **HESSE 
 **********

 FCN=   10938.22     FROM HESSE     STATUS=OK            25 CALLS      407 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0386        9.8811        .14325E-05   -1.5259    
   2  alpha         3.1796        1.5504        .30116E-03    .27531    
   3  Normalizat    1.0369        .23169        .29683E-05   -.91804    
   4  Prefactor     .97223        .94304E-01    .12597E-05   -.93661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27104e-12
Minuit parameter uncertainties:
  1  9.88432
  2  1.6848
  3  0.231915
  4  0.0943204
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601746': 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) = 10938.2201186
delta logL = 0.104813854394

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  5.039e+00  9.884e+00  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  3.180e+00  1.685e+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:  9.722e-01  9.432e-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.037e+00  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/601746/cmap_HighResolution_273801601_274060801_4FGL_J1433.0-1801_daily_bin133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-05', job_status='DONE', photon_flux_upper_limit='8.89e-08', time_completed='2021-09-10 00:01:20.795198', job_id='601746', GAL2='0.97', fit_tolerance='1e-08', EG2='1.04', EG='1.06', time_epoch_completed='1631257280.8', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.05e-01', ts2='0.69', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='133' AND source_name='4FGL J1433.0-1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:01:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 601746: <4FGL_J1433.0-1801_daily_bin133> in cluster <slac> Done

Job <4FGL_J1433.0-1801_daily_bin133> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 23:46:23 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 23:46:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 23:46:25 2021
Terminated at Fri Sep 10 00:01:21 2021
Results reported at Fri Sep 10 00:01:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1433.0-1801_daily_bin133 218.253 -18.0196 273801601 274060801 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 :                                   751.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            898 sec.

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

