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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin158
RA = 216.169, Dec = 14.784
tmin = 280281601, tmax = 280540801
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='428514', job_status='RUN', time_executed='2021-09-09 14:04:35.104474', time_epoch_executed='1631221475.1' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='158'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428514

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428514/ft1_4FGL_J1424.6+1447_daily_bin158.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428514/ft2_4FGL_J1424.6+1447_daily_bin158.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428514/ft1_4FGL_J1424.6+1447_daily_bin158.fits outfile=/scratch/kocevski/428514/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin158.fits ra=216.169 dec=14.784 rad=12.0 tmin=280281601.0 tmax=280540801.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.34
user 4.06
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428514/ft1_filtered_4FGL_J1424.6+1447_daily_bin158.fits evtable="EVENTS" scfile=/scratch/kocevski/428514/ft2_4FGL_J1424.6+1447_daily_bin158.fits sctable="SC_DATA" expcube=/scratch/kocevski/428514/ltcube_280281601_280540801_4FGL_J1424.6+1447_daily_bin158.fits outfile=/scratch/kocevski/428514/expmap_280281601_280540801_4FGL_J1424.6+1447_daily_bin158.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/428514/ltcube_280281601_280540801_4FGL_J1424.6+1447_daily_bin158.fits
.....................!
real 190.40
user 185.31
sys 4.68

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/428514/ft1_filtered_4FGL_J1424.6+1447_daily_bin158.fits scfile=/scratch/kocevski/428514/ft2_4FGL_J1424.6+1447_daily_bin158.fits outfile=/scratch/kocevski/428514/cmap_280281601_280540801_4FGL_J1424.6+1447_daily_bin158.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428514/ft1_filtered_4FGL_J1424.6+1447_daily_bin158.fits scfile=/scratch/kocevski/428514/ft2_4FGL_J1424.6+1447_daily_bin158.fits outfile=/scratch/kocevski/428514/cmap_HighResolution_280281601_280540801_4FGL_J1424.6+1447_daily_bin158.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/428514/ft1_filtered_4FGL_J1424.6+1447_daily_bin158.fits evtable="EVENTS" scfile=/scratch/kocevski/428514/ft2_4FGL_J1424.6+1447_daily_bin158.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/428514/Model_4FGL_J1424.6+1447_daily_bin158.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/428514/ft1_filtered_4FGL_J1424.6+1447_daily_bin158.fits.....................!
real 54.53
user 53.16
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8985       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.237       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4447       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.360       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.095       1.0000         .10000E-03   10000.    
     9 'norm      '    5.4298       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5803       1.0000         .10000E-03   10000.    
    11 'norm      '    .59851       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.242       1.0000         .10000E-03   10000.    
    13 'norm      '    4.3082       1.0000         .10000E-03   10000.    
    14 'norm      '    5.7240       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0420       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.492       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.258       1.0000         .10000E-03   10000.    
    18 'Prefactor '    42.237       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.883       1.0000         .10000E-03   10000.    
    21 'norm      '    1.3435       1.0000         .10000E-03   10000.    
    22 'norm      '    31.109       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2705       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97447       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=   7382.447     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2729 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    76.303       -.84484E-06** at limit **
   2  Prefactor     2.8980        5.9865        .28564E-05   -.11456E-03
   3  Prefactor     19.236        13.646       -.23042E-06    .36158E-05
   4  Prefactor     1.4447        7.1153        .81714E-05   -.14351E-03
   5  Prefactor     14.336        36.320       -.76270E-06   -.12428E-03
   6  Prefactor     .10001E-03    64.656        .16967E-05** at limit **
   7  norm          .10000E-03    26.449       -.50250E-06** at limit **
   8  Prefactor     12.093        10.471        .65804E-07   -.44703E-04
   9  norm          5.4297        2.5475        .16382E-07    .30792E-05
  10  Prefactor     3.5806        6.5227        .76940E-07   -.70409E-04
  11  norm          .59833        2.7257        .41206E-06   -.26826E-04
  12  Prefactor     14.065        55.977        .27177E-04   -.32891E-03
  13  norm          4.3934        49.567       -.28468E-04   -.35969E-03
  14  norm          5.7239        3.9732        .23963E-07   -.99191E-05
  15  Prefactor     7.0351        20.819        .15267E-06   -.12918E-04
  16  Prefactor     22.489        22.229        .50848E-06    .16091E-04
  17  Prefactor     22.258        15.826        .69232E-07    .52341E-05
  18  Prefactor     42.235        29.190        .10532E-06   -.20154E-05
  19  Prefactor     .10000E-03    21.149        .11291E-06** at limit **
  20  Prefactor     18.883        9.8949        .31435E-07   -.43073E-05
  21  norm          1.3435        .28622        .91461E-08    .14130E-03
  22  norm          31.112        33.159        .11473E-06    .26929E-04
  23  Normalizat    1.2706        .22054       -.37955E-06    .10664E-03
  24  Prefactor     .97438        .15641       -.33902E-06    .11715E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 2.89801
  Prefactor  = 19.2363
  Prefactor  = 1.44467
  Prefactor  = 14.3363
  Prefactor  = 0.00010001
  norm       = 0.0001
  Prefactor  = 12.0926
  norm       = 5.42974
  Prefactor  = 3.58059
  norm       = 0.598332
  Prefactor  = 14.0649
  norm       = 4.3934
  norm       = 5.72391
  Prefactor  = 7.03511
  Prefactor  = 22.4891
  Prefactor  = 22.2579
  Prefactor  = 42.2354
  Prefactor  = 0.0001
  Prefactor  = 18.8826
  norm       = 1.34347
  norm       = 31.1125
  Normalizat = 1.27064
  Prefactor  = 0.974376
 **********
 **   18 **HESSE 
 **********

 FCN=   7382.447     FROM HESSE     STATUS=OK           409 CALLS     3138 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    76.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.8980        5.9904        .11934E-02   -1.5367    
   3  Prefactor     19.236        13.655        .91318E-04   -1.4831    
   4  Prefactor     1.4447        7.1274        .17936E-02   -1.5468    
   5  Prefactor     14.336        36.411        .10570E-03   -1.4951    
   6  Prefactor     .10001E-03    66.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    26.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.093        10.397        .11519E-03   -1.5012    
   9  norm          5.4297        2.5483        .91259E-04   -1.5242    
  10  Prefactor     3.5806        6.4587        .21357E-03   -1.5329    
  11  norm          .59833        2.7711        .26694E-03   -1.5553    
  12  Prefactor     14.065        56.454        .10613E-03   -1.4958    
  13  norm          4.3934        50.057        .19409E-03   -1.5289    
  14  norm          5.7239        3.9737        .13881E-03   -1.5229    
  15  Prefactor     7.0351        20.778        .15117E-03   -1.5177    
  16  Prefactor     22.489        22.227        .84459E-04   -1.4759    
  17  Prefactor     22.258        15.822        .84900E-04   -1.4764    
  18  Prefactor     42.235        29.166        .61682E-04   -1.4407    
  19  Prefactor     .10000E-03    21.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.883        9.8971        .92170E-04   -1.4839    
  21  norm          1.3435        .28621        .20211E-04   -1.5476    
  22  norm          31.112        33.163        .71837E-04   -1.4592    
  23  Normalizat    1.2706        .26972        .29366E-03   -.84447    
  24  Prefactor     .97438        .19069        .23983E-03   -.93589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16501e-09
