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


Performing analysis on: 4FGL_J1433.0-1801_daily_bin1221
RA = 218.253, Dec = -18.0196
tmin = 555811201, tmax = 556070401
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='607610', job_status='RUN', time_executed='2021-09-10 00:07:18.404126', time_epoch_executed='1631257638.4' WHERE source_name='4FGL J1433.0-1801' and cadence='daily' and bin_id='1221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/607610

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/607610/ft1_4FGL_J1433.0-1801_daily_bin1221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/607610/ft2_4FGL_J1433.0-1801_daily_bin1221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/607610/ft1_4FGL_J1433.0-1801_daily_bin1221.fits outfile=/scratch/kocevski/607610/ft1_filteredMKT_4FGL_J1433.0-1801_daily_bin1221.fits ra=218.253 dec=-18.0196 rad=12.0 tmin=555811201.0 tmax=556070401.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.56
user 3.35
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/607610/ft1_filtered_4FGL_J1433.0-1801_daily_bin1221.fits" evtable="EVENTS" scfile=/scratch/kocevski/607610/ft2_4FGL_J1433.0-1801_daily_bin1221.fits sctable="SC_DATA" outfile=/scratch/kocevski/607610/ltcube_555811201_556070401_4FGL_J1433.0-1801_daily_bin1221.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/607610/ft2_4FGL_J1433.0-1801_daily_bin1221.fits
.....................!
real 11.60
user 11.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/607610/ft1_filtered_4FGL_J1433.0-1801_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/607610/ft2_4FGL_J1433.0-1801_daily_bin1221.fits sctable="SC_DATA" expcube=/scratch/kocevski/607610/ltcube_555811201_556070401_4FGL_J1433.0-1801_daily_bin1221.fits outfile=/scratch/kocevski/607610/expmap_555811201_556070401_4FGL_J1433.0-1801_daily_bin1221.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/607610/ltcube_555811201_556070401_4FGL_J1433.0-1801_daily_bin1221.fits
.....................!
real 191.65
user 186.43
sys 4.72

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/607610/ft1_filtered_4FGL_J1433.0-1801_daily_bin1221.fits scfile=/scratch/kocevski/607610/ft2_4FGL_J1433.0-1801_daily_bin1221.fits outfile=/scratch/kocevski/607610/cmap_555811201_556070401_4FGL_J1433.0-1801_daily_bin1221.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.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/607610/ft1_filtered_4FGL_J1433.0-1801_daily_bin1221.fits scfile=/scratch/kocevski/607610/ft2_4FGL_J1433.0-1801_daily_bin1221.fits outfile=/scratch/kocevski/607610/cmap_HighResolution_555811201_556070401_4FGL_J1433.0-1801_daily_bin1221.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.54
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34047E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11381E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10749E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22116E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    34.275       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    24.229       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.233       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11185E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11661E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.791       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11954E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .84778       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2406       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=   7264.097     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1427 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10033E-03    4.4211        .13205E-05** at limit **
   2  Prefactor     .10000E-03    27.527        .25472E-06** at limit **
   3  norm          .10000E-03    12.698        .71287E-06** at limit **
   4  Prefactor     .10000E-03    78.510        .36454E-06** at limit **
   5  norm          34.275        6.2506        .34856E-08    .94416E-04
   6  Prefactor     .10000E-03    17.639        .22929E-06** at limit **
   7  norm          24.226        10.174        .64649E-08    .16187E-04
   8  Prefactor     14.251        26.754       -.16271E-06   -.37984E-05
   9  Prefactor     .10000E-03    7.8203       -.71856E-07** at limit **
  10  norm          .10000E-03    4.5134       -.43713E-06** at limit **
  11  Prefactor     .10000E-03    8.5796       -.11352E-04** at limit **
  12  Prefactor     .10000E-03    261.06        .31258E-05** at limit **
  13  Prefactor     21.605        102.72        .39101E-05    .24354E-04
  14  Prefactor     .10000E-03    37.275       -.47004E-05** at limit **
  15  Prefactor     .10000E-03    6.3006        .10387E-06** at limit **
  16  Normalizat    .84780        .33650        .44230E-06    .87321E-04
  17  Prefactor     1.2406        .12923       -.72178E-07    .23968E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100329
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 34.2751
  Prefactor  = 0.0001
  norm       = 24.2257
  Prefactor  = 14.2505
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 21.6046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.847802
  Prefactor  = 1.24062
 **********
 **   18 **HESSE 
 **********

 FCN=   7264.097     FROM HESSE     STATUS=OK           215 CALLS     1642 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10033E-03    40.714        .33983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    13.190        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    78.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          34.275        6.2511        .68449E-04   -1.4536    
   6  Prefactor     .10000E-03    17.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          24.226        10.168        .81379E-04   -1.4723    
   8  Prefactor     14.251        26.740        .10617E-03   -1.4953    
   9  Prefactor     .10000E-03    7.8215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.5166        .17683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.6027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    262.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.605        103.52        .85805E-04   -1.4778    
  14  Prefactor     .10000E-03    37.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.3064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .84780        .36560        .52804E-03   -.98319    
  17  Prefactor     1.2406        .14202        .17749E-03   -.85090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84876e-09
