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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin353
RA = 222.422, Dec = -21.6271
tmin = 330825601, tmax = 331084801
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='795296', job_status='RUN', time_executed='2021-09-10 10:13:44.388032', time_epoch_executed='1631294024.39' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='353'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795296

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795296/ft1_4FGL_J1449.6-2137_daily_bin353.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795296/ft1_4FGL_J1449.6-2137_daily_bin353.fits outfile=/scratch/kocevski/795296/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin353.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=330825601.0 tmax=331084801.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.38
user 3.21
sys 0.14

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.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/795296/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin353.fits evtable="EVENTS" outfile="/scratch/kocevski/795296/ft1_filtered_4FGL_J1449.6-2137_daily_bin353.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.51
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795296/ft1_filtered_4FGL_J1449.6-2137_daily_bin353.fits" evtable="EVENTS" scfile=/scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits sctable="SC_DATA" outfile=/scratch/kocevski/795296/ltcube_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.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/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits
.....................!
real 11.93
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795296/ft1_filtered_4FGL_J1449.6-2137_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits sctable="SC_DATA" expcube=/scratch/kocevski/795296/ltcube_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.fits outfile=/scratch/kocevski/795296/expmap_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.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/795296/ltcube_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.fits
.....................!
real 190.60
user 186.04
sys 4.19

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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1449.6-2137 @ 222.422 -21.6271

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/795296/ft1_filtered_4FGL_J1449.6-2137_daily_bin353.fits scfile=/scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits outfile=/scratch/kocevski/795296/cmap_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.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=222.422 yref=-21.6271 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.40
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795296/ft1_filtered_4FGL_J1449.6-2137_daily_bin353.fits scfile=/scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits outfile=/scratch/kocevski/795296/cmap_HighResolution_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.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=222.422 yref=-21.6271 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/795296/ft1_filtered_4FGL_J1449.6-2137_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795296/Model_4FGL_J1449.6-2137_daily_bin353.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/795296/ft1_filtered_4FGL_J1449.6-2137_daily_bin353.fits.....................!
real 85.11
user 83.81
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795296/ft1_filtered_4FGL_J1449.6-2137_daily_bin353.fits', '/scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits', expMap='/scratch/kocevski/795296/expmap_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.fits', expCube='/scratch/kocevski/795296/ltcube_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795296/Model_4FGL_J1449.6-2137_daily_bin353.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1449.6-2137'

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.137e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/795296/ft1_filtered_4FGL_J1449.6-2137_daily_bin353.fits
Spacecraft file(s): /scratch/kocevski/795296/ft2_4FGL_J1449.6-2137_daily_bin353.fits
Exposure map: /scratch/kocevski/795296/expmap_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.fits
Exposure cube: /scratch/kocevski/795296/ltcube_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795296/Model_4FGL_J1449.6-2137_daily_bin353.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) = 8873.21765191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    21.487       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12369E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16929E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.957       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .27699E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.533       1.0000         .10000E-03   10000.    
    12 'Prefactor '    91.717       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8419       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.7779       1.0000         .10000E-03   10000.    
    15 'norm      '    .91909       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.339       1.0000         .10000E-03   10000.    
    17 'norm      '    5.0659       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2408       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98036       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8873.199     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     1926 TOTAL
                     EDM=   .50E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.131        .21249E-06** at limit **
   2  Prefactor     .10000E-03    11.980        .49748E-06** at limit **
   3  Prefactor     .10000E-03    8.7433        .41531E-06** at limit **
   4  Prefactor     .10000E-03    21.554        .43824E-06** at limit **
   5  Prefactor     .10000E-03    20.245        .60475E-06** at limit **
   6  norm          21.478        16.149        .13809E-06    .32264E-04
   7  Prefactor     .10000E-03    45.711        .51677E-05** at limit **
   8  Prefactor     .60841E-01    69.814        .38297E-05    .12688E-06
   9  Prefactor     23.965        40.711        .49441E-07    .36001E-05
  10  Prefactor     .10000E-03    294.20       -.97833E-05** at limit **
  11  Prefactor     14.399        55.468       -.33044E-06   -.11377E-05
  12  Prefactor     91.791        110.65        .44656E-07   -.64805E-05
  13  Prefactor     5.8432        12.100        .22528E-06   -.43142E-06
  14  Prefactor     5.7805        11.099        .15605E-06   -.12590E-04
  15  norm          .91931        .83191        .21265E-06    .19960E-03
  16  Prefactor     11.340        11.148       -.22315E-06   -.30570E-04
  17  norm          5.0665        5.2346       -.12907E-07   -.29886E-04
  18  Normalizat    1.2409        .33232       -.29801E-05   -.77463E-06
  19  Prefactor     .98025        .11324        .44156E-06   -.84592E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.478
  Prefactor  = 0.0001
  Prefactor  = 0.0608407
  Prefactor  = 23.9653
  Prefactor  = 0.0001
  Prefactor  = 14.3989
  Prefactor  = 91.7908
  Prefactor  = 5.84322
  Prefactor  = 5.78053
  norm       = 0.919311
  Prefactor  = 11.3397
  norm       = 5.0665
  Normalizat = 1.24095
  Prefactor  = 0.980254
 **********
 **   18 **HESSE 
 **********

 FCN=   8873.199     FROM HESSE     STATUS=OK           280 CALLS     2206 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.7518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          21.478        16.151        .86409E-04   -1.4781    
   7  Prefactor     .10000E-03    45.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .60841E-01    4.1785        .57965E-01   -1.5659    
   9  Prefactor     23.965        40.702        .81839E-04   -1.4728    
  10  Prefactor     .10000E-03    296.85        .42846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.399        56.786        .10506E-03   -1.4949    
  12  Prefactor     91.791        110.58        .20980E-03   -1.3789    
  13  Prefactor     5.8432        12.091        .16616E-03   -1.5224    
  14  Prefactor     5.7805        11.065        .16709E-03   -1.5227    
  15  norm          .91931        .81699        .77564E-04   -1.5516    
  16  Prefactor     11.340        11.076        .11897E-03   -1.5034    
  17  norm          5.0665        5.1991        .17865E-03   -1.5258    
  18  Normalizat    1.2409        .33190        .43210E-03   -.85347    
  19  Prefactor     .98025        .11293        .16448E-03   -.93391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87929e-10
