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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin180
RA = 216.169, Dec = 14.784
tmin = 285984001, tmax = 286243201
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='428551', job_status='RUN', time_executed='2021-09-09 14:05:49.615995', time_epoch_executed='1631221549.62' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428551

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428551/ft1_4FGL_J1424.6+1447_daily_bin180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428551/ft2_4FGL_J1424.6+1447_daily_bin180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428551/ft1_4FGL_J1424.6+1447_daily_bin180.fits outfile=/scratch/kocevski/428551/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin180.fits ra=216.169 dec=14.784 rad=12.0 tmin=285984001.0 tmax=286243201.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.37
user 3.15
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428551/ft1_filtered_4FGL_J1424.6+1447_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/428551/ft2_4FGL_J1424.6+1447_daily_bin180.fits sctable="SC_DATA" expcube=/scratch/kocevski/428551/ltcube_285984001_286243201_4FGL_J1424.6+1447_daily_bin180.fits outfile=/scratch/kocevski/428551/expmap_285984001_286243201_4FGL_J1424.6+1447_daily_bin180.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/428551/ltcube_285984001_286243201_4FGL_J1424.6+1447_daily_bin180.fits
.....................!
real 189.83
user 184.74
sys 4.74

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/428551/ft1_filtered_4FGL_J1424.6+1447_daily_bin180.fits scfile=/scratch/kocevski/428551/ft2_4FGL_J1424.6+1447_daily_bin180.fits outfile=/scratch/kocevski/428551/cmap_285984001_286243201_4FGL_J1424.6+1447_daily_bin180.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.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6783       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2885       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14438E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.240       1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.546       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7181       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7461       1.0000         .10000E-03   10000.    
     9 'norm      '    5.5484       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .59368E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.7529       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .36730E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5120       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.7478       1.0000         .10000E-03   10000.    
    21 'norm      '    .62496       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4894       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73258       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=   6379.761     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2734 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6791        29.370        .13733E-06    .17619E-06
   2  Prefactor     3.2887        3.2131        .54424E-07    .30530E-05
   3  Prefactor     .10000E-03    4.1845        .17633E-07** at limit **
   4  Prefactor     .10000E-03    6.6984        .10476E-05** at limit **
   5  Prefactor     44.251        35.229       -.97339E-06   -.21118E-04
   6  Prefactor     35.545        21.846       -.54030E-07   -.11435E-04
   7  norm          1.7200        29.822        .14040E-04    .27759E-06
   8  Prefactor     5.7508        6.0943        .87991E-07   -.10068E-03
   9  norm          5.5485        2.9947        .17309E-06   -.50984E-04
  10  Prefactor     .10000E-03    3.2221        .54109E-06** at limit **
  11  norm          .10000E-03    1.9434       -.11089E-06** at limit **
  12  Prefactor     .10000E-03    8.6631        .12532E-06** at limit **
  13  norm          .10000E-03    5.5889       -.20214E-07** at limit **
  14  norm          3.7529        3.7790        .35527E-07   -.32918E-04
  15  Prefactor     .10002E-03    116.70        .78679E-05** at limit **
  16  Prefactor     1.5115        31.696        .11282E-05   -.50199E-05
  17  Prefactor     .10000E-03    25.553       -.12903E-05** at limit **
  18  Prefactor     .10000E-03    15.948        .56651E-06** at limit **
  19  Prefactor     .10000E-03    12.550       -.10402E-05** at limit **
  20  Prefactor     7.7464        9.5406        .75487E-06   -.53966E-04
  21  norm          .62495        .20781        .97300E-08   -.34398E-03
  22  norm          .10000E-03    14.712        .63732E-06** at limit **
  23  Normalizat    1.4894        .20215       -.60744E-06   -.53095E-03
  24  Prefactor     .73259        .14536       -.65341E-06   -.44791E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.67908
  Prefactor  = 3.28868
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 44.2511
  Prefactor  = 35.5449
  norm       = 1.71995
  Prefactor  = 5.75077
  norm       = 5.54855
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.75287
  Prefactor  = 0.000100018
  Prefactor  = 1.51145
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.74641
  norm       = 0.62495
  norm       = 0.0001
  Normalizat = 1.48941
  Prefactor  = 0.732591
 **********
 **   18 **HESSE 
 **********

 FCN=   6379.761     FROM HESSE     STATUS=OK           399 CALLS     3133 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6791        29.358        .12881E-03   -1.5086    
   2  Prefactor     3.2887        3.2120        .13774E-03   -1.5345    
   3  Prefactor     .10000E-03    4.1909        .15957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.397        .39392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     44.251        35.207        .60276E-04   -1.4377    
   6  Prefactor     35.545        21.856        .67217E-04   -1.4515    
   7  norm          1.7200        29.770        .16027E-02   -1.5446    
   8  Prefactor     5.7508        6.0159        .16756E-03   -1.5228    
   9  norm          5.5485        2.9947        .49046E-03   -1.5237    
  10  Prefactor     .10000E-03    32.485        .26857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.0099        .21720E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.6676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.5979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.7529        3.7742        .15144E-03   -1.5320    
  15  Prefactor     .10002E-03    118.62        .42604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5115        31.903        .34780E-03   -1.5462    
  17  Prefactor     .10000E-03    26.314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.7464        9.5406        .72032E-03   -1.5151    
  21  norm          .62495        .20729        .20211E-04   -1.5550    
  22  norm          .10000E-03    14.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4894        .23726        .24429E-03   -.78076    
  24  Prefactor     .73259        .17236        .24187E-03   -1.0226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.95748e-10
