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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin1446
RA = 218.068, Dec = 50.8596
tmin = 614131201, tmax = 614390401
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='600180', job_status='RUN', time_executed='2021-09-09 23:41:28.114146', time_epoch_executed='1631256088.11' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='1446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/600180

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/600180/ft1_4FGL_J1432.2+5051_daily_bin1446.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/600180/ft2_4FGL_J1432.2+5051_daily_bin1446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/600180/ft1_4FGL_J1432.2+5051_daily_bin1446.fits outfile=/scratch/kocevski/600180/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1446.fits ra=218.068 dec=50.8596 rad=12.0 tmin=614131201.0 tmax=614390401.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 4.66
user 4.41
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/600180/ft2_4FGL_J1432.2+5051_daily_bin1446.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/600180/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1446.fits evtable="EVENTS" outfile="/scratch/kocevski/600180/ft1_filtered_4FGL_J1432.2+5051_daily_bin1446.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.51
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/600180/ft1_filtered_4FGL_J1432.2+5051_daily_bin1446.fits" evtable="EVENTS" scfile=/scratch/kocevski/600180/ft2_4FGL_J1432.2+5051_daily_bin1446.fits sctable="SC_DATA" outfile=/scratch/kocevski/600180/ltcube_614131201_614390401_4FGL_J1432.2+5051_daily_bin1446.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/600180/ft2_4FGL_J1432.2+5051_daily_bin1446.fits
.....................!
real 10.93
user 10.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/600180/ft1_filtered_4FGL_J1432.2+5051_daily_bin1446.fits evtable="EVENTS" scfile=/scratch/kocevski/600180/ft2_4FGL_J1432.2+5051_daily_bin1446.fits sctable="SC_DATA" expcube=/scratch/kocevski/600180/ltcube_614131201_614390401_4FGL_J1432.2+5051_daily_bin1446.fits outfile=/scratch/kocevski/600180/expmap_614131201_614390401_4FGL_J1432.2+5051_daily_bin1446.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/600180/ltcube_614131201_614390401_4FGL_J1432.2+5051_daily_bin1446.fits
.....................!
real 189.60
user 184.99
sys 4.31

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/600180/ft1_filtered_4FGL_J1432.2+5051_daily_bin1446.fits scfile=/scratch/kocevski/600180/ft2_4FGL_J1432.2+5051_daily_bin1446.fits outfile=/scratch/kocevski/600180/cmap_614131201_614390401_4FGL_J1432.2+5051_daily_bin1446.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/600180/ft1_filtered_4FGL_J1432.2+5051_daily_bin1446.fits scfile=/scratch/kocevski/600180/ft2_4FGL_J1432.2+5051_daily_bin1446.fits outfile=/scratch/kocevski/600180/cmap_HighResolution_614131201_614390401_4FGL_J1432.2+5051_daily_bin1446.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.53
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    76.594       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.3911       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .55003       1.0000         .10000E-03   10000.    
     4 'norm      '    .19361E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    58.826       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13461E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.6602       1.0000         .10000E-03   10000.    
     8 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.6364       1.0000         .10000E-03   10000.    
    10 'Prefactor '    288.39       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9821       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .51941E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.591       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4502       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10881E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.541       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13345E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.365       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.297       1.0000         .10000E-03   10000.    
    21 'Prefactor '    66.817       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.120       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    4.2840       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.8958       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.7400       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.3123       1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    15.234       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .61802       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1912       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=   5414.360     FROM MIGRAD    STATUS=CONVERGED    935 CALLS     4735 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     76.490        51.491        .26939E-06   -.25895E-03
   2  Prefactor     8.3569        15.543       -.33752E-05   -.35911E-03
   3  Prefactor     .76722        40.037        .24616E-05   -.15963E-03
   4  norm          .10000E-03    3.9263        .30746E-05** at limit **
   5  Prefactor     58.788        51.950        .24030E-06   -.63505E-04
   6  Prefactor     .10000E-03    119.35        .78895E-06** at limit **
   7  norm          4.6587        1.9520        .84248E-07   -.35932E-03
   8  norm          .10000E-03    26.200        .35594E-07** at limit **
   9  norm          2.6364        2.8298        .77952E-07   -.27513E-04
  10  Prefactor     288.52        385.09       -.48581E-05    .51271E-04
  11  Prefactor     3.8394        219.47        .12108E-04    .13375E-04
  12  Prefactor     .10000E-03    32.950       -.35548E-06** at limit **
  13  Prefactor     .10005E-03    2.9274        .40176E-06** at limit **
  14  Prefactor     25.596        22.791        .45646E-06   -.42973E-04
  15  Prefactor     1.4594        4.6283       -.16017E-05   -.58863E-03
  16  Prefactor     .10000E-03    39.779        .56261E-06** at limit **
  17  Prefactor     31.502        31.791        .18132E-05    .43851E-04
  18  Prefactor     .10001E-03    217.68       -.31233E-05** at limit **
  19  Prefactor     13.368        28.751        .55243E-06   -.26396E-04
  20  Prefactor     17.305        21.455        .29369E-06   -.38866E-04
  21  Prefactor     66.842        62.034       -.14362E-06    .15903E-04
  22  Prefactor     12.120        13.541        .87687E-07    .88057E-04
  23  Prefactor     .10000E-03    7.8115        .65615E-07** at limit **
  24  norm          4.2843        1.7811       -.32866E-07    .13790E-04
  25  Prefactor     1.8978        11.033        .23009E-05   -.49383E-04
  26  Prefactor     2.7413        5.3632        .33207E-05   -.30118E-03
  27  Prefactor     4.3143        7.8644       -.80279E-06   -.29116E-04
  28  norm          .10000E-03    .99493       -.22798E-07** at limit **
  29  Prefactor     .10000E-03    2.6944       -.58252E-07** at limit **
  30  Prefactor     15.253        30.794        .37895E-06   -.25047E-04
  31  Prefactor     .10000E-03    4.9689       -.84311E-07** at limit **
  32  Normalizat    .61796        .18341       -.67046E-06   -.28724E-03
  33  Prefactor     1.1910        .19866       -.21861E-06   -.31466E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 76.4902
  Prefactor  = 8.35693
  Prefactor  = 0.767217
  norm       = 0.000100001
  Prefactor  = 58.788
  Prefactor  = 0.000100001
  norm       = 4.65872
  norm       = 0.0001
  norm       = 2.63642
  Prefactor  = 288.518
  Prefactor  = 3.83941
  Prefactor  = 0.0001
  Prefactor  = 0.000100046
  Prefactor  = 25.5956
  Prefactor  = 1.45943
  Prefactor  = 0.0001
  Prefactor  = 31.502
  Prefactor  = 0.000100005
  Prefactor  = 13.3679
  Prefactor  = 17.3048
  Prefactor  = 66.8416
  Prefactor  = 12.1204
  Prefactor  = 0.0001
  norm       = 4.28432
  Prefactor  = 1.89781
  Prefactor  = 2.74134
  Prefactor  = 4.31431
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.2528
  Prefactor  = 0.0001
  Normalizat = 0.617961
  Prefactor  = 1.19101
 **********
 **   18 **HESSE 
 **********

 FCN=   5414.360     FROM HESSE     STATUS=OK           701 CALLS     5436 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     76.490        53.076        .45882E-04   -1.3957    
   2  Prefactor     8.3569        15.487        .13839E-03   -1.5130    
   3  Prefactor     .76722        422.00        .77587E-02   -1.5533    
   4  norm          .10000E-03    7.1843        .25230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     58.788        52.158        .52308E-04   -1.4173    
   6  Prefactor     .10000E-03    121.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.6587        1.9502        .31563E-03   -1.5276    
   8  norm          .10000E-03    26.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.6364        2.8197        .12285E-03   -1.5383    
  10  Prefactor     288.52        381.01        .11951E-03   -1.2294    
  11  Prefactor     3.8394        196.34        .20212E-03   -1.5316    
  12  Prefactor     .10000E-03    33.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10005E-03    42.573        .23701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.596        22.440        .79187E-04   -1.4696    
  15  Prefactor     1.4594        4.2005        .17733E-03   -1.5466    
  16  Prefactor     .10000E-03    40.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     31.502        30.379        .71345E-04   -1.4585    
  18  Prefactor     .10001E-03    219.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.368        28.732        .10957E-03   -1.4977    
  20  Prefactor     17.305        21.445        .96301E-04   -1.4876    
  21  Prefactor     66.842        61.982        .49101E-04   -1.4071    
  22  Prefactor     12.120        13.520        .11507E-03   -1.5012    
  23  Prefactor     .10000E-03    7.8407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          4.2843        1.7796        .60957E-04   -1.5294    
  25  Prefactor     1.8978        10.563        .30213E-03   -1.5432    
  26  Prefactor     2.7413        5.5026        .11682E-02   -1.5377    
  27  Prefactor     4.3143        7.7455        .19399E-03   -1.5293    
  28  norm          .10000E-03    .99827        .71664E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.6973        .11791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     15.253        30.801        .10262E-03   -1.4927    
  31  Prefactor     .10000E-03    4.9751        .16012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .61796        .22229        .26854E-03   -1.0723    
  33  Prefactor     1.1910        .24235        .23594E-03   -.86608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72883e-09
