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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin728
RA = 218.068, Dec = 50.8596
tmin = 428025601, tmax = 428284801
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='595981', job_status='RUN', time_executed='2021-09-09 23:26:33.751084', time_epoch_executed='1631255193.75' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595981

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595981/ft1_4FGL_J1432.2+5051_daily_bin728.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595981/ft2_4FGL_J1432.2+5051_daily_bin728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595981/ft1_4FGL_J1432.2+5051_daily_bin728.fits outfile=/scratch/kocevski/595981/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin728.fits ra=218.068 dec=50.8596 rad=12.0 tmin=428025601.0 tmax=428284801.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 5.58
user 5.29
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595981/ft2_4FGL_J1432.2+5051_daily_bin728.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/595981/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin728.fits evtable="EVENTS" outfile="/scratch/kocevski/595981/ft1_filtered_4FGL_J1432.2+5051_daily_bin728.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.58
user 0.33
sys 0.20

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595981/ft1_filtered_4FGL_J1432.2+5051_daily_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/595981/ft2_4FGL_J1432.2+5051_daily_bin728.fits sctable="SC_DATA" expcube=/scratch/kocevski/595981/ltcube_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.fits outfile=/scratch/kocevski/595981/expmap_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.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/595981/ltcube_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.fits
.....................!
real 190.03
user 185.32
sys 4.33

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/595981/ft1_filtered_4FGL_J1432.2+5051_daily_bin728.fits scfile=/scratch/kocevski/595981/ft2_4FGL_J1432.2+5051_daily_bin728.fits outfile=/scratch/kocevski/595981/cmap_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595981/ft1_filtered_4FGL_J1432.2+5051_daily_bin728.fits scfile=/scratch/kocevski/595981/ft2_4FGL_J1432.2+5051_daily_bin728.fits outfile=/scratch/kocevski/595981/cmap_HighResolution_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.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/595981/ft1_filtered_4FGL_J1432.2+5051_daily_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/595981/ft2_4FGL_J1432.2+5051_daily_bin728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595981/Model_4FGL_J1432.2+5051_daily_bin728.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/595981/ft1_filtered_4FGL_J1432.2+5051_daily_bin728.fits.....................!
real 35.93
user 34.64
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/595981/ft1_filtered_4FGL_J1432.2+5051_daily_bin728.fits', '/scratch/kocevski/595981/ft2_4FGL_J1432.2+5051_daily_bin728.fits', expMap='/scratch/kocevski/595981/expmap_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.fits', expCube='/scratch/kocevski/595981/ltcube_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/595981/Model_4FGL_J1432.2+5051_daily_bin728.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/595981/ft1_filtered_4FGL_J1432.2+5051_daily_bin728.fits
Spacecraft file(s): /scratch/kocevski/595981/ft2_4FGL_J1432.2+5051_daily_bin728.fits
Exposure map: /scratch/kocevski/595981/expmap_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.fits
Exposure cube: /scratch/kocevski/595981/ltcube_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/595981/Model_4FGL_J1432.2+5051_daily_bin728.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) = 3861.97218757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10262E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    77.319       1.0000         .10000E-03   10000.    
     6 'Prefactor '    63.351       1.0000         .10000E-03   10000.    
     7 'norm      '    5.3422       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10710E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    174.13       1.0000         .10000E-03   10000.    
    11 'Prefactor '    64.199       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1332       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4396       1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.882       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.395       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.657       1.0000         .10000E-03   10000.    
    22 'Prefactor '    27.408       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.5193       1.0000         .10000E-03   10000.    
    24 'norm      '    4.0422       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.5571       1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.7632       1.0000         .10000E-03   10000.    
    28 'norm      '    4.0316       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10667E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    11.257       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .61158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1056       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=   3861.956     FROM MIGRAD    STATUS=CONVERGED    874 CALLS     4582 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.905        .15525E-06** at limit **
   2  Prefactor     .10000E-03    7.0373        .81468E-07** at limit **
   3  Prefactor     .10000E-03    14.064        .21660E-06** at limit **
   4  norm          .10000E-03    3.9712        .62435E-06** at limit **
   5  Prefactor     77.271        67.821        .73464E-06   -.18568E-04
   6  Prefactor     63.299        53.345        .63477E-06   -.14667E-04
   7  norm          5.3409        2.0777        .35824E-07   -.14825E-03
   8  norm          .10000E-03    33.597        .18220E-07** at limit **
   9  norm          .10000E-03    2.3239       -.49488E-07** at limit **
  10  Prefactor     172.58        432.47       -.83900E-05   -.19247E-04
  11  Prefactor     64.149        78.859        .31031E-06   -.25452E-04
  12  Prefactor     .10000E-03    28.391       -.91787E-08** at limit **
  13  Prefactor     2.1325        4.0084        .13258E-06    .68701E-04
  14  Prefactor     .10000E-03    15.970        .89614E-06** at limit **
  15  Prefactor     3.4381        3.5003        .12432E-06   -.15558E-04
  16  Prefactor     28.877        22.851        .13178E-06   -.12556E-04
  17  Prefactor     .10000E-03    11.624        .78662E-07** at limit **
  18  Prefactor     .10000E-03    30.159        .41720E-06** at limit **
  19  Prefactor     20.390        19.976        .11011E-06   -.10572E-04
  20  Prefactor     .10000E-03    12.202        .13920E-06** at limit **
  21  Prefactor     18.524        54.664       -.46071E-06    .24250E-06
  22  Prefactor     27.400        19.542       -.16313E-06   -.47937E-04
  23  Prefactor     3.5172        12.765        .65125E-06    .48742E-04
  24  norm          4.0418        2.0008       -.10250E-06   -.25183E-03
  25  Prefactor     .10000E-03    3.2258        .77294E-07** at limit **
  26  Prefactor     3.5568        6.8770        .35096E-06    .10088E-03
  27  Prefactor     5.7593        7.2316        .36273E-06    .52044E-04
  28  norm          4.0319        5.9917       -.19777E-07    .80265E-04
  29  Prefactor     .10000E-03    11.585       -.13263E-06** at limit **
  30  Prefactor     .10000E-03    24.379        .45037E-07** at limit **
  31  Prefactor     11.254        17.512        .28532E-06   -.18470E-05
  32  Normalizat    .61227        .24229       -.75992E-05   -.37097E-04
  33  Prefactor     1.1049        .27671        .62943E-05   -.10487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 77.2711
  Prefactor  = 63.2989
  norm       = 5.34094
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 172.576
  Prefactor  = 64.149
  Prefactor  = 0.0001
  Prefactor  = 2.13247
  Prefactor  = 0.0001
  Prefactor  = 3.43812
  Prefactor  = 28.8768
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.3904
  Prefactor  = 0.0001
  Prefactor  = 18.524
  Prefactor  = 27.3996
  Prefactor  = 3.51717
  norm       = 4.04183
  Prefactor  = 0.0001
  Prefactor  = 3.55676
  Prefactor  = 5.75927
  norm       = 4.03191
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2538
  Normalizat = 0.612271
  Prefactor  = 1.10492
 **********
 **   18 **HESSE 
 **********

 FCN=   3861.956     FROM HESSE     STATUS=OK           691 CALLS     5273 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.0485        .16102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.0997        .12156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     77.271        67.805        .45668E-04   -1.3948    
   6  Prefactor     63.299        53.346        .50417E-04   -1.4115    
   7  norm          5.3409        2.0792        .53284E-04   -1.5246    
   8  norm          .10000E-03    33.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.3368        .92408E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     172.58        436.77        .15290E-03   -1.3073    
  11  Prefactor     64.149        78.801        .50085E-04   -1.4104    
  12  Prefactor     .10000E-03    28.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1325        3.9839        .16545E-03   -1.5416    
  14  Prefactor     .10000E-03    16.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4381        3.4801        .10385E-03   -1.5337    
  16  Prefactor     28.877        22.837        .74549E-04   -1.4633    
  17  Prefactor     .10000E-03    11.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    30.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.390        19.980        .88689E-04   -1.4805    
  20  Prefactor     .10000E-03    12.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.524        54.678        .92725E-04   -1.4847    
  22  Prefactor     27.400        19.543        .76522E-04   -1.4661    
  23  Prefactor     3.5172        12.755        .21549E-03   -1.5333    
  24  norm          4.0418        2.0034        .29740E-03   -1.5306    
  25  Prefactor     .10000E-03    3.2286        .10899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.5568        6.8683        .21430E-03   -1.5331    
  27  Prefactor     5.7593        7.2312        .16730E-03   -1.5228    
  28  norm          4.0319        5.9506        .16214E-03   -1.5306    
  29  Prefactor     .10000E-03    11.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    24.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     11.254        17.372        .11940E-03   -1.5037    
  32  Normalizat    .61227        .24394        .25939E-03   -1.0747    
  33  Prefactor     1.1049        .27737        .23799E-03   -.89309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85534e-10
