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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin570
RA = 216.029, Dec = -17.8447
tmin = 387072001, tmax = 387331201
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='412954', job_status='RUN', time_executed='2021-09-09 13:21:32.801725', time_epoch_executed='1631218892.8' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='570'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412954

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412954/ft1_4FGL_J1424.1-1750_daily_bin570.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412954/ft2_4FGL_J1424.1-1750_daily_bin570.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412954/ft1_4FGL_J1424.1-1750_daily_bin570.fits outfile=/scratch/kocevski/412954/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin570.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=387072001.0 tmax=387331201.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.42
user 3.17
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/412954/ft2_4FGL_J1424.1-1750_daily_bin570.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/412954/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin570.fits evtable="EVENTS" outfile="/scratch/kocevski/412954/ft1_filtered_4FGL_J1424.1-1750_daily_bin570.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.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412954/ft1_filtered_4FGL_J1424.1-1750_daily_bin570.fits" evtable="EVENTS" scfile=/scratch/kocevski/412954/ft2_4FGL_J1424.1-1750_daily_bin570.fits sctable="SC_DATA" outfile=/scratch/kocevski/412954/ltcube_387072001_387331201_4FGL_J1424.1-1750_daily_bin570.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/412954/ft2_4FGL_J1424.1-1750_daily_bin570.fits
.....................!
real 15.88
user 15.27
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412954/ft1_filtered_4FGL_J1424.1-1750_daily_bin570.fits evtable="EVENTS" scfile=/scratch/kocevski/412954/ft2_4FGL_J1424.1-1750_daily_bin570.fits sctable="SC_DATA" expcube=/scratch/kocevski/412954/ltcube_387072001_387331201_4FGL_J1424.1-1750_daily_bin570.fits outfile=/scratch/kocevski/412954/expmap_387072001_387331201_4FGL_J1424.1-1750_daily_bin570.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/412954/ltcube_387072001_387331201_4FGL_J1424.1-1750_daily_bin570.fits
.....................!
real 191.55
user 185.88
sys 5.26

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/412954/ft1_filtered_4FGL_J1424.1-1750_daily_bin570.fits scfile=/scratch/kocevski/412954/ft2_4FGL_J1424.1-1750_daily_bin570.fits outfile=/scratch/kocevski/412954/cmap_387072001_387331201_4FGL_J1424.1-1750_daily_bin570.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/412954/ft1_filtered_4FGL_J1424.1-1750_daily_bin570.fits scfile=/scratch/kocevski/412954/ft2_4FGL_J1424.1-1750_daily_bin570.fits outfile=/scratch/kocevski/412954/cmap_HighResolution_387072001_387331201_4FGL_J1424.1-1750_daily_bin570.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/412954/ft1_filtered_4FGL_J1424.1-1750_daily_bin570.fits evtable="EVENTS" scfile=/scratch/kocevski/412954/ft2_4FGL_J1424.1-1750_daily_bin570.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/412954/Model_4FGL_J1424.1-1750_daily_bin570.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/412954/ft1_filtered_4FGL_J1424.1-1750_daily_bin570.fits.....................!
real 51.18
user 49.42
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1460       1.0000         .10000E-03   10000.    
     3 'norm      '    .35543E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1773       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5804       1.0000         .10000E-03   10000.    
     8 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.495       1.0000         .10000E-03   10000.    
    10 'norm      '    8.5092       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.5468       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.7392       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.572       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20379E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    66.111       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.292       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1212       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92524       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=   5987.758     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     2141 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.838       -.45351E-06** at limit **
   2  Prefactor     4.1482        12.586        .47254E-05   -.21571E-03
   3  norm          .10693E-03    4.9746        .21797E-05** at limit **
   4  Prefactor     5.1755        6.7825       -.17218E-05   -.43179E-03
   5  Prefactor     .10000E-03    42.696        .15959E-04** at limit **
   6  norm          .10000E-03    7.0982        .71467E-06** at limit **
   7  Prefactor     8.6973        133.02        .25946E-03    .15511E-04
   8  norm          .10000E-03    1.8891        .64479E-06** at limit **
   9  Prefactor     13.437        30.325        .87473E-05   -.12306E-03
  10  norm          8.5118        10.174       -.63879E-05   -.15465E-03
  11  Prefactor     9.5507        25.460       -.50628E-05   -.23510E-04
  12  Prefactor     .10000E-03    40.242       -.16023E-04** at limit **
  13  norm          6.7404        12.139       -.21376E-05   -.55952E-04
  14  Prefactor     .10000E-03    7.1219       -.14522E-05** at limit **
  15  Prefactor     29.556        40.804       -.51602E-05   -.20750E-04
  16  Prefactor     .10018E-03    331.36       -.25002E-04** at limit **
  17  Prefactor     66.214        49.016        .43356E-04    .38312E-04
  18  Prefactor     14.283        15.277        .42095E-05   -.74667E-04
  19  Normalizat    1.1213        .27931       -.72564E-05   -.31594E-03
  20  Prefactor     .92528        .11258       -.43360E-05   -.73918E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.14816
  norm       = 0.000106934
  Prefactor  = 5.17546
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 8.69731
  norm       = 0.000100001
  Prefactor  = 13.4366
  norm       = 8.51178
  Prefactor  = 9.55067
  Prefactor  = 0.000100001
  norm       = 6.74043
  Prefactor  = 0.000100005
  Prefactor  = 29.5565
  Prefactor  = 0.000100183
  Prefactor  = 66.2136
  Prefactor  = 14.2832
  Normalizat = 1.12129
  Prefactor  = 0.925281
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.758     FROM HESSE     STATUS=OK           301 CALLS     2442 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.1482        12.554        .19796E-03   -1.5301    
   3  norm          .10693E-03    5.6558        .50149E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1755        6.8055        .17668E-03   -1.5253    
   5  Prefactor     .10000E-03    42.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.1456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.6973        131.56        .13685E-03   -1.5118    
   8  norm          .10000E-03    1.9374        .20747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.437        30.325        .10904E-03   -1.4975    
  10  norm          8.5118        10.160        .13742E-03   -1.5124    
  11  Prefactor     9.5507        25.439        .12970E-03   -1.5090    
  12  Prefactor     .10000E-03    40.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.7404        12.137        .15456E-03   -1.5189    
  14  Prefactor     .10000E-03    7.2645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.556        40.820        .73676E-04   -1.4620    
  16  Prefactor     .10018E-03    335.07        .20212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     66.214        49.012        .24680E-03   -1.4079    
  18  Prefactor     14.283        15.283        .10595E-03   -1.4952    
  19  Normalizat    1.1213        .33148        .37622E-03   -.89071    
  20  Prefactor     .92528        .13468        .16908E-03   -.95263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16546e-09
