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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin88
RA = 216.169, Dec = 14.784
tmin = 262137601, tmax = 262396801
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='428402', job_status='RUN', time_executed='2021-09-09 14:03:17.346437', time_epoch_executed='1631221397.35' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='88'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428402

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428402/ft1_4FGL_J1424.6+1447_daily_bin88.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428402/ft2_4FGL_J1424.6+1447_daily_bin88.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428402/ft1_4FGL_J1424.6+1447_daily_bin88.fits outfile=/scratch/kocevski/428402/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin88.fits ra=216.169 dec=14.784 rad=12.0 tmin=262137601.0 tmax=262396801.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.40
user 1.22
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428402/ft2_4FGL_J1424.6+1447_daily_bin88.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/428402/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin88.fits evtable="EVENTS" outfile="/scratch/kocevski/428402/ft1_filtered_4FGL_J1424.6+1447_daily_bin88.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.50
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428402/ft1_filtered_4FGL_J1424.6+1447_daily_bin88.fits" evtable="EVENTS" scfile=/scratch/kocevski/428402/ft2_4FGL_J1424.6+1447_daily_bin88.fits sctable="SC_DATA" outfile=/scratch/kocevski/428402/ltcube_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.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/428402/ft2_4FGL_J1424.6+1447_daily_bin88.fits
.....................!
real 12.48
user 12.14
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428402/ft1_filtered_4FGL_J1424.6+1447_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/428402/ft2_4FGL_J1424.6+1447_daily_bin88.fits sctable="SC_DATA" expcube=/scratch/kocevski/428402/ltcube_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.fits outfile=/scratch/kocevski/428402/expmap_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.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/428402/ltcube_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.fits
.....................!
real 189.66
user 184.94
sys 4.32

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/428402/ft1_filtered_4FGL_J1424.6+1447_daily_bin88.fits scfile=/scratch/kocevski/428402/ft2_4FGL_J1424.6+1447_daily_bin88.fits outfile=/scratch/kocevski/428402/cmap_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428402/ft1_filtered_4FGL_J1424.6+1447_daily_bin88.fits scfile=/scratch/kocevski/428402/ft2_4FGL_J1424.6+1447_daily_bin88.fits outfile=/scratch/kocevski/428402/cmap_HighResolution_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.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.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/428402/ft1_filtered_4FGL_J1424.6+1447_daily_bin88.fits', '/scratch/kocevski/428402/ft2_4FGL_J1424.6+1447_daily_bin88.fits', expMap='/scratch/kocevski/428402/expmap_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.fits', expCube='/scratch/kocevski/428402/ltcube_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/428402/Model_4FGL_J1424.6+1447_daily_bin88.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/428402/ft1_filtered_4FGL_J1424.6+1447_daily_bin88.fits
Spacecraft file(s): /scratch/kocevski/428402/ft2_4FGL_J1424.6+1447_daily_bin88.fits
Exposure map: /scratch/kocevski/428402/expmap_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.fits
Exposure cube: /scratch/kocevski/428402/ltcube_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/428402/Model_4FGL_J1424.6+1447_daily_bin88.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) = 7967.16027339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.683       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9762       1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.722       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.164       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .51348E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.3405       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1909       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    21.327       1.0000         .10000E-03   10000.    
    14 'norm      '    5.0778       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.140       1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.395       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.874       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .92140E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.6841       1.0000         .10000E-03   10000.    
    22 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .66525       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1887       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7967.148     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     2778 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.674        1.4900       -.81807E-07    .69902E-03
   2  Prefactor     1.9758        2.8487       -.71721E-07   -.31832E-04
   3  Prefactor     33.723        1.1874       -.22041E-07    .15752E-02
   4  Prefactor     .10000E-03    3.1222        .15038E-05** at limit **
   5  Prefactor     25.158        8.4859        .14769E-06    .22579E-02
   6  Prefactor     .12210E-03    685.91       -.33653E-04** at limit **
   7  norm          .10000E-03    11.698       -.72847E-06** at limit **
   8  Prefactor     .10000E-03    3.0865       -.17402E-07** at limit **
   9  norm          9.3406        3.4390        .94955E-07    .25530E-04
  10  Prefactor     1.1908        6.0445       -.24124E-06   -.92286E-05
  11  norm          .10000E-03    .63506        .20612E-06** at limit **
  12  Prefactor     .10000E-03    38.984        .16265E-06** at limit **
  13  norm          21.324        6.1264       -.18910E-06   -.51195E-02
  14  norm          5.0785        4.1955        .21151E-06   -.34356E-03
  15  Prefactor     16.144        14.668       -.45182E-06   -.38319E-02
  16  Prefactor     39.414        10.737       -.21588E-07    .37231E-02
  17  Prefactor     .10000E-03    11.887       -.18967E-05** at limit **
  18  Prefactor     44.882        7.0981       -.68455E-07   -.73190E-03
  19  Prefactor     .25611E-03    48.653       -.44533E-05** at limit **
  20  Prefactor     .10000E-03    3.2629        .84491E-07** at limit **
  21  norm          5.6840        .47424        .27392E-07    .11989E-03
  22  norm          .10000E-03    14.430        .13063E-05** at limit **
  23  Normalizat    .66493        .24464       -.39013E-05   -.77188E-04
  24  Prefactor     1.1890        .18572        .42117E-06   -.11329E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.6739
  Prefactor  = 1.97579
  Prefactor  = 33.7231
  Prefactor  = 0.0001
  Prefactor  = 25.1576
  Prefactor  = 0.000122101
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.34065
  Prefactor  = 1.19081
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 21.3239
  norm       = 5.07854
  Prefactor  = 16.1444
  Prefactor  = 39.4143
  Prefactor  = 0.0001
  Prefactor  = 44.8819
  Prefactor  = 0.000256108
  Prefactor  = 0.0001
  norm       = 5.68403
  norm       = 0.0001
  Normalizat = 0.664934
  Prefactor  = 1.18902
 **********
 **   18 **HESSE 
 **********

 FCN=   7967.148     FROM HESSE     STATUS=OK           465 CALLS     3243 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.674        54.935        .11539E-02   -1.3966    
   2  Prefactor     1.9758        2.8751        .73724E-02   -1.5427    
   3  Prefactor     33.723        16.050        .17251E-02   -1.4546    
   4  Prefactor     .10000E-03    3.1116        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.158        23.305        .19964E-02   -1.4704    
   6  Prefactor     .12210E-03    16.824        .11613       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.680        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.0782        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.3406        3.4442        .32783E-02   -1.5097    
  10  Prefactor     1.1908        6.1177        .10434E-01   -1.5490    
  11  norm          .10000E-03    .63346        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    39.054        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.324        19.463        .21683E-02   -1.4784    
  14  norm          5.0785        4.2000        .44608E-02   -1.5257    
  15  Prefactor     16.144        24.537        .24923E-02   -1.4904    
  16  Prefactor     39.414        27.983        .15965E-02   -1.4452    
  17  Prefactor     .10000E-03    11.836        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     44.882        36.541        .14963E-02   -1.4367    
  19  Prefactor     .25611E-03    28.302        .16132       -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.2604        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.6840        .47845        .38763E-02   -1.5231    
  22  norm          .10000E-03    14.439        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .66493        .20971        .86255E-01   -1.0529    
  24  Prefactor     1.1890        .15439        .50236E-01   -.86670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79987e-07
