/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 185 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_bin453
RA = 216.169, Dec = 14.784
tmin = 356745601, tmax = 357004801
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='430158', job_status='RUN', time_executed='2021-09-09 14:09:58.181031', time_epoch_executed='1631221798.18' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430158

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430158/ft1_4FGL_J1424.6+1447_daily_bin453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430158/ft2_4FGL_J1424.6+1447_daily_bin453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430158/ft1_4FGL_J1424.6+1447_daily_bin453.fits outfile=/scratch/kocevski/430158/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin453.fits ra=216.169 dec=14.784 rad=12.0 tmin=356745601.0 tmax=357004801.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.53
user 3.30
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430158/ft2_4FGL_J1424.6+1447_daily_bin453.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/430158/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin453.fits evtable="EVENTS" outfile="/scratch/kocevski/430158/ft1_filtered_4FGL_J1424.6+1447_daily_bin453.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430158/ft1_filtered_4FGL_J1424.6+1447_daily_bin453.fits" evtable="EVENTS" scfile=/scratch/kocevski/430158/ft2_4FGL_J1424.6+1447_daily_bin453.fits sctable="SC_DATA" outfile=/scratch/kocevski/430158/ltcube_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.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/430158/ft2_4FGL_J1424.6+1447_daily_bin453.fits
.....................!
real 11.85
user 11.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430158/ft1_filtered_4FGL_J1424.6+1447_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/430158/ft2_4FGL_J1424.6+1447_daily_bin453.fits sctable="SC_DATA" expcube=/scratch/kocevski/430158/ltcube_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.fits outfile=/scratch/kocevski/430158/expmap_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.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/430158/ltcube_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.fits
.....................!
real 190.00
user 185.04
sys 4.59

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/430158/ft1_filtered_4FGL_J1424.6+1447_daily_bin453.fits scfile=/scratch/kocevski/430158/ft2_4FGL_J1424.6+1447_daily_bin453.fits outfile=/scratch/kocevski/430158/cmap_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430158/ft1_filtered_4FGL_J1424.6+1447_daily_bin453.fits', '/scratch/kocevski/430158/ft2_4FGL_J1424.6+1447_daily_bin453.fits', expMap='/scratch/kocevski/430158/expmap_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.fits', expCube='/scratch/kocevski/430158/ltcube_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430158/Model_4FGL_J1424.6+1447_daily_bin453.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/430158/ft1_filtered_4FGL_J1424.6+1447_daily_bin453.fits
Spacecraft file(s): /scratch/kocevski/430158/ft2_4FGL_J1424.6+1447_daily_bin453.fits
Exposure map: /scratch/kocevski/430158/expmap_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.fits
Exposure cube: /scratch/kocevski/430158/ltcube_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430158/Model_4FGL_J1424.6+1447_daily_bin453.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7067.73339497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.523       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .75973E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .66178E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0203       1.0000         .10000E-03   10000.    
     7 'norm      '    .10164E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.242       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    21.219       1.0000         .10000E-03   10000.    
    14 'norm      '    .10289E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8347       1.0000         .10000E-03   10000.    
    16 'Prefactor '    51.527       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1997       1.0000         .10000E-03   10000.    
    18 'Prefactor '    57.032       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12791E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2861       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85181       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=   7067.682     FROM MIGRAD    STATUS=CONVERGED    966 CALLS     3293 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.519        51.182        .62969E-04    .15346E-04
   2  Prefactor     .35427E-03    3.2019        .42554E-01** at limit **
   3  Prefactor     .10000E-03    5.8108        .18142E-02** at limit **
   4  Prefactor     .10000E-03    13.869        .18142E-02** at limit **
   5  Prefactor     .10087E-03    210.98        .56021E-02** at limit **
   6  Prefactor     6.0278        27.911        .16364E-03   -.15562E-04
   7  norm          .10000E-03    34.568        .18142E-02** at limit **
   8  Prefactor     .10000E-03    1.6035        .10386E-02** at limit **
   9  norm          15.243        4.0945        .85094E-04   -.33534E-04
  10  Prefactor     .10000E-03    1.8707        .11203E-02** at limit **
  11  norm          .10000E-03    1.9364        .22468E-03** at limit **
  12  Prefactor     .10000E-03    15.968        .18142E-02** at limit **
  13  norm          21.224        15.361        .86951E-04   -.10120E-03
  14  norm          .10000E-03    7.0642        .36285E-02** at limit **
  15  Prefactor     5.8065        51.434        .16626E-03   -.18394E-04
  16  Prefactor     51.507        27.848        .55871E-04   -.18814E-03
  17  Prefactor     7.1980        13.451        .14949E-03   -.13415E-03
  18  Prefactor     57.035        36.504        .53120E-04   -.26063E-03
  19  Prefactor     .10000E-03    87.103        .18142E-02** at limit **
  20  Prefactor     .10000E-03    12.139        .18142E-02** at limit **
  21  norm          .10000E-03    .12512        .43619E-03** at limit **
  22  norm          .10000E-03    13.723        .18142E-02** at limit **
  23  Normalizat    1.2858        .24899        .26955E-03   -.79121E-03
  24  Prefactor     .85201        .17051        .22679E-03   -.71407E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.5187
  Prefactor  = 0.000354273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010087
  Prefactor  = 6.02783
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.2432
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 21.2244
  norm       = 0.0001
  Prefactor  = 5.80652
  Prefactor  = 51.5066
  Prefactor  = 7.19796
  Prefactor  = 57.0353
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.28578
  Prefactor  = 0.852009
 **********
 **   18 **HESSE 
 **********

 FCN=   7067.682     FROM HESSE     STATUS=OK           383 CALLS     3676 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.519        51.147        .25187E-05   -1.4434    
   2  Prefactor     .35427E-03    2.9204        .45800E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.8116        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.878        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10087E-03    220.95        .22408E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.0278        27.903        .65457E-05   -1.5217    
   7  norm          .10000E-03    34.577        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.6036        .20772E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.243        4.0944        .34037E-05   -1.4927    
  10  Prefactor     .10000E-03    1.8708        .22406E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.9364        .44935E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.968        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.224        15.359        .34781E-05   -1.4786    
  14  norm          .10000E-03    7.1186        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.8065        51.394        .66505E-05   -1.5226    
  16  Prefactor     51.507        27.846        .11174E-04   -1.4271    
  17  Prefactor     7.1980        13.449        .59797E-05   -1.5171    
  18  Prefactor     57.035        36.493        .10624E-04   -1.4196    
  19  Prefactor     .10000E-03    87.156        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.150        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .12539        .87238E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    13.723        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2858        .24923        .53910E-04   -.83992    
  24  Prefactor     .85201        .17065        .45357E-04   -.97839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.85986e-09