Minuit parameter uncertainties:
  1  0.00732485
  2  1.34539e-05
  3  6.83562e-06
  4  5.76431e-05
  5  6.2512
  6  2.10677e-06
  7  10.1687
  8  26.7621
  9  1.32857e-06
  10  2.45327e-06
  11  6.2712e-05
  12  0.00122245
  13  94.8512
  14  0.000130436
  15  9.03258e-07
  16  0.366672
  17  0.142066
Done.

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

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  1.000e-04  2.453e-06  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.241e+00  1.421e-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:  8.478e-01  3.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/607610/likelihoodResults_555811201_556070401_4FGL_J1433.0-1801_daily_bin1221.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) = 7264.09808478
delta logL = -0.00104785178155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7264.09703692
delta logL = 2.95585778076e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3984       1.0000          .0000       5.0000    
     3 'Normalizat'    .84777       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2406       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 TERMINATED WITHOUT CONVERGENCE.

 FCN=   7264.097     FROM MIGRAD    STATUS=FAILED       185 CALLS      331 TOTAL
                     EDM=   .69E-02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7243.5         .0000    ** at limit **
   2  alpha         3.9991        1.2997         .0000       -.31545E-04
   3  Normalizat    .84780        7.6611         .0000       -.45124E-05
   4  Prefactor     1.2406        8.7623         .0000       -.34971E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7264.097     FROM SIMPLEX   STATUS=UNCHANGED    224 CALLS      555 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7243.5        .60183E-03** at limit **
   2  alpha         3.9991        1.2997        .71041E-08   -.31545E-04
   3  Normalizat    .84780        7.6611        .50663E-07   -.45124E-05
   4  Prefactor     1.2406        8.7623        .42607E-07   -.34971E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7264.097     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      628 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10009E-03    14.359        .23841E-02** at limit **
   2  alpha         3.9995        3.6991        .32956E-01   -.31597E-04
   3  Normalizat    .84780        .34841        .21120E-04    .27829E-03
   4  Prefactor     1.2406        .14054        .70998E-05    .79840E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100094
  alpha      = 3.99949
  Normalizat = 0.847801
  Prefactor  = 1.24062
 **********
 **   18 **HESSE 
 **********

 FCN=   7264.097     FROM HESSE     STATUS=OK            23 CALLS      651 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10009E-03    14.170        .47681E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.9995        3.6867        .65911E-02    .64325    
   3  Normalizat    .84780        .34887        .42241E-05   -.98319    
   4  Prefactor     1.2406        .14076        .14200E-05   -.85090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.01378e-09
Minuit parameter uncertainties:
  1  0.00230368
  2  2.00116
  3  0.349798
  4  0.140805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/607610': 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) = 7264.09702937
delta logL = 7.55667315389e-06

Extracting fit parameters...

4FGL J1433.0-1801
   Spectrum: LogParabola
293         norm:  1.001e-04  2.304e-03  1.000e-04  1.000e+04 ( 1.000e-12)
294        alpha:  3.999e+00  2.001e+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.241e+00  1.408e-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:  8.478e-01  3.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/607610/cmap_HighResolution_555811201_556070401_4FGL_J1433.0-1801_daily_bin1221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.34e-05', job_status='DONE', photon_flux_upper_limit='7.31e-08', time_completed='2021-09-10 00:17:26.890307', job_id='607610', GAL2='1.24', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1631258246.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='7.56e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1221' AND source_name='4FGL J1433.0-1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:17:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 607610: <4FGL_J1433.0-1801_daily_bin1221> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1433.0-1801_daily_bin1221 218.253 -18.0196 555811201 556070401 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 :                                   604.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            675 sec.

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

