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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin91
RA = 217.229, Dec = 54.1114
tmin = 262915201, tmax = 263174401
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='542190', job_status='RUN', time_executed='2021-09-09 20:28:56.764509', time_epoch_executed='1631244536.76' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='91'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542190

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542190/ft1_4FGL_J1428.9+5406_daily_bin91.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542190/ft1_4FGL_J1428.9+5406_daily_bin91.fits outfile=/scratch/kocevski/542190/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin91.fits ra=217.229 dec=54.1114 rad=12.0 tmin=262915201.0 tmax=263174401.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.28
user 1.11
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.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/542190/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin91.fits evtable="EVENTS" outfile="/scratch/kocevski/542190/ft1_filtered_4FGL_J1428.9+5406_daily_bin91.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542190/ft1_filtered_4FGL_J1428.9+5406_daily_bin91.fits" evtable="EVENTS" scfile=/scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits sctable="SC_DATA" outfile=/scratch/kocevski/542190/ltcube_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.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/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits
.....................!
real 10.69
user 10.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542190/ft1_filtered_4FGL_J1428.9+5406_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits sctable="SC_DATA" expcube=/scratch/kocevski/542190/ltcube_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.fits outfile=/scratch/kocevski/542190/expmap_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.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/542190/ltcube_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.fits
.....................!
real 190.80
user 185.75
sys 4.71

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

Setting source of interest to:
4FGL J1428.9+5406 @ 217.229 54.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/542190/ft1_filtered_4FGL_J1428.9+5406_daily_bin91.fits scfile=/scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits outfile=/scratch/kocevski/542190/cmap_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.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=217.229 yref=54.1114 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.34
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542190/ft1_filtered_4FGL_J1428.9+5406_daily_bin91.fits scfile=/scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits outfile=/scratch/kocevski/542190/cmap_HighResolution_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.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=217.229 yref=54.1114 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/542190/ft1_filtered_4FGL_J1428.9+5406_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/542190/Model_4FGL_J1428.9+5406_daily_bin91.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/542190/ft1_filtered_4FGL_J1428.9+5406_daily_bin91.fits......................!
real 36.12
user 34.86
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/542190/ft1_filtered_4FGL_J1428.9+5406_daily_bin91.fits', '/scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits', expMap='/scratch/kocevski/542190/expmap_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.fits', expCube='/scratch/kocevski/542190/ltcube_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/542190/Model_4FGL_J1428.9+5406_daily_bin91.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.9+5406'

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  4.001e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/542190/ft1_filtered_4FGL_J1428.9+5406_daily_bin91.fits
Spacecraft file(s): /scratch/kocevski/542190/ft2_4FGL_J1428.9+5406_daily_bin91.fits
Exposure map: /scratch/kocevski/542190/expmap_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.fits
Exposure cube: /scratch/kocevski/542190/ltcube_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/542190/Model_4FGL_J1428.9+5406_daily_bin91.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) = 3721.60822064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.891       1.0000         .10000E-03   10000.    
     7 'norm      '    .10342E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11573E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6386       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.411       1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.750       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.1620       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.3024       1.0000         .10000E-03   10000.    
    26 'Prefactor '    14.180       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0354       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0448       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3721.601     FROM MIGRAD    STATUS=CONVERGED    712 CALLS     3662 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.173       -.72389E-05** at limit **
   2  Prefactor     .10000E-03    7.2499       -.82225E-06** at limit **
   3  Prefactor     .10000E-03    12.393       -.53235E-05** at limit **
   4  norm          .10000E-03    1.5500        .52340E-08** at limit **
   5  Prefactor     .10001E-03    195.83        .61436E-04** at limit **
   6  Prefactor     12.835        73.122       -.97667E-04   -.46318E-04
   7  norm          .10000E-03    1.1375       -.41143E-07** at limit **
   8  norm          .10000E-03    178.13        .15661E-03** at limit **
   9  norm          .10000E-03    4.3958        .72094E-07** at limit **
  10  Prefactor     .10000E-03    302.17       -.39242E-03** at limit **
  11  Prefactor     .10000E-03    23.431        .11942E-04** at limit **
  12  Prefactor     .10000E-03    30.782       -.35855E-05** at limit **
  13  Prefactor     .10000E-03    3.0940       -.53419E-07** at limit **
  14  Prefactor     .10000E-03    5.1548        .14246E-06** at limit **
  15  Prefactor     .10000E-03    1.8616       -.94933E-06** at limit **
  16  Prefactor     5.7059        89.774        .13215E-03    .14076E-03
  17  Prefactor     .10002E-03    30.534       -.66438E-05** at limit **
  18  Prefactor     43.416        75.869        .39898E-05   -.15755E-04
  19  Prefactor     39.697        52.414       -.61407E-04   -.15587E-03
  20  Prefactor     .10000E-03    6.8757        .44999E-05** at limit **
  21  Prefactor     .10000E-03    9.6487        .75677E-05** at limit **
  22  Prefactor     .10000E-03    6.3424       -.41838E-05** at limit **
  23  norm          2.1620        1.7347       -.16003E-06   -.91838E-04
  24  Prefactor     .10000E-03    8.0932       -.66851E-05** at limit **
  25  Prefactor     5.3018        8.4012       -.48459E-06   -.17199E-03
  26  Prefactor     14.178        11.277       -.94405E-06    .15748E-04
  27  norm          .10000E-03    6.4578        .27077E-05** at limit **
  28  Normalizat    1.0357        .22187       -.13940E-05   -.13942E-03
  29  Prefactor     1.0445        .24128        .25243E-05   -.24445E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 12.8349
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.70592
  Prefactor  = 0.000100017
  Prefactor  = 43.4158
  Prefactor  = 39.6971
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.162
  Prefactor  = 0.0001
  Prefactor  = 5.30184
  Prefactor  = 14.1777
  norm       = 0.0001
  Normalizat = 1.03565
  Prefactor  = 1.04449
 **********
 **   18 **HESSE 
 **********

 FCN=   3721.601     FROM HESSE     STATUS=OK           535 CALLS     4197 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.2526        .16043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5519        .74174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    196.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.835        74.585        .11156E-03   -1.4991    
   7  norm          .10000E-03    2.0188        .12666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    178.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.4653        .12478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    300.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.1095        .10478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.1558        .13528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.8771        .81116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.7059        89.528        .16917E-03   -1.5230    
  17  Prefactor     .10002E-03    30.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     43.416        75.865        .60846E-04   -1.4389    
  19  Prefactor     39.697        52.212        .63576E-04   -1.4447    
  20  Prefactor     .10000E-03    6.8772        .15620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.6585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.3457        .15003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.1620        1.7333        .69533E-04   -1.5414    
  24  Prefactor     .10000E-03    8.1123        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.3018        8.3928        .17454E-03   -1.5247    
  26  Prefactor     14.178        11.340        .10637E-03   -1.4955    
  27  norm          .10000E-03    6.5297        .15133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0357        .27100        .22601E-03   -.91845    
  29  Prefactor     1.0445        .29306        .26001E-03   -.91261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28985e-09