Minuit parameter uncertainties:
  1  51.2024
  2  0.0545034
  3  1.78727e-05
  4  7.55401e-05
  5  0.0278358
  6  25.9576
  7  2.64972e-05
  8  3.99839e-06
  9  4.09452
  10  1.38234e-05
  11  4.9269e-05
  12  3.34459e-05
  13  15.3623
  14  1.07906e-05
  15  34.5891
  16  27.8534
  17  13.4546
  18  36.507
  19  0.00113375
  20  1.66499e-05
  21  1.89613e-06
  22  1.78974e-05
  23  0.249462
  24  0.170754
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  3.998e-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:  8.520e-01  1.708e-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.286e+00  2.495e-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: 3.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430158/likelihoodResults_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.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) = 7067.68444927
delta logL = -0.00284861322416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7067.68160004
delta logL = 6.21502294962e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1447       1.0000          .0000       10.000    
     3 'Normalizat'    1.2857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85205       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=   7067.682     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      255 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.1643        .10725E-01** at limit **
   2  Index         1.5468        9.0545        .50000        .21048E-06
   3  Normalizat    1.2858        .84433E-02    .26955E-03    .14768E-02
   4  Prefactor     .85201        .59500E-02    .22679E-03    .17976E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.54682
  Normalizat = 1.28578
  Prefactor  = 0.85201
 **********
 **   18 **HESSE 
 **********

 FCN=   7067.682     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.627        .12758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5468        8.1509        .50000       -.76237    
   3  Normalizat    1.2858        .25605E-01    .53909E-04   -.83992    
   4  Prefactor     .85201        .18044E-01    .45357E-04   -.97839    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.57579e-10
Minuit parameter uncertainties:
  1  3.56425e-05
  2  374.316
  3  0.0256051
  4  0.0180438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430158': 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) = 7067.68159017
delta logL = 1.04860155261e-05

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  3.564e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.547e+00  3.743e+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:  8.520e-01  1.804e-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.286e+00  2.561e-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/430158/cmap_HighResolution_356745601_357004801_4FGL_J1424.6+1447_daily_bin453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.77e-08', time_completed='2021-09-09 14:21:16.402215', job_id='430158', GAL2='0.85', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1631222476.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.05e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='453' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:21:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 430158: <4FGL_J1424.6+1447_daily_bin453> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin453 216.169 14.784 356745601 357004801 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 :                                   674.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             264.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            875 sec.

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

