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


Performing analysis on: 4FGL_J1441.6-1522_daily_bin130
RA = 220.414, Dec = -15.3755
tmin = 273024001, tmax = 273283201
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='703449', job_status='RUN', time_executed='2021-09-10 05:13:53.878298', time_epoch_executed='1631276033.88' WHERE source_name='4FGL J1441.6-1522' and cadence='daily' and bin_id='130'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/703449

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/703449/ft1_4FGL_J1441.6-1522_daily_bin130.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/703449/ft1_4FGL_J1441.6-1522_daily_bin130.fits outfile=/scratch/kocevski/703449/ft1_filteredMKT_4FGL_J1441.6-1522_daily_bin130.fits ra=220.414 dec=-15.3755 rad=12.0 tmin=273024001.0 tmax=273283201.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 2.91
user 2.70
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.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/703449/ft1_filteredMKT_4FGL_J1441.6-1522_daily_bin130.fits evtable="EVENTS" outfile="/scratch/kocevski/703449/ft1_filtered_4FGL_J1441.6-1522_daily_bin130.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/703449/ft1_filtered_4FGL_J1441.6-1522_daily_bin130.fits" evtable="EVENTS" scfile=/scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits sctable="SC_DATA" outfile=/scratch/kocevski/703449/ltcube_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.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/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits
.....................!
real 12.30
user 11.87
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/703449/ft1_filtered_4FGL_J1441.6-1522_daily_bin130.fits evtable="EVENTS" scfile=/scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits sctable="SC_DATA" expcube=/scratch/kocevski/703449/ltcube_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.fits outfile=/scratch/kocevski/703449/expmap_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.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/703449/ltcube_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.fits
.....................!
real 191.42
user 186.47
sys 4.22

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

Setting source of interest to:
4FGL J1441.6-1522 @ 220.414 -15.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/703449/ft1_filtered_4FGL_J1441.6-1522_daily_bin130.fits scfile=/scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits outfile=/scratch/kocevski/703449/cmap_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.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=220.414 yref=-15.3755 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/703449/ft1_filtered_4FGL_J1441.6-1522_daily_bin130.fits scfile=/scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits outfile=/scratch/kocevski/703449/cmap_HighResolution_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.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=220.414 yref=-15.3755 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/703449/ft1_filtered_4FGL_J1441.6-1522_daily_bin130.fits evtable="EVENTS" scfile=/scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/703449/Model_4FGL_J1441.6-1522_daily_bin130.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/703449/ft1_filtered_4FGL_J1441.6-1522_daily_bin130.fits.....................!
real 91.26
user 89.81
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/703449/ft1_filtered_4FGL_J1441.6-1522_daily_bin130.fits', '/scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits', expMap='/scratch/kocevski/703449/expmap_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.fits', expCube='/scratch/kocevski/703449/ltcube_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/703449/Model_4FGL_J1441.6-1522_daily_bin130.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1441.6-1522'

4FGL J1441.6-1522
   Spectrum: PowerLaw
291    Prefactor:  9.633e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.389e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  1.819e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/703449/ft1_filtered_4FGL_J1441.6-1522_daily_bin130.fits
Spacecraft file(s): /scratch/kocevski/703449/ft2_4FGL_J1441.6-1522_daily_bin130.fits
Exposure map: /scratch/kocevski/703449/expmap_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.fits
Exposure cube: /scratch/kocevski/703449/ltcube_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/703449/Model_4FGL_J1441.6-1522_daily_bin130.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) = 11533.1026986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57562       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .18479       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .34775E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15549E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.670       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .40822E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.838       1.0000         .10000E-03   10000.    
    12 'norm      '    .81788       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2705       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1885       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96992       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11532.36     FROM MIGRAD    STATUS=CONVERGED    296 CALLS     1278 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57997        2.1881        .18701E-05   -.19944E-04
   2  Prefactor     .10000E-03    6.8034       -.63816E-07** at limit **
   3  norm          .16497        3.1518        .12273E-06   -.11568E-04
   4  Prefactor     .10000E-03    8.5813       -.42394E-06** at limit **
   5  Prefactor     .10000E-03    3.7557       -.96109E-07** at limit **
   6  norm          .10049E-03    4.1687       -.11520E-05** at limit **
   7  Prefactor     .10079E-03    4.6748        .24593E-05** at limit **
   8  Prefactor     .10000E-03    18.740       -.48326E-06** at limit **
   9  Prefactor     23.701        54.774        .83930E-06   -.12123E-03
  10  Prefactor     .10002E-03    125.43       -.23163E-04** at limit **
  11  Prefactor     11.837        10.431        .17943E-06   -.56455E-04
  12  norm          .81788        .12438        .13053E-07   -.94638E-03
  13  Prefactor     2.2697        6.2664        .71945E-06    .33873E-05
  14  Normalizat    1.1884        .20873       -.43895E-05   -.44573E-03
  15  Prefactor     .96997        .80200E-01   -.22738E-06   -.12254E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.57997
  Prefactor  = 0.0001
  norm       = 0.16497
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100488
  Prefactor  = 0.000100791
  Prefactor  = 0.0001
  Prefactor  = 23.7012
  Prefactor  = 0.000100019
  Prefactor  = 11.8367
  norm       = 0.817881
  Prefactor  = 2.26967
  Normalizat = 1.18845
  Prefactor  = 0.969969
 **********
 **   18 **HESSE 
 **********

 FCN=   11532.36     FROM HESSE     STATUS=OK           194 CALLS     1472 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57997        2.2191        .28352E-03   -1.5556    
   2  Prefactor     .10000E-03    6.8112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .16497        66.157        .34807E-02   -1.5627    
   4  Prefactor     .10000E-03    8.6094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.7559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10049E-03    41.003        .41680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10079E-03    8.3026        .54639E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.701        76.645        .82332E-04   -1.4734    
  10  Prefactor     .10002E-03    126.23        .42509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.837        10.437        .11643E-03   -1.5020    
  12  norm          .81788        .12530        .12559E-04   -1.5527    
  13  Prefactor     2.2697        6.3163        .27255E-03   -1.5407    
  14  Normalizat    1.1884        .24352        .38793E-03   -.86961    
  15  Prefactor     .96997        .95402E-01    .17057E-03   -.93737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50503e-08
