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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin422
RA = 216.169, Dec = 14.784
tmin = 348710401, tmax = 348969601
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='430110', job_status='RUN', time_executed='2021-09-09 14:09:04.027726', time_epoch_executed='1631221744.03' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='422'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430110

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430110/ft1_4FGL_J1424.6+1447_daily_bin422.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430110/ft2_4FGL_J1424.6+1447_daily_bin422.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430110/ft1_4FGL_J1424.6+1447_daily_bin422.fits outfile=/scratch/kocevski/430110/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin422.fits ra=216.169 dec=14.784 rad=12.0 tmin=348710401.0 tmax=348969601.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.43
user 3.20
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430110/ft1_filtered_4FGL_J1424.6+1447_daily_bin422.fits" evtable="EVENTS" scfile=/scratch/kocevski/430110/ft2_4FGL_J1424.6+1447_daily_bin422.fits sctable="SC_DATA" outfile=/scratch/kocevski/430110/ltcube_348710401_348969601_4FGL_J1424.6+1447_daily_bin422.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/430110/ft2_4FGL_J1424.6+1447_daily_bin422.fits
.....................!
real 11.81
user 11.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430110/ft1_filtered_4FGL_J1424.6+1447_daily_bin422.fits evtable="EVENTS" scfile=/scratch/kocevski/430110/ft2_4FGL_J1424.6+1447_daily_bin422.fits sctable="SC_DATA" expcube=/scratch/kocevski/430110/ltcube_348710401_348969601_4FGL_J1424.6+1447_daily_bin422.fits outfile=/scratch/kocevski/430110/expmap_348710401_348969601_4FGL_J1424.6+1447_daily_bin422.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/430110/ltcube_348710401_348969601_4FGL_J1424.6+1447_daily_bin422.fits
.....................!
real 192.47
user 187.35
sys 4.70

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/430110/ft1_filtered_4FGL_J1424.6+1447_daily_bin422.fits scfile=/scratch/kocevski/430110/ft2_4FGL_J1424.6+1447_daily_bin422.fits outfile=/scratch/kocevski/430110/cmap_348710401_348969601_4FGL_J1424.6+1447_daily_bin422.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.55
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430110/ft1_filtered_4FGL_J1424.6+1447_daily_bin422.fits scfile=/scratch/kocevski/430110/ft2_4FGL_J1424.6+1447_daily_bin422.fits outfile=/scratch/kocevski/430110/cmap_HighResolution_348710401_348969601_4FGL_J1424.6+1447_daily_bin422.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4499       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3789       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.0346       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.418       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6730       1.0000         .10000E-03   10000.    
     7 'norm      '    .18640       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.798       1.0000         .10000E-03   10000.    
     9 'norm      '    13.426       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .63982       1.0000         .10000E-03   10000.    
    11 'norm      '    .83805       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10177E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.809       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.5014       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10932E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.9665       1.0000         .10000E-03   10000.    
    21 'norm      '    .18231       1.0000         .10000E-03   10000.    
    22 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .64765       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2775       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=   7841.875     FROM MIGRAD    STATUS=CONVERGED    598 CALLS     2780 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.261        .67684E-06** at limit **
   2  Prefactor     3.4497        2.9225        .84159E-07    .50079E-05
   3  Prefactor     9.3799        14.137       -.14625E-05    .18536E-04
   4  Prefactor     8.0332        13.753        .33882E-05   -.12446E-03
   5  Prefactor     11.401        28.541        .59543E-05   -.35318E-04
   6  Prefactor     8.7868        25.340        .89564E-07   -.26674E-04
   7  norm          .10283E-03    18.242        .56314E-06** at limit **
   8  Prefactor     16.797        8.8476        .34464E-05    .10626E-03
   9  norm          13.425        3.4538        .56892E-07    .15042E-03
  10  Prefactor     .63951        3.6122       -.32965E-05   -.24989E-03
  11  norm          .83957        1.8085       -.25658E-06   -.10964E-02
  12  Prefactor     .10000E-03    8.3933       -.28363E-07** at limit **
  13  norm          .10000E-03    5.6407        .25276E-07** at limit **
  14  norm          .10000E-03    1.0427       -.42205E-07** at limit **
  15  Prefactor     .10000E-03    6.6226        .40461E-07** at limit **
  16  Prefactor     14.810        14.552       -.15946E-05    .11073E-03
  17  Prefactor     7.5024        15.089       -.14851E-05    .68881E-04
  18  Prefactor     .10000E-03    20.219       -.73066E-07** at limit **
  19  Prefactor     .10000E-03    57.584        .11440E-05** at limit **
  20  Prefactor     6.9662        8.7148        .51366E-05   -.46269E-03
  21  norm          .18232        .13428        .42210E-07   -.51681E-03
  22  norm          .10000E-03    16.214       -.82377E-06** at limit **
  23  Normalizat    .64752        .20398       -.15429E-05    .21568E-03
  24  Prefactor     1.2776        .14351       -.61067E-06    .38557E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.4497
  Prefactor  = 9.37987
  Prefactor  = 8.03321
  Prefactor  = 11.401
  Prefactor  = 8.78682
  norm       = 0.000102827
  Prefactor  = 16.7969
  norm       = 13.4252
  Prefactor  = 0.639514
  norm       = 0.839567
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8104
  Prefactor  = 7.50235
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.96617
  norm       = 0.18232
  norm       = 0.0001
  Normalizat = 0.647519
  Prefactor  = 1.27765
 **********
 **   18 **HESSE 
 **********

 FCN=   7841.875     FROM HESSE     STATUS=OK           415 CALLS     3195 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4497        2.9212        .13532E-03   -1.5336    
   3  Prefactor     9.3799        14.158        .13086E-03   -1.5095    
   4  Prefactor     8.0332        13.673        .14145E-03   -1.5141    
   5  Prefactor     11.401        28.417        .11856E-03   -1.5033    
   6  Prefactor     8.7868        25.334        .13611E-03   -1.5115    
   7  norm          .10283E-03    21.844        .10998       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.797        8.9381        .97722E-04   -1.4888    
   9  norm          13.425        3.4527        .80875E-04   -1.4975    
  10  Prefactor     .63951        7.4230        .30842E-02   -1.5548    
  11  norm          .83957        1.6185        .16829E-02   -1.5525    
  12  Prefactor     .10000E-03    8.3993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.6593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.0445        .88307E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.6302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.810        14.544        .10408E-03   -1.4938    
  17  Prefactor     7.5024        15.074        .14643E-03   -1.5160    
  18  Prefactor     .10000E-03    20.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    57.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.9662        8.5553        .15200E-03   -1.5180    
  21  norm          .18232        .13169        .26649E-04   -1.5623    
  22  norm          .10000E-03    16.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .64752        .23069        .34686E-03   -1.0600    
  24  Prefactor     1.2776        .16566        .19206E-03   -.83974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12972e-08
