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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin75
RA = 216.169, Dec = 14.784
tmin = 258768001, tmax = 259027201
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='428383', job_status='RUN', time_executed='2021-09-09 14:04:47.599679', time_epoch_executed='1631221487.6' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428383

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428383/ft1_4FGL_J1424.6+1447_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428383/ft2_4FGL_J1424.6+1447_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428383/ft1_4FGL_J1424.6+1447_daily_bin75.fits outfile=/scratch/kocevski/428383/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin75.fits ra=216.169 dec=14.784 rad=12.0 tmin=258768001.0 tmax=259027201.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.11
user 0.93
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428383/ft2_4FGL_J1424.6+1447_daily_bin75.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/428383/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/428383/ft1_filtered_4FGL_J1424.6+1447_daily_bin75.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428383/ft1_filtered_4FGL_J1424.6+1447_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/428383/ft2_4FGL_J1424.6+1447_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/428383/ltcube_258768001_259027201_4FGL_J1424.6+1447_daily_bin75.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/428383/ft2_4FGL_J1424.6+1447_daily_bin75.fits
.....................!
real 8.72
user 8.38
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428383/ft1_filtered_4FGL_J1424.6+1447_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/428383/ft2_4FGL_J1424.6+1447_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/428383/ltcube_258768001_259027201_4FGL_J1424.6+1447_daily_bin75.fits outfile=/scratch/kocevski/428383/expmap_258768001_259027201_4FGL_J1424.6+1447_daily_bin75.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/428383/ltcube_258768001_259027201_4FGL_J1424.6+1447_daily_bin75.fits
.....................!
real 191.35
user 185.99
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/428383/ft1_filtered_4FGL_J1424.6+1447_daily_bin75.fits scfile=/scratch/kocevski/428383/ft2_4FGL_J1424.6+1447_daily_bin75.fits outfile=/scratch/kocevski/428383/cmap_258768001_259027201_4FGL_J1424.6+1447_daily_bin75.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.50
user 0.35
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428383/ft1_filtered_4FGL_J1424.6+1447_daily_bin75.fits scfile=/scratch/kocevski/428383/ft2_4FGL_J1424.6+1447_daily_bin75.fits outfile=/scratch/kocevski/428383/cmap_HighResolution_258768001_259027201_4FGL_J1424.6+1447_daily_bin75.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0151       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22379E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.266       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2939       1.0000         .10000E-03   10000.    
     9 'norm      '    15.238       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.727       1.0000         .10000E-03   10000.    
    13 'norm      '    .11180E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.8688       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10614E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10675E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.702       1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.131       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12831E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.4147       1.0000         .10000E-03   10000.    
    22 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97521       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0609       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=   5996.838     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2700 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.742       -.11475E-05** at limit **
   2  Prefactor     3.0159        4.2623        .20602E-06   -.74862E-05
   3  Prefactor     .10000E-03    4.6891        .61038E-07** at limit **
   4  Prefactor     .10008E-03    11.132        .27103E-05** at limit **
   5  Prefactor     .10000E-03    6.6409        .75249E-07** at limit **
   6  Prefactor     .10000E-03    12.088        .23944E-06** at limit **
   7  norm          20.254        27.931        .10457E-05    .16097E-04
   8  Prefactor     2.2891        5.9669        .59455E-05   -.34826E-03
   9  norm          15.240        5.0652        .25265E-06    .70134E-04
  10  Prefactor     .10000E-03    2.3373        .12649E-06** at limit **
  11  norm          .10000E-03    2.0644        .14220E-06** at limit **
  12  Prefactor     19.684        34.556        .55456E-05    .10674E-03
  13  norm          .10001E-03    21.009       -.33204E-05** at limit **
  14  norm          2.8671        5.7435        .42675E-06   -.96641E-05
  15  Prefactor     .10000E-03    9.0796       -.10147E-06** at limit **
  16  Prefactor     .10000E-03    26.887        .41598E-06** at limit **
  17  Prefactor     .10000E-03    19.764        .71588E-07** at limit **
  18  Prefactor     10.689        23.402       -.26652E-06   -.19353E-04
  19  Prefactor     38.107        44.080        .31875E-05    .77004E-04
  20  Prefactor     .10000E-03    19.057        .16819E-06** at limit **
  21  norm          5.4146        .51235        .10633E-08   -.72799E-03
  22  norm          .10000E-03    17.795       -.14176E-05** at limit **
  23  Normalizat    .97541        .23646       -.20293E-05   -.29446E-03
  24  Prefactor     1.0607        .17713       -.47564E-06   -.28512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.01589
  Prefactor  = 0.0001
  Prefactor  = 0.000100082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.254
  Prefactor  = 2.28907
  norm       = 15.2396
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.6838
  norm       = 0.000100012
  norm       = 2.86709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6889
  Prefactor  = 38.1068
  Prefactor  = 0.0001
  norm       = 5.41455
  norm       = 0.0001
  Normalizat = 0.975408
  Prefactor  = 1.06068
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.838     FROM HESSE     STATUS=OK           391 CALLS     3091 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.0159        4.2512        .18432E-03   -1.5361    
   3  Prefactor     .10000E-03    4.6931        .16378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10008E-03    85.490        .47827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.6421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.254        27.937        .88972E-04   -1.4808    
   8  Prefactor     2.2891        6.0181        .13550E-02   -1.5405    
   9  norm          15.240        5.0662        .96992E-04   -1.4927    
  10  Prefactor     .10000E-03    2.3460        .11563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.1045        .10861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.684        34.633        .90178E-04   -1.4820    
  13  norm          .10001E-03    21.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.8671        5.7344        .23999E-03   -1.5369    
  15  Prefactor     .10000E-03    9.0854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.438        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.689        23.369        .12247E-03   -1.5054    
  19  Prefactor     38.107        44.092        .64907E-04   -1.4473    
  20  Prefactor     .10000E-03    19.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.4146        .51252        .16459E-04   -1.5243    
  22  norm          .10000E-03    17.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97541        .28346        .32936E-03   -.93859    
  24  Prefactor     1.0607        .21467        .23555E-03   -.90733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93962e-09
