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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin1272
RA = 217.229, Dec = 54.1114
tmin = 569030401, tmax = 569289601
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='549806', job_status='RUN', time_executed='2021-09-09 20:51:40.064982', time_epoch_executed='1631245900.07' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549806

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549806/ft1_4FGL_J1428.9+5406_daily_bin1272.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549806/ft2_4FGL_J1428.9+5406_daily_bin1272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549806/ft1_4FGL_J1428.9+5406_daily_bin1272.fits outfile=/scratch/kocevski/549806/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1272.fits ra=217.229 dec=54.1114 rad=12.0 tmin=569030401.0 tmax=569289601.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.59
user 3.38
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/549806/ft2_4FGL_J1428.9+5406_daily_bin1272.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/549806/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1272.fits evtable="EVENTS" outfile="/scratch/kocevski/549806/ft1_filtered_4FGL_J1428.9+5406_daily_bin1272.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.55
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549806/ft1_filtered_4FGL_J1428.9+5406_daily_bin1272.fits" evtable="EVENTS" scfile=/scratch/kocevski/549806/ft2_4FGL_J1428.9+5406_daily_bin1272.fits sctable="SC_DATA" outfile=/scratch/kocevski/549806/ltcube_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.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/549806/ft2_4FGL_J1428.9+5406_daily_bin1272.fits
.....................!
real 11.86
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549806/ft1_filtered_4FGL_J1428.9+5406_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/549806/ft2_4FGL_J1428.9+5406_daily_bin1272.fits sctable="SC_DATA" expcube=/scratch/kocevski/549806/ltcube_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.fits outfile=/scratch/kocevski/549806/expmap_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.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/549806/ltcube_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.fits
.....................!
real 191.16
user 185.10
sys 5.58

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/549806/ft1_filtered_4FGL_J1428.9+5406_daily_bin1272.fits scfile=/scratch/kocevski/549806/ft2_4FGL_J1428.9+5406_daily_bin1272.fits outfile=/scratch/kocevski/549806/cmap_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549806/ft1_filtered_4FGL_J1428.9+5406_daily_bin1272.fits scfile=/scratch/kocevski/549806/ft2_4FGL_J1428.9+5406_daily_bin1272.fits outfile=/scratch/kocevski/549806/cmap_HighResolution_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.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.58
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/549806/ft1_filtered_4FGL_J1428.9+5406_daily_bin1272.fits', '/scratch/kocevski/549806/ft2_4FGL_J1428.9+5406_daily_bin1272.fits', expMap='/scratch/kocevski/549806/expmap_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.fits', expCube='/scratch/kocevski/549806/ltcube_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/549806/Model_4FGL_J1428.9+5406_daily_bin1272.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/549806/ft1_filtered_4FGL_J1428.9+5406_daily_bin1272.fits
Spacecraft file(s): /scratch/kocevski/549806/ft2_4FGL_J1428.9+5406_daily_bin1272.fits
Exposure map: /scratch/kocevski/549806/expmap_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.fits
Exposure cube: /scratch/kocevski/549806/ltcube_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/549806/Model_4FGL_J1428.9+5406_daily_bin1272.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) = 6850.43681073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.800       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8965       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .93086       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    27.207       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2412       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15665E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.0406       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.583       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10713E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.1646       1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.141       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .83096       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1954       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .62215       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=   6850.429     FROM MIGRAD    STATUS=CONVERGED    726 CALLS     3670 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.780        52.310        .13790E-05    .30131E-04
   2  Prefactor     1.8963        6.4195        .59849E-05   -.53752E-03
   3  Prefactor     .10001E-03    37.932       -.32229E-05** at limit **
   4  norm          .93060        2.4204       -.16256E-05   -.13375E-02
   5  Prefactor     .10000E-03    14.779        .45615E-07** at limit **
   6  Prefactor     .10000E-03    12.575       -.52902E-06** at limit **
   7  norm          27.206        3.6297       -.18314E-07    .16898E-03
   8  norm          .10000E-03    39.581        .31040E-06** at limit **
   9  norm          .10000E-03    3.1986        .23972E-06** at limit **
  10  Prefactor     .10000E-03    120.51        .60873E-06** at limit **
  11  Prefactor     .10000E-03    14.643        .22853E-06** at limit **
  12  Prefactor     .10000E-03    13.254        .51514E-06** at limit **
  13  Prefactor     .10000E-03    1.0457       -.44105E-08** at limit **
  14  Prefactor     .10000E-03    6.3876        .25437E-08** at limit **
  15  Prefactor     .10000E-03    .73452        .13580E-06** at limit **
  16  Prefactor     3.2387        52.502       -.40324E-05   -.78197E-04
  17  Prefactor     .10000E-03    7.8671        .10861E-06** at limit **
  18  Prefactor     .10000E-03    57.669       -.51071E-06** at limit **
  19  Prefactor     7.0263        47.117        .36612E-05    .56869E-04
  20  Prefactor     17.576        17.051       -.49690E-07   -.48366E-05
  21  Prefactor     .10000E-03    15.154       -.33810E-06** at limit **
  22  Prefactor     .10000E-03    12.962        .27711E-06** at limit **
  23  norm          3.1645        1.5423       -.47599E-07   -.35672E-03
  24  Prefactor     10.139        7.8536       -.25360E-07    .38117E-05
  25  Prefactor     .82977        6.7416        .56671E-06   -.15202E-03
  26  Prefactor     .10000E-03    4.6392        .90877E-07** at limit **
  27  norm          .10000E-03    .99753        .34926E-08** at limit **
  28  Normalizat    1.1955        .15747        .93286E-06    .25116E-03
  29  Prefactor     .62202        .17744       -.13094E-05    .83544E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.7799
  Prefactor  = 1.89627
  Prefactor  = 0.000100012
  norm       = 0.930597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 27.2065
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.2387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.02626
  Prefactor  = 17.5759
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.16445
  Prefactor  = 10.1392
  Prefactor  = 0.829766
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.1955
  Prefactor  = 0.622016
 **********
 **   18 **HESSE 
 **********

 FCN=   6850.429     FROM HESSE     STATUS=OK           545 CALLS     4215 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.780        52.098        .67932E-04   -1.4528    
   2  Prefactor     1.8963        6.4873        .15103E-02   -1.5433    
   3  Prefactor     .10001E-03    38.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .93060        2.4553        .20045E-03   -1.5515    
   5  Prefactor     .10000E-03    14.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          27.206        3.6325        .55432E-04   -1.4664    
   8  norm          .10000E-03    39.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.3428        .28888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    120.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.0477        .82652E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .75633        .13849E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.2387        51.267        .22498E-03   -1.5348    
  17  Prefactor     .10000E-03    7.8797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    57.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.0263        45.533        .15119E-03   -1.5178    
  20  Prefactor     17.576        17.028        .95515E-04   -1.4869    
  21  Prefactor     .10000E-03    15.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.1645        1.5417        .68635E-04   -1.5352    
  24  Prefactor     10.139        7.8476        .12582E-03   -1.5071    
  25  Prefactor     .82977        6.9632        .40798E-02   -1.5526    
  26  Prefactor     .10000E-03    4.7363        .17384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    .99798        .80728E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1955        .18550        .20363E-03   -.86742    
  29  Prefactor     .62202        .20676        .31285E-03   -1.0667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97981e-08
