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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin18
RA = 216.029, Dec = -17.8447
tmin = 243993601, tmax = 244252801
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='407336', job_status='RUN', time_executed='2021-09-09 13:04:11.280703', time_epoch_executed='1631217851.28' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='18'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407336

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407336/ft1_4FGL_J1424.1-1750_daily_bin18.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407336/ft2_4FGL_J1424.1-1750_daily_bin18.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407336/ft1_4FGL_J1424.1-1750_daily_bin18.fits outfile=/scratch/kocevski/407336/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin18.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=243993601.0 tmax=244252801.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 1.43
user 1.21
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/407336/ft2_4FGL_J1424.1-1750_daily_bin18.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/407336/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin18.fits evtable="EVENTS" outfile="/scratch/kocevski/407336/ft1_filtered_4FGL_J1424.1-1750_daily_bin18.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407336/ft1_filtered_4FGL_J1424.1-1750_daily_bin18.fits" evtable="EVENTS" scfile=/scratch/kocevski/407336/ft2_4FGL_J1424.1-1750_daily_bin18.fits sctable="SC_DATA" outfile=/scratch/kocevski/407336/ltcube_243993601_244252801_4FGL_J1424.1-1750_daily_bin18.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/407336/ft2_4FGL_J1424.1-1750_daily_bin18.fits
.....................!
real 12.54
user 12.10
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407336/ft1_filtered_4FGL_J1424.1-1750_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/407336/ft2_4FGL_J1424.1-1750_daily_bin18.fits sctable="SC_DATA" expcube=/scratch/kocevski/407336/ltcube_243993601_244252801_4FGL_J1424.1-1750_daily_bin18.fits outfile=/scratch/kocevski/407336/expmap_243993601_244252801_4FGL_J1424.1-1750_daily_bin18.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/407336/ltcube_243993601_244252801_4FGL_J1424.1-1750_daily_bin18.fits
.....................!
real 191.66
user 186.21
sys 4.85

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/407336/ft1_filtered_4FGL_J1424.1-1750_daily_bin18.fits scfile=/scratch/kocevski/407336/ft2_4FGL_J1424.1-1750_daily_bin18.fits outfile=/scratch/kocevski/407336/cmap_243993601_244252801_4FGL_J1424.1-1750_daily_bin18.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.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407336/ft1_filtered_4FGL_J1424.1-1750_daily_bin18.fits scfile=/scratch/kocevski/407336/ft2_4FGL_J1424.1-1750_daily_bin18.fits outfile=/scratch/kocevski/407336/cmap_HighResolution_243993601_244252801_4FGL_J1424.1-1750_daily_bin18.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.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/407336/ft1_filtered_4FGL_J1424.1-1750_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/407336/ft2_4FGL_J1424.1-1750_daily_bin18.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/407336/Model_4FGL_J1424.1-1750_daily_bin18.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/407336/ft1_filtered_4FGL_J1424.1-1750_daily_bin18.fits.....................!
real 78.86
user 77.12
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.712       1.0000         .10000E-03   10000.    
     3 'norm      '    5.7906       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9417       1.0000         .10000E-03   10000.    
     5 'Prefactor '    104.74       1.0000         .10000E-03   10000.    
     6 'norm      '    23.068       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .66787       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.3352       1.0000         .10000E-03   10000.    
    13 'norm      '    .13801E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7241       1.0000         .10000E-03   10000.    
    15 'Prefactor '    48.140       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4567       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94464       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=   9944.506     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     2044 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.717       -.54521E-06** at limit **
   2  Prefactor     23.715        12.014       -.96355E-07   -.58798E-04
   3  norm          5.7905        5.4594        .19644E-06   -.94622E-06
   4  Prefactor     4.9413        5.8389        .20822E-06   -.72505E-04
   5  Prefactor     104.74        55.089       -.22885E-06   -.69069E-04
   6  norm          23.067        8.6453       -.11207E-06   -.13908E-03
   7  Prefactor     .10000E-03    16.030        .28599E-06** at limit **
   8  norm          .66823        1.6801        .12438E-05    .54189E-03
   9  Prefactor     .10000E-03    10.964        .93159E-08** at limit **
  10  norm          .10000E-03    3.2434       -.35571E-07** at limit **
  11  Prefactor     .10000E-03    5.3094        .98565E-08** at limit **
  12  Prefactor     9.3423        22.297        .49674E-06   -.25844E-05
  13  norm          .10006E-03    9.7543        .22282E-05** at limit **
  14  Prefactor     1.7248        3.3614        .63957E-06    .55827E-04
  15  Prefactor     48.126        51.257       -.87999E-06   -.20805E-03
  16  Prefactor     .10000E-03    21.466       -.23266E-06** at limit **
  17  Prefactor     .10000E-03    38.385       -.17301E-06** at limit **
  18  Prefactor     .10000E-03    4.6643       -.81948E-07** at limit **
  19  Normalizat    1.4567        .23109       -.37535E-06   -.22569E-03
  20  Prefactor     .94465        .92785E-01   -.13010E-06   -.40449E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 23.7147
  norm       = 5.79052
  Prefactor  = 4.94134
  Prefactor  = 104.737
  norm       = 23.0673
  Prefactor  = 0.0001
  norm       = 0.668229
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.34229
  norm       = 0.000100061
  Prefactor  = 1.7248
  Prefactor  = 48.1259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.45669
  Prefactor  = 0.944646
 **********
 **   18 **HESSE 
 **********

 FCN=   9944.506     FROM HESSE     STATUS=OK           287 CALLS     2331 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.715        12.001        .82260E-04   -1.4734    
   3  norm          5.7905        5.4559        .16690E-03   -1.5227    
   4  Prefactor     4.9413        5.8446        .18092E-03   -1.5263    
   5  Prefactor     104.74        55.087        .39291E-04   -1.3658    
   6  norm          23.067        8.6404        .83399E-04   -1.4747    
   7  Prefactor     .10000E-03    16.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .66823        1.7258        .20732E-03   -1.5544    
   9  Prefactor     .10000E-03    11.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.2708        .17537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.3136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.3423        22.001        .13117E-03   -1.5097    
  13  norm          .10006E-03    24.389        .46955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7248        3.3326        .24741E-03   -1.5445    
  15  Prefactor     48.126        51.697        .57794E-04   -1.4319    
  16  Prefactor     .10000E-03    21.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    38.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.6784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4567        .27446        .36671E-03   -.79003    
  20  Prefactor     .94465        .11058        .18259E-03   -.94598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88832e-09