Minuit parameter uncertainties:
  1  0.00111346
  2  5.99162
  3  13.6574
  4  6.41872
  5  36.4673
  6  0.00163162
  7  0.000205336
  8  10.3985
  9  2.54834
  10  6.45996
  11  2.57526
  12  56.4497
  13  29.6904
  14  3.9739
  15  20.7989
  16  22.2353
  17  15.8246
  18  29.176
  19  6.38018e-05
  20  9.89796
  21  0.286206
  22  33.1826
  23  0.270015
  24  0.190819
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.209e+01  1.040e+01  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:  9.744e-01  1.908e-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.271e+00  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.20
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 5.24e-08 +/- 4.50e-08
Energy Flux (Fixed Index): 2.48e-05 +/- 2.13e-05

TS (Fixed Index): 2.20
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428514/likelihoodResults_280281601_280540801_4FGL_J1424.6+1447_daily_bin158.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) = 7380.71883236
delta logL = 1.72839129208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7380.70492918
delta logL = 1.74229446986

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2201       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3296       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0223       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=   7380.705     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      252 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2201        15.671        .68998E-02    .12458E-02
   2  Index         3.3296        1.9205        .81079E-01    .23262E-03
   3  Normalizat    1.1654        .72487E-01    .68739E-01    .15292E-04
   4  Prefactor     1.0223        .51172E-01    .41920E-01    .85475E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22007
  Index      = 3.32961
  Normalizat = 1.16544
  Prefactor  = 1.02228
 **********
 **   18 **HESSE 
 **********

 FCN=   7380.705     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      285 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2201        25.915        .60175E-04   -1.5410    
   2  Index         3.3296        2.7320        .31838E-02   -.34063    
   3  Normalizat    1.1654        .28122        .30413E-03   -.87678    
   4  Prefactor     1.0223        .20306        .23452E-03   -.91991    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.66363e-07
Minuit parameter uncertainties:
  1  15.1779
  2  2.91414
  3  0.281588
  4  0.203208
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428514': 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) = 7380.70492918
delta logL = 1.74229447038

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.220e+00  1.518e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.330e+00  2.914e+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.022e+00  2.032e-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.165e+00  2.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.86
Ra Dec: 216.169 14.784
Photon Index (Free Index): 3.33 +/- 2.91
Photon Flux (Free Index): 1.34e-07 +/- 7.71e-08
Energy Flux (Free Index): 2.34e-05 +/- 1.92e-05

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/428514/cmap_HighResolution_280281601_280540801_4FGL_J1424.6+1447_daily_bin158.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='5.24e-08', energy_flux2='2.34e-05', photon_flux_error='4.50e-08', dlogl='1.74e+00', energy_flux='2.48e-05', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-09-09 14:15:40.133656', photon_index_error2='2.91', photon_index2='3.33', ts='2.20', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.92e-05', EG='1.27', time_epoch_completed='1631222140.13', return_code='0', job_id='428514', GAL2='1.02', EG2='1.17', return_code2='102', energy_flux_error='2.13e-05', photon_flux_error2='7.71e-08', ts2='5.86', photon_index='2.17' WHERE bin_id='158' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:15:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 428514: <4FGL_J1424.6+1447_daily_bin158> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin158 216.169 14.784 280281601 280540801 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 :                                   662.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            836 sec.

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

