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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin579
RA = 216.169, Dec = 14.784
tmin = 389404801, tmax = 389664001
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='431565', job_status='RUN', time_executed='2021-09-09 14:13:50.057907', time_epoch_executed='1631222030.06' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431565

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431565/ft1_4FGL_J1424.6+1447_daily_bin579.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431565/ft2_4FGL_J1424.6+1447_daily_bin579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431565/ft1_4FGL_J1424.6+1447_daily_bin579.fits outfile=/scratch/kocevski/431565/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin579.fits ra=216.169 dec=14.784 rad=12.0 tmin=389404801.0 tmax=389664001.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 4.04
user 3.80
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431565/ft1_filtered_4FGL_J1424.6+1447_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/431565/ft2_4FGL_J1424.6+1447_daily_bin579.fits sctable="SC_DATA" expcube=/scratch/kocevski/431565/ltcube_389404801_389664001_4FGL_J1424.6+1447_daily_bin579.fits outfile=/scratch/kocevski/431565/expmap_389404801_389664001_4FGL_J1424.6+1447_daily_bin579.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/431565/ltcube_389404801_389664001_4FGL_J1424.6+1447_daily_bin579.fits
.....................!
real 190.72
user 185.54
sys 4.52

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/431565/ft1_filtered_4FGL_J1424.6+1447_daily_bin579.fits scfile=/scratch/kocevski/431565/ft2_4FGL_J1424.6+1447_daily_bin579.fits outfile=/scratch/kocevski/431565/cmap_389404801_389664001_4FGL_J1424.6+1447_daily_bin579.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431565/ft1_filtered_4FGL_J1424.6+1447_daily_bin579.fits scfile=/scratch/kocevski/431565/ft2_4FGL_J1424.6+1447_daily_bin579.fits outfile=/scratch/kocevski/431565/cmap_HighResolution_389404801_389664001_4FGL_J1424.6+1447_daily_bin579.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.55
user 0.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.703       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4298       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.4703       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .29124E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10331E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .51098       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4582       1.0000         .10000E-03   10000.    
    11 'norm      '    9.3302       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.717       1.0000         .10000E-03   10000.    
    13 'norm      '    3.7698       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.256       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.209       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11679E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .94195E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5171       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .61266       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=   6401.611     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2437 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.708        40.569        .55643E-06    .67789E-04
   2  Prefactor     1.4299        3.4997        .28375E-06   -.66785E-05
   3  Prefactor     .10000E-03    5.1923       -.52960E-07** at limit **
   4  Prefactor     3.4699        12.572        .34346E-06   -.61681E-05
   5  Prefactor     .10007E-03    23.343       -.34071E-05** at limit **
   6  Prefactor     .10000E-03    17.947       -.13223E-06** at limit **
   7  norm          .10001E-03    10.775       -.29567E-06** at limit **
   8  Prefactor     .10000E-03    4.5500        .24563E-07** at limit **
   9  norm          .51130        1.9242        .33977E-06   -.95478E-04
  10  Prefactor     2.4599        6.3301        .66579E-05   -.18561E-03
  11  norm          9.3297        3.9662       -.17295E-06    .54910E-04
  12  Prefactor     10.762        46.897       -.11709E-04    .10234E-03
  13  norm          3.7433        36.318        .11495E-04    .20554E-03
  14  norm          .10000E-03    1.5609       -.23824E-07** at limit **
  15  Prefactor     .10000E-03    30.697        .79944E-06** at limit **
  16  Prefactor     15.256        15.700        .89489E-08   -.26284E-04
  17  Prefactor     20.215        16.813        .18748E-06    .23786E-04
  18  Prefactor     .10001E-03    55.817        .16410E-05** at limit **
  19  Prefactor     .10002E-03    41.656       -.25210E-05** at limit **
  20  Prefactor     .10002E-03    9.1503        .20457E-05** at limit **
  21  norm          .94212E-01    .99679E-01    .36206E-08   -.38140E-03
  22  norm          .10000E-03    15.748        .65697E-07** at limit **
  23  Normalizat    1.5172        .20159       -.48463E-06    .55773E-04
  24  Prefactor     .61257        .13898       -.72212E-06   -.29376E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.7079
  Prefactor  = 1.42989
  Prefactor  = 0.0001
  Prefactor  = 3.46992
  Prefactor  = 0.000100071
  Prefactor  = 0.0001
  norm       = 0.000100014
  Prefactor  = 0.0001
  norm       = 0.511296
  Prefactor  = 2.45994
  norm       = 9.32974
  Prefactor  = 10.7617
  norm       = 3.74335
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 15.2562
  Prefactor  = 20.2153
  Prefactor  = 0.000100011
  Prefactor  = 0.000100024
  Prefactor  = 0.000100025
  norm       = 0.0942123
  norm       = 0.0001
  Normalizat = 1.51724
  Prefactor  = 0.612574
 **********
 **   18 **HESSE 
 **********

 FCN=   6401.611     FROM HESSE     STATUS=OK           405 CALLS     2842 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.708        40.553        .79015E-04   -1.4693    
   2  Prefactor     1.4299        3.4585        .22573E-03   -1.5469    
   3  Prefactor     .10000E-03    5.2008        .17805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.4699        12.625        .21707E-03   -1.5335    
   5  Prefactor     .10007E-03    162.22        .72212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10001E-03    102.88        .50875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.6079        .16667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .51130        1.8868        .20710E-03   -1.5565    
  10  Prefactor     2.4599        6.3781        .13043E-02   -1.5394    
  11  norm          9.3297        3.9639        .98361E-04   -1.5097    
  12  Prefactor     10.762        47.257        .12239E-03   -1.5052    
  13  norm          3.7433        36.769        .20793E-03   -1.5321    
  14  norm          .10000E-03    1.5697        .97617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    31.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.256        15.684        .10254E-03   -1.4927    
  17  Prefactor     20.215        16.779        .89096E-04   -1.4808    
  18  Prefactor     .10001E-03    56.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10002E-03    42.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    52.620        .45732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .94212E-01    .95558E-01    .25131E-03   -1.5647    
  22  norm          .10000E-03    15.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5172        .24085        .23504E-03   -.77295    
  24  Prefactor     .61257        .16545        .24416E-03   -1.0706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2208e-09