Minuit parameter uncertainties:
  1  4.23692e-05
  2  12.5616
  3  0.0125256
  4  6.80654
  5  0.000202033
  6  0.000168052
  7  67.8312
  8  7.89112e-05
  9  30.3596
  10  10.1623
  11  25.4677
  12  0.000343111
  13  12.1416
  14  0.000378169
  15  40.8587
  16  0.0157541
  17  49.0415
  18  15.2874
  19  0.332102
  20  0.134728
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  3.431e-04  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.253e-01  1.347e-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.121e+00  3.321e-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: 8.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/412954/likelihoodResults_387072001_387331201_4FGL_J1424.1-1750_daily_bin570.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) = 5987.75845563
delta logL = -0.000117235283142

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5987.75833839
delta logL = 6.9749148679e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9793       1.0000          .0000       10.000    
     3 'Normalizat'    1.1213       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92528       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=   5987.758     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      232 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.1010        .90712E-02** at limit **
   2  Index         1.9779        8.8014        .50000        .33644E-06
   3  Normalizat    1.1213        .27091E-02    .84967E-01    .19431E-04
   4  Prefactor     .92528        .11231E-02    .45326E-01    .11995E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.97795
  Normalizat = 1.1213
  Prefactor  = 0.925277
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.758     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    71.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9779        6.8897        .50000       -.64903    
   3  Normalizat    1.1213        .91996E-02    .37623E-03   -.89071    
   4  Prefactor     .92528        .38210E-02    .16908E-03   -.95263    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11663e-11
Minuit parameter uncertainties:
  1  4.26817e-05
  2  60.5909
  3  0.00919964
  4  0.00382096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412954': 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) = 5987.75833838
delta logL = 1.64654920809e-08

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  4.268e-05  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.978e+00  6.059e+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:  9.253e-01  3.821e-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.121e+00  9.200e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/412954/cmap_HighResolution_387072001_387331201_4FGL_J1424.1-1750_daily_bin570.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.14e-03', job_status='DONE', photon_flux_upper_limit='8.25e-08', time_completed='2021-09-09 13:31:18.526903', job_id='412954', GAL2='0.93', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631219478.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.65e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='570' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:31:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 412954: <4FGL_J1424.1-1750_daily_bin570> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin570 216.029 -17.8447 387072001 387331201 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 :                                   583.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             391.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   598 sec.
    Turnaround time :                            601 sec.

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

