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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin269
RA = 216.169, Dec = 14.784
tmin = 309052801, tmax = 309312001
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='429838', job_status='RUN', time_executed='2021-09-09 14:08:26.209393', time_epoch_executed='1631221706.21' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429838

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429838/ft1_4FGL_J1424.6+1447_daily_bin269.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429838/ft2_4FGL_J1424.6+1447_daily_bin269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429838/ft1_4FGL_J1424.6+1447_daily_bin269.fits outfile=/scratch/kocevski/429838/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin269.fits ra=216.169 dec=14.784 rad=12.0 tmin=309052801.0 tmax=309312001.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.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429838/ft2_4FGL_J1424.6+1447_daily_bin269.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/429838/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin269.fits evtable="EVENTS" outfile="/scratch/kocevski/429838/ft1_filtered_4FGL_J1424.6+1447_daily_bin269.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.55
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429838/ft1_filtered_4FGL_J1424.6+1447_daily_bin269.fits" evtable="EVENTS" scfile=/scratch/kocevski/429838/ft2_4FGL_J1424.6+1447_daily_bin269.fits sctable="SC_DATA" outfile=/scratch/kocevski/429838/ltcube_309052801_309312001_4FGL_J1424.6+1447_daily_bin269.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/429838/ft2_4FGL_J1424.6+1447_daily_bin269.fits
.....................!
real 12.05
user 11.72
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429838/ft1_filtered_4FGL_J1424.6+1447_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/429838/ft2_4FGL_J1424.6+1447_daily_bin269.fits sctable="SC_DATA" expcube=/scratch/kocevski/429838/ltcube_309052801_309312001_4FGL_J1424.6+1447_daily_bin269.fits outfile=/scratch/kocevski/429838/expmap_309052801_309312001_4FGL_J1424.6+1447_daily_bin269.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/429838/ltcube_309052801_309312001_4FGL_J1424.6+1447_daily_bin269.fits
.....................!
real 190.31
user 185.08
sys 4.75

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/429838/ft1_filtered_4FGL_J1424.6+1447_daily_bin269.fits scfile=/scratch/kocevski/429838/ft2_4FGL_J1424.6+1447_daily_bin269.fits outfile=/scratch/kocevski/429838/cmap_309052801_309312001_4FGL_J1424.6+1447_daily_bin269.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429838/ft1_filtered_4FGL_J1424.6+1447_daily_bin269.fits scfile=/scratch/kocevski/429838/ft2_4FGL_J1424.6+1447_daily_bin269.fits outfile=/scratch/kocevski/429838/cmap_HighResolution_309052801_309312001_4FGL_J1424.6+1447_daily_bin269.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.56
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.928       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13199E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13365E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.8169       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8782       1.0000         .10000E-03   10000.    
     9 'norm      '    7.3438       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .80901E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.6061       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.001       1.0000         .10000E-03   10000.    
    13 'norm      '    24.894       1.0000         .10000E-03   10000.    
    14 'norm      '    .20082       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .94248       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.144       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.4738       1.0000         .10000E-03   10000.    
    21 'norm      '    .18792       1.0000         .10000E-03   10000.    
    22 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5293       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71318       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5597.053     FROM MIGRAD    STATUS=FAILED      1001 CALLS     3221 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.027        79.452        .29266E-03    .79635E-05
   2  Prefactor     .10000E-03    5.5746        .24231E-02** at limit **
   3  Prefactor     .10000E-03    5.4151        .16978E-02** at limit **
   4  Prefactor     .10000E-03    10.152        .18142E-02** at limit **
   5  Prefactor     .10000E-03    257.24        .73540E-02** at limit **
   6  Prefactor     .10000E-03    10.220        .18142E-02** at limit **
   7  norm          6.8170        17.379        .15367E-03    .34771E-05
   8  Prefactor     2.8614        8.6491        .23957E-03   -.99179E-05
   9  norm          7.3438        3.2550        .86984E-04    .11240E-04
  10  Prefactor     .10000E-03    10.491        .43154E-01** at limit **
  11  norm          2.6057        2.5249        .11317E-03    .16976E-04
  12  Prefactor     25.008        32.069        .80115E-04    .75209E-05
  13  norm          24.893        24.042        .80286E-04    .10054E-04
  14  norm          .20455        13.617        .22407E-02    .21081E-03
  15  Prefactor     .94285        111.29        .55095E-02    .67443E-03
  16  Prefactor     .10000E-03    33.794        .18142E-02** at limit **
  17  Prefactor     .10000E-03    22.695        .18142E-02** at limit **
  18  Prefactor     .10000E-03    15.743        .18142E-02** at limit **
  19  Prefactor     15.141        37.108        .10292E-03    .11488E-04
  20  Prefactor     2.4739        7.3958        .25996E-03    .21954E-04
  21  norm          .18795        .13975        .23699E-04    .10266E-03
  22  norm          .10000E-03    15.828        .18142E-02** at limit **
  23  Normalizat    1.5283        .26046        .23655E-03    .18503E-04
  24  Prefactor     .71380        .18896        .24102E-03    .17594E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5597.053     FROM SIMPLEX   STATUS=UNCHANGED   1191 CALLS     4412 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.027        79.452        .52496E-06   -1.4335    
   2  Prefactor     .10000E-03    5.5746        .28723E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.4151        .23260E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.152        .18249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    257.24        .68957E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.220        .48739E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.8170        17.379        .54874E-06   -1.5186    
   8  Prefactor     2.8614        8.6491        .55577E-06   -1.5370    
   9  norm          7.3438        3.2550        .54816E-06   -1.5166    
  10  Prefactor     .10000E-03    10.491        .81963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6057        2.5249        .55759E-06   -1.5385    
  12  Prefactor     25.008        32.069        .53460E-06   -1.4707    
  13  norm          24.893        24.042        .53450E-06   -1.4710    
  14  norm          .20455        13.617        .57185E-06   -1.5618    
  15  Prefactor     .94285        111.29        .57154E-06   -1.5514    
  16  Prefactor     .10000E-03    33.794        .75563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.695        .70524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.743        .32299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.141        37.108        .53944E-06   -1.4930    
  20  Prefactor     2.4739        7.3958        .55607E-06   -1.5393    
  21  norm          .18795        .13975        .56418E-06   -1.5621    
  22  norm          .10000E-03    15.828        .48740E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5283        .26046        .27806E-06   -.76986    
  24  Prefactor     .71380        .18896        .37195E-06   -1.0299    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5597.053     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     4802 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.027        79.440        .11706E-04    .38846E-07
   2  Prefactor     .10000E-03    5.5978        .48462E-03** at limit **
   3  Prefactor     .10000E-03    5.4157        .33956E-03** at limit **
   4  Prefactor     .10000E-03    10.160        .36285E-03** at limit **
   5  Prefactor     .10000E-03    267.09        .29416E-03** at limit **
   6  Prefactor     .10000E-03    10.220        .36285E-03** at limit **
   7  norm          6.8170        17.379        .61469E-05     .0000    
   8  Prefactor     2.8614        8.6022        .95829E-05    .28472E-05
   9  norm          7.3438        3.2547        .34794E-05    .26140E-05
  10  Prefactor     .10000E-03    7.4205        .53403E-01** at limit **
  11  norm          2.6057        2.5245        .45270E-05   -.20091E-05
  12  Prefactor     25.008        32.082        .32046E-05     .0000    
  13  norm          24.893        24.047        .32115E-05   -.70801E-06
  14  norm          .20452        13.714        .89629E-04    .13953E-05
  15  Prefactor     .94301        111.79        .11019E-02    .28284E-04
  16  Prefactor     .10000E-03    33.802        .36285E-03** at limit **
  17  Prefactor     .10000E-03    22.704        .36285E-03** at limit **
  18  Prefactor     .10000E-03    15.745        .36285E-03** at limit **
  19  Prefactor     15.141        37.098        .41169E-05   -.55229E-06
  20  Prefactor     2.4739        7.3955        .10398E-04    .21866E-06
  21  norm          .18795        .13974        .94797E-06   -.36630E-05
  22  norm          .10000E-03    15.828        .36285E-03** at limit **
  23  Normalizat    1.5283        .26056        .47310E-04   -.12976E-05
  24  Prefactor     .71380        .18909        .96406E-05   -.94340E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.0268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.81699
  Prefactor  = 2.86138
  norm       = 7.34376
  Prefactor  = 0.0001
  norm       = 2.60567
  Prefactor  = 25.0082
  norm       = 24.893
  norm       = 0.204517
  Prefactor  = 0.943009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.141
  Prefactor  = 2.47386
  norm       = 0.187945
  norm       = 0.0001
  Normalizat = 1.5283
  Prefactor  = 0.713795
 **********
 **   18 **HESSE 
 **********

 FCN=   5597.053     FROM HESSE     STATUS=OK           385 CALLS     5187 TOTAL
                     EDM=   .75E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.027        79.430        .11706E-04   -1.4335    
   2  Prefactor     .10000E-03    5.5988        .96924E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.4157        .67911E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.161        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    267.11        .58832E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.220        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.8170        17.379        .61469E-05   -1.5186    
   8  Prefactor     2.8614        8.6206        .19166E-05   -1.5370    
   9  norm          7.3438        3.2551        .69587E-06   -1.5166    
  10  Prefactor     .10000E-03    8.4281        .49335E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6057        2.5246        .90540E-06   -1.5385    
  12  Prefactor     25.008        32.134        .32046E-05   -1.4707    
  13  norm          24.893        24.180        .64229E-06   -1.4710    
  14  norm          .20452        13.709        .35852E-05   -1.5618    
  15  Prefactor     .94301        111.61        .22038E-03   -1.5514    
  16  Prefactor     .10000E-03    33.802        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.704        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.745        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.141        37.154        .82338E-06   -1.4930    
  20  Prefactor     2.4739        7.3957        .20797E-05   -1.5393    
  21  norm          .18795        .13974        .37244E-06   -1.5621    
  22  norm          .10000E-03    15.828        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5283        .26070        .94620E-05   -.76986    
  24  Prefactor     .71380        .18931        .19281E-05   -1.0299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.45799e-14
