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


Performing analysis on: 4FGL_J1433.0-1801_daily_bin1246
RA = 218.253, Dec = -18.0196
tmin = 562291201, tmax = 562550401
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='607646', job_status='RUN', time_executed='2021-09-10 00:06:43.286073', time_epoch_executed='1631257603.29' WHERE source_name='4FGL J1433.0-1801' and cadence='daily' and bin_id='1246'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/607646

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/607646/ft1_4FGL_J1433.0-1801_daily_bin1246.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/607646/ft2_4FGL_J1433.0-1801_daily_bin1246.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/607646/ft1_4FGL_J1433.0-1801_daily_bin1246.fits outfile=/scratch/kocevski/607646/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1246.fits ra=218.253 dec=-18.0196 rad=12.0 tmin=562291201.0 tmax=562550401.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.33
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/607646/ft1_filtered_4FGL_J1433.0-1801_daily_bin1246.fits" evtable="EVENTS" scfile=/scratch/kocevski/607646/ft2_4FGL_J1433.0-1801_daily_bin1246.fits sctable="SC_DATA" outfile=/scratch/kocevski/607646/ltcube_562291201_562550401_4FGL_J1433.0-1801_daily_bin1246.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/607646/ft2_4FGL_J1433.0-1801_daily_bin1246.fits
.....................!
real 11.60
user 11.27
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/607646/ft1_filtered_4FGL_J1433.0-1801_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/607646/ft2_4FGL_J1433.0-1801_daily_bin1246.fits sctable="SC_DATA" expcube=/scratch/kocevski/607646/ltcube_562291201_562550401_4FGL_J1433.0-1801_daily_bin1246.fits outfile=/scratch/kocevski/607646/expmap_562291201_562550401_4FGL_J1433.0-1801_daily_bin1246.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/607646/ltcube_562291201_562550401_4FGL_J1433.0-1801_daily_bin1246.fits
.....................!
real 191.16
user 185.65
sys 5.19

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/607646/ft1_filtered_4FGL_J1433.0-1801_daily_bin1246.fits scfile=/scratch/kocevski/607646/ft2_4FGL_J1433.0-1801_daily_bin1246.fits outfile=/scratch/kocevski/607646/cmap_562291201_562550401_4FGL_J1433.0-1801_daily_bin1246.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=218.253 yref=-18.0196 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/607646/ft1_filtered_4FGL_J1433.0-1801_daily_bin1246.fits scfile=/scratch/kocevski/607646/ft2_4FGL_J1433.0-1801_daily_bin1246.fits outfile=/scratch/kocevski/607646/cmap_HighResolution_562291201_562550401_4FGL_J1433.0-1801_daily_bin1246.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/607646/ft1_filtered_4FGL_J1433.0-1801_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/607646/ft2_4FGL_J1433.0-1801_daily_bin1246.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/607646/Model_4FGL_J1433.0-1801_daily_bin1246.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/607646/ft1_filtered_4FGL_J1433.0-1801_daily_bin1246.fits......................!
real 33.78
user 32.41
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9110       1.0000         .10000E-03   10000.    
     3 'norm      '    41.418       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    19.954       1.0000         .10000E-03   10000.    
     6 'Prefactor '    88.142       1.0000         .10000E-03   10000.    
     7 'norm      '    13.694       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.792       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13842E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    23.801       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.763       1.0000         .10000E-03   10000.    
    14 'Prefactor '    199.60       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10749E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .67797E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.7958       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   2756.694     FROM MIGRAD    STATUS=FAILED       548 CALLS     2340 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.4014        .11907E-02** at limit **
   2  Prefactor     3.9074        778.91        .20401E-03   -.10867E-05
   3  norm          41.405        26.645        .62287E-04   -.12868E-04
   4  Prefactor     .10000E-03    165.31        .18142E-02** at limit **
   5  norm          19.953        7.6654        .82292E-04   -.14989E-04
   6  Prefactor     88.131        106.68        .21398E-03   -.25237E-05
   7  norm          13.691        14.609        .10824E-03   -.10031E-04
   8  Prefactor     33.785        53.290        .68934E-04   -.68442E-05
   9  Prefactor     .10000E-03    147.53        .18142E-02** at limit **
  10  norm          23.869        54.805        .82106E-04    .13431E-04
  11  Prefactor     .10000E-03    62.387        .36285E-02** at limit **
  12  Prefactor     .10000E-03    156.32        .18142E-02** at limit **
  13  Prefactor     43.526        159.37        .30301E-03   -.37519E-06
  14  Prefactor     199.54        212.47        .14300E-03   -.50485E-05
  15  Prefactor     .10000E-03    57.427        .18142E-02** at limit **
  16  Normalizat    .67915E-01    6.1461        .16509E-01    .16795E-03
  17  Prefactor     1.7955        .35815        .20031E-03   -.21992E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   2756.694     FROM SIMPLEX   STATUS=UNCHANGED    809 CALLS     3149 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.4014        .42910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9074        778.91        .10767E-06   -1.5313    
   3  norm          41.405        26.645        .10022E-06   -1.4420    
   4  Prefactor     .10000E-03    165.31        .13593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          19.953        7.6654        .10287E-06   -1.4814    
   6  Prefactor     88.131        106.68        .96521E-07   -1.3828    
   7  norm          13.691        14.609        .10387E-06   -1.4968    
   8  Prefactor     33.785        53.290        .10115E-06   -1.4545    
   9  Prefactor     .10000E-03    147.53        .17522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          23.869        54.805        .10216E-06   -1.4730    
  11  Prefactor     .10000E-03    62.387        .14204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    156.32        .21709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.526        159.37        .99829E-07   -1.4388    
  14  Prefactor     199.54        212.47        .89336E-07   -1.2873    
  15  Prefactor     .10000E-03    57.427        .18096E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67915E-01    6.1461        .97941E-07   -1.4184    
  17  Prefactor     1.7955        .35815        .48284E-07   -.69566    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2756.694     FROM MIGRAD    STATUS=CONVERGED    216 CALLS     3365 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.4015        .23814E-03** at limit **
   2  Prefactor     3.9073        769.15        .81603E-05   -.55727E-06
   3  norm          41.405        26.226        .24915E-05   -.73008E-05
   4  Prefactor     .10000E-03    165.31        .36285E-03** at limit **
   5  norm          19.953        7.6016        .32917E-05   -.11397E-04
   6  Prefactor     88.131        106.67        .85591E-05   -.92978E-06
   7  norm          13.691        14.591        .43296E-05   -.55142E-05
   8  Prefactor     33.785        52.901        .27574E-05   -.37107E-05
   9  Prefactor     .10000E-03    147.54        .36285E-03** at limit **
  10  norm          23.869        54.796        .32842E-05    .27693E-05
  11  Prefactor     .10000E-03    62.390        .72569E-03** at limit **
  12  Prefactor     .10000E-03    156.32        .36285E-03** at limit **
  13  Prefactor     43.526        158.87        .12120E-04   -.37519E-06
  14  Prefactor     199.54        212.12        .57199E-05   -.21863E-05
  15  Prefactor     .10000E-03    57.429        .36285E-03** at limit **
  16  Normalizat    .67917E-01    2.1821        .33018E-02   -.69724E-06
  17  Prefactor     1.7955        .30882        .80125E-05   -.15324E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.90734
  norm       = 41.4051
  Prefactor  = 0.0001
  norm       = 19.953
  Prefactor  = 88.1309
  norm       = 13.6911
  Prefactor  = 33.7848
  Prefactor  = 0.0001
  norm       = 23.8689
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.5257
  Prefactor  = 199.537
  Prefactor  = 0.0001
  Normalizat = 0.0679175
  Prefactor  = 1.79554
 **********
 **   18 **HESSE 
 **********

 FCN=   2756.694     FROM HESSE     STATUS=OK           207 CALLS     3572 TOTAL
                     EDM=   .93E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.4015        .47628E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9073        741.57        .16321E-05   -1.5313    
   3  norm          41.405        26.175        .49830E-06   -1.4420    
   4  Prefactor     .10000E-03    165.31        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          19.953        7.5915        .65833E-06   -1.4814    
   6  Prefactor     88.131        106.84        .17118E-05   -1.3828    
   7  norm          13.691        14.590        .86592E-06   -1.4968    
   8  Prefactor     33.785        52.491        .55147E-06   -1.4545    
   9  Prefactor     .10000E-03    147.54        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          23.869        54.664        .65684E-06   -1.4730    
  11  Prefactor     .10000E-03    62.390        .14514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    156.32        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.526        158.66        .24241E-05   -1.4388    
  14  Prefactor     199.54        210.70        .11440E-05   -1.2873    
  15  Prefactor     .10000E-03    57.429        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67917E-01    2.0515        .13207E-03   -1.4184    
  17  Prefactor     1.7955        .30004        .16025E-05   -.69566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.34765e-13
