/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 122 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 = 7430
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin250
RA = 216.169, Dec = 14.784
tmin = 304128001, tmax = 304387201
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='429808', job_status='RUN', time_executed='2021-09-09 14:08:29.378052', time_epoch_executed='1631221709.38' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429808

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429808/ft1_4FGL_J1424.6+1447_daily_bin250.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429808/ft1_4FGL_J1424.6+1447_daily_bin250.fits outfile=/scratch/kocevski/429808/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin250.fits ra=216.169 dec=14.784 rad=12.0 tmin=304128001.0 tmax=304387201.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.41
user 3.18
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.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/429808/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin250.fits evtable="EVENTS" outfile="/scratch/kocevski/429808/ft1_filtered_4FGL_J1424.6+1447_daily_bin250.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429808/ft1_filtered_4FGL_J1424.6+1447_daily_bin250.fits" evtable="EVENTS" scfile=/scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits sctable="SC_DATA" outfile=/scratch/kocevski/429808/ltcube_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.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/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits
.....................!
real 14.31
user 13.87
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429808/ft1_filtered_4FGL_J1424.6+1447_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits sctable="SC_DATA" expcube=/scratch/kocevski/429808/ltcube_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.fits outfile=/scratch/kocevski/429808/expmap_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.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/429808/ltcube_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.fits
.....................!
real 193.20
user 186.70
sys 5.98

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

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/429808/ft1_filtered_4FGL_J1424.6+1447_daily_bin250.fits scfile=/scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits outfile=/scratch/kocevski/429808/cmap_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.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=216.169 yref=14.784 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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429808/ft1_filtered_4FGL_J1424.6+1447_daily_bin250.fits scfile=/scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits outfile=/scratch/kocevski/429808/cmap_HighResolution_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.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=216.169 yref=14.784 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.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429808/ft1_filtered_4FGL_J1424.6+1447_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429808/Model_4FGL_J1424.6+1447_daily_bin250.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/429808/ft1_filtered_4FGL_J1424.6+1447_daily_bin250.fits.....................!
real 48.96
user 46.72
sys 1.83

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/429808/ft1_filtered_4FGL_J1424.6+1447_daily_bin250.fits', '/scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits', expMap='/scratch/kocevski/429808/expmap_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.fits', expCube='/scratch/kocevski/429808/ltcube_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/429808/Model_4FGL_J1424.6+1447_daily_bin250.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.6+1447'

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.029e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/429808/ft1_filtered_4FGL_J1424.6+1447_daily_bin250.fits
Spacecraft file(s): /scratch/kocevski/429808/ft2_4FGL_J1424.6+1447_daily_bin250.fits
Exposure map: /scratch/kocevski/429808/expmap_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.fits
Exposure cube: /scratch/kocevski/429808/ltcube_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/429808/Model_4FGL_J1424.6+1447_daily_bin250.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) = 6078.49147998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41977E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9856       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.2715       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.4151       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.6329       1.0000         .10000E-03   10000.    
     9 'norm      '    14.344       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.0740       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11794E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.1903       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.590       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.5069       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.3179       1.0000         .10000E-03   10000.    
    21 'norm      '    .57153       1.0000         .10000E-03   10000.    
    22 'norm      '    20.938       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3104       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74339       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6078.473     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2709 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    241.05       -.27099E-05** at limit **
   2  Prefactor     2.9847        2.8648       -.34639E-06   -.89215E-03
   3  Prefactor     .10000E-03    5.2840        .73235E-07** at limit **
   4  Prefactor     7.2695        9.3454        .38904E-06    .11731E-03
   5  Prefactor     5.4125        34.452        .10414E-05    .53728E-04
   6  Prefactor     .10000E-03    7.1937        .20880E-06** at limit **
   7  norm          .10000E-03    7.2826        .34785E-07** at limit **
   8  Prefactor     3.6325        4.9253       -.63077E-07    .37494E-03
   9  norm          14.343        3.8820       -.76014E-07   -.40550E-03
  10  Prefactor     .10000E-03    14.024       -.91268E-05** at limit **
  11  norm          3.0738        2.4744        .10398E-06    .50773E-03
  12  Prefactor     .10000E-03    87.711        .15481E-05** at limit **
  13  norm          .10000E-03    16.551       -.37038E-06** at limit **
  14  norm          .10000E-03    6.0180        .56545E-06** at limit **
  15  Prefactor     9.1734        23.764        .13877E-05    .13564E-03
  16  Prefactor     19.591        18.304        .40266E-06    .56530E-04
  17  Prefactor     .10000E-03    12.619       -.82164E-07** at limit **
  18  Prefactor     .10000E-03    11.732       -.12779E-05** at limit **
  19  Prefactor     7.5008        26.473        .14142E-05    .57438E-04
  20  Prefactor     6.3181        7.2108        .31272E-06    .15878E-03
  21  norm          .57152        .19470        .10546E-07   -.30372E-03
  22  norm          20.940        31.456        .16542E-07   -.59447E-05
  23  Normalizat    1.3107        .20203       -.49959E-06   -.25529E-03
  24  Prefactor     .74317        .14200       -.11479E-05   -.48291E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100061
  Prefactor  = 2.98472
  Prefactor  = 0.0001
  Prefactor  = 7.26954
  Prefactor  = 5.41246
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.6325
  norm       = 14.3435
  Prefactor  = 0.000100004
  norm       = 3.07378
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.17337
  Prefactor  = 19.5915
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 7.50075
  Prefactor  = 6.31806
  norm       = 0.571525
  norm       = 20.9396
  Normalizat = 1.31069
  Prefactor  = 0.74317
 **********
 **   18 **HESSE 
 **********

 FCN=   6078.473     FROM HESSE     STATUS=OK           399 CALLS     3108 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    246.64        .42483E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9847        2.8932        .12677E-03   -1.5362    
   3  Prefactor     .10000E-03    5.2943        .17503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.2695        9.3909        .14875E-03   -1.5169    
   5  Prefactor     5.4125        34.544        .17268E-03   -1.5243    
   6  Prefactor     .10000E-03    7.2038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.2856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.6325        4.8414        .19120E-03   -1.5327    
   9  norm          14.343        3.8844        .77490E-04   -1.4950    
  10  Prefactor     .10000E-03    14.083        .32094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0738        2.4685        .10603E-03   -1.5357    
  12  Prefactor     .10000E-03    89.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    16.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.2809        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.1734        23.932        .13220E-03   -1.5102    
  16  Prefactor     19.591        18.322        .90493E-04   -1.4822    
  17  Prefactor     .10000E-03    12.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.5008        26.536        .14637E-03   -1.5160    
  20  Prefactor     6.3181        7.2171        .15969E-03   -1.5205    
  21  norm          .57152        .19430        .19330E-04   -1.5557    
  22  norm          20.940        31.462        .87533E-04   -1.4792    
  23  Normalizat    1.3107        .24184        .24505E-03   -.83248    
  24  Prefactor     .74317        .17231        .22960E-03   -1.0186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73104e-09
