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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin608
RA = 216.169, Dec = 14.784
tmin = 396921601, tmax = 397180801
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='431606', job_status='RUN', time_executed='2021-09-09 14:15:08.068516', time_epoch_executed='1631222108.07' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431606

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431606/ft1_4FGL_J1424.6+1447_daily_bin608.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431606/ft2_4FGL_J1424.6+1447_daily_bin608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431606/ft1_4FGL_J1424.6+1447_daily_bin608.fits outfile=/scratch/kocevski/431606/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin608.fits ra=216.169 dec=14.784 rad=12.0 tmin=396921601.0 tmax=397180801.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.56
user 4.30
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431606/ft2_4FGL_J1424.6+1447_daily_bin608.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/431606/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin608.fits evtable="EVENTS" outfile="/scratch/kocevski/431606/ft1_filtered_4FGL_J1424.6+1447_daily_bin608.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/431606/ft1_filtered_4FGL_J1424.6+1447_daily_bin608.fits" evtable="EVENTS" scfile=/scratch/kocevski/431606/ft2_4FGL_J1424.6+1447_daily_bin608.fits sctable="SC_DATA" outfile=/scratch/kocevski/431606/ltcube_396921601_397180801_4FGL_J1424.6+1447_daily_bin608.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/431606/ft2_4FGL_J1424.6+1447_daily_bin608.fits
.....................!
real 11.90
user 11.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431606/ft1_filtered_4FGL_J1424.6+1447_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/431606/ft2_4FGL_J1424.6+1447_daily_bin608.fits sctable="SC_DATA" expcube=/scratch/kocevski/431606/ltcube_396921601_397180801_4FGL_J1424.6+1447_daily_bin608.fits outfile=/scratch/kocevski/431606/expmap_396921601_397180801_4FGL_J1424.6+1447_daily_bin608.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/431606/ltcube_396921601_397180801_4FGL_J1424.6+1447_daily_bin608.fits
.....................!
real 192.22
user 187.14
sys 4.72

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/431606/ft1_filtered_4FGL_J1424.6+1447_daily_bin608.fits scfile=/scratch/kocevski/431606/ft2_4FGL_J1424.6+1447_daily_bin608.fits outfile=/scratch/kocevski/431606/cmap_396921601_397180801_4FGL_J1424.6+1447_daily_bin608.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431606/ft1_filtered_4FGL_J1424.6+1447_daily_bin608.fits scfile=/scratch/kocevski/431606/ft2_4FGL_J1424.6+1447_daily_bin608.fits outfile=/scratch/kocevski/431606/cmap_HighResolution_396921601_397180801_4FGL_J1424.6+1447_daily_bin608.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1333       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9803       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29002       1.0000         .10000E-03   10000.    
     9 'norm      '    5.9624       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6459       1.0000         .10000E-03   10000.    
    11 'norm      '    3.5808       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10432E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.3479       1.0000         .10000E-03   10000.    
    15 'Prefactor '    40.323       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.728       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6066       1.0000         .10000E-03   10000.    
    21 'norm      '    .38801E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    17.159       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1520       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99890       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=   5913.313     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2667 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.835        .12545E-05** at limit **
   2  Prefactor     8.1334        4.9357        .10276E-06    .11836E-03
   3  Prefactor     .10000E-03    9.8609        .43008E-06** at limit **
   4  Prefactor     7.9817        11.504        .29571E-06   -.28650E-04
   5  Prefactor     .10000E-03    20.930        .82927E-07** at limit **
   6  Prefactor     .10000E-03    7.1286        .12854E-06** at limit **
   7  norm          .10000E-03    9.5534        .19126E-06** at limit **
   8  Prefactor     .26300        8.2570        .18560E-05   -.57292E-03
   9  norm          5.9626        2.5995       -.17713E-09   -.27144E-04
  10  Prefactor     3.6521        7.0489        .35742E-06   -.26380E-03
  11  norm          3.5809        3.2572        .94924E-07   -.74254E-04
  12  Prefactor     .10000E-03    44.740       -.18438E-05** at limit **
  13  norm          .10000E-03    13.005       -.66645E-06** at limit **
  14  norm          7.3482        5.0668        .15053E-06    .34096E-03
  15  Prefactor     40.329        27.722        .21060E-07    .34194E-04
  16  Prefactor     21.718        29.714       -.66816E-06   -.16974E-03
  17  Prefactor     .10000E-03    6.3446       -.25058E-07** at limit **
  18  Prefactor     .10000E-03    8.1415       -.35709E-06** at limit **
  19  Prefactor     .10000E-03    11.822        .50403E-07** at limit **
  20  Prefactor     4.6067        7.4642        .34495E-05    .12222E-03
  21  norm          .38819E-01    .12050        .11550E-06    .13815E-03
  22  norm          17.153        29.722       -.29920E-06   -.67616E-04
  23  Normalizat    1.1516        .22065       -.36196E-06   -.20490E-03
  24  Prefactor     .99915        .15883       -.41406E-06   -.22086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 8.13336
  Prefactor  = 0.0001
  Prefactor  = 7.98174
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.263003
  norm       = 5.96258
  Prefactor  = 3.65213
  norm       = 3.5809
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 7.34817
  Prefactor  = 40.3285
  Prefactor  = 21.7178
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.60673
  norm       = 0.0388193
  norm       = 17.1526
  Normalizat = 1.15161
  Prefactor  = 0.999151
 **********
 **   18 **HESSE 
 **********

 FCN=   5913.313     FROM HESSE     STATUS=OK           397 CALLS     3064 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.1334        4.9362        .12916E-03   -1.5138    
   3  Prefactor     .10000E-03    9.9730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.9817        11.544        .14193E-03   -1.5143    
   5  Prefactor     .10000E-03    20.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.1335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.5608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .26300        41.587        .36886E-02   -1.5605    
   9  norm          5.9626        2.6003        .79629E-04   -1.5220    
  10  Prefactor     3.6521        6.9757        .21157E-03   -1.5326    
  11  norm          3.5809        3.2454        .12545E-03   -1.5329    
  12  Prefactor     .10000E-03    45.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    13.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.3482        5.0677        .13932E-03   -1.5166    
  15  Prefactor     40.329        27.735        .63124E-04   -1.4437    
  16  Prefactor     21.718        29.620        .85929E-04   -1.4776    
  17  Prefactor     .10000E-03    6.3593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.1582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6067        7.5037        .93766E-03   -1.5279    
  21  norm          .38819E-01    .12315        .44548E-03   -1.5669    
  22  norm          17.153        29.741        .96689E-04   -1.4879    
  23  Normalizat    1.1516        .27293        .27459E-03   -.88112    
  24  Prefactor     .99915        .19665        .21667E-03   -.92758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45524e-09
