/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 3 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1432.2+5051_daily_bin588
RA = 218.068, Dec = 50.8596
tmin = 391737601, tmax = 391996801
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='595784', job_status='RUN', time_executed='2021-09-09 23:26:13.863931', time_epoch_executed='1631255173.86' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595784

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595784/ft1_4FGL_J1432.2+5051_daily_bin588.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595784/ft1_4FGL_J1432.2+5051_daily_bin588.fits outfile=/scratch/kocevski/595784/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin588.fits ra=218.068 dec=50.8596 rad=12.0 tmin=391737601.0 tmax=391996801.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.32
user 3.09
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.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/595784/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin588.fits evtable="EVENTS" outfile="/scratch/kocevski/595784/ft1_filtered_4FGL_J1432.2+5051_daily_bin588.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595784/ft1_filtered_4FGL_J1432.2+5051_daily_bin588.fits" evtable="EVENTS" scfile=/scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits sctable="SC_DATA" outfile=/scratch/kocevski/595784/ltcube_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.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/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits
.....................!
real 11.84
user 11.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595784/ft1_filtered_4FGL_J1432.2+5051_daily_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits sctable="SC_DATA" expcube=/scratch/kocevski/595784/ltcube_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.fits outfile=/scratch/kocevski/595784/expmap_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.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/595784/ltcube_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.fits
.....................!
real 192.19
user 186.19
sys 5.07

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 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J1432.2+5051 @ 218.068 50.8596

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/595784/ft1_filtered_4FGL_J1432.2+5051_daily_bin588.fits scfile=/scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits outfile=/scratch/kocevski/595784/cmap_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.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.068 yref=50.8596 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595784/ft1_filtered_4FGL_J1432.2+5051_daily_bin588.fits scfile=/scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits outfile=/scratch/kocevski/595784/cmap_HighResolution_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.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.068 yref=50.8596 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595784/ft1_filtered_4FGL_J1432.2+5051_daily_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595784/Model_4FGL_J1432.2+5051_daily_bin588.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/595784/ft1_filtered_4FGL_J1432.2+5051_daily_bin588.fits....................!
real 44.21
user 42.84
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/595784/ft1_filtered_4FGL_J1432.2+5051_daily_bin588.fits', '/scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits', expMap='/scratch/kocevski/595784/expmap_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.fits', expCube='/scratch/kocevski/595784/ltcube_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/595784/Model_4FGL_J1432.2+5051_daily_bin588.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1432.2+5051'

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  5.285e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
320        Index:  2.240e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  1.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/595784/ft1_filtered_4FGL_J1432.2+5051_daily_bin588.fits
Spacecraft file(s): /scratch/kocevski/595784/ft2_4FGL_J1432.2+5051_daily_bin588.fits
Exposure map: /scratch/kocevski/595784/expmap_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.fits
Exposure cube: /scratch/kocevski/595784/ltcube_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/595784/Model_4FGL_J1432.2+5051_daily_bin588.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) = 5134.73312467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10962E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.001       1.0000         .10000E-03   10000.    
     3 'Prefactor '    56.298       1.0000         .10000E-03   10000.    
     4 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.196       1.0000         .10000E-03   10000.    
     7 'norm      '    14.067       1.0000         .10000E-03   10000.    
     8 'norm      '    52.602       1.0000         .10000E-03   10000.    
     9 'norm      '    5.6276       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.076       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.650       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.8805       1.0000         .10000E-03   10000.    
    18 'Prefactor '    54.345       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    48.116       1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.952       1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.158       1.0000         .10000E-03   10000.    
    24 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    3.7018       1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.6377       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.7896       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0201       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .67071       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5134.704     FROM MIGRAD    STATUS=CONVERGED    904 CALLS     4603 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    115.84       -.29510E-05** at limit **
   2  Prefactor     15.006        14.258       -.91568E-06    .14957E-04
   3  Prefactor     56.300        36.971       -.11174E-05    .28498E-04
   4  norm          .10000E-03    1.5677        .24003E-07** at limit **
   5  Prefactor     .10000E-03    32.492        .39785E-06** at limit **
   6  Prefactor     17.109        49.789       -.49624E-04    .70908E-05
   7  norm          14.068        2.7109       -.10030E-06    .13781E-03
   8  norm          52.615        56.266        .61322E-05    .16279E-05
   9  norm          5.6312        4.7824        .10849E-05    .45904E-05
  10  Prefactor     .10000E-03    269.97        .37789E-04** at limit **
  11  Prefactor     15.089        46.192        .30870E-05    .58375E-05
  12  Prefactor     .10000E-03    52.182        .61458E-06** at limit **
  13  Prefactor     .10000E-03    1.4982       -.31970E-07** at limit **
  14  Prefactor     17.657        21.699       -.43608E-06    .11981E-04
  15  Prefactor     .10000E-03    1.8775       -.26189E-07** at limit **
  16  Prefactor     .10000E-03    7.8587        .85383E-08** at limit **
  17  Prefactor     6.8886        24.332       -.24698E-05   -.13411E-04
  18  Prefactor     54.350        51.245        .54746E-06    .10828E-04
  19  Prefactor     .10000E-03    10.259       -.47921E-07** at limit **
  20  Prefactor     .10000E-03    13.651        .12580E-05** at limit **
  21  Prefactor     48.117        39.372       -.86296E-06    .68152E-05
  22  Prefactor     33.955        20.571        .33305E-06    .28987E-04
  23  Prefactor     11.156        15.473       -.22322E-05   -.81859E-05
  24  norm          .10000E-03    .66779       -.11632E-07** at limit **
  25  Prefactor     .10000E-03    4.1125       -.55857E-07** at limit **
  26  Prefactor     .10000E-03    2.3012       -.26876E-08** at limit **
  27  Prefactor     .10000E-03    5.3695       -.16251E-06** at limit **
  28  norm          3.6977        5.9019       -.23659E-05   -.34125E-03
  29  Prefactor     4.6481        13.311        .70529E-05    .47033E-04
  30  Prefactor     .10000E-03    13.552       -.13010E-05** at limit **
  31  Prefactor     2.7741        26.525       -.78510E-05   -.21318E-03
  32  Normalizat    1.0197        .17973        .44524E-05   -.14337E-03
  33  Prefactor     .67117        .19152       -.11124E-05    .18849E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.0056
  Prefactor  = 56.3001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.109
  norm       = 14.0678
  norm       = 52.6145
  norm       = 5.63121
  Prefactor  = 0.0001
  Prefactor  = 15.0887
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6566
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.88863
  Prefactor  = 54.3495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.1174
  Prefactor  = 33.955
  Prefactor  = 11.1565
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.69771
  Prefactor  = 4.64806
  Prefactor  = 0.0001
  Prefactor  = 2.77415
  Normalizat = 1.01969
  Prefactor  = 0.671168
 **********
 **   18 **HESSE 
 **********

 FCN=   5134.704     FROM HESSE     STATUS=OK           689 CALLS     5292 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    116.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.006        14.262        .10341E-03   -1.4933    
   3  Prefactor     56.300        36.941        .53464E-04   -1.4206    
   4  norm          .10000E-03    1.5803        .87475E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.109        49.638        .96584E-04   -1.4880    
   7  norm          14.068        2.7161        .49490E-04   -1.4958    
   8  norm          52.615        56.257        .55300E-04   -1.4256    
   9  norm          5.6312        4.7785        .13568E-03   -1.5233    
  10  Prefactor     .10000E-03    269.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.089        46.110        .10315E-03   -1.4931    
  12  Prefactor     .10000E-03    52.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.4994        .85644E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.657        21.834        .95335E-04   -1.4867    
  15  Prefactor     .10000E-03    1.9060        .19047E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.8640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.8886        24.257        .15295E-03   -1.5183    
  18  Prefactor     54.350        51.238        .54410E-04   -1.4232    
  19  Prefactor     .10000E-03    10.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     48.117        39.381        .57808E-04   -1.4320    
  22  Prefactor     33.955        20.564        .68772E-04   -1.4542    
  23  Prefactor     11.156        15.408        .11994E-03   -1.5040    
  24  norm          .10000E-03    1.1767        .11328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.1349        .14190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    2.3142        .10612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    5.5250        .32412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          3.6977        5.7824        .16018E-03   -1.5323    
  29  Prefactor     4.6481        12.679        .18689E-03   -1.5277    
  30  Prefactor     .10000E-03    13.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     2.7741        23.958        .24361E-03   -1.5375    
  32  Normalizat    1.0197        .21683        .21304E-03   -.92374    
  33  Prefactor     .67117        .22867        .29369E-03   -1.0467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29063e-09
