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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin1107
RA = 216.169, Dec = 14.784
tmin = 526262401, tmax = 526521601
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='434016', job_status='RUN', time_executed='2021-09-09 14:16:50.103126', time_epoch_executed='1631222210.1' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='1107'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434016

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434016/ft1_4FGL_J1424.6+1447_daily_bin1107.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434016/ft2_4FGL_J1424.6+1447_daily_bin1107.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434016/ft1_4FGL_J1424.6+1447_daily_bin1107.fits outfile=/scratch/kocevski/434016/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1107.fits ra=216.169 dec=14.784 rad=12.0 tmin=526262401.0 tmax=526521601.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.98
user 3.75
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434016/ft1_filtered_4FGL_J1424.6+1447_daily_bin1107.fits" evtable="EVENTS" scfile=/scratch/kocevski/434016/ft2_4FGL_J1424.6+1447_daily_bin1107.fits sctable="SC_DATA" outfile=/scratch/kocevski/434016/ltcube_526262401_526521601_4FGL_J1424.6+1447_daily_bin1107.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/434016/ft2_4FGL_J1424.6+1447_daily_bin1107.fits
.....................!
real 12.01
user 11.69
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434016/ft1_filtered_4FGL_J1424.6+1447_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/434016/ft2_4FGL_J1424.6+1447_daily_bin1107.fits sctable="SC_DATA" expcube=/scratch/kocevski/434016/ltcube_526262401_526521601_4FGL_J1424.6+1447_daily_bin1107.fits outfile=/scratch/kocevski/434016/expmap_526262401_526521601_4FGL_J1424.6+1447_daily_bin1107.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/434016/ltcube_526262401_526521601_4FGL_J1424.6+1447_daily_bin1107.fits
.....................!
real 190.88
user 185.73
sys 4.76

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/434016/ft1_filtered_4FGL_J1424.6+1447_daily_bin1107.fits scfile=/scratch/kocevski/434016/ft2_4FGL_J1424.6+1447_daily_bin1107.fits outfile=/scratch/kocevski/434016/cmap_526262401_526521601_4FGL_J1424.6+1447_daily_bin1107.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434016/ft1_filtered_4FGL_J1424.6+1447_daily_bin1107.fits scfile=/scratch/kocevski/434016/ft2_4FGL_J1424.6+1447_daily_bin1107.fits outfile=/scratch/kocevski/434016/cmap_HighResolution_526262401_526521601_4FGL_J1424.6+1447_daily_bin1107.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.008       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8346       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .40131       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.424       1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.066       1.0000         .10000E-03   10000.    
     7 'norm      '    35.967       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6574       1.0000         .10000E-03   10000.    
     9 'norm      '    5.7705       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1011       1.0000         .10000E-03   10000.    
    11 'norm      '    7.2724       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.124       1.0000         .10000E-03   10000.    
    13 'norm      '    11.471       1.0000         .10000E-03   10000.    
    14 'norm      '    3.6534       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.602       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .97010       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3876       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .68282       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=   5820.073     FROM MIGRAD    STATUS=CONVERGED    937 CALLS     3492 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.000        60.047        .56709E-04   -.28066E-06
   2  Prefactor     .10000E-03    2.3171        .11303E-02** at limit **
   3  Prefactor     4.8347        9.4274        .91478E-03   -.63009E-05
   4  Prefactor     .31788        116.21        .40458E-02    .17891E-03
   5  Prefactor     35.420        31.226        .67333E-04    .21274E-04
   6  Prefactor     38.054        38.583        .64962E-04   -.13825E-04
   7  norm          35.968        24.256        .66824E-04    .10548E-05
   8  Prefactor     4.6568        7.0292        .18648E-03    .32981E-04
   9  norm          5.7703        2.7576        .85105E-04    .51430E-04
  10  Prefactor     4.1001        6.9132        .19907E-03    .40719E-04
  11  norm          7.2719        3.3809        .91942E-04    .64175E-04
  12  Prefactor     28.941        250.08        .74239E-04   -.38284E-05
  13  norm          11.593        218.29        .11828E-03    .86502E-05
  14  norm          3.6529        3.8912        .15111E-03    .21818E-05
  15  Prefactor     .10000E-03    18.096        .18142E-02** at limit **
  16  Prefactor     23.598        25.873        .82450E-04   -.19304E-05
  17  Prefactor     .10000E-03    8.5144        .18142E-02** at limit **
  18  Prefactor     .10000E-03    9.3891        .18142E-02** at limit **
  19  Prefactor     .10000E-03    20.180        .18142E-02** at limit **
  20  Prefactor     .10000E-03    9.4809        .18142E-02** at limit **
  21  norm          .97004        .26538        .19531E-04    .49245E-03
  22  norm          .10000E-03    19.188        .18142E-02** at limit **
  23  Normalizat    1.3877        .28159        .26427E-03   -.18585E-04
  24  Prefactor     .68286        .18311        .24967E-03    .30995E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.9997
  Prefactor  = 0.0001
  Prefactor  = 4.83474
  Prefactor  = 0.317878
  Prefactor  = 35.4196
  Prefactor  = 38.0543
  norm       = 35.9684
  Prefactor  = 4.65684
  norm       = 5.77031
  Prefactor  = 4.10013
  norm       = 7.27192
  Prefactor  = 28.9406
  norm       = 11.5929
  norm       = 3.65294
  Prefactor  = 0.0001
  Prefactor  = 23.5985
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.970038
  norm       = 0.0001
  Normalizat = 1.38772
  Prefactor  = 0.682864
 **********
 **   18 **HESSE 
 **********

 FCN=   5820.073     FROM HESSE     STATUS=OK           377 CALLS     3869 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.000        60.042        .11342E-04   -1.4293    
   2  Prefactor     .10000E-03    2.3173        .22606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8347        9.4259        .36591E-04   -1.5268    
   4  Prefactor     .31788        116.48        .16183E-03   -1.5595    
   5  Prefactor     35.420        31.220        .26933E-05   -1.4517    
   6  Prefactor     38.054        38.523        .25985E-05   -1.4473    
   7  norm          35.968        24.255        .13365E-04   -1.4508    
   8  Prefactor     4.6568        7.0275        .74593E-05   -1.5276    
   9  norm          5.7703        2.7574        .34042E-05   -1.5227    
  10  Prefactor     4.1001        6.9104        .79628E-05   -1.5303    
  11  norm          7.2719        3.3803        .36777E-05   -1.5169    
  12  Prefactor     28.941        243.95        .29696E-05   -1.4632    
  13  norm          11.593        212.92        .47314E-05   -1.5027    
  14  norm          3.6529        3.8909        .60444E-05   -1.5326    
  15  Prefactor     .10000E-03    18.099        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.598        25.861        .32980E-05   -1.4736    
  17  Prefactor     .10000E-03    8.5153        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.3893        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.180        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.4874        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .97004        .26527        .78123E-06   -1.5511    
  22  norm          .10000E-03    19.188        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3877        .28061        .10571E-04   -.80985    
  24  Prefactor     .68286        .18331        .99869E-05   -1.0420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71489e-09
