/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 58 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 = 7394
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin61
RA = 216.169, Dec = 14.784
tmin = 255139201, tmax = 255398401
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='431421', job_status='RUN', time_executed='2021-09-09 14:12:13.732248', time_epoch_executed='1631221933.73' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431421

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431421/ft1_4FGL_J1424.6+1447_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431421/ft2_4FGL_J1424.6+1447_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431421/ft1_4FGL_J1424.6+1447_daily_bin61.fits outfile=/scratch/kocevski/431421/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin61.fits ra=216.169 dec=14.784 rad=12.0 tmin=255139201.0 tmax=255398401.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 7.70
user 7.33
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431421/ft2_4FGL_J1424.6+1447_daily_bin61.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/431421/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin61.fits evtable="EVENTS" outfile="/scratch/kocevski/431421/ft1_filtered_4FGL_J1424.6+1447_daily_bin61.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.72
user 0.36
sys 0.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431421/ft1_filtered_4FGL_J1424.6+1447_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/431421/ft2_4FGL_J1424.6+1447_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/431421/ltcube_255139201_255398401_4FGL_J1424.6+1447_daily_bin61.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/431421/ft2_4FGL_J1424.6+1447_daily_bin61.fits
.....................!
real 16.17
user 15.76
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431421/ft1_filtered_4FGL_J1424.6+1447_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/431421/ft2_4FGL_J1424.6+1447_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/431421/ltcube_255139201_255398401_4FGL_J1424.6+1447_daily_bin61.fits outfile=/scratch/kocevski/431421/expmap_255139201_255398401_4FGL_J1424.6+1447_daily_bin61.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/431421/ltcube_255139201_255398401_4FGL_J1424.6+1447_daily_bin61.fits
.....................!
real 191.28
user 185.68
sys 5.06

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431421/ft1_filtered_4FGL_J1424.6+1447_daily_bin61.fits scfile=/scratch/kocevski/431421/ft2_4FGL_J1424.6+1447_daily_bin61.fits outfile=/scratch/kocevski/431421/cmap_HighResolution_255139201_255398401_4FGL_J1424.6+1447_daily_bin61.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.59
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.135       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2063       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6508       1.0000         .10000E-03   10000.    
     7 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.8246       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3901       1.0000         .10000E-03   10000.    
    11 'norm      '    .10476E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.869       1.0000         .10000E-03   10000.    
    13 'norm      '    9.1393       1.0000         .10000E-03   10000.    
    14 'norm      '    .93677       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.115       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.058       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18796       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.6687       1.0000         .10000E-03   10000.    
    21 'norm      '    4.0176       1.0000         .10000E-03   10000.    
    22 'norm      '    .10437E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0666       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0236       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=   9082.817     FROM MIGRAD    STATUS=CONVERGED    618 CALLS     2850 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.116        45.003        .92853E-07    .54202E-04
   2  Prefactor     4.2065        3.7247        .11167E-06    .13369E-03
   3  Prefactor     .10000E-03    6.7166       -.32228E-06** at limit **
   4  Prefactor     .10000E-03    7.6808       -.77676E-06** at limit **
   5  Prefactor     .10000E-03    9.4832       -.20298E-06** at limit **
   6  Prefactor     8.6557        25.941        .69536E-06    .76807E-04
   7  norm          .10000E-03    12.957        .94930E-06** at limit **
   8  Prefactor     .10000E-03    3.3332       -.31806E-06** at limit **
   9  norm          8.8250        3.2479        .51402E-07    .34444E-03
  10  Prefactor     2.3893        5.7502        .51286E-05   -.45944E-03
  11  norm          .10000E-03    1.0987       -.85807E-06** at limit **
  12  Prefactor     18.757        35.290        .28354E-07    .95726E-04
  13  norm          9.1710        19.777        .65027E-06    .15669E-03
  14  norm          .93665        3.6085        .26384E-06   -.19465E-03
  15  Prefactor     .10000E-03    6.2795        .56535E-07** at limit **
  16  Prefactor     12.122        27.841       -.31961E-06    .71744E-04
  17  Prefactor     .10000E-03    7.0896        .27556E-06** at limit **
  18  Prefactor     26.065        20.579       -.11182E-06    .77407E-04
  19  Prefactor     .69145E-01    25.831       -.39412E-05    .76018E-04
  20  Prefactor     7.6704        7.8904       -.49137E-08    .96576E-04
  21  norm          4.0177        .37163        .25469E-08   -.82471E-04
  22  norm          .10000E-03    16.350       -.43077E-07** at limit **
  23  Normalizat    1.0667        .20593       -.36908E-05    .30115E-03
  24  Prefactor     1.0235        .14112        .21660E-05    .76202E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.1155
  Prefactor  = 4.20648
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 8.65568
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 8.82502
  Prefactor  = 2.38928
  norm       = 0.000100001
  Prefactor  = 18.757
  norm       = 9.17103
  norm       = 0.936646
  Prefactor  = 0.0001
  Prefactor  = 12.1216
  Prefactor  = 0.0001
  Prefactor  = 26.0653
  Prefactor  = 0.0691448
  Prefactor  = 7.6704
  norm       = 4.01767
  norm       = 0.0001
  Normalizat = 1.06673
  Prefactor  = 1.02347
 **********
 **   18 **HESSE 
 **********

 FCN=   9082.817     FROM HESSE     STATUS=OK           405 CALLS     3255 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.116        44.995        .65769E-04   -1.4489    
   2  Prefactor     4.2065        3.7251        .16715E-03   -1.5298    
   3  Prefactor     .10000E-03    6.7778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.8356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.4967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.6557        25.936        .13629E-03   -1.5119    
   7  norm          .10000E-03    13.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.3992        .17014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.8250        3.2480        .10088E-03   -1.5114    
  10  Prefactor     2.3893        5.8798        .13246E-02   -1.5399    
  11  norm          .10000E-03    2.2245        .19255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.757        35.149        .92204E-04   -1.4842    
  13  norm          9.1710        19.713        .13257E-03   -1.5102    
  14  norm          .93665        3.5902        .34436E-03   -1.5514    
  15  Prefactor     .10000E-03    6.2853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.122        27.836        .11509E-03   -1.5012    
  17  Prefactor     .10000E-03    7.1158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.065        20.585        .78476E-04   -1.4686    
  19  Prefactor     .69145E-01    24.815        .14607       -1.5655    
  20  Prefactor     7.6704        7.8886        .14481E-03   -1.5154    
  21  norm          4.0177        .37222        .16734E-04   -1.5307    
  22  norm          .10000E-03    16.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0667        .24433        .31567E-03   -.90827    
  24  Prefactor     1.0235        .17347        .23344E-03   -.91951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88286e-09
