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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin336
RA = 216.169, Dec = 14.784
tmin = 326419201, tmax = 326678401
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='429943', job_status='RUN', time_executed='2021-09-09 14:08:19.984127', time_epoch_executed='1631221699.98' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='336'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429943

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429943/ft1_4FGL_J1424.6+1447_daily_bin336.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429943/ft2_4FGL_J1424.6+1447_daily_bin336.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429943/ft1_4FGL_J1424.6+1447_daily_bin336.fits outfile=/scratch/kocevski/429943/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin336.fits ra=216.169 dec=14.784 rad=12.0 tmin=326419201.0 tmax=326678401.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.36
user 3.15
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429943/ft1_filtered_4FGL_J1424.6+1447_daily_bin336.fits evtable="EVENTS" scfile=/scratch/kocevski/429943/ft2_4FGL_J1424.6+1447_daily_bin336.fits sctable="SC_DATA" expcube=/scratch/kocevski/429943/ltcube_326419201_326678401_4FGL_J1424.6+1447_daily_bin336.fits outfile=/scratch/kocevski/429943/expmap_326419201_326678401_4FGL_J1424.6+1447_daily_bin336.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/429943/ltcube_326419201_326678401_4FGL_J1424.6+1447_daily_bin336.fits
.....................!
real 191.46
user 185.87
sys 5.27

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/429943/ft1_filtered_4FGL_J1424.6+1447_daily_bin336.fits scfile=/scratch/kocevski/429943/ft2_4FGL_J1424.6+1447_daily_bin336.fits outfile=/scratch/kocevski/429943/cmap_326419201_326678401_4FGL_J1424.6+1447_daily_bin336.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429943/ft1_filtered_4FGL_J1424.6+1447_daily_bin336.fits scfile=/scratch/kocevski/429943/ft2_4FGL_J1424.6+1447_daily_bin336.fits outfile=/scratch/kocevski/429943/cmap_HighResolution_326419201_326678401_4FGL_J1424.6+1447_daily_bin336.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3132       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.380       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    29.786       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.246       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.5117       1.0000         .10000E-03   10000.    
    11 'norm      '    4.9765       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .11240E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.3609       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12663E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.338       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.580       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.2232       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.6593       1.0000         .10000E-03   10000.    
    22 'norm      '    .19412E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4011       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78947       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=   6567.873     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2318 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.576        .16920E-04** at limit **
   2  Prefactor     .10000E-03    2.5000        .28581E-07** at limit **
   3  Prefactor     .10000E-03    9.8185        .31206E-06** at limit **
   4  Prefactor     1.3134        13.314       -.28137E-05   -.53251E-03
   5  Prefactor     19.366        26.657        .12336E-05   -.13100E-04
   6  Prefactor     .10000E-03    9.5128        .17627E-05** at limit **
   7  norm          29.787        26.204       -.55215E-06   -.59524E-05
   8  Prefactor     .10000E-03    1.6873       -.37779E-07** at limit **
   9  norm          10.246        3.4180        .34974E-07    .24397E-04
  10  Prefactor     5.5108        5.6982        .33567E-05   -.27434E-03
  11  norm          4.9760        3.1190       -.27446E-06   -.26408E-03
  12  Prefactor     .10000E-03    15.051       -.32133E-05** at limit **
  13  norm          .10000E-03    67.482        .45018E-05** at limit **
  14  norm          5.3607        4.3898        .12927E-06   -.95921E-04
  15  Prefactor     .10000E-03    19.740        .67342E-05** at limit **
  16  Prefactor     .10000E-03    20.706       -.21720E-04** at limit **
  17  Prefactor     11.337        12.480       -.55745E-05   -.36421E-04
  18  Prefactor     11.531        24.241        .11136E-04   -.26399E-04
  19  Prefactor     7.2197        20.346       -.17349E-05   -.25848E-04
  20  Prefactor     .10000E-03    9.1331       -.16910E-05** at limit **
  21  norm          1.6592        .29745        .18317E-07    .11539E-02
  22  norm          .10000E-03    176.44       -.24461E-04** at limit **
  23  Normalizat    1.4015        .21123       -.54240E-06    .87085E-04
  24  Prefactor     .78922        .15024       -.31045E-06    .80815E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.3134
  Prefactor  = 19.3661
  Prefactor  = 0.0001
  norm       = 29.7868
  Prefactor  = 0.0001
  norm       = 10.2456
  Prefactor  = 5.51076
  norm       = 4.97603
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.36075
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3374
  Prefactor  = 11.5314
  Prefactor  = 7.21973
  Prefactor  = 0.0001
  norm       = 1.65919
  norm       = 0.000100001
  Normalizat = 1.40145
  Prefactor  = 0.789217
 **********
 **   18 **HESSE 
 **********

 FCN=   6567.873     FROM HESSE     STATUS=OK           397 CALLS     2715 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.5135        .12512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.8873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3134        13.796        .38456E-03   -1.5479    
   5  Prefactor     19.366        26.695        .90982E-04   -1.4828    
   6  Prefactor     .10000E-03    9.5226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          29.787        26.218        .73412E-04   -1.4616    
   8  Prefactor     .10000E-03    1.6884        .10280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.246        3.4193        .83858E-04   -1.5068    
  10  Prefactor     5.5108        5.6579        .17114E-03   -1.5238    
  11  norm          4.9760        3.1201        .10853E-03   -1.5262    
  12  Prefactor     .10000E-03    15.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    70.552        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.3607        4.3887        .14904E-03   -1.5245    
  15  Prefactor     .10000E-03    19.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.337        12.485        .11898E-03   -1.5034    
  18  Prefactor     11.531        24.110        .11773E-03   -1.5029    
  19  Prefactor     7.2197        20.330        .14925E-03   -1.5171    
  20  Prefactor     .10000E-03    9.2837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.6592        .29771        .18065E-04   -1.5450    
  22  norm          .10000E-03    179.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4015        .25435        .26408E-03   -.80587    
  24  Prefactor     .78922        .18039        .24465E-03   -1.0013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76388e-09