Minuit parameter uncertainties:
  1  5.70864e-06
  2  1.5559e-06
  3  4.12135e-06
  4  4.07726e-06
  5  5.88758e-06
  6  16.1541
  7  0.000111499
  8  1.00766
  9  40.7493
  10  5.29668e-05
  11  57.0009
  12  110.829
  13  12.096
  14  11.0693
  15  0.817001
  16  11.0777
  17  5.19959
  18  0.332466
  19  0.112961
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  5.843e+00  1.210e+01  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  9.803e-01  1.130e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.241e+00  3.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.29
Ra Dec: 222.422 -21.627
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/795296/likelihoodResults_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.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): 0
logL (Free Index) = 8873.18752039
delta logL = 0.0115666131769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8873.182562
delta logL = 0.0165250010559

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5922       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5691       1.0000          .0000       10.000    
     3 'Normalizat'    1.2359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98136       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+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=   8873.183     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      253 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5897        14.328        .18783E-03   -.26183E-03
   2  Index         2.5685        1.3533        .96726E-02   -.12550E-03
   3  Normalizat    1.2358        .31977        .43286E-03    .93921E-04
   4  Prefactor     .98135        .10992        .16440E-03    .31544E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.58969
  Index      = 2.56845
  Normalizat = 1.23581
  Prefactor  = 0.981346
 **********
 **   18 **HESSE 
 **********

 FCN=   8873.183     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5897        12.245        .75133E-05   -1.5279    
   2  Index         2.5685        1.1614        .38690E-03   -.50786    
   3  Normalizat    1.2358        .31987        .17314E-04   -.85503    
   4  Prefactor     .98135        .10990        .32880E-04   -.93354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.04324e-10
Minuit parameter uncertainties:
  1  12.252
  2  1.17548
  3  0.320383
  4  0.10992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795296': 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): 0
logL (Free Index) = 8873.18256092
delta logL = 0.0165260770136

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  4.590e+00  1.225e+01  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.568e+00  1.175e+00  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  9.813e-01  1.099e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.236e+00  3.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.29
Ra Dec: 222.422 -21.627

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/795296/cmap_HighResolution_330825601_331084801_4FGL_J1449.6-2137_daily_bin353.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2021-09-10 10:25:59.737923', job_id='795296', GAL2='0.98', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1631294759.74', return_code2='0', ts='0.29', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.65e-02', ts2='0.33', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='353' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:25:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 795296: <4FGL_J1449.6-2137_daily_bin353> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin353> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 10:11:15 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:11:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:11:17 2021
Terminated at Fri Sep 10 10:26:02 2021
Results reported at Fri Sep 10 10:26:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin353 222.422 -21.6271 330825601 331084801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1449.6-2137 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   735.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            887 sec.

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