Minuit parameter uncertainties:
  1  40.5967
  2  3.45898
  3  8.93211e-06
  4  12.6351
  5  0.00681454
  6  7.80743e-05
  7  0.00238639
  8  1.34048e-05
  9  1.887
  10  6.37982
  11  3.96405
  12  45.1624
  13  23.4825
  14  1.164e-06
  15  0.000550398
  16  15.6881
  17  16.7833
  18  0.00159129
  19  0.00201301
  20  0.00228856
  21  0.0955581
  22  3.75175e-05
  23  0.241031
  24  0.165578
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.340e-05  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:  6.126e-01  1.656e-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.517e+00  2.410e-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: 6.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431565/likelihoodResults_389404801_389664001_4FGL_J1424.6+1447_daily_bin579.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) = 6401.61223553
delta logL = -0.00103343862247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6401.61120208
delta logL = 7.93625076767e-09

Fit tolerance = 1e-08

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

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

 FCN=   6401.611     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      238 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10015E-03    31.706        .16735E-02** at limit **
   2  Index         2.1431        5.0543        .50000        .15086E-04
   3  Normalizat    1.5172        .12626E-01    .23504E-03   -.27338E-04
   4  Prefactor     .61257        .87941E-02    .24417E-03   -.18392E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100154
  Index      = 2.1431
  Normalizat = 1.51724
  Prefactor  = 0.612575
 **********
 **   18 **HESSE 
 **********

 FCN=   6401.611     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10015E-03    152.50        .33469E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1431        8.9175        .50000       -.60819    
   3  Normalizat    1.5172        .28561E-01    .47008E-04   -.77295    
   4  Prefactor     .61257        .19890E-01    .97666E-05   -1.0706    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.45643e-09
Minuit parameter uncertainties:
  1  0.00971913
  2  300.834
  3  0.0285613
  4  0.0198907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431565': 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) = 6401.61120199
delta logL = 9.89430191112e-08

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.002e-04  9.719e-03  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.143e+00  3.008e+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:  6.126e-01  1.989e-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:  1.517e+00  2.856e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/431565/cmap_HighResolution_389404801_389664001_4FGL_J1424.6+1447_daily_bin579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2021-09-09 14:23:43.636688', job_id='431565', GAL2='0.61', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1631222623.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='9.89e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='579' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:23:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 431565: <4FGL_J1424.6+1447_daily_bin579> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin579> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 14:11:13 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:11:15 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:11:15 2021
Terminated at Thu Sep  9 14:23:44 2021
Results reported at Thu Sep  9 14:23:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin579 216.169 14.784 389404801 389664001 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 :                                   592.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            751 sec.

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