Minuit parameter uncertainties:
  1  3.47819e-07
  2  109.056
  3  26.1822
  4  4.1826e-05
  5  7.59184
  6  107.073
  7  14.5939
  8  52.5628
  9  5.75935e-05
  10  54.7793
  11  2.63957e-07
  12  6.37782e-06
  13  160.241
  14  211.506
  15  2.1655e-05
  16  0.717916
  17  0.300348
Done.

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

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  2.387e+01  5.478e+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.796e+00  3.003e-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.792e-02  7.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 218.253 -18.020
Photon Flux Upper Limit: 4.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.60e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/607646/likelihoodResults_562291201_562550401_4FGL_J1433.0-1801_daily_bin1246.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) = 2756.61824111
delta logL = 0.0753548139328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2756.61317095
delta logL = 0.080424972698

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.882       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7492       1.0000          .0000       5.0000    
     3 'Normalizat'    .93507E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.7846       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=   2756.613     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      283 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.902        53.795        .74549E-04    .58392E-04
   2  alpha         1.7495        1.3581        .28133E-01   -.13449E-04
   3  Normalizat    .93878E-01    1.5740        .15071E-01   -.31410E-04
   4  Prefactor     1.7845        .33451        .20073E-03   -.34080E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 28.9018
  alpha      = 1.74948
  Normalizat = 0.0938784
  Prefactor  = 1.78451
 **********
 **   18 **HESSE 
 **********

 FCN=   2756.613     FROM HESSE     STATUS=OK            27 CALLS      310 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.902        54.286        .14910E-04   -1.4632    
   2  alpha         1.7495        1.3697        .11253E-02   -.30491    
   3  Normalizat    .93878E-01    1.2661        .60284E-03   -1.3873    
   4  Prefactor     1.7845        .29839        .40147E-04   -.69854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96493e-10
Minuit parameter uncertainties:
  1  54.3791
  2  1.45901
  3  0.669474
  4  0.298698
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/607646': 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) = 2756.61317057
delta logL = 0.0804253587235

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  2.890e+01  5.438e+01  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  1.749e+00  1.459e+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.785e+00  2.987e-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:  9.388e-02  6.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/607646/cmap_HighResolution_562291201_562550401_4FGL_J1433.0-1801_daily_bin1246.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.60e-04', job_status='DONE', photon_flux_upper_limit='4.99e-07', time_completed='2021-09-10 00:14:42.204563', job_id='607646', GAL2='1.78', fit_tolerance='1e-08', EG2='0.09', EG='0.07', time_epoch_completed='1631258082.2', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.80', dlogl='8.04e-02', ts2='0.40', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1246' AND source_name='4FGL J1433.0-1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:14:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 607646: <4FGL_J1433.0-1801_daily_bin1246> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1433.0-1801_daily_bin1246 218.253 -18.0196 562291201 562550401 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 :                                   474.09 sec.
    Max Memory :                                 1040 MB
    Average Memory :                             258.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   508 sec.
    Turnaround time :                            514 sec.

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

