/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 217 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1432.2+5051_daily_bin75
RA = 218.068, Dec = 50.8596
tmin = 258768001, tmax = 259027201
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='590205', job_status='RUN', time_executed='2021-09-09 23:09:55.346473', time_epoch_executed='1631254195.35' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590205

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590205/ft1_4FGL_J1432.2+5051_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590205/ft2_4FGL_J1432.2+5051_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590205/ft1_4FGL_J1432.2+5051_daily_bin75.fits outfile=/scratch/kocevski/590205/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin75.fits ra=218.068 dec=50.8596 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.17
user 0.95
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590205/ft1_filtered_4FGL_J1432.2+5051_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/590205/ft2_4FGL_J1432.2+5051_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/590205/ltcube_258768001_259027201_4FGL_J1432.2+5051_daily_bin75.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/590205/ft2_4FGL_J1432.2+5051_daily_bin75.fits
.....................!
real 9.00
user 8.65
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590205/ft1_filtered_4FGL_J1432.2+5051_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/590205/ft2_4FGL_J1432.2+5051_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/590205/ltcube_258768001_259027201_4FGL_J1432.2+5051_daily_bin75.fits outfile=/scratch/kocevski/590205/expmap_258768001_259027201_4FGL_J1432.2+5051_daily_bin75.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/590205/ltcube_258768001_259027201_4FGL_J1432.2+5051_daily_bin75.fits
.....................!
real 192.36
user 186.59
sys 5.18

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/590205/ft1_filtered_4FGL_J1432.2+5051_daily_bin75.fits scfile=/scratch/kocevski/590205/ft2_4FGL_J1432.2+5051_daily_bin75.fits outfile=/scratch/kocevski/590205/cmap_258768001_259027201_4FGL_J1432.2+5051_daily_bin75.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/590205/ft1_filtered_4FGL_J1432.2+5051_daily_bin75.fits scfile=/scratch/kocevski/590205/ft2_4FGL_J1432.2+5051_daily_bin75.fits outfile=/scratch/kocevski/590205/cmap_HighResolution_258768001_259027201_4FGL_J1432.2+5051_daily_bin75.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6905       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.8262       1.0000         .10000E-03   10000.    
     8 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21473       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.940       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .74789       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.918       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.969       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    72.593       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .89286       1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.893       1.0000         .10000E-03   10000.    
    24 'norm      '    .11385E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10548E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    37.497       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .42067       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.4166       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3509.496     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     3894 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10043E-03    14.929        .26502E-04** at limit **
   2  Prefactor     2.6856        14.415        .51828E-04   -.33697E-03
   3  Prefactor     .10049E-03    14.297       -.28309E-04** at limit **
   4  norm          .10000E-03    2.5822       -.24091E-06** at limit **
   5  Prefactor     .10172E-03    30.056       -.37912E-05** at limit **
   6  Prefactor     .10182E-03    30.909        .96261E-05** at limit **
   7  norm          3.8259        2.3082       -.46260E-06   -.28416E-04
   8  norm          .10003E-03    35.235       -.57156E-05** at limit **
   9  norm          .10000E-03    1.3457        .16050E-06** at limit **
  10  Prefactor     .80524E-02    7511.0       -.36919E-03    .53463E-03
  11  Prefactor     .10000E-03    23.288        .18723E-05** at limit **
  12  Prefactor     26.970        33.692       -.17913E-04   -.40405E-02
  13  Prefactor     .10000E-03    1.8368       -.31906E-06** at limit **
  14  Prefactor     .10000E-03    14.999        .13836E-06** at limit **
  15  Prefactor     .74487        2.3669       -.55112E-06    .74325E-04
  16  Prefactor     .10000E-03    8.7790        .10094E-06** at limit **
  17  Prefactor     38.932        22.889        .36535E-05   -.10524E-01
  18  Prefactor     .10000E-03    50.774       -.68746E-05** at limit **
  19  Prefactor     14.949        4.6475        .47895E-06   -.18521E-02
  20  Prefactor     .10000E-03    12.022        .29579E-06** at limit **
  21  Prefactor     72.767        44.103       -.13402E-04    .17156E-01
  22  Prefactor     .89005        32.875       -.66399E-04   -.13636E-02
  23  Prefactor     11.893        11.398       -.26637E-04   -.67842E-02
  24  norm          .10000E-03    6.3023        .23409E-06** at limit **
  25  Prefactor     .10000E-03    5.2979        .13612E-06** at limit **
  26  Prefactor     .10000E-03    10.057       -.84778E-07** at limit **
  27  Prefactor     .10000E-03    2.0151       -.42008E-06** at limit **
  28  norm          .10000E-03    1.2609       -.12944E-06** at limit **
  29  Prefactor     .10000E-03    2.8085       -.38500E-06** at limit **
  30  Prefactor     37.448        28.842       -.52025E-05   -.78115E-02
  31  Prefactor     .10000E-03    6.8209        .42274E-06** at limit **
  32  Normalizat    .42067        .23189       -.20416E-05   -.65058E-05
  33  Prefactor     1.4167        .27695        .96910E-05   -.23181E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100429
  Prefactor  = 2.68558
  Prefactor  = 0.000100491
  norm       = 0.0001
  Prefactor  = 0.000101721
  Prefactor  = 0.000101817
  norm       = 3.82593
  norm       = 0.000100029
  norm       = 0.0001
  Prefactor  = 0.00805243
  Prefactor  = 0.000100003
  Prefactor  = 26.9699
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.744872
  Prefactor  = 0.0001
  Prefactor  = 38.9323
  Prefactor  = 0.000100001
  Prefactor  = 14.9489
  Prefactor  = 0.0001
  Prefactor  = 72.7668
  Prefactor  = 0.890052
  Prefactor  = 11.8927
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.4479
  Prefactor  = 0.0001
  Normalizat = 0.420667
  Prefactor  = 1.41669
 **********
 **   18 **HESSE 
 **********

 FCN=   3509.496     FROM HESSE     STATUS=OK           767 CALLS     4661 TOTAL
                     EDM=   .38E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10043E-03    24.197        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6856        43.916        .62098E-02   -1.5380    
   3  Prefactor     .10049E-03    24.120        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.5786        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10172E-03    43.290        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10182E-03    41.934        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8259        2.3193        .51584E-02   -1.5317    
   8  norm          .10003E-03    35.308        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.3424        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .80524E-02    8113.8        .10045E-01   -1.5690    
  11  Prefactor     .10000E-03    23.305        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.970        45.462        .19296E-02   -1.4669    
  13  Prefactor     .10000E-03    1.8364        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.958        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .74487        2.7143        .12244E-01   -1.5535    
  16  Prefactor     .10000E-03    8.7747        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     38.932        37.893        .16062E-02   -1.4459    
  18  Prefactor     .10000E-03    51.198        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.949        31.382        .25881E-02   -1.4934    
  20  Prefactor     .10000E-03    12.020        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     72.767        67.158        .11780E-02   -1.4000    
  22  Prefactor     .89005        18.132        .83173E-01   -1.5519    
  23  Prefactor     11.893        18.240        .29040E-02   -1.5018    
  24  norm          .10000E-03    1.2381        .35608E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.2586        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    4.7214        .43898E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    2.0137        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    1.2563        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.8060        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     37.448        31.265        .16363E-02   -1.4483    
  31  Prefactor     .10000E-03    6.7997        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .42067        .20938        .66392E-01   -1.1625    
  33  Prefactor     1.4167        .23850        .46961E-01   -.79900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80314e-06