Minuit parameter uncertainties:
  1  5.60272e-05
  2  14.265
  3  36.9556
  4  3.28109e-06
  5  0.000236351
  6  49.7578
  7  2.71615
  8  56.3139
  9  4.77882
  10  2.80595e-05
  11  46.2193
  12  0.000175808
  13  2.56901e-06
  14  21.8443
  15  4.88914e-06
  16  2.11429e-06
  17  24.2916
  18  51.2801
  19  2.13055e-05
  20  6.22787e-06
  21  39.4022
  22  20.5686
  23  15.4133
  24  3.86967e-06
  25  1.23555e-05
  26  1.90384e-06
  27  3.65473e-05
  28  5.78331
  29  12.6868
  30  1.92405e-05
  31  16.3134
  32  0.217017
  33  0.228991
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  5.435e+01  5.128e+01  1.000e-04  1.000e+04 ( 1.000e-14)
320        Index:  2.240e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  1.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  6.712e-01  2.290e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.020e+00  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.52
Ra Dec: 218.068 50.860
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.70e-08 +/- 2.54e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.06e-05

TS (Fixed Index): 3.52
Ra Dec: 218.068 50.860
Photon Flux Upper Limit: 9.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/595784/likelihoodResults_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.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) = 5134.50106951
delta logL = 0.203248422836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5134.49923392
delta logL = 0.205084009212

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.718       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7630       1.0000          .0000       10.000    
     3 'Normalizat'    1.0324       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66264       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+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=   5134.499     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      308 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.730        72.828        .23072E-03    .18724E-05
   2  Index         1.7628        .69082        .10472E-01    .60306E-04
   3  Normalizat    1.0324        .19657        .21193E-03    .16093E-05
   4  Prefactor     .66268        .22421        .29545E-03   -.18855E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.73
  Index      = 1.76284
  Normalizat = 1.03237
  Prefactor  = 0.662675
 **********
 **   18 **HESSE 
 **********

 FCN=   5134.499     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.730        72.426        .92289E-05   -1.3965    
   2  Index         1.7628        .68708        .20944E-02   -.70421    
   3  Normalizat    1.0324        .19671        .84770E-05   -.91954    
   4  Prefactor     .66268        .22440        .11818E-04   -1.0501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2653e-13