Minuit parameter uncertainties:
  1  53.1091
  2  15.4944
  3  36.2441
  4  0.000149367
  5  52.1982
  6  0.000673325
  7  1.95025
  8  9.9117e-06
  9  2.81982
  10  384.377
  11  55.1026
  12  1.6553e-05
  13  0.00280669
  14  22.4473
  15  4.20138
  16  0.000144883
  17  30.3944
  18  0.00217855
  19  28.7616
  20  21.4545
  21  62.0422
  22  13.5238
  23  1.11797e-05
  24  1.77959
  25  8.95699
  26  5.50357
  27  7.74733
  28  1.50832e-06
  29  4.82013e-06
  30  30.8329
  31  8.47413e-06
  32  0.222613
  33  0.242582
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.000e-04  2.179e-03  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.191e+00  2.426e-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.180e-01  2.226e-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.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/600180/likelihoodResults_614131201_614390401_4FGL_J1432.2+5051_daily_bin1446.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) = 5414.36026601
delta logL = -2.15805157495e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5414.36026601
delta logL = -2.15799273064e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96364E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2401       1.0000          .0000       10.000    
     3 'Normalizat'    .61796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1910       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.

 FCN=   5414.360     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      227 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10042E-03    .55640        .13607    ** at limit **
   2  Index         2.3693        5.8268        .50000       -.45309E-05
   3  Normalizat    .61796        .42740E-03    .60701E-01   -.11995E-04
   4  Prefactor     1.1910        .50931E-03    .53365E-01   -.11786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100417
  Index      = 2.36933
  Normalizat = 0.617962
  Prefactor  = 1.19102
 **********
 **   18 **HESSE 
 **********

 FCN=   5414.360     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      270 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10042E-03    .51606        .14137       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3693        5.7692        .50000       -.55405    
   3  Normalizat    .61796        .42240E-03    .26854E-03   -1.0723    
   4  Prefactor     1.1910        .50392E-03    .23594E-03   -.86608    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.96393e-11
Minuit parameter uncertainties:
  1  0.000927416
  2  10.0658
  3  0.0004224
  4  0.000503919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/600180': 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) = 5414.36024428
delta logL = 1.45676494867e-07

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.004e-04  9.274e-04  1.000e-04  1.000e+04 ( 1.000e-14)
320        Index:  2.369e+00  1.007e+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:  1.191e+00  5.039e-04  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.180e-01  4.224e-04  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/600180/cmap_HighResolution_614131201_614390401_4FGL_J1432.2+5051_daily_bin1446.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.25e-03', job_status='DONE', photon_flux_upper_limit='6.86e-08', time_completed='2021-09-09 23:57:21.824062', job_id='600180', GAL2='1.19', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1631257041.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.46e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1446' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 23:57:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 600180: <4FGL_J1432.2+5051_daily_bin1446> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin1446 218.068 50.8596 614131201 614390401 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 :                                   942.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            969 sec.

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