Minuit parameter uncertainties:
  1  0.000692719
  2  4.93647
  3  9.97145e-05
  4  11.5477
  5  2.56413e-05
  6  3.52381e-05
  7  5.88222e-05
  8  6.61778
  9  2.60033
  10  6.97728
  11  3.24552
  12  0.000883646
  13  0.000149569
  14  5.068
  15  27.7435
  16  29.6398
  17  2.31717e-06
  18  0.000108742
  19  1.66096e-05
  20  7.50525
  21  0.12315
  22  29.7671
  23  0.273265
  24  0.196796
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.630e-01  6.618e+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:  9.992e-01  1.968e-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.152e+00  2.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/431606/likelihoodResults_396921601_397180801_4FGL_J1424.6+1447_daily_bin608.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) = 5913.31247845
delta logL = 4.55801564385e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5913.31196865
delta logL = 0.00055537877779

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26576       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4066       1.0000          .0000       10.000    
     3 'Normalizat'    1.1509       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99935       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=   5913.312     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      237 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26330        3.8328        .75398E-01    .20353E-02
   2  Index         2.3976        .53598        .50000       -.15400E-04
   3  Normalizat    1.1510        .58703E-02    .62097E-01    .12374E-03
   4  Prefactor     .99932        .43705E-02    .46259E-01    .93575E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.2633
  Index      = 2.39756
  Normalizat = 1.15095
  Prefactor  = 0.999316
 **********
 **   18 **HESSE 
 **********

 FCN=   5913.312     FROM HESSE     STATUS=OK            35 CALLS      272 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26330        97.399        .26050E-02   -1.5605    
   2  Index         2.3976        7.4037        .83734E-02   -.54742    
   3  Normalizat    1.1510        .26193        .27466E-03   -.88132    
   4  Prefactor     .99932        .19575        .21666E-03   -.92752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49575e-07
Minuit parameter uncertainties:
  1  10.1429
  2  13.0252
  3  0.262231
  4  0.195889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431606': 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) = 5913.31196705
delta logL = 0.000556980299734

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.633e-01  1.014e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.398e+00  1.303e+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:  9.993e-01  1.959e-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.151e+00  2.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 216.169 14.784

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/431606/cmap_HighResolution_396921601_397180801_4FGL_J1424.6+1447_daily_bin608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-03', job_status='DONE', photon_flux_upper_limit='8.36e-08', time_completed='2021-09-09 14:24:57.068949', job_id='431606', GAL2='1.00', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1631222697.07', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.57e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='608' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:24:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 431606: <4FGL_J1424.6+1447_daily_bin608> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin608> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 14:11:16 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:11:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:11:17 2021
Terminated at Thu Sep  9 14:24:57 2021
Results reported at Thu Sep  9 14:24:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin608 216.169 14.784 396921601 397180801 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 :                                   588.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            821 sec.

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