Minuit parameter uncertainties:
  1  60.1145
  2  4.11127e-06
  3  9.42884
  4  12.192
  5  31.2339
  6  38.5478
  7  24.2619
  8  7.02879
  9  2.7575
  10  6.91175
  11  3.38036
  12  168.989
  13  99.7795
  14  3.89121
  15  3.02009e-05
  16  25.8734
  17  9.52294e-06
  18  1.52696e-05
  19  1.54863e-05
  20  2.08269e-05
  21  0.265271
  22  9.8196e-06
  23  0.280921
  24  0.183476
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.657e+00  7.029e+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:  6.829e-01  1.835e-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.388e+00  2.809e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434016/likelihoodResults_526262401_526521601_4FGL_J1424.6+1447_daily_bin1107.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): 0
logL (Free Index) = 5820.0057465
delta logL = 0.0668077888149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5820.00308928
delta logL = 0.0694650080195

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0581       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6697       1.0000          .0000       10.000    
     3 'Normalizat'    1.3666       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69102       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=   5820.003     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      272 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0528        117.61        .57996E-02    .42409E-03
   2  Index         2.6726        6.3238        .12858        .11589E-03
   3  Normalizat    1.3665        .77945E-01    .60125E-01   -.18744E-04
   4  Prefactor     .69110        .45446E-01    .42282E-01   -.49986E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05282
  Index      = 2.6726
  Normalizat = 1.36653
  Prefactor  = 0.691102
 **********
 **   18 **HESSE 
 **********

 FCN=   5820.003     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0528        10.647        .16049E-03   -1.5359    
   2  Index         2.6726        2.0739        .87292E-02   -.48418    
   3  Normalizat    1.3665        .28148        .26590E-03   -.81602    
   4  Prefactor     .69110        .18735        .24827E-03   -1.0388    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14564e-08
Minuit parameter uncertainties:
  1  10.6532
  2  2.15849
  3  0.281802
  4  0.187516
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434016': 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): 0
logL (Free Index) = 5820.0030854
delta logL = 0.0694688865624

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  3.053e+00  1.065e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.673e+00  2.158e+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:  6.911e-01  1.875e-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.367e+00  2.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
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/434016/cmap_HighResolution_526262401_526521601_4FGL_J1424.6+1447_daily_bin1107.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.66e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-09 14:27:29.251183', job_id='434016', GAL2='0.69', fit_tolerance='1e-08', EG2='1.37', EG='1.39', time_epoch_completed='1631222849.25', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='6.95e-02', ts2='0.88', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1107' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:27:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 434016: <4FGL_J1424.6+1447_daily_bin1107> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin1107> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:31 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:34 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:16:34 2021
Terminated at Thu Sep  9 14:27:30 2021
Results reported at Thu Sep  9 14:27:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin1107 216.169 14.784 526262401 526521601 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 :                                   616.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            659 sec.

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