Minuit parameter uncertainties:
  1  2.21937
  2  6.12532e-06
  3  6.61262
  4  5.09902e-06
  5  9.84028e-07
  6  0.00895135
  7  0.00512657
  8  1.70078e-06
  9  76.9658
  10  0.00308453
  11  10.439
  12  0.125303
  13  6.31816
  14  0.243753
  15  0.095419
Done.

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

Extracting fit parameters...

4FGL J1441.6-1522
   Spectrum: PowerLaw
291    Prefactor:  2.370e+01  7.697e+01  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.389e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  1.819e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  9.700e-01  9.542e-02  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  1.188e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 220.414 -15.376
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/703449/likelihoodResults_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.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) = 11532.1278766
delta logL = 0.22786677045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11531.7768705
delta logL = 0.578872856604

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     '    7.6061       1.0000          .0000       10.000    
     3 'Normalizat'    1.1212       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99045       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   11531.78     FROM MIGRAD    STATUS=FAILED       296 CALLS      679 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .15140E-01    .21043E-03** at limit **
   2  Index         7.6056        3.5854        .64595E-02    .12492E-02
   3  Normalizat    1.1211        .99349E-01    .39797E-03    .10741E-04
   4  Prefactor     .99050        .39749E-01    .16898E-03   -.94218E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11531.78     FROM SIMPLEX   STATUS=UNCHANGED    166 CALLS      845 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .15140E-01    .10064E-04** at limit **
   2  Index         7.6056        3.5854        .94218E-04    .12492E-02
   3  Normalizat    1.1211        .99349E-01    .10994E-04    .10741E-04
   4  Prefactor     .99050        .39749E-01    .37388E-05   -.94218E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11531.78     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      883 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .10456E-01    .25593E-03** at limit **
   2  Index         7.6056        3.5176        .12919E-02    .47340E-04
   3  Normalizat    1.1211        .91821E-01    .15919E-04    .10570E-04
   4  Prefactor     .99050        .36849E-01    .33796E-04   -.94056E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.6056
  Normalizat = 1.1211
  Prefactor  = 0.990497
 **********
 **   18 **HESSE 
 **********

 FCN=   11531.78     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      918 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .12181E-01    .23836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.6056        3.5666        .25838E-03    .54816    
   3  Normalizat    1.1211        .96632E-01    .31837E-05   -.89077    
   4  Prefactor     .99050        .38791E-01    .67591E-05   -.93047    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.40413e-12
Minuit parameter uncertainties:
  1  4.372e-08
  2  4.22275
  3  0.0966473
  4  0.0387923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/703449': 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) = 11531.776869
delta logL = 0.578874399638

Extracting fit parameters...

4FGL J1441.6-1522
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  4.372e-08  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  7.606e+00  4.223e+00  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  1.819e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  9.905e-01  3.879e-02  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  1.121e+00  9.665e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 220.414 -15.376
Photon Index (Free Index): 7.61 +/- 4.22
Photon Flux (Free Index): 5.88e-08 +/- 6.71e-07
Energy Flux (Free Index): 6.89e-06 +/- 7.83e-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/703449/cmap_HighResolution_273024001_273283201_4FGL_J1441.6-1522_daily_bin130.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.30e-03', comment='SUCCESS', energy_flux2='6.89e-06', dlogl='5.79e-01', photon_flux2='5.88e-08', job_status='DONE', time_completed='2021-09-10 05:26:45.381376', photon_index_error2='4.22', photon_index2='7.61', ts='0.21', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='7.83e-05', EG='1.19', time_epoch_completed='1631276805.38', return_code='0', job_id='703449', GAL2='0.99', EG2='1.12', return_code2='102', photon_flux_error2='6.71e-07', ts2='1.46', photon_index='2.39' WHERE bin_id='130' AND source_name='4FGL J1441.6-1522' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:26:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 703449: <4FGL_J1441.6-1522_daily_bin130> in cluster <slac> Done

Job <4FGL_J1441.6-1522_daily_bin130> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:11:30 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:11:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:11:31 2021
Terminated at Fri Sep 10 05:26:46 2021
Results reported at Fri Sep 10 05:26:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1441.6-1522_daily_bin130 220.414 -15.3755 273024001 273283201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1441.6-1522 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   770.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             302.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            916 sec.

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