Minuit parameter uncertainties:
  1  0.00777358
  2  2.89331
  3  1.35577e-05
  4  9.39276
  5  27.3703
  6  2.71619e-05
  7  7.7263e-06
  8  4.84194
  9  3.88446
  10  0.000450613
  11  2.46862
  12  0.00109649
  13  2.18164e-05
  14  0.0001026
  15  23.957
  16  18.3273
  17  4.88691e-05
  18  0.000183823
  19  26.5781
  20  7.2181
  21  0.194304
  22  31.4871
  23  0.242048
  24  0.172437
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  3.632e+00  4.842e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  7.432e-01  1.724e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.311e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 1.57e-08 +/- 2.10e-08
Energy Flux (Fixed Index): 7.45e-06 +/- 9.93e-06

TS (Fixed Index): 1.11
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 7.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429808/likelihoodResults_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.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) = 6077.38804594
delta logL = 1.08530147621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6077.10296318
delta logL = 1.37038423565

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6077.103     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      410 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53541E-03    .53996E-02    .26582E-03** at limit **
   2  Index         6.4518        1.8010        .75519E-01    .19599E-03
   3  Normalizat    1.1677        .53540E-01    .58124E-01    .44405E-05
   4  Prefactor     .81732        .39174E-01    .43946E-01    .85656E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000535411
  Index      = 6.45177
  Normalizat = 1.16774
  Prefactor  = 0.81732
 **********
 **   18 **HESSE 
 **********

 FCN=   6077.103     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      445 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53541E-03    .11197E-01    .11517E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.4518        2.8461        .30241E-02    .29460    
   3  Normalizat    1.1677        .18603        .25705E-03   -.87606    
   4  Prefactor     .81732        .13374        .21995E-03   -.99093    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.97674e-08
Minuit parameter uncertainties:
  1  0.00441605
  2  3.04811
  3  0.186135
  4  0.133789
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429808': 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) = 6077.10295075
delta logL = 1.37039666599

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.354e-04  4.416e-03  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  6.452e+00  3.048e+00  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  8.173e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.168e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 216.169 14.784
Photon Index (Free Index): 6.45 +/- 3.05
Photon Flux (Free Index): 1.08e-07 +/- 6.10e-08
Energy Flux (Free Index): 1.32e-05 +/- 7.77e-06

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/429808/cmap_HighResolution_304128001_304387201_4FGL_J1424.6+1447_daily_bin250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-03', comment='SUCCESS', photon_flux='1.57e-08', energy_flux2='1.32e-05', photon_flux_error='2.10e-08', dlogl='1.37e+00', energy_flux='7.45e-06', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-09-09 14:18:57.974349', photon_index_error2='3.05', photon_index2='6.45', ts='1.11', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='7.89e-08', energy_flux_error2='7.77e-06', EG='1.31', time_epoch_completed='1631222337.97', return_code='0', job_id='429808', GAL2='0.82', EG2='1.17', return_code2='102', energy_flux_error='9.93e-06', photon_flux_error2='6.10e-08', ts2='4.14', photon_index='2.17' WHERE bin_id='250' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:18:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 429808: <4FGL_J1424.6+1447_daily_bin250> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin250> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:16 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:06:17 2021
Terminated at Thu Sep  9 14:18:58 2021
Results reported at Thu Sep  9 14:18:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin250 216.169 14.784 304128001 304387201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   626.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            762 sec.

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