Minuit parameter uncertainties:
  1  0.000190795
  2  12.0022
  3  5.45639
  4  5.84529
  5  55.1137
  6  8.64088
  7  0.000109004
  8  1.72595
  9  6.17322e-07
  10  5.67519e-06
  11  1.3339e-07
  12  22.0205
  13  0.00243605
  14  3.33297
  15  51.7454
  16  0.000111468
  17  0.000128777
  18  2.19861e-06
  19  0.274737
  20  0.110609
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  9.342e+00  2.202e+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:  9.446e-01  1.106e-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.457e+00  2.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/407336/likelihoodResults_243993601_244252801_4FGL_J1424.1-1750_daily_bin18.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) = 9943.39050943
delta logL = 1.11529680861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9943.3530888
delta logL = 1.15271744317

Fit tolerance = 1e-08

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

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

 FCN=   9943.353     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      363 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51612E-01    .45905        .34395E-02    .47135E-02
   2  Index         4.2395        1.3880        .66717E-01    .37876E-03
   3  Normalizat    1.3300        .54395E-01    .86064E-01   -.70738E-04
   4  Prefactor     .97658        .22478E-01    .45973E-01   -.19770E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0516123
  Index      = 4.23948
  Normalizat = 1.33003
  Prefactor  = 0.976577
 **********
 **   18 **HESSE 
 **********

 FCN=   9943.353     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      396 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51612E-01    1.2085        .15739E-03   -1.5663    
   2  Index         4.2395        2.6939        .33064E-02   -.15270    
   3  Normalizat    1.3300        .19775        .38107E-03   -.82674    
   4  Prefactor     .97658        .80619E-01    .17989E-03   -.93514    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11355e-07
Minuit parameter uncertainties:
  1  0.499014
  2  2.84908
  3  0.197862
  4  0.0806289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407336': 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) = 9943.35308504
delta logL = 1.15272119854

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  5.161e-02  4.990e-01  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  4.239e+00  2.849e+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:  9.766e-01  8.063e-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.330e+00  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.69
Ra Dec: 216.029 -17.845
Photon Index (Free Index): 4.24 +/- 2.85
Photon Flux (Free Index): 1.04e-07 +/- 6.94e-08
Energy Flux (Free Index): 1.50e-05 +/- 1.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/407336/cmap_HighResolution_243993601_244252801_4FGL_J1424.1-1750_daily_bin18.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.02e-03', comment='SUCCESS', energy_flux2='1.50e-05', dlogl='1.15e+00', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-09-09 13:17:00.673183', photon_index_error2='2.85', photon_index2='4.24', ts='0.21', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='8.09e-08', energy_flux_error2='1.15e-05', EG='1.46', time_epoch_completed='1631218620.67', return_code='0', job_id='407336', GAL2='0.98', EG2='1.33', return_code2='102', photon_flux_error2='6.94e-08', ts2='2.69', photon_index='1.90' WHERE bin_id='18' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:17:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 407336: <4FGL_J1424.1-1750_daily_bin18> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin18> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 13:01:28 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:01:29 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:01:29 2021
Terminated at Thu Sep  9 13:17:01 2021
Results reported at Thu Sep  9 13:17:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin18 216.029 -17.8447 243993601 244252801 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 :                                   767.32 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             319.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            933 sec.

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

