/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 213 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.1-1750_daily_bin514
RA = 216.029, Dec = -17.8447
tmin = 372556801, tmax = 372816001
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='411624', job_status='RUN', time_executed='2021-09-09 13:20:19.182360', time_epoch_executed='1631218819.18' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/411624

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/411624/ft1_4FGL_J1424.1-1750_daily_bin514.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/411624/ft1_4FGL_J1424.1-1750_daily_bin514.fits outfile=/scratch/kocevski/411624/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin514.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=372556801.0 tmax=372816001.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.33
user 3.11
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.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/411624/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin514.fits evtable="EVENTS" outfile="/scratch/kocevski/411624/ft1_filtered_4FGL_J1424.1-1750_daily_bin514.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/411624/ft1_filtered_4FGL_J1424.1-1750_daily_bin514.fits" evtable="EVENTS" scfile=/scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits sctable="SC_DATA" outfile=/scratch/kocevski/411624/ltcube_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.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/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits
.....................!
real 11.97
user 11.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/411624/ft1_filtered_4FGL_J1424.1-1750_daily_bin514.fits evtable="EVENTS" scfile=/scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits sctable="SC_DATA" expcube=/scratch/kocevski/411624/ltcube_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.fits outfile=/scratch/kocevski/411624/expmap_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.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/411624/ltcube_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.fits
.....................!
real 190.16
user 185.22
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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.1-1750 @ 216.029 -17.8447

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/411624/ft1_filtered_4FGL_J1424.1-1750_daily_bin514.fits scfile=/scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits outfile=/scratch/kocevski/411624/cmap_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.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.029 yref=-17.8447 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/411624/ft1_filtered_4FGL_J1424.1-1750_daily_bin514.fits scfile=/scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits outfile=/scratch/kocevski/411624/cmap_HighResolution_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.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.029 yref=-17.8447 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.58
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/411624/ft1_filtered_4FGL_J1424.1-1750_daily_bin514.fits evtable="EVENTS" scfile=/scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/411624/Model_4FGL_J1424.1-1750_daily_bin514.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/411624/ft1_filtered_4FGL_J1424.1-1750_daily_bin514.fits.....................!
real 71.28
user 68.03
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/411624/ft1_filtered_4FGL_J1424.1-1750_daily_bin514.fits', '/scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits', expMap='/scratch/kocevski/411624/expmap_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.fits', expCube='/scratch/kocevski/411624/ltcube_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/411624/Model_4FGL_J1424.1-1750_daily_bin514.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.1-1750'

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.529e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.900e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  4.048e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/411624/ft1_filtered_4FGL_J1424.1-1750_daily_bin514.fits
Spacecraft file(s): /scratch/kocevski/411624/ft2_4FGL_J1424.1-1750_daily_bin514.fits
Exposure map: /scratch/kocevski/411624/expmap_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.fits
Exposure cube: /scratch/kocevski/411624/ltcube_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/411624/Model_4FGL_J1424.1-1750_daily_bin514.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) = 8125.78559294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9959       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.542       1.0000         .10000E-03   10000.    
     5 'Prefactor '    41.698       1.0000         .10000E-03   10000.    
     6 'norm      '    7.1091       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.7470       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .94916       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.970       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2076       1.0000         .10000E-03   10000.    
    13 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    46.350       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.5581       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0653       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8125.784     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2040 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9936        18.470       -.19628E-06   -.51112E-04
   2  Prefactor     .10000E-03    14.809        .18210E-05** at limit **
   3  norm          .10000E-03    3.7751        .75734E-07** at limit **
   4  Prefactor     13.542        9.3057        .96524E-07   -.55073E-03
   5  Prefactor     41.698        44.868        .76463E-07    .57949E-05
   6  norm          7.1091        8.5674        .20116E-06   -.50689E-03
   7  Prefactor     .10000E-03    21.573        .20026E-05** at limit **
   8  norm          1.7472        1.6621        .82584E-06   -.33210E-02
   9  Prefactor     .10000E-03    18.724       -.22172E-05** at limit **
  10  norm          .94682        8.4173       -.12852E-05   -.77952E-04
  11  Prefactor     34.973        36.703        .21403E-05    .18412E-03
  12  Prefactor     5.1938        21.162       -.10491E-04   -.20278E-03
  13  norm          .10000E-03    10.573       -.32046E-06** at limit **
  14  Prefactor     .10000E-03    3.2845        .22453E-07** at limit **
  15  Prefactor     46.352        45.930        .99925E-06    .38862E-04
  16  Prefactor     .10000E-03    35.158       -.12631E-06** at limit **
  17  Prefactor     .10000E-03    17.214       -.23815E-05** at limit **
  18  Prefactor     .10000E-03    8.2343        .13115E-06** at limit **
  19  Normalizat    1.5582        .29340       -.10262E-05    .11935E-03
  20  Prefactor     1.0653        .11468        .55790E-06    .88616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.99365
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.5416
  Prefactor  = 41.6977
  norm       = 7.10906
  Prefactor  = 0.0001
  norm       = 1.74715
  Prefactor  = 0.0001
  norm       = 0.946824
  Prefactor  = 34.9734
  Prefactor  = 5.1938
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.3516
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.55825
  Prefactor  = 1.06528
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.784     FROM HESSE     STATUS=OK           287 CALLS     2327 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9936        18.468        .20176E-03   -1.5308    
   2  Prefactor     .10000E-03    14.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.8185        .17094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.542        9.3665        .54422E-03   -1.4972    
   5  Prefactor     41.698        44.868        .62079E-04   -1.4416    
   6  norm          7.1091        8.6072        .75225E-03   -1.5175    
   7  Prefactor     .10000E-03    21.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7472        2.3475        .77053E-03   -1.5444    
   9  Prefactor     .10000E-03    18.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .94682        24.127        .45884E-02   -1.5513    
  11  Prefactor     34.973        36.609        .67767E-04   -1.4525    
  12  Prefactor     5.1938        22.378        .17615E-03   -1.5252    
  13  norm          .10000E-03    10.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.3040        .15951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     46.352        45.938        .58894E-04   -1.4345    
  16  Prefactor     .10000E-03    35.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.2638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.5582        .34686        .39557E-03   -.76155    
  20  Prefactor     1.0653        .13536        .18993E-03   -.90584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77248e-08