Minuit parameter uncertainties:
  1  1.13846e-05
  2  1.23773e-05
  3  2.17557e-06
  4  1.83154e-06
  5  0.00341067
  6  61.997
  7  5.15282e-06
  8  0.000533785
  9  1.63481e-05
  10  2.26739e-07
  11  7.42543e-05
  12  9.23033e-05
  13  8.27494e-06
  14  2.58673e-06
  15  0.000130122
  16  45.2837
  17  0.00143718
  18  76.0342
  19  52.272
  20  2.37234e-05
  21  7.40063e-06
  22  7.52886e-06
  23  1.73339
  24  2.73805e-05
  25  8.39471
  26  11.3414
  27  1.44878e-05
  28  0.271366
  29  0.293508
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.000e-04  1.437e-03  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.044e+00  2.935e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  1.036e+00  2.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542190/likelihoodResults_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.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) = 3721.60069279
delta logL = -0.000155523362992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3721.60053751
delta logL = -2.36728283198e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4957       1.0000          .0000       10.000    
     3 'Normalizat'    1.0357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0445       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3721.601     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1322.1        .90712E-02** at limit **
   2  Index         2.5296        6.1468        .50000       -.12027E-04
   3  Normalizat    1.0357        .38209E-01    .41640E-01   -.15541E-04
   4  Prefactor     1.0445        .44308E-01    .58798E-01   -.47379E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.52961
  Normalizat = 1.03565
  Prefactor  = 1.04449
 **********
 **   18 **HESSE 
 **********

 FCN=   3721.601     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6865.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5296        5.4047        .50000       -.51677    
   3  Normalizat    1.0357        .82939E-01    .22601E-03   -.91845    
   4  Prefactor     1.0445        .96140E-01    .26001E-03   -.91261    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.09122e-08
Minuit parameter uncertainties:
  1  0.00303631
  2  53.8527
  3  0.0829489
  4  0.0961557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542190': 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) = 3721.6005374
delta logL = -1.25985479826e-07

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.000e-04  3.036e-03  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  2.530e+00  5.385e+01  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.044e+00  9.616e-02  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  1.036e+00  8.295e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 217.229 54.111

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/542190/cmap_HighResolution_262915201_263174401_4FGL_J1428.9+5406_daily_bin91.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.83e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-09 20:39:46.693663', job_id='542190', GAL2='1.04', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631245186.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='-1.26e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='91' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:39:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 542190: <4FGL_J1428.9+5406_daily_bin91> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin91> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 20:26:20 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:26:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 20:26:22 2021
Terminated at Thu Sep  9 20:39:47 2021
Results reported at Thu Sep  9 20:39:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin91 217.229 54.1114 262915201 263174401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.9+5406 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   649.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             276.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            807 sec.

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

