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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin470
RA = 216.029, Dec = -17.8447
tmin = 361152001, tmax = 361411201
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='411558', job_status='RUN', time_executed='2021-09-09 13:20:00.445320', time_epoch_executed='1631218800.45' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='470'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/411558

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/411558/ft1_4FGL_J1424.1-1750_daily_bin470.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/411558/ft2_4FGL_J1424.1-1750_daily_bin470.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/411558/ft1_4FGL_J1424.1-1750_daily_bin470.fits outfile=/scratch/kocevski/411558/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin470.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=361152001.0 tmax=361411201.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.73
user 3.41
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/411558/ft1_filtered_4FGL_J1424.1-1750_daily_bin470.fits" evtable="EVENTS" scfile=/scratch/kocevski/411558/ft2_4FGL_J1424.1-1750_daily_bin470.fits sctable="SC_DATA" outfile=/scratch/kocevski/411558/ltcube_361152001_361411201_4FGL_J1424.1-1750_daily_bin470.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/411558/ft2_4FGL_J1424.1-1750_daily_bin470.fits
.....................!
real 11.91
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/411558/ft1_filtered_4FGL_J1424.1-1750_daily_bin470.fits evtable="EVENTS" scfile=/scratch/kocevski/411558/ft2_4FGL_J1424.1-1750_daily_bin470.fits sctable="SC_DATA" expcube=/scratch/kocevski/411558/ltcube_361152001_361411201_4FGL_J1424.1-1750_daily_bin470.fits outfile=/scratch/kocevski/411558/expmap_361152001_361411201_4FGL_J1424.1-1750_daily_bin470.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/411558/ltcube_361152001_361411201_4FGL_J1424.1-1750_daily_bin470.fits
.....................!
real 190.12
user 185.13
sys 4.60

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/411558/ft1_filtered_4FGL_J1424.1-1750_daily_bin470.fits scfile=/scratch/kocevski/411558/ft2_4FGL_J1424.1-1750_daily_bin470.fits outfile=/scratch/kocevski/411558/cmap_361152001_361411201_4FGL_J1424.1-1750_daily_bin470.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/411558/ft1_filtered_4FGL_J1424.1-1750_daily_bin470.fits scfile=/scratch/kocevski/411558/ft2_4FGL_J1424.1-1750_daily_bin470.fits outfile=/scratch/kocevski/411558/cmap_HighResolution_361152001_361411201_4FGL_J1424.1-1750_daily_bin470.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/411558/ft1_filtered_4FGL_J1424.1-1750_daily_bin470.fits evtable="EVENTS" scfile=/scratch/kocevski/411558/ft2_4FGL_J1424.1-1750_daily_bin470.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/411558/Model_4FGL_J1424.1-1750_daily_bin470.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/411558/ft1_filtered_4FGL_J1424.1-1750_daily_bin470.fits.....................!
real 76.58
user 75.25
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.155       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .87688       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.011       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .96573       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .39143       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1957       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .83360       1.0000         .10000E-03   10000.    
    13 'norm      '    13.747       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.9274       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.358       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3473       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .75976       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=   9620.261     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2057 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.164        13.669       -.24501E-07   -.36893E-05
   2  Prefactor     .10000E-03    9.8960        .23059E-06** at limit **
   3  norm          .87588        3.5022        .14866E-05   -.71529E-03
   4  Prefactor     10.007        5.6236       -.70546E-06   -.82194E-03
   5  Prefactor     .10001E-03    38.675        .48285E-05** at limit **
   6  norm          .96950        4.1966        .17235E-05   -.52723E-03
   7  Prefactor     .10000E-03    32.199       -.37026E-05** at limit **
   8  norm          .39108        1.0732        .32026E-06   -.62513E-03
   9  Prefactor     .10000E-03    6.5494       -.74405E-07** at limit **
  10  norm          .10000E-03    4.1697       -.11169E-06** at limit **
  11  Prefactor     4.1917        20.418        .13242E-05    .20823E-04
  12  Prefactor     1.0881        17.254        .22097E-05   -.27836E-03
  13  norm          13.730        10.429       -.12391E-05   -.74077E-03
  14  Prefactor     .10000E-03    1.9258       -.11105E-07** at limit **
  15  Prefactor     .10000E-03    35.069       -.80280E-06** at limit **
  16  Prefactor     9.9295        23.613        .11923E-05    .75140E-04
  17  Prefactor     19.360        21.587        .12890E-05    .16870E-03
  18  Prefactor     .10000E-03    4.5603        .21562E-07** at limit **
  19  Normalizat    1.3473        .19406       -.50699E-06   -.15106E-03
  20  Prefactor     .75971        .78565E-01    .10238E-06   -.22603E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1642
  Prefactor  = 0.0001
  norm       = 0.87588
  Prefactor  = 10.0067
  Prefactor  = 0.000100008
  norm       = 0.969499
  Prefactor  = 0.000100004
  norm       = 0.391075
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.19167
  Prefactor  = 1.08807
  norm       = 13.7304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.92949
  Prefactor  = 19.3605
  Prefactor  = 0.0001
  Normalizat = 1.3473
  Prefactor  = 0.759706
 **********
 **   18 **HESSE 
 **********

 FCN=   9620.261     FROM HESSE     STATUS=OK           293 CALLS     2350 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.164        13.642        .96698E-04   -1.4879    
   2  Prefactor     .10000E-03    10.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .87588        4.2986        .38115E-03   -1.5521    
   4  Prefactor     10.007        5.6236        .12664E-03   -1.5075    
   5  Prefactor     .10001E-03    40.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .96950        4.5397        .39385E-03   -1.5511    
   7  Prefactor     .10000E-03    33.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .39108        1.0601        .16470E-03   -1.5583    
   9  Prefactor     .10000E-03    6.5757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.2157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1917        20.350        .19675E-03   -1.5298    
  12  Prefactor     1.0881        106.56        .72923E-02   -1.5499    
  13  norm          13.730        10.678        .10803E-03   -1.4967    
  14  Prefactor     .10000E-03    1.9407        .13226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    35.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9295        23.537        .12718E-03   -1.5078    
  17  Prefactor     19.360        21.710        .91034E-04   -1.4828    
  18  Prefactor     .10000E-03    4.5970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3473        .23121        .31088E-03   -.82165    
  20  Prefactor     .75971        .93961E-01    .16756E-03   -1.0123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10512e-09