Minuit parameter uncertainties:
  1  45.0364
  2  3.72534
  3  6.51132e-05
  4  0.000169764
  5  4.97763e-05
  6  25.9702
  7  0.000270691
  8  4.74614e-05
  9  3.24811
  10  5.88118
  11  8.06796e-05
  12  35.1875
  13  19.7274
  14  3.591
  15  1.17634e-05
  16  27.8657
  17  5.90229e-05
  18  20.5907
  19  2.619
  20  7.88968
  21  0.372217
  22  1.72686e-05
  23  0.244584
  24  0.173562
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.746e-05  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.023e+00  1.736e-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.067e+00  2.446e-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.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431421/likelihoodResults_255139201_255398401_4FGL_J1424.6+1447_daily_bin61.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) = 9082.81856829
delta logL = -0.00140161135641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9082.8171667
delta logL = -2.2357198759e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1685       1.0000          .0000       10.000    
     3 'Normalizat'    1.0667       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0235       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=   9082.817     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8559        .90712E-02** at limit **
   2  Index         2.1651        5.4702        .50000        .80895E-05
   3  Normalizat    1.0667        .34702E-02    .71340E-01    .25639E-04
   4  Prefactor     1.0235        .25316E-02    .41810E-01    .17945E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.16509
  Normalizat = 1.06673
  Prefactor  = 1.02346
 **********
 **   18 **HESSE 
 **********

 FCN=   9082.817     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.429        .17025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1651        8.7253        .50000       -.60284    
   3  Normalizat    1.0667        .14726E-01    .31567E-03   -.90827    
   4  Prefactor     1.0235        .10756E-01    .23344E-03   -.91951    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.87634e-07
Minuit parameter uncertainties:
  1  2.39245e-05
  2  222.327
  3  0.0147264
  4  0.0107564
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431421': 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) = 9082.81716667
delta logL = 1.41881173477e-08

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.392e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.165e+00  2.223e+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:  1.023e+00  1.076e-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.067e+00  1.473e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/431421/cmap_HighResolution_255139201_255398401_4FGL_J1424.6+1447_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.72e-03', job_status='DONE', photon_flux_upper_limit='4.90e-08', time_completed='2021-09-09 14:25:47.112520', job_id='431421', GAL2='1.02', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1631222747.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.42e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='61' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:25:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 431421: <4FGL_J1424.6+1447_daily_bin61> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin61 216.169 14.784 255139201 255398401 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 :                                   795.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            883 sec.

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