Minuit parameter uncertainties:
  1  79.61
  2  1.55767e-07
  3  3.1043e-08
  4  1.32959e-07
  5  1.47112e-05
  6  3.59728e-08
  7  17.3922
  8  8.62433
  9  3.25521
  10  3.39259e-05
  11  2.52468
  12  32.1562
  13  24.1894
  14  3.34887
  15  20.5567
  16  1.81224e-07
  17  1.01033e-06
  18  1.06165e-06
  19  37.2105
  20  7.39842
  21  0.139742
  22  1.56274e-09
  23  0.260934
  24  0.189483
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.861e+00  8.624e+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.138e-01  1.895e-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.528e+00  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/429838/likelihoodResults_309052801_309312001_4FGL_J1424.6+1447_daily_bin269.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) = 5596.82539954
delta logL = 0.227125538344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5596.8216842
delta logL = 0.230840877187

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4498       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9454       1.0000          .0000       10.000    
     3 'Normalizat'    1.5019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72335       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=   5596.822     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      275 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4454        41.501        .89462E-02    .76944E-03
   2  Index         2.9473        2.5808        .16229        .93392E-04
   3  Normalizat    1.5022        .44158E-01    .53869E-01    .58996E-06
   4  Prefactor     .72312        .32083E-01    .42711E-01    .17615E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44537
  Index      = 2.94733
  Normalizat = 1.50223
  Prefactor  = 0.723123
 **********
 **   18 **HESSE 
 **********

 FCN=   5596.822     FROM HESSE     STATUS=OK            33 CALLS      308 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4454        8.6806        .12019E-03   -1.5468    
   2  Index         2.9473        1.9525        .56070E-02   -.42304    
   3  Normalizat    1.5022        .25883        .23818E-03   -.77716    
   4  Prefactor     .72312        .18713        .23952E-03   -1.0263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28869e-11
Minuit parameter uncertainties:
  1  7.08555
  2  2.01773
  3  0.259056
  4  0.187289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429838': 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) = 5596.82168136
delta logL = 0.230843721839

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.445e+00  7.086e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.947e+00  2.018e+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:  7.231e-01  1.873e-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.502e+00  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/429838/cmap_HighResolution_309052801_309312001_4FGL_J1424.6+1447_daily_bin269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.19e-03', job_status='DONE', photon_flux_upper_limit='9.45e-08', time_completed='2021-09-09 14:19:55.031061', job_id='429838', GAL2='0.72', fit_tolerance='1e-08', EG2='1.50', EG='1.53', time_epoch_completed='1631222395.03', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.31e-01', ts2='0.61', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='269' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:19:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 429838: <4FGL_J1424.6+1447_daily_bin269> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin269 216.169 14.784 309052801 309312001 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 :                                   685.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            818 sec.

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