Minuit parameter uncertainties:
  1  54.9719
  2  2.87531
  3  16.0523
  4  1.37802e-05
  5  23.3135
  6  0.0385759
  7  5.9393e-05
  8  7.58884e-08
  9  3.44432
  10  5.3988
  11  6.41649e-07
  12  4.75642e-05
  13  19.4685
  14  4.20025
  15  24.5521
  16  27.9925
  17  0.000119849
  18  36.5595
  19  0.133001
  20  8.35502e-07
  21  0.478447
  22  5.59153e-05
  23  0.209963
  24  0.154444
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  7.589e-08  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:  1.189e+00  1.544e-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:  6.649e-01  2.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/428402/likelihoodResults_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.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) = 7967.14967672
delta logL = -0.00153713642703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7967.14813959
delta logL = -5.78347680857e-09

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7967.148     FROM MIGRAD    STATUS=FAILED        87 CALLS      240 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10116E-03    44.436        .15396E-02** at limit **
   2  Index         2.0906        5.4291        .50000        .28641E-04
   3  Normalizat    .66493        .18216E-01    .38211E-03   -.10800E-04
   4  Prefactor     1.1890        .13894E-01    .22208E-03   -.60407E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7967.148     FROM SIMPLEX   STATUS=PROGRESS     130 CALLS      370 TOTAL
                     EDM=   .58E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10084E-03    44.436        .23278E-03** at limit **
   2  Index         2.0897        5.4291        .34165E-03    .28641E-04
   3  Normalizat    .66492        .18216E-01    .60087E-05   -.10800E-04
   4  Prefactor     1.1890        .13894E-01    .25279E-05   -.60407E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7967.148     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      422 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.192        .30792E-02** at limit **
   2  Index         1.8089        5.8617        .50000        .33713E-06
   3  Normalizat    .66493        .15633E-01    .15284E-04   -.14951E-03
   4  Prefactor     1.1890        .11924E-01    .44415E-04   -.21654E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.8089
  Normalizat = 0.664934
  Prefactor  = 1.18902
 **********
 **   18 **HESSE 
 **********

 FCN=   7967.148     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      451 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    204.43        .61584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8089        5.3819        .50000       -.69218    
   3  Normalizat    .66493        .40160E-01    .30569E-05   -1.0529    
   4  Prefactor     1.1890        .30624E-01    .88831E-05   -.86670    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.00766e-10
Minuit parameter uncertainties:
  1  0.000383389
  2  828.229
  3  0.0401617
  4  0.0306245
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428402': 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) = 7967.14813796
delta logL = 1.62466312759e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  3.834e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.809e+00  8.282e+02  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:  1.189e+00  3.062e-02  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:  6.649e-01  4.016e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.169 14.784

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/428402/cmap_HighResolution_262137601_262396801_4FGL_J1424.6+1447_daily_bin88.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', job_status='DONE', photon_flux_upper_limit='5.66e-08', time_completed='2021-09-09 14:15:07.916157', job_id='428402', GAL2='1.19', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1631222107.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.62e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='88' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:15:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 428402: <4FGL_J1424.6+1447_daily_bin88> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin88> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:37 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01:39 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:01:39 2021
Terminated at Thu Sep  9 14:15:08 2021
Results reported at Thu Sep  9 14:15:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin88 216.169 14.784 262137601 262396801 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 :                                   708.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            811 sec.

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