Minuit parameter uncertainties:
  1  17.1848
  2  0.000116853
  3  9.86229e-07
  4  9.36755
  5  44.9044
  6  8.60868
  7  0.000154332
  8  2.34763
  9  0.000159572
  10  9.56284
  11  36.633
  12  21.5753
  13  1.17694e-05
  14  2.25227e-06
  15  45.9735
  16  8.31321e-06
  17  0.000163067
  18  3.18363e-06
  19  0.347394
  20  0.1354
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  5.194e+00  2.158e+01  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.900e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  4.048e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  1.065e+00  1.354e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.558e+00  3.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 216.029 -17.845
Photon Flux Upper Limit: 8.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/411624/likelihoodResults_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.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) = 8125.7215623
delta logL = 0.0626187360458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8125.71013573
delta logL = 0.0740453092485

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8300       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5655       1.0000          .0000       10.000    
     3 'Normalizat'    1.5423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0673       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8125.710     FROM MIGRAD    STATUS=FAILED       107 CALLS      284 TOTAL
                     EDM=   .78E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7940        696.25        .12087E-02    .43008E-03
   2  Index         2.5694        7.0332        .15151E-01    .10169E-02
   3  Normalizat    1.5423        .29942        .39730E-03    .42923E-06
   4  Prefactor     1.0673        .95502E-01    .18976E-03   -.36545E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8125.710     FROM SIMPLEX   STATUS=UNCHANGED     88 CALLS      372 TOTAL
                     EDM=   .90E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7940        696.25        .27949E-03    .43008E-03
   2  Index         2.5694        7.0332        .15628E-02    .10169E-02
   3  Normalizat    1.5423        .29942        .28007E-03    .42923E-06
   4  Prefactor     1.0673        .95502E-01    .79096E-04   -.36545E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8125.710     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      406 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7940        37.044        .24174E-03   -.39974E-05
   2  Index         2.5694        2.7616        .30301E-02    .38591E-04
   3  Normalizat    1.5423        .33985        .15892E-04    .42923E-06
   4  Prefactor     1.0673        .13620        .75905E-05   -.38942E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.79402
  Index      = 2.56942
  Normalizat = 1.54234
  Prefactor  = 1.06732
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.710     FROM HESSE     STATUS=OK            25 CALLS      431 TOTAL
                     EDM=   .58E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7940        19.458        .96697E-05   -1.5374    
   2  Index         2.5694        2.0765        .60602E-03   -.50764    
   3  Normalizat    1.5423        .33423        .31784E-05   -.76595    
   4  Prefactor     1.0673        .13489        .15181E-05   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84045e-13
Minuit parameter uncertainties:
  1  14.7532
  2  2.16387
  3  0.334708
  4  0.134934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/411624': 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) = 8125.71013218
delta logL = 0.0740488601732

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  2.794e+00  1.475e+01  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  2.569e+00  2.164e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  4.048e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  1.067e+00  1.349e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.542e+00  3.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 216.029 -17.845

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/411624/cmap_HighResolution_372556801_372816001_4FGL_J1424.1-1750_daily_bin514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-03', job_status='DONE', photon_flux_upper_limit='8.65e-08', time_completed='2021-09-09 13:31:47.539660', job_id='411624', GAL2='1.07', fit_tolerance='1e-08', EG2='1.54', EG='1.56', time_epoch_completed='1631219507.54', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='7.40e-02', ts2='0.21', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='514' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:31:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 411624: <4FGL_J1424.1-1750_daily_bin514> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin514> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Thu Sep  9 13:16:35 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:16:37 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:16:37 2021
Terminated at Thu Sep  9 13:31:48 2021
Results reported at Thu Sep  9 13:31:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin514 216.029 -17.8447 372556801 372816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.1-1750 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   685.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            913 sec.

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