Minuit parameter uncertainties:
  1  1.47553e-06
  2  1.61393e-06
  3  8.76281e-06
  4  8.51549
  5  26.7112
  6  4.12523e-06
  7  26.228
  8  7.06679e-06
  9  3.41938
  10  5.65845
  11  3.12018
  12  5.44994e-06
  13  4.49438e-05
  14  4.389
  15  0.000159279
  16  7.35764e-05
  17  12.488
  18  24.1303
  19  20.3496
  20  9.02167e-06
  21  0.297708
  22  0.000655143
  23  0.254579
  24  0.180527
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  7.067e-06  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.892e-01  1.805e-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.401e+00  2.546e-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: 4.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429943/likelihoodResults_326419201_326678401_4FGL_J1424.6+1447_daily_bin336.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): 102
logL (Free Index) = 6567.87560309
delta logL = -0.00264642644288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6567.87295589
delta logL = 7.70293809182e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1466       1.0000          .0000       10.000    
     3 'Normalizat'    1.4014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78922       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=   6567.873     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      241 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10278E-03    2.0076        .10581E-01** at limit **
   2  Index         2.0629        6.3238        .50000        .10975E-03
   3  Normalizat    1.4015        .53102E-02    .26408E-03   -.39950E-04
   4  Prefactor     .78922        .38350E-02    .24465E-03   -.23885E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102776
  Index      = 2.06293
  Normalizat = 1.40145
  Prefactor  = 0.789218
 **********
 **   18 **HESSE 
 **********

 FCN=   6567.873     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10278E-03    28.169        .10894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0629        6.0313        .50000       -.62786    
   3  Normalizat    1.4015        .20179E-01    .10563E-04   -.80587    
   4  Prefactor     .78922        .14573E-01    .97859E-05   -1.0013    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.18288e-07
Minuit parameter uncertainties:
  1  0.0176943
  2  181.833
  3  0.0201791
  4  0.0145731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429943': 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) = 6567.87295415
delta logL = 2.51114033745e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.028e-04  1.769e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.063e+00  1.818e+02  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.892e-01  1.457e-02  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.401e+00  2.018e-02  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/429943/cmap_HighResolution_326419201_326678401_4FGL_J1424.6+1447_daily_bin336.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.12e-08', time_completed='2021-09-09 14:18:17.442923', job_id='429943', GAL2='0.79', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1631222297.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.51e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='336' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:18:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 429943: <4FGL_J1424.6+1447_daily_bin336> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin336> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:26 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:27 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:06:27 2021
Terminated at Thu Sep  9 14:18:17 2021
Results reported at Thu Sep  9 14:18:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin336 216.169 14.784 326419201 326678401 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 :                                   593.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             293.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            711 sec.

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

