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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin451
RA = 218.068, Dec = 50.8596
tmin = 356227201, tmax = 356486401
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='594446', job_status='RUN', time_executed='2021-09-09 23:21:33.465465', time_epoch_executed='1631254893.47' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='451'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594446

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594446/ft1_4FGL_J1432.2+5051_daily_bin451.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...
fmerge4.1 : Error, missing column list names, file /scratch/kocevski/594446/ft2_filtered_0009.fits
fmerge4.1 : Fatal error!
FCCMPL: not found in table: RA_SUN
FCCMPL: not found in table: DEC_SUN

Merged file saved to:
/scratch/kocevski/594446/ft2_4FGL_J1432.2+5051_daily_bin451.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594446/ft1_4FGL_J1432.2+5051_daily_bin451.fits outfile=/scratch/kocevski/594446/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin451.fits ra=218.068 dec=50.8596 rad=12.0 tmin=356227201.0 tmax=356486401.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.10
user 2.88
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594446/ft1_filtered_4FGL_J1432.2+5051_daily_bin451.fits" evtable="EVENTS" scfile=/scratch/kocevski/594446/ft2_4FGL_J1432.2+5051_daily_bin451.fits sctable="SC_DATA" outfile=/scratch/kocevski/594446/ltcube_356227201_356486401_4FGL_J1432.2+5051_daily_bin451.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/594446/ft2_4FGL_J1432.2+5051_daily_bin451.fits
.....................!
real 3.05
user 2.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594446/ft1_filtered_4FGL_J1432.2+5051_daily_bin451.fits evtable="EVENTS" scfile=/scratch/kocevski/594446/ft2_4FGL_J1432.2+5051_daily_bin451.fits sctable="SC_DATA" expcube=/scratch/kocevski/594446/ltcube_356227201_356486401_4FGL_J1432.2+5051_daily_bin451.fits outfile=/scratch/kocevski/594446/expmap_356227201_356486401_4FGL_J1432.2+5051_daily_bin451.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/594446/ltcube_356227201_356486401_4FGL_J1432.2+5051_daily_bin451.fits
.....................!
real 190.11
user 185.12
sys 4.66

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/594446/ft1_filtered_4FGL_J1432.2+5051_daily_bin451.fits scfile=/scratch/kocevski/594446/ft2_4FGL_J1432.2+5051_daily_bin451.fits outfile=/scratch/kocevski/594446/cmap_356227201_356486401_4FGL_J1432.2+5051_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 0.54
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594446/ft1_filtered_4FGL_J1432.2+5051_daily_bin451.fits scfile=/scratch/kocevski/594446/ft2_4FGL_J1432.2+5051_daily_bin451.fits outfile=/scratch/kocevski/594446/cmap_HighResolution_356227201_356486401_4FGL_J1432.2+5051_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 0.53
user 0.35
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    69.436       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .33647E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10375E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    13.057       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .75471E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    18.419       1.0000         .10000E-03   10000.    
     8 'norm      '    .10146E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.3898       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17183E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8646       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    27.873       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14386E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    5.7844       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .39954       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.6450       1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .58773       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1437       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=   1344.677     FROM MIGRAD    STATUS=CONVERGED   1602 CALLS     5238 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     69.480        100.37        .48172E-04    .28922E-04
   2  Prefactor     .10000E-03    203.62        .42681E-03** at limit **
   3  Prefactor     .10000E-03    53.960        .18142E-02** at limit **
   4  norm          13.058        10.965        .10523E-03    .18668E-03
   5  Prefactor     .10000E-03    95.198        .18142E-02** at limit **
   6  Prefactor     .10000E-03    244.93        .14029    ** at limit **
   7  norm          18.420        5.9263        .48493E-04    .51753E-04
   8  norm          .10000E-03    168.46        .18142E-02** at limit **
   9  norm          7.3874        12.423        .14754E-03    .10580E-03
  10  Prefactor     .10000E-03    670.05        .18142E-02** at limit **
  11  Prefactor     .10000E-03    47.689        .18142E-02** at limit **
  12  Prefactor     .10000E-03    53.203        .18142E-02** at limit **
  13  Prefactor     .10000E-03    4.1412        .72872E-03** at limit **
  14  Prefactor     .10000E-03    12.624        .12726E-02** at limit **
  15  Prefactor     3.8667        5.9753        .10334E-03    .59847E-04
  16  Prefactor     .10000E-03    39.301        .18142E-02** at limit **
  17  Prefactor     .10000E-03    64.845        .18142E-02** at limit **
  18  Prefactor     .10000E-03    80.992        .18142E-02** at limit **
  19  Prefactor     .10000E-03    32.744        .18142E-02** at limit **
  20  Prefactor     .10000E-03    43.049        .18142E-02** at limit **
  21  Prefactor     .10000E-03    41.045        .18142E-02** at limit **
  22  Prefactor     27.886        42.398        .75883E-04    .93636E-06
  23  Prefactor     .10000E-03    92.195        .18142E-02** at limit **
  24  norm          5.7844        5.4766        .76788E-04    .44416E-05
  25  Prefactor     .10000E-03    54.709        .18142E-02** at limit **
  26  Prefactor     .40902        96.836        .26899E-02   -.20408E-04
  27  Prefactor     1.6595        59.121        .16467E-02    .11645E-04
  28  norm          .10000E-03    6.8733        .93201E-03** at limit **
  29  Prefactor     .10000E-03    6.8232        .93540E-03** at limit **
  30  Prefactor     .10000E-03    30.943        .18142E-02** at limit **
  31  Prefactor     .10000E-03    9.0691        .10787E-02** at limit **
  32  Normalizat    .58691        .43536        .27187E-03    .50817E-04
  33  Prefactor     1.1444        .47725        .24051E-03    .11882E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 69.4796
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.0584
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.4204
  norm       = 0.0001
  norm       = 7.38745
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.8667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.8857
  Prefactor  = 0.0001
  norm       = 5.78438
  Prefactor  = 0.0001
  Prefactor  = 0.409019
  Prefactor  = 1.65946
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.586909
  Prefactor  = 1.14443
 **********
 **   18 **HESSE 
 **********

 FCN=   1344.677     FROM HESSE     STATUS=OK           675 CALLS     5913 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     69.480        100.35        .96344E-05   -1.4039    
   2  Prefactor     .10000E-03    203.63        .85363E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    53.960        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.058        10.963        .42094E-05   -1.4985    
   5  Prefactor     .10000E-03    95.199        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    255.86        .13641       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.420        5.9252        .19397E-05   -1.4849    
   8  norm          .10000E-03    168.46        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.3874        12.418        .59016E-05   -1.5164    
  10  Prefactor     .10000E-03    670.05        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    47.689        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    53.205        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.1412        .14574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.624        .25453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.8667        5.9744        .41336E-05   -1.5315    
  16  Prefactor     .10000E-03    39.302        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    64.848        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    80.992        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    32.746        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    43.049        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    41.045        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     27.886        42.397        .30353E-05   -1.4651    
  23  Prefactor     .10000E-03    92.221        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          5.7844        5.4741        .30715E-05   -1.5227    
  25  Prefactor     .10000E-03    54.719        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .40902        96.382        .10760E-03   -1.5580    
  27  Prefactor     1.6595        58.381        .65866E-04   -1.5450    
  28  norm          .10000E-03    6.8744        .18640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    6.8232        .18708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    30.943        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    9.0692        .21574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .58691        .43425        .10875E-04   -1.0854    
  33  Prefactor     1.1444        .47658        .48101E-04   -.88059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42934e-10
