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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin23
RA = 216.029, Dec = -17.8447
tmin = 245289601, tmax = 245548801
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='407343', job_status='RUN', time_executed='2021-09-09 13:01:45.096691', time_epoch_executed='1631217705.1' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='23'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407343

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407343/ft1_4FGL_J1424.1-1750_daily_bin23.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407343/ft2_4FGL_J1424.1-1750_daily_bin23.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407343/ft1_4FGL_J1424.1-1750_daily_bin23.fits outfile=/scratch/kocevski/407343/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin23.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=245289601.0 tmax=245548801.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.66
user 1.33
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407343/ft1_filtered_4FGL_J1424.1-1750_daily_bin23.fits" evtable="EVENTS" scfile=/scratch/kocevski/407343/ft2_4FGL_J1424.1-1750_daily_bin23.fits sctable="SC_DATA" outfile=/scratch/kocevski/407343/ltcube_245289601_245548801_4FGL_J1424.1-1750_daily_bin23.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/407343/ft2_4FGL_J1424.1-1750_daily_bin23.fits
.....................!
real 17.32
user 16.73
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407343/ft1_filtered_4FGL_J1424.1-1750_daily_bin23.fits evtable="EVENTS" scfile=/scratch/kocevski/407343/ft2_4FGL_J1424.1-1750_daily_bin23.fits sctable="SC_DATA" expcube=/scratch/kocevski/407343/ltcube_245289601_245548801_4FGL_J1424.1-1750_daily_bin23.fits outfile=/scratch/kocevski/407343/expmap_245289601_245548801_4FGL_J1424.1-1750_daily_bin23.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/407343/ltcube_245289601_245548801_4FGL_J1424.1-1750_daily_bin23.fits
.....................!
real 193.18
user 186.08
sys 5.48

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/407343/ft1_filtered_4FGL_J1424.1-1750_daily_bin23.fits scfile=/scratch/kocevski/407343/ft2_4FGL_J1424.1-1750_daily_bin23.fits outfile=/scratch/kocevski/407343/cmap_245289601_245548801_4FGL_J1424.1-1750_daily_bin23.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.66
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407343/ft1_filtered_4FGL_J1424.1-1750_daily_bin23.fits scfile=/scratch/kocevski/407343/ft2_4FGL_J1424.1-1750_daily_bin23.fits outfile=/scratch/kocevski/407343/cmap_HighResolution_245289601_245548801_4FGL_J1424.1-1750_daily_bin23.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.63
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/407343/ft1_filtered_4FGL_J1424.1-1750_daily_bin23.fits evtable="EVENTS" scfile=/scratch/kocevski/407343/ft2_4FGL_J1424.1-1750_daily_bin23.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/407343/Model_4FGL_J1424.1-1750_daily_bin23.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/407343/ft1_filtered_4FGL_J1424.1-1750_daily_bin23.fits.....................!
real 87.75
user 86.01
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9116       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    13.088       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1817       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.0316       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.2983       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .17310       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.279       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7350       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .65444E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15282E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.9923       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11163E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0402       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0634       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=   11679.38     FROM MIGRAD    STATUS=CONVERGED    760 CALLS     2171 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9123        9.1013        .13427E-03   -.17443E-04
   2  Prefactor     .10000E-03    6.9164        .18142E-02** at limit **
   3  norm          13.088        5.3739        .11072E-03    .13718E-03
   4  Prefactor     9.1819        5.3239        .13227E-03   -.26130E-04
   5  Prefactor     .10000E-03    62.376        .18142E-02** at limit **
   6  norm          9.0315        6.8424        .13337E-03   -.43986E-04
   7  Prefactor     .10000E-03    56.012        .18142E-02** at limit **
   8  norm          5.2982        2.8554        .62214E-03   -.77399E-03
   9  Prefactor     .10000E-03    5.7148        .18142E-02** at limit **
  10  norm          .17734        32.927        .37344E-02   -.36927E-03
  11  Prefactor     33.278        19.676        .69462E-04   -.12701E-03
  12  Prefactor     .10000E-03    9.6284        .18142E-02** at limit **
  13  norm          .10000E-03    3.0150        .18142E-02** at limit **
  14  Prefactor     3.7149        4.0574        .10447E-02    .50531E-03
  15  Prefactor     .10020E-03    19.119        .16005    ** at limit **
  16  Prefactor     .10000E-03    157.99        .18142E-02** at limit **
  17  Prefactor     3.9470        69.868        .20185E-03    .16446E-04
  18  Prefactor     .10001E-03    16.435        .38878E-02** at limit **
  19  Normalizat    1.0403        .24748        .40500E-03   -.17067E-04
  20  Prefactor     1.0633        .10137        .17042E-03    .19183E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.91231
  Prefactor  = 0.0001
  norm       = 13.0885
  Prefactor  = 9.18186
  Prefactor  = 0.0001
  norm       = 9.03152
  Prefactor  = 0.0001
  norm       = 5.29821
  Prefactor  = 0.0001
  norm       = 0.177342
  Prefactor  = 33.2782
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.71493
  Prefactor  = 0.000100199
  Prefactor  = 0.0001
  Prefactor  = 3.94695
  Prefactor  = 0.000100008
  Normalizat = 1.04031
  Prefactor  = 1.06335
 **********
 **   18 **HESSE 
 **********

 FCN=   11679.38     FROM HESSE     STATUS=OK           285 CALLS     2456 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9123        9.1000        .53706E-05   -1.5111    
   2  Prefactor     .10000E-03    6.9199        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          13.088        5.3736        .44288E-05   -1.4984    
   4  Prefactor     9.1819        5.3232        .52906E-05   -1.5102    
   5  Prefactor     .10000E-03    62.390        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.0315        6.8418        .53346E-05   -1.5107    
   7  Prefactor     .10000E-03    56.024        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.2982        2.8386        .24886E-04   -1.5248    
   9  Prefactor     .10000E-03    5.7151        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .17734        33.347        .14937E-03   -1.5624    
  11  Prefactor     33.278        19.628        .27785E-05   -1.4554    
  12  Prefactor     .10000E-03    9.6300        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.0156        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7149        4.0538        .20893E-03   -1.5322    
  15  Prefactor     .10020E-03    19.100        .16019       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    158.00        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.9470        69.753        .80740E-05   -1.5311    
  18  Prefactor     .10001E-03    16.638        .77755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0403        .24739        .16200E-04   -.91692    
  20  Prefactor     1.0633        .10143        .34085E-04   -.90647    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40541e-09