Minuit parameter uncertainties:
  1  13.6449
  2  1.48909e-05
  3  3.88097
  4  5.6239
  5  0.00111844
  6  4.19613
  7  0.000760625
  8  1.06013
  9  7.34082e-06
  10  1.42314e-05
  11  18.4814
  12  21.5744
  13  10.6792
  14  1.17155e-05
  15  0.000175633
  16  23.5592
  17  21.7184
  18  5.55491e-08
  19  0.231385
  20  0.0939811
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.088e+00  2.157e+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:  7.597e-01  9.398e-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.347e+00  2.314e-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: 6.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/411558/likelihoodResults_361152001_361411201_4FGL_J1424.1-1750_daily_bin470.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) = 9618.92054844
delta logL = 1.34030225983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9618.91414084
delta logL = 1.34670986363

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2011       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2147       1.0000          .0000       10.000    
     3 'Normalizat'    1.2641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77402       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=   9618.914     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      240 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2027        11.887        .10353E-01    .96915E-03
   2  Index         3.2142        1.5834        .71090E-01    .36537E-03
   3  Normalizat    1.2641        .52953E-01    .72116E-01    .76424E-04
   4  Prefactor     .77403        .21887E-01    .43378E-01   -.42908E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.2027
  Index      = 3.21425
  Normalizat = 1.26411
  Prefactor  = 0.774029
 **********
 **   18 **HESSE 
 **********

 FCN=   9618.914     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2027        26.918        .70531E-04   -1.5489    
   2  Index         3.2142        2.7757        .35343E-02   -.36521    
   3  Normalizat    1.2641        .21060        .31912E-03   -.84644    
   4  Prefactor     .77403        .86605E-01    .16597E-03   -1.0069    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00158e-06
Minuit parameter uncertainties:
  1  11.3849
  2  2.97235
  3  0.210739
  4  0.0866201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/411558': 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) = 9618.91414066
delta logL = 1.34671003977

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.203e+00  1.138e+01  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  3.214e+00  2.972e+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:  7.740e-01  8.662e-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.264e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.79
Ra Dec: 216.029 -17.845
Photon Index (Free Index): 3.21 +/- 2.97
Photon Flux (Free Index): 7.98e-08 +/- 5.65e-08
Energy Flux (Free Index): 1.45e-05 +/- 1.62e-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/411558/cmap_HighResolution_361152001_361411201_4FGL_J1424.1-1750_daily_bin470.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.05e-03', comment='SUCCESS', energy_flux2='1.45e-05', dlogl='1.35e+00', photon_flux2='7.98e-08', job_status='DONE', time_completed='2021-09-09 13:32:39.966857', photon_index_error2='2.97', photon_index2='3.21', ts='0.00', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='6.79e-08', energy_flux_error2='1.62e-05', EG='1.35', time_epoch_completed='1631219559.97', return_code='0', job_id='411558', GAL2='0.77', EG2='1.26', return_code2='102', photon_flux_error2='5.65e-08', ts2='2.79', photon_index='1.90' WHERE bin_id='470' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:32:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 411558: <4FGL_J1424.1-1750_daily_bin470> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin470 216.029 -17.8447 361152001 361411201 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 :                                   758.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            970 sec.

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