Minuit parameter uncertainties:
  1  7.55278e-05
  2  4.25161
  3  7.33702e-06
  4  0.00530793
  5  6.66675e-06
  6  1.27519e-06
  7  27.9551
  8  6.01966
  9  5.06632
  10  8.32105e-06
  11  1.1204e-05
  12  34.668
  13  0.00100979
  14  5.73551
  15  1.56655e-06
  16  4.55932e-05
  17  7.05453e-05
  18  23.3892
  19  44.1296
  20  8.63746e-05
  21  0.512522
  22  9.12877e-05
  23  0.283894
  24  0.214841
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.289e+00  6.020e+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:  1.061e+00  2.148e-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:  9.754e-01  2.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/428383/likelihoodResults_258768001_259027201_4FGL_J1424.6+1447_daily_bin75.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) = 5996.83538923
delta logL = 0.00240976795158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5996.8342787
delta logL = 0.00352029928854

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6532       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0798       1.0000          .0000       10.000    
     3 'Normalizat'    .97618       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0601       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5996.834     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      251 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6461        8.5611        .12513E-02    .38358E-03
   2  Index         2.0785        1.1829        .10688E-01    .18787E-03
   3  Normalizat    .97619        .28278        .32924E-03   -.25276E-04
   4  Prefactor     1.0602        .21202        .23560E-03   -.36529E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.64609
  Index      = 2.07848
  Normalizat = 0.97619
  Prefactor  = 1.06015
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.834     FROM HESSE     STATUS=OK            27 CALLS      278 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6461        7.8656        .25026E-03   -1.5383    
   2  Index         2.0785        1.0903        .21376E-02   -.62402    
   3  Normalizat    .97619        .28311        .13169E-04   -.93832    
   4  Prefactor     1.0602        .21223        .94239E-05   -.90750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40763e-12
Minuit parameter uncertainties:
  1  7.8687
  2  1.10385
  3  0.283545
  4  0.212403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428383': 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) = 5996.83427656
delta logL = 0.0035224431067

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.646e+00  7.869e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.078e+00  1.104e+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:  1.060e+00  2.124e-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:  9.762e-01  2.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/428383/cmap_HighResolution_258768001_259027201_4FGL_J1424.6+1447_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.26e-03', job_status='DONE', photon_flux_upper_limit='8.23e-08', time_completed='2021-09-09 14:14:28.645417', job_id='428383', GAL2='1.06', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631222068.65', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.52e-03', ts2='0.18', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='75' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:14:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 428383: <4FGL_J1424.6+1447_daily_bin75> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin75 216.169 14.784 258768001 259027201 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 :                                   580.04 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             243.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            773 sec.

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