Minuit parameter uncertainties:
  1  52.1659
  2  6.48974
  3  0.00137523
  4  2.45559
  5  4.1138e-06
  6  0.000107505
  7  3.63256
  8  8.01234e-05
  9  2.85845e-05
  10  0.00026293
  11  2.97435e-05
  12  9.06381e-05
  13  1.87463e-07
  14  8.57398e-07
  15  7.92469e-06
  16  25.7969
  17  1.84862e-05
  18  0.000321965
  19  35.8125
  20  17.0332
  21  0.000134791
  22  4.81516e-05
  23  1.54168
  24  7.84839
  25  4.80787
  26  1.21867e-05
  27  3.5772e-07
  28  0.185604
  29  0.207017
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.000e-04  1.849e-05  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:  6.220e-01  2.070e-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.196e+00  1.856e-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: 4.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/549806/likelihoodResults_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.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) = 6850.43003258
delta logL = -0.000604235231549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6850.4294285
delta logL = -1.4792294678e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10471E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5491       1.0000          .0000       10.000    
     3 'Normalizat'    1.1955       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62199       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6850.429     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      257 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.556        .18142E-01** at limit **
   2  Index         1.9644        5.9461        .50000       -.11210E-07
   3  Normalizat    1.1955        .60030E-02    .20363E-03   -.33116E-03
   4  Prefactor     .62202        .68806E-02    .31285E-03   -.22955E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.96441
  Normalizat = 1.1955
  Prefactor  = 0.622016
 **********
 **   18 **HESSE 
 **********

 FCN=   6850.429     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      286 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    233.84        .27151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9644        7.8697        .50000       -.65243    
   3  Normalizat    1.1955        .16954E-01    .40726E-04   -.86742    
   4  Prefactor     .62202        .19432E-01    .12514E-04   -1.0667    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.74311e-11
Minuit parameter uncertainties:
  1  2.67442e-05
  2  769.005
  3  0.0169541
  4  0.0194326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549806': 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) = 6850.42942642
delta logL = 1.92937204702e-06

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.000e-04  2.674e-05  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  1.964e+00  7.690e+02  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:  6.220e-01  1.943e-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.196e+00  1.695e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/549806/cmap_HighResolution_569030401_569289601_4FGL_J1428.9+5406_daily_bin1272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.75e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2021-09-09 21:08:03.436961', job_id='549806', GAL2='0.62', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1631246883.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='1.93e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1272' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 21:08:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 549806: <4FGL_J1428.9+5406_daily_bin1272> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1272> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 20:51:25 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:51:26 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:51:26 2021
Terminated at Thu Sep  9 21:08:04 2021
Results reported at Thu Sep  9 21:08:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1272 217.229 54.1114 569030401 569289601 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 :                                   977.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   997 sec.
    Turnaround time :                            999 sec.

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