Minuit parameter uncertainties:
  1  1.57851e-05
  2  2.92129
  3  14.1631
  4  13.6787
  5  28.4504
  6  25.3647
  7  0.0157209
  8  8.93882
  9  3.45274
  10  4.3579
  11  1.61856
  12  8.80702e-06
  13  7.67643e-06
  14  5.78514e-07
  15  1.03484e-05
  16  14.5472
  17  15.0819
  18  6.84482e-05
  19  9.77464e-05
  20  8.5568
  21  0.131687
  22  3.0479e-05
  23  0.231032
  24  0.165731
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.680e+01  8.939e+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:  1.278e+00  1.657e-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:  6.475e-01  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.48
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 7.27e-08 +/- 3.87e-08
Energy Flux (Fixed Index): 3.44e-05 +/- 1.83e-05

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) = 7841.70367889
delta logL = 0.171560311443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7841.70238
delta logL = 0.172859195442

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.538       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9338       1.0000          .0000       10.000    
     3 'Normalizat'    .66822       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2672       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=   7841.702     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      267 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.528        206.02        .21577E-02    .23184E-04
   2  Index         1.9332        2.8134        .16119        .89541E-04
   3  Normalizat    .66819        .11162        .77205E-01    .40030E-04
   4  Prefactor     1.2673        .55197E-01    .33208E-01   -.14584E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5281
  Index      = 1.93317
  Normalizat = 0.668195
  Prefactor  = 1.26729
 **********
 **   18 **HESSE 
 **********

 FCN=   7841.702     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.528        12.950        .86306E-04   -1.4780    
   2  Index         1.9332        .39208        .55447E-02   -.66032    
   3  Normalizat    .66819        .21769        .34182E-03   -1.0516    
   4  Prefactor     1.2673        .16418        .19271E-03   -.84285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94653e-12
Minuit parameter uncertainties:
  1  12.9514
  2  0.392731
  3  0.217968
  4  0.164243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430110': 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) = 7841.70237685
delta logL = 0.172862354946

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.153e+01  1.295e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.933e+00  3.927e-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:  1.267e+00  1.642e-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:  6.682e-01  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.81
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.93 +/- 0.39
Photon Flux (Free Index): 5.89e-08 +/- 3.83e-08
Energy Flux (Free Index): 4.83e-05 +/- 3.99e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/430110/cmap_HighResolution_348710401_348969601_4FGL_J1424.6+1447_daily_bin422.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.27e-08', energy_flux2='4.83e-05', photon_flux_error='3.87e-08', dlogl='1.73e-01', energy_flux='3.44e-05', photon_flux2='5.89e-08', job_status='DONE', time_completed='2021-09-09 14:19:38.339105', photon_index_error2='0.39', photon_index2='1.93', ts='6.48', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', energy_flux_error2='3.99e-05', EG='0.65', time_epoch_completed='1631222378.34', return_code='0', job_id='430110', GAL2='1.27', EG2='0.67', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='3.83e-08', ts2='6.81', photon_index='2.17' WHERE bin_id='422' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:19:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 430110: <4FGL_J1424.6+1447_daily_bin422> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin422 216.169 14.784 348710401 348969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   614.04 sec.
    Max Memory :                                 1176 MB
    Average Memory :                             256.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            781 sec.

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

