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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin380
RA = 216.029, Dec = -17.8447
tmin = 337824001, tmax = 338083201
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='411417', job_status='RUN', time_executed='2021-09-09 13:19:24.407403', time_epoch_executed='1631218764.41' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/411417

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/411417/ft1_4FGL_J1424.1-1750_daily_bin380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/411417/ft2_4FGL_J1424.1-1750_daily_bin380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/411417/ft1_4FGL_J1424.1-1750_daily_bin380.fits outfile=/scratch/kocevski/411417/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin380.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=337824001.0 tmax=338083201.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 4.48
user 3.33
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/411417/ft2_4FGL_J1424.1-1750_daily_bin380.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/411417/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin380.fits evtable="EVENTS" outfile="/scratch/kocevski/411417/ft1_filtered_4FGL_J1424.1-1750_daily_bin380.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.55
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/411417/ft1_filtered_4FGL_J1424.1-1750_daily_bin380.fits" evtable="EVENTS" scfile=/scratch/kocevski/411417/ft2_4FGL_J1424.1-1750_daily_bin380.fits sctable="SC_DATA" outfile=/scratch/kocevski/411417/ltcube_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.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/411417/ft2_4FGL_J1424.1-1750_daily_bin380.fits
.....................!
real 12.78
user 12.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/411417/ft1_filtered_4FGL_J1424.1-1750_daily_bin380.fits evtable="EVENTS" scfile=/scratch/kocevski/411417/ft2_4FGL_J1424.1-1750_daily_bin380.fits sctable="SC_DATA" expcube=/scratch/kocevski/411417/ltcube_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.fits outfile=/scratch/kocevski/411417/expmap_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.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/411417/ltcube_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.fits
.....................!
real 190.34
user 185.25
sys 4.35

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/411417/ft1_filtered_4FGL_J1424.1-1750_daily_bin380.fits scfile=/scratch/kocevski/411417/ft2_4FGL_J1424.1-1750_daily_bin380.fits outfile=/scratch/kocevski/411417/cmap_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/411417/ft1_filtered_4FGL_J1424.1-1750_daily_bin380.fits scfile=/scratch/kocevski/411417/ft2_4FGL_J1424.1-1750_daily_bin380.fits outfile=/scratch/kocevski/411417/cmap_HighResolution_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/411417/ft1_filtered_4FGL_J1424.1-1750_daily_bin380.fits', '/scratch/kocevski/411417/ft2_4FGL_J1424.1-1750_daily_bin380.fits', expMap='/scratch/kocevski/411417/expmap_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.fits', expCube='/scratch/kocevski/411417/ltcube_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/411417/Model_4FGL_J1424.1-1750_daily_bin380.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/411417/ft1_filtered_4FGL_J1424.1-1750_daily_bin380.fits
Spacecraft file(s): /scratch/kocevski/411417/ft2_4FGL_J1424.1-1750_daily_bin380.fits
Exposure map: /scratch/kocevski/411417/expmap_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.fits
Exposure cube: /scratch/kocevski/411417/ltcube_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/411417/Model_4FGL_J1424.1-1750_daily_bin380.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) = 8974.52432415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.163       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2919       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.989       1.0000         .10000E-03   10000.    
     6 'norm      '    7.2931       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.212       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4133       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.406       1.0000         .10000E-03   10000.    
    10 'norm      '    9.4899       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8580       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    232.91       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1428       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88052       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=   8974.478     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     2096 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.006       -.14008E-06** at limit **
   2  Prefactor     25.164        12.694        .96698E-07    .99918E-05
   3  norm          1.2920        4.8048        .23192E-05   -.23627E-03
   4  Prefactor     .10000E-03    3.5833        .28122E-06** at limit **
   5  Prefactor     45.977        41.784       -.34152E-05   -.34183E-03
   6  norm          7.2932        6.9921        .19491E-05   -.65829E-03
   7  Prefactor     20.211        22.182       -.32351E-06   -.64876E-04
   8  norm          2.4134        2.9252       -.40556E-07   -.21974E-03
   9  Prefactor     39.408        21.381        .42524E-06    .10838E-03
  10  norm          9.4897        8.1089        .13150E-05   -.45881E-03
  11  Prefactor     4.8592        11.610        .86589E-08   -.97331E-05
  12  Prefactor     .10000E-03    4.9074        .98034E-07** at limit **
  13  norm          .10000E-03    18.723        .29056E-06** at limit **
  14  Prefactor     .10000E-03    3.6796        .16351E-06** at limit **
  15  Prefactor     .10000E-03    10.969       -.20855E-06** at limit **
  16  Prefactor     232.94        75.717        .27814E-05    .45843E-03
  17  Prefactor     .10000E-03    12.985        .69715E-06** at limit **
  18  Prefactor     .10000E-03    3.4885       -.18639E-07** at limit **
  19  Normalizat    1.1427        .22308       -.12451E-05    .96086E-05
  20  Prefactor     .88057        .89401E-01   -.33503E-07   -.39250E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 25.164
  norm       = 1.29203
  Prefactor  = 0.0001
  Prefactor  = 45.9767
  norm       = 7.29316
  Prefactor  = 20.2108
  norm       = 2.41343
  Prefactor  = 39.4078
  norm       = 9.4897
  Prefactor  = 4.85924
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 232.938
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14269
  Prefactor  = 0.880569
 **********
 **   18 **HESSE 
 **********

 FCN=   8974.478     FROM HESSE     STATUS=OK           287 CALLS     2383 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.164        12.686        .79856E-04   -1.4704    
   3  norm          1.2920        4.8366        .37947E-03   -1.5481    
   4  Prefactor     .10000E-03    3.6741        .17524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     45.977        42.964        .59123E-04   -1.4351    
   6  norm          7.2932        7.1230        .74262E-03   -1.5168    
   7  Prefactor     20.211        22.205        .89089E-04   -1.4809    
   8  norm          2.4134        2.9151        .16571E-03   -1.5397    
   9  Prefactor     39.408        21.404        .63852E-04   -1.4452    
  10  norm          9.4897        8.1803        .65045E-03   -1.5092    
  11  Prefactor     4.8592        11.594        .18251E-03   -1.5267    
  12  Prefactor     .10000E-03    4.9088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    19.446        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7476        .17823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     232.94        78.890        .13260E-03   -1.2644    
  17  Prefactor     .10000E-03    12.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.4999        .17279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1427        .26454        .36307E-03   -.88393    
  20  Prefactor     .88057        .10652        .17008E-03   -.96823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62863e-09