Minuit parameter uncertainties:
  1  2.11751e-05
  2  1.17934e-05
  3  2.76667e-05
  4  4.10473e-05
  5  67.873
  6  53.3868
  7  2.0792
  8  5.46893e-06
  9  1.2991e-06
  10  445.403
  11  78.9296
  12  2.2535e-05
  13  3.9844
  14  0.000119254
  15  3.48034
  16  22.8443
  17  1.38569e-05
  18  6.992e-05
  19  19.9868
  20  1.63536e-05
  21  54.8264
  22  19.5475
  23  12.7649
  24  2.00348
  25  4.67943e-06
  26  6.86978
  27  7.23229
  28  5.95144
  29  8.67117e-06
  30  1.42983e-05
  31  17.3796
  32  0.244375
  33  0.277734
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.000e-04  6.992e-05  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:  1.105e+00  2.777e-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:  6.123e-01  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/595981/likelihoodResults_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.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): 102
logL (Free Index) = 3861.95621082
delta logL = -0.000157547130129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3861.9560543
delta logL = -1.02711328509e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11497E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6660       1.0000          .0000       10.000    
     3 'Normalizat'    .61226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1049       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=   3861.956     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      269 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10166E-03    147.66        .18142E-02** at limit **
   2  Index         2.6066        6.1179        .50000        .90646E-05
   3  Normalizat    .61227        .11686E-01    .25939E-03    .33156E-04
   4  Prefactor     1.1049        .14137E-01    .23799E-03    .52547E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101662
  Index      = 2.60661
  Normalizat = 0.61227
  Prefactor  = 1.10492
 **********
 **   18 **HESSE 
 **********

 FCN=   3861.956     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      298 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10166E-03    692.89        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6066        6.0075        .50000       -.49915    
   3  Normalizat    .61227        .26265E-01    .10376E-04   -1.0747    
   4  Prefactor     1.1049        .31770E-01    .95194E-05   -.89309    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.30557e-08
Minuit parameter uncertainties:
  1  0.0686846
  2  798.045
  3  0.0262651
  4  0.0317701
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595981': 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): 102
logL (Free Index) = 3861.95605386
delta logL = -5.87417616771e-07

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.017e-04  6.868e-02  1.000e-04  1.000e+04 ( 1.000e-14)
320        Index:  2.607e+00  7.980e+02  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:  1.105e+00  3.177e-02  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:  6.123e-01  2.627e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 218.068 50.860

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/595981/cmap_HighResolution_428025601_428284801_4FGL_J1432.2+5051_daily_bin728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2021-09-09 23:39:30.857948', job_id='595981', GAL2='1.10', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1631255970.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-5.87e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='728' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 23:39:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 595981: <4FGL_J1432.2+5051_daily_bin728> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin728 218.068 50.8596 428025601 428284801 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 :                                   764.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            797 sec.

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