Minuit parameter uncertainties:
  1  72.5104
  2  0.690863
  3  0.196844
  4  0.224707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595784': 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) = 5134.49923384
delta logL = 0.205084084947

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  7.573e+01  7.251e+01  1.000e-04  1.000e+04 ( 1.000e-14)
320        Index:  1.763e+00  6.909e-01  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  1.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  6.627e-01  2.247e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.032e+00  1.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.94
Ra Dec: 218.068 50.860
Photon Index (Free Index): 1.76 +/- 0.69
Photon Flux (Free Index): 1.55e-08 +/- 2.06e-08
Energy Flux (Free Index): 2.07e-05 +/- 3.14e-05

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/595784/cmap_HighResolution_391737601_391996801_4FGL_J1432.2+5051_daily_bin588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', comment='SUCCESS', photon_flux='2.70e-08', energy_flux2='2.07e-05', photon_flux_error='2.54e-08', dlogl='2.05e-01', energy_flux='1.13e-05', photon_flux2='1.55e-08', job_status='DONE', time_completed='2021-09-09 23:41:35.510020', photon_index_error2='0.69', photon_index2='1.76', ts='3.52', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='9.23e-08', energy_flux_error2='3.14e-05', EG='1.02', time_epoch_completed='1631256095.51', return_code='0', job_id='595784', GAL2='0.66', EG2='1.03', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='2.06e-08', ts2='3.94', photon_index='2.24' WHERE bin_id='588' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 23:41:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 595784: <4FGL_J1432.2+5051_daily_bin588> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin588> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 23:26:00 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 23:26:02 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:26:02 2021
Terminated at Thu Sep  9 23:41:36 2021
Results reported at Thu Sep  9 23:41:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin588 218.068 50.8596 391737601 391996801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1432.2+5051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   916.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            936 sec.

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