Minuit parameter uncertainties:
  1  2.97834e-05
  2  12.6869
  3  4.83803
  4  2.57706e-05
  5  42.9925
  6  7.12383
  7  22.2136
  8  2.91525
  9  21.4084
  10  8.18131
  11  11.5998
  12  7.22332e-06
  13  6.22884e-05
  14  8.57618e-05
  15  2.94515e-05
  16  78.9261
  17  4.43178e-05
  18  3.13904e-06
  19  0.264844
  20  0.106545
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  7.223e-06  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:  8.806e-01  1.065e-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.143e+00  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/411417/likelihoodResults_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.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) = 8974.47935752
delta logL = -0.000966561832684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8974.47839081
delta logL = 1.48993422044e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10360E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8631       1.0000          .0000       10.000    
     3 'Normalizat'    1.1427       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88058       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8974.478     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10154E-03    28.895        .18142E-02** at limit **
   2  Index         1.8011        5.6665        .50000        .47979E-04
   3  Normalizat    1.1427        .12573E-01    .36307E-03    .14379E-03
   4  Prefactor     .88057        .52780E-02    .17008E-03   -.34893E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101541
  Index      = 1.80114
  Normalizat = 1.14269
  Prefactor  = 0.880567
 **********
 **   18 **HESSE 
 **********

 FCN=   8974.478     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10154E-03    130.72        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8011        5.4226        .50000       -.69420    
   3  Normalizat    1.1427        .27313E-01    .14523E-04   -.88393    
   4  Prefactor     .88057        .11465E-01    .34015E-04   -.96823    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.37648e-08
Minuit parameter uncertainties:
  1  0.0284436
  2  216.522
  3  0.0273135
  4  0.0114653
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/411417': 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) = 8974.47838972
delta logL = 1.24332837004e-06

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.015e-04  2.844e-02  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.801e+00  2.165e+02  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:  8.806e-01  1.147e-02  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.143e+00  2.731e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/411417/cmap_HighResolution_337824001_338083201_4FGL_J1424.1-1750_daily_bin380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.52e-08', time_completed='2021-09-09 13:31:34.635336', job_id='411417', GAL2='0.88', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631219494.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.24e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='380' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:31:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 411417: <4FGL_J1424.1-1750_daily_bin380> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin380 216.029 -17.8447 337824001 338083201 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 :                                   725.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            917 sec.

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