Minuit parameter uncertainties:
  1  9.10144
  2  2.45448e-06
  3  5.37377
  4  5.3235
  5  0.000316537
  6  6.84235
  7  0.000283979
  8  2.83871
  9  3.9756e-07
  10  4.86504
  11  19.6314
  12  3.74987e-06
  13  5.52615e-06
  14  4.05409
  15  0.00389621
  16  0.000467481
  17  33.2298
  18  0.000715944
  19  0.247663
  20  0.101453
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  3.750e-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:  1.063e+00  1.015e-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.040e+00  2.477e-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: 4.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/407343/likelihoodResults_245289601_245548801_4FGL_J1424.1-1750_daily_bin23.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) = 11679.3769293
delta logL = -0.000494971942317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11679.3764343
delta logL = 6.94853952155e-08

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 'Index     '    1.8813       1.0000          .0000       10.000    
     3 'Normalizat'    1.0403       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   11679.38     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      210 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2524        .90712E-02** at limit **
   2  Index         1.8634        7.9318        .50000        .13473E-04
   3  Normalizat    1.0403        .29948E-02    .91439E-01    .38527E-04
   4  Prefactor     1.0633        .12786E-02    .39184E-01   -.40079E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.86336
  Normalizat = 1.04031
  Prefactor  = 1.06335
 **********
 **   18 **HESSE 
 **********

 FCN=   11679.38     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      243 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8634        6.1602        .50000       -.67812    
   3  Normalizat    1.0403        .88523E-02    .40499E-03   -.91692    
   4  Prefactor     1.0633        .37888E-02    .17042E-03   -.90647    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.14096e-08
Minuit parameter uncertainties:
  1  6.35427e-05
  2  57.8843
  3  0.00885232
  4  0.00378879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407343': 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) = 11679.3764342
delta logL = 1.34356014314e-07

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  6.354e-05  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.863e+00  5.788e+01  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.063e+00  3.789e-03  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.040e+00  8.852e-03  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/407343/cmap_HighResolution_245289601_245548801_4FGL_J1424.1-1750_daily_bin23.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.12e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2021-09-09 13:16:05.098269', job_id='407343', GAL2='1.06', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631218565.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.34e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='23' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:16:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 407343: <4FGL_J1424.1-1750_daily_bin23> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin23> 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) <bullet0153>, 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:16:05 2021
Results reported at Thu Sep  9 13:16:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin23 216.029 -17.8447 245289601 245548801 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 :                                   855.28 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             317.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            877 sec.

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