Minuit parameter uncertainties:
  1  0.0064501
  2  21.7384
  3  0.00688373
  4  7.66718e-06
  5  0.0172743
  6  0.0174696
  7  2.31938
  8  0.00204088
  9  4.41676e-06
  10  16.2358
  11  0.000484397
  12  45.5209
  13  8.73633e-06
  14  1.68465e-05
  15  2.71479
  16  8.23365e-06
  17  37.9165
  18  0.000529413
  19  31.4163
  20  2.43186e-05
  21  67.2283
  22  8.03676
  23  18.2482
  24  6.64753e-06
  25  8.15355e-06
  26  1.86565e-06
  27  1.1498e-05
  28  2.52752e-06
  29  1.24107e-05
  30  31.2788
  31  2.55613e-05
  32  0.209768
  33  0.23869
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.000e-04  5.294e-04  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.417e+00  2.387e-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:  4.207e-01  2.098e-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: 7.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590205/likelihoodResults_258768001_259027201_4FGL_J1432.2+5051_daily_bin75.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) = 3509.49595991
delta logL = -9.28646536522e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3509.49586879
delta logL = -1.7393804228e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19820E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4456       1.0000          .0000       10.000    
     3 'Normalizat'    .42067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4167       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=   3509.496     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      279 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10321E-03    11.325        .18142E-01** at limit **
   2  Index         2.3609        8.6132        .50000        .88663E-05
   3  Normalizat    .42067        .23272E-02    .29388E-03   -.12631E-03
   4  Prefactor     1.4167        .28960E-02    .20758E-03   -.17636E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103209
  Index      = 2.3609
  Normalizat = 0.420667
  Prefactor  = 1.41669
 **********
 **   18 **HESSE 
 **********

 FCN=   3509.496     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10321E-03    112.98        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3609        8.6448        .50000       -.55603    
   3  Normalizat    .42067        .73592E-02    .11755E-04   -1.1625    
   4  Prefactor     1.4167        .91579E-02    .41516E-04   -.79900    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.33679e-09
Minuit parameter uncertainties:
  1  0.0381546
  2  229.52
  3  0.00735926
  4  0.00915793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590205': 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) = 3509.49586729
delta logL = -2.40828285314e-07

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.032e-04  3.815e-02  1.000e-04  1.000e+04 ( 1.000e-14)
320        Index:  2.361e+00  2.295e+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.417e+00  9.158e-03  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:  4.207e-01  7.359e-03  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/590205/cmap_HighResolution_258768001_259027201_4FGL_J1432.2+5051_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.69e-08', time_completed='2021-09-09 23:20:59.609592', job_id='590205', GAL2='1.42', fit_tolerance='1e-08', EG2='0.42', EG='0.42', time_epoch_completed='1631254859.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='-2.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='75' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 23:20:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 590205: <4FGL_J1432.2+5051_daily_bin75> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin75> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 23:06:07 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 23:06:09 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:06:09 2021
Terminated at Thu Sep  9 23:21:00 2021
Results reported at Thu Sep  9 23:21:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin75 218.068 50.8596 258768001 259027201 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 :                                   664.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            893 sec.

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

