/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 153 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 = 7438
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1424.2+0433_daily_bin856
RA = 216.051, Dec = 4.5628
tmin = 461203201, tmax = 461462401
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='424670', job_status='RUN', time_executed='2021-09-09 13:54:02.018203', time_epoch_executed='1631220842.02' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='856'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424670

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424670/ft1_4FGL_J1424.2+0433_daily_bin856.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424670/ft1_4FGL_J1424.2+0433_daily_bin856.fits outfile=/scratch/kocevski/424670/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin856.fits ra=216.051 dec=4.5628 rad=12.0 tmin=461203201.0 tmax=461462401.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.42
user 3.20
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.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/424670/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin856.fits evtable="EVENTS" outfile="/scratch/kocevski/424670/ft1_filtered_4FGL_J1424.2+0433_daily_bin856.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424670/ft1_filtered_4FGL_J1424.2+0433_daily_bin856.fits" evtable="EVENTS" scfile=/scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits sctable="SC_DATA" outfile=/scratch/kocevski/424670/ltcube_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.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/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits
.....................!
real 12.46
user 12.06
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424670/ft1_filtered_4FGL_J1424.2+0433_daily_bin856.fits evtable="EVENTS" scfile=/scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits sctable="SC_DATA" expcube=/scratch/kocevski/424670/ltcube_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.fits outfile=/scratch/kocevski/424670/expmap_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.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/424670/ltcube_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.fits
.....................!
real 190.75
user 185.60
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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.2+0433 @ 216.051 4.5628

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/424670/ft1_filtered_4FGL_J1424.2+0433_daily_bin856.fits scfile=/scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits outfile=/scratch/kocevski/424670/cmap_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.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.051 yref=4.5628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424670/ft1_filtered_4FGL_J1424.2+0433_daily_bin856.fits scfile=/scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits outfile=/scratch/kocevski/424670/cmap_HighResolution_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.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.051 yref=4.5628 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/424670/ft1_filtered_4FGL_J1424.2+0433_daily_bin856.fits evtable="EVENTS" scfile=/scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/424670/Model_4FGL_J1424.2+0433_daily_bin856.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/424670/ft1_filtered_4FGL_J1424.2+0433_daily_bin856.fits.....................!
real 48.85
user 47.30
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/424670/ft1_filtered_4FGL_J1424.2+0433_daily_bin856.fits', '/scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits', expMap='/scratch/kocevski/424670/expmap_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.fits', expCube='/scratch/kocevski/424670/ltcube_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/424670/Model_4FGL_J1424.2+0433_daily_bin856.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.2+0433'

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  6.175e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/424670/ft1_filtered_4FGL_J1424.2+0433_daily_bin856.fits
Spacecraft file(s): /scratch/kocevski/424670/ft2_4FGL_J1424.2+0433_daily_bin856.fits
Exposure map: /scratch/kocevski/424670/expmap_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.fits
Exposure cube: /scratch/kocevski/424670/ltcube_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/424670/Model_4FGL_J1424.2+0433_daily_bin856.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) = 6193.49591969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15615       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.2431       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2796       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .50840       1.0000         .10000E-03   10000.    
     7 'norm      '    10.753       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    29.445       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8199       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.937       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9783       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.3054       1.0000         .10000E-03   10000.    
    18 'norm      '    2.8672       1.0000         .10000E-03   10000.    
    19 'norm      '    4.5809       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0356       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90127       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6193.488     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2230 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22346        2.9297        .19375E-05   -.11584E-05
   2  Prefactor     .10000E-03    11.777       -.73130E-06** at limit **
   3  Prefactor     5.2408        5.2608       -.30485E-06    .85495E-04
   4  Prefactor     .10000E-03    28.160       -.48769E-05** at limit **
   5  Prefactor     1.2870        45.816       -.39204E-05    .19660E-03
   6  Prefactor     .44798        125.93       -.33482E-04    .35156E-04
   7  norm          10.755        13.085        .21027E-07    .83508E-04
   8  Prefactor     .10000E-03    64.327       -.70547E-06** at limit **
   9  norm          29.448        26.977       -.36786E-06   -.14911E-04
  10  Prefactor     .10000E-03    8.6347        .26042E-05** at limit **
  11  Prefactor     1.8215        11.442       -.30072E-05   -.14180E-03
  12  Prefactor     25.923        69.763        .20852E-05    .51173E-04
  13  Prefactor     .10000E-03    24.242        .30367E-05** at limit **
  14  norm          .10000E-03    8.2122       -.39044E-06** at limit **
  15  Prefactor     6.9833        15.200        .79050E-07    .48631E-04
  16  Prefactor     .10000E-03    9.2718        .10516E-06** at limit **
  17  norm          3.3055        .43710       -.26751E-08    .65360E-04
  18  norm          2.8686        2.5577       -.24181E-06    .11562E-03
  19  norm          4.5809        4.5031       -.20987E-06   -.28869E-03
  20  Normalizat    1.0348        .21336        .10708E-05    .35899E-03
  21  Prefactor     .90152        .13340        .69886E-06    .32421E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.223459
  Prefactor  = 0.0001
  Prefactor  = 5.24084
  Prefactor  = 0.0001
  Prefactor  = 1.28696
  Prefactor  = 0.447979
  norm       = 10.755
  Prefactor  = 0.0001
  norm       = 29.4476
  Prefactor  = 0.000100001
  Prefactor  = 1.82153
  Prefactor  = 25.9227
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 6.98326
  Prefactor  = 0.0001
  norm       = 3.30554
  norm       = 2.86859
  norm       = 4.58089
  Normalizat = 1.03482
  Prefactor  = 0.901516
 **********
 **   18 **HESSE 
 **********

 FCN=   6193.488     FROM HESSE     STATUS=OK           321 CALLS     2551 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22346        27.098        .23103E-02   -1.5613    
   2  Prefactor     .10000E-03    11.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.2408        5.2551        .17357E-03   -1.5250    
   4  Prefactor     .10000E-03    28.808        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2870        46.860        .39248E-03   -1.5481    
   6  Prefactor     .44798        126.34        .57599E-02   -1.5574    
   7  norm          10.755        13.114        .12218E-03   -1.5052    
   8  Prefactor     .10000E-03    65.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          29.448        26.990        .73834E-04   -1.4622    
  10  Prefactor     .10000E-03    9.0791        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.8215        12.084        .30954E-03   -1.5438    
  12  Prefactor     25.923        70.029        .78658E-04   -1.4689    
  13  Prefactor     .10000E-03    24.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.2314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.9833        15.205        .15187E-03   -1.5179    
  16  Prefactor     .10000E-03    9.3147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.3055        .43779        .18229E-04   -1.5344    
  18  norm          2.8686        2.5555        .11366E-03   -1.5369    
  19  norm          4.5809        4.5193        .16199E-03   -1.5280    
  20  Normalizat    1.0348        .25869        .29640E-03   -.91873    
  21  Prefactor     .90152        .16059        .20579E-03   -.96088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4977e-08