Minuit parameter uncertainties:
  1  29.4021
  2  3.21219
  3  2.5533e-06
  4  0.000362811
  5  35.2235
  6  21.8614
  7  14.3192
  8  6.01654
  9  2.99473
  10  0.000694451
  11  5.30253e-06
  12  1.45975e-06
  13  1.40095e-07
  14  3.77445
  15  0.00295391
  16  13.896
  17  2.05599e-05
  18  7.23095e-05
  19  4.99091e-06
  20  9.54243
  21  0.207292
  22  7.50435e-06
  23  0.237441
  24  0.172484
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.751e+00  6.017e+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:  7.326e-01  1.725e-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.489e+00  2.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.77
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 2.49e-08 +/- 2.60e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.23e-05

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

Saving results to:
/scratch/kocevski/428551/likelihoodResults_285984001_286243201_4FGL_J1424.6+1447_daily_bin180.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) = 6379.75782281
delta logL = 0.00365742388385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6379.75563732
delta logL = 0.00584291749601

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2892       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2557       1.0000          .0000       10.000    
     3 'Normalizat'    1.4869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73354       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=   6379.756     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      249 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2889        7.4695        .17476E-03   -.45536E-06
   2  Index         2.2557        .82014        .70043E-02    .23828E-03
   3  Normalizat    1.4869        .23631        .24446E-03   -.12681E-03
   4  Prefactor     .73354        .17077        .24172E-03   -.17689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.28885
  Index      = 2.25574
  Normalizat = 1.48689
  Prefactor  = 0.733542
 **********
 **   18 **HESSE 
 **********

 FCN=   6379.756     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2889        7.1271        .69906E-05   -1.5248    
   2  Index         2.2557        .78273        .14009E-02   -.58099    
   3  Normalizat    1.4869        .23637        .48891E-04   -.78147    
   4  Prefactor     .73354        .17088        .96690E-05   -1.0223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63009e-11
Minuit parameter uncertainties:
  1  7.12825
  2  0.787381
  3  0.236544
  4  0.171003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428551': 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) = 6379.75563732
delta logL = 0.00584291892756

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.289e+00  7.128e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.256e+00  7.874e-01  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:  7.335e-01  1.710e-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.487e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.26 +/- 0.79
Photon Flux (Free Index): 2.72e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.30e-05

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/428551/cmap_HighResolution_285984001_286243201_4FGL_J1424.6+1447_daily_bin180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-03', comment='SUCCESS', photon_flux='2.49e-08', energy_flux2='1.11e-05', photon_flux_error='2.60e-08', dlogl='5.84e-03', energy_flux='1.18e-05', photon_flux2='2.72e-08', job_status='DONE', time_completed='2021-09-09 14:16:08.922803', photon_index_error2='0.79', photon_index2='2.26', ts='1.77', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='9.36e-08', energy_flux_error2='1.30e-05', EG='1.49', time_epoch_completed='1631222168.92', return_code='0', job_id='428551', GAL2='0.73', EG2='1.49', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='3.48e-08', ts2='1.78', photon_index='2.17' WHERE bin_id='180' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:16:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 428551: <4FGL_J1424.6+1447_daily_bin180> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin180 216.169 14.784 285984001 286243201 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 :                                   614.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