Minuit parameter uncertainties:
  1  100.594
  2  3.09465e-05
  3  2.53779e-05
  4  10.9649
  5  0.000244412
  6  1.60936e-05
  7  5.92534
  8  0.000374321
  9  12.4221
  10  2.70006e-05
  11  0.000108646
  12  6.01493e-05
  13  2.37396e-07
  14  3.16474e-06
  15  5.97531
  16  1.10409e-05
  17  0.000113779
  18  9.98621e-05
  19  1.12031e-05
  20  4.70032e-05
  21  1.78454e-05
  22  42.443
  23  7.99087e-05
  24  5.47455
  25  0.000121336
  26  12.5764
  27  19.7059
  28  4.14518e-07
  29  1.08585e-06
  30  6.93572e-06
  31  1.0897e-06
  32  0.436804
  33  0.478375
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.000e-04  9.986e-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.144e+00  4.784e-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:  5.869e-01  4.368e-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: 1.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/594446/likelihoodResults_356227201_356486401_4FGL_J1432.2+5051_daily_bin451.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) = 1344.67675562
delta logL = -5.86642881899e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1344.67669742
delta logL = -4.65154926133e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6290       1.0000          .0000       10.000    
     3 'Normalizat'    .58691       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1444       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=   1344.677     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      286 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10721E-03    10.822        .18142E-01** at limit **
   2  Index         2.4933        5.2491        .50000        .58355E-05
   3  Normalizat    .58691        .34359E-02    .27187E-03   -.43645E-04
   4  Prefactor     1.1444        .41574E-02    .24050E-03   -.35937E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000107206
  Index      = 2.4933
  Normalizat = 0.586911
  Prefactor  = 1.14442
 **********
 **   18 **HESSE 
 **********

 FCN=   1344.677     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      315 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10721E-03    285.89        .27064E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4933        6.6404        .50000       -.52515    
   3  Normalizat    .58691        .17810E-01    .10875E-04   -1.0854    
   4  Prefactor     1.1444        .21550E-01    .48101E-04   -.88059    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.98539e-09
Minuit parameter uncertainties:
  1  0.0912168
  2  610.01
  3  0.0178103
  4  0.0215498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594446': 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) = 1344.67669727
delta logL = -3.21097786582e-07

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.072e-04  9.122e-02  1.000e-04  1.000e+04 ( 1.000e-14)
320        Index:  2.493e+00  6.100e+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.144e+00  2.155e-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:  5.869e-01  1.781e-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/594446/cmap_HighResolution_356227201_356486401_4FGL_J1432.2+5051_daily_bin451.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2021-09-09 23:29:42.487810', job_id='594446', GAL2='1.14', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1631255382.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='-3.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='451' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 23:29:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 594446: <4FGL_J1432.2+5051_daily_bin451> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin451> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 23:21:10 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 23:21:12 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:21:12 2021
Terminated at Thu Sep  9 23:29:43 2021
Results reported at Thu Sep  9 23:29:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin451 218.068 50.8596 356227201 356486401 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 :                                   479.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   510 sec.
    Turnaround time :                            513 sec.

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