Minuit parameter uncertainties:
  1  4.9227
  2  4.05789e-05
  3  5.25554
  4  4.69315e-06
  5  15.5441
  6  15.0766
  7  13.1176
  8  8.26987e-05
  9  27.001
  10  0.000183642
  11  9.38566
  12  70.2519
  13  0.000386937
  14  5.67232e-05
  15  15.2135
  16  6.3807e-06
  17  0.437787
  18  2.55563
  19  4.51968
  20  0.259005
  21  0.160679
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.945e+01  2.700e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.015e-01  1.607e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.035e+00  2.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.75
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 2.67e-08 +/- 2.45e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.61e-05

TS (Fixed Index): 2.75
Ra Dec: 216.051 4.563
Photon Flux Upper Limit: 8.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/424670/likelihoodResults_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.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) = 6193.48793941
delta logL = 0.000358313836841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6193.48792678
delta logL = 0.000370940120774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.365       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0073       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90181       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+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=   6193.488     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      255 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.347        27.323        .73935E-04    .54279E-04
   2  alpha         2.0062        .94491        .19785E-01    .42687E-04
   3  Normalizat    1.0338        .24257        .29652E-03   -.30749E-04
   4  Prefactor     .90182        .15776        .20576E-03    .69728E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 29.3467
  alpha      = 2.00618
  Normalizat = 1.03381
  Prefactor  = 0.901818
 **********
 **   18 **HESSE 
 **********

 FCN=   6193.488     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.347        27.102        .14787E-04   -1.4624    
   2  alpha         2.0062        .93696        .39569E-02   -.19883    
   3  Normalizat    1.0338        .24258        .11861E-04   -.91906    
   4  Prefactor     .90182        .15786        .82305E-05   -.96078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46775e-11
Minuit parameter uncertainties:
  1  27.1134
  2  0.961434
  3  0.242838
  4  0.157939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424670': 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) = 6193.48792571
delta logL = 0.000372007521946

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.935e+01  2.711e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.006e+00  9.614e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.018e-01  1.579e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.034e+00  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.74
Ra Dec: 216.051 4.563
Photon Index (Free Index): 2.01 +/- 0.96
Photon Flux (Free Index): 2.75e-08 +/- 3.92e-08
Energy Flux (Free Index): 1.74e-05 +/- 1.74e-05

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/424670/cmap_HighResolution_461203201_461462401_4FGL_J1424.2+0433_daily_bin856.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.80e-05', comment='SUCCESS', photon_flux='2.67e-08', energy_flux2='1.74e-05', photon_flux_error='2.45e-08', dlogl='3.72e-04', energy_flux='1.76e-05', photon_flux2='2.75e-08', job_status='DONE', time_completed='2021-09-09 14:03:33.617900', photon_index_error2='0.96', photon_index2='2.01', ts='2.75', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='8.82e-08', energy_flux_error2='1.74e-05', EG='1.03', time_epoch_completed='1631221413.62', return_code='0', job_id='424670', GAL2='0.90', EG2='1.03', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='3.92e-08', ts2='2.74', photon_index='1.98' WHERE bin_id='856' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:03:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 424670: <4FGL_J1424.2+0433_daily_bin856> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin856> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 13:51:18 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:51:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 13:51:20 2021
Terminated at Thu Sep  9 14:03:34 2021
Results reported at Thu Sep  9 14:03:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin856 216.051 4.5628 461203201 461462401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.2+0433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   564.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            736 sec.

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

