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


Performing analysis on: 4FGL_J1441.6-1522_daily_bin1605
RA = 220.414, Dec = -15.3755
tmin = 655344001, tmax = 655603201
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='372033', job_status='RUN', time_executed='2021-12-08 01:30:56.998522', time_epoch_executed='1638955857.0' WHERE source_name='4FGL J1441.6-1522' and cadence='daily' and bin_id='1605'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/372033

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/372033/ft1_4FGL_J1441.6-1522_daily_bin1605.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/372033/ft1_4FGL_J1441.6-1522_daily_bin1605.fits outfile=/scratch/kocevski/372033/ft1_filteredMKT_4FGL_J1441.6-1522_daily_bin1605.fits ra=220.414 dec=-15.3755 rad=12.0 tmin=655344001.0 tmax=655603201.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.73
user 2.53
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.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/372033/ft1_filteredMKT_4FGL_J1441.6-1522_daily_bin1605.fits evtable="EVENTS" outfile="/scratch/kocevski/372033/ft1_filtered_4FGL_J1441.6-1522_daily_bin1605.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/372033/ft1_filtered_4FGL_J1441.6-1522_daily_bin1605.fits" evtable="EVENTS" scfile=/scratch/kocevski/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.fits sctable="SC_DATA" outfile=/scratch/kocevski/372033/ltcube_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.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/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.fits
.....................!
real 13.63
user 12.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/372033/ft1_filtered_4FGL_J1441.6-1522_daily_bin1605.fits evtable="EVENTS" scfile=/scratch/kocevski/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.fits sctable="SC_DATA" expcube=/scratch/kocevski/372033/ltcube_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.fits outfile=/scratch/kocevski/372033/expmap_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.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/372033/ltcube_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.fits
.....................!
real 192.29
user 186.01
sys 5.88

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/372033/ft1_filtered_4FGL_J1441.6-1522_daily_bin1605.fits scfile=/scratch/kocevski/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.fits outfile=/scratch/kocevski/372033/cmap_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/372033/ft1_filtered_4FGL_J1441.6-1522_daily_bin1605.fits scfile=/scratch/kocevski/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.fits outfile=/scratch/kocevski/372033/cmap_HighResolution_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/372033/ft1_filtered_4FGL_J1441.6-1522_daily_bin1605.fits evtable="EVENTS" scfile=/scratch/kocevski/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/372033/Model_4FGL_J1441.6-1522_daily_bin1605.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/372033/ft1_filtered_4FGL_J1441.6-1522_daily_bin1605.fits.....................!
real 54.05
user 52.60
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/372033/ft1_filtered_4FGL_J1441.6-1522_daily_bin1605.fits', '/scratch/kocevski/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.fits', expMap='/scratch/kocevski/372033/expmap_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.fits', expCube='/scratch/kocevski/372033/ltcube_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/372033/Model_4FGL_J1441.6-1522_daily_bin1605.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/372033/ft1_filtered_4FGL_J1441.6-1522_daily_bin1605.fits
Spacecraft file(s): /scratch/kocevski/372033/ft2_4FGL_J1441.6-1522_daily_bin1605.fits
Exposure map: /scratch/kocevski/372033/expmap_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.fits
Exposure cube: /scratch/kocevski/372033/ltcube_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/372033/Model_4FGL_J1441.6-1522_daily_bin1605.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5580.06376549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.858       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12578E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21222       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9572       1.0000         .10000E-03   10000.    
     6 'norm      '    10.822       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .45893E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    56.568       1.0000         .10000E-03   10000.    
     9 'Prefactor '    183.72       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10860E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.067       1.0000         .10000E-03   10000.    
    12 'norm      '    .30991E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.3309       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.8968       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .91330       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=   5579.998     FROM MIGRAD    STATUS=FAILED       488 CALLS     2146 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.865        8.0620        .10058E-03    .31672E-03
   2  Prefactor     .10000E-03    20.000        .18142E-02** at limit **
   3  norm          .10000E-03    10.142        .18142E-02** at limit **
   4  Prefactor     .62521E-01    55.890        .14378        .30457E-04
   5  Prefactor     4.9710        127.00        .18063E-03    .31469E-05
   6  norm          10.803        34.727        .12179E-03    .69918E-04
   7  Prefactor     .10429E-03    208.57        .44322E-02** at limit **
   8  Prefactor     56.588        54.847        .26668E-03   -.31546E-04
   9  Prefactor     183.44        157.99        .14893E-03    .21321E-03
  10  Prefactor     .10000E-03    155.19        .18142E-02** at limit **
  11  Prefactor     15.058        14.411        .10319E-03   -.66062E-04
  12  norm          .31096E-01    .14354        .30209E-03    .16685E-01
  13  Prefactor     4.3187        10.654        .19356E-03   -.84342E-04
  14  Normalizat    1.8971        .45712        .39853E-03    .22739E-03
  15  Prefactor     .91331        .15774        .19390E-03    .29699E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5579.998     FROM SIMPLEX   STATUS=PROGRESS     692 CALLS     2838 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.865        8.0620        .59787E-06   -1.4911    
   2  Prefactor     .10000E-03    20.000        .10283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    10.142        .34875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .62521E-01    55.890        .67293E-06   -1.5658    
   5  Prefactor     4.9710        127.00        .62731E-06   -1.5262    
   6  norm          10.803        34.727        .60482E-06   -1.5050    
   7  Prefactor     .10429E-03    208.57        .26730E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     56.588        54.847        .56890E-06   -1.4202    
   9  Prefactor     183.44        157.99        .52080E-06   -1.2991    
  10  Prefactor     .10000E-03    155.19        .22586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.058        14.411        .59703E-06   -1.4932    
  12  norm          .31096E-01    .14354        .62659E-06   -1.5673    
  13  Prefactor     4.3187        10.654        .61170E-06   -1.5292    
  14  Normalizat    1.8971        .45712        .26861E-06   -.67157    
  15  Prefactor     .91331        .15774        .38250E-06   -.95678    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5579.998     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     3021 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.865        8.0620        .40231E-05   -.73472E-05
   2  Prefactor     .10000E-03    20.001        .36285E-03** at limit **
   3  norm          .10000E-03    10.144        .36285E-03** at limit **
   4  Prefactor     .62538E-01    56.260        .14318        .29818E-04
   5  Prefactor     4.9710        127.14        .72253E-05    .14476E-04
   6  norm          10.803        34.720        .48715E-05    .10548E-03
   7  Prefactor     .10001E-03    208.42        .17729E-02** at limit **
   8  Prefactor     56.588        54.847        .10667E-04    .42630E-05
   9  Prefactor     183.45        155.21        .29786E-04    .28542E-03
  10  Prefactor     .10000E-03    155.20        .36285E-03** at limit **
  11  Prefactor     15.058        14.410        .20637E-04    .29748E-04
  12  norm          .31096E-01    .13580        .60418E-04    .12927E-03
  13  Prefactor     4.3187        10.382        .77425E-05    .10278E-04
  14  Normalizat    1.8970        .45751        .79706E-04    .15096E-03
  15  Prefactor     .91331        .15787        .38779E-04    .25628E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.865
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0625376
  Prefactor  = 4.97104
  norm       = 10.8028
  Prefactor  = 0.000100005
  Prefactor  = 56.5878
  Prefactor  = 183.446
  Prefactor  = 0.0001
  Prefactor  = 15.0582
  norm       = 0.0310964
  Prefactor  = 4.31871
  Normalizat = 1.89705
  Prefactor  = 0.913311
 **********
 **   18 **HESSE 
 **********

 FCN=   5579.998     FROM HESSE     STATUS=OK           178 CALLS     3199 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.865        8.0651        .80462E-06   -1.4911    
   2  Prefactor     .10000E-03    20.001        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    10.145        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .62538E-01    56.126        .14340       -1.5658    
   5  Prefactor     4.9710        128.97        .14451E-05   -1.5262    
   6  norm          10.803        34.753        .97430E-06   -1.5050    
   7  Prefactor     .10001E-03    208.47        .35457E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     56.588        54.877        .21335E-05   -1.4202    
   9  Prefactor     183.45        154.80        .59571E-05   -1.2991    
  10  Prefactor     .10000E-03    155.20        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.058        14.410        .41274E-05   -1.4932    
  12  norm          .31096E-01    .13423        .24167E-05   -1.5673    
  13  Prefactor     4.3187        10.330        .15485E-05   -1.5292    
  14  Normalizat    1.8970        .45759        .15941E-04   -.67157    
  15  Prefactor     .91331        .15790        .77559E-05   -.95678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.61194e-10
Minuit parameter uncertainties:
  1  8.06567
  2  1.02157e-07
  3  2.75442e-07
  4  3.74751
  5  50.7632
  6  34.8183
  7  0.00212496
  8  54.9261
  9  155.15
  10  5.16813e-05
  11  14.4132
  12  0.129006
  13  10.3342
  14  0.458646
  15  0.157982
Done.

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

Extracting fit parameters...

4FGL J1441.6-1522
   Spectrum: PowerLaw
291    Prefactor:  1.834e+02  1.552e+02  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.133e-01  1.580e-01  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.897e+00  4.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.57
Ra Dec: 220.414 -15.376
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.35e-07 +/- 1.14e-07
Energy Flux (Fixed Index): 4.49e-05 +/- 3.80e-05

TS (Fixed Index): 2.57
Ra Dec: 220.414 -15.376
Photon Flux Upper Limit: 3.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/372033/likelihoodResults_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.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) = 5579.80128427
delta logL = 0.197158623136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5579.79405341
delta logL = 0.204389484046

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    111.82       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8316       1.0000          .0000       10.000    
     3 'Normalizat'    1.7979       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93370       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.

 FCN=   5579.794     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      266 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     111.82        1432.1        .95101E-03    .43047E-04
   2  Index         2.8325        2.8878        .87542E-01    .46670E-04
   3  Normalizat    1.7954        .19708        .91890E-01   -.97120E-04
   4  Prefactor     .93446        .53372E-01    .45433E-01    .16436E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 111.82
  Index      = 2.83249
  Normalizat = 1.79539
  Prefactor  = 0.934457
 **********
 **   18 **HESSE 
 **********

 FCN=   5579.794     FROM HESSE     STATUS=OK            31 CALLS      297 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     111.82        190.34        .38041E-04   -1.3589    
   2  Index         2.8325        .88674        .43061E-02   -.44837    
   3  Normalizat    1.7954        .47958        .40686E-03   -.69784    
   4  Prefactor     .93446        .16260        .19190E-03   -.94947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.23452e-10
Minuit parameter uncertainties:
  1  191.398
  2  0.892568
  3  0.480844
  4  0.162685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/372033': 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) = 5579.7940389
delta logL = 0.204403997582

Extracting fit parameters...

4FGL J1441.6-1522
   Spectrum: PowerLaw
291    Prefactor:  1.118e+02  1.914e+02  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.832e+00  8.926e-01  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.345e-01  1.627e-01  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.795e+00  4.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.07
Ra Dec: 220.414 -15.376
Photon Index (Free Index): 2.83 +/- 0.89
Photon Flux (Free Index): 2.26e-07 +/- 1.96e-07
Energy Flux (Free Index): 4.96e-05 +/- 3.40e-05

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/372033/cmap_HighResolution_655344001_655603201_4FGL_J1441.6-1522_daily_bin1605.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-02', comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='4.96e-05', photon_flux_error='1.14e-07', dlogl='2.04e-01', energy_flux='4.49e-05', photon_flux2='2.26e-07', job_status='DONE', time_completed='2021-12-08 01:41:00.265095', photon_index_error2='0.89', photon_index2='2.83', ts='2.57', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='3.62e-07', energy_flux_error2='3.40e-05', EG='1.90', time_epoch_completed='1638956460.27', return_code='0', job_id='372033', GAL2='0.93', EG2='1.80', return_code2='0', energy_flux_error='3.80e-05', photon_flux_error2='1.96e-07', ts2='3.07', photon_index='2.39' WHERE bin_id='1605' AND source_name='4FGL J1441.6-1522' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 01:41:00 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 372033: <4FGL_J1441.6-1522_daily_bin1605> in cluster <slac> Done

Job <4FGL_J1441.6-1522_daily_bin1605> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Dec  8 01:25:14 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 01:30:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 01:30:42 2021
Terminated at Wed Dec  8 01:41:01 2021
Results reported at Wed Dec  8 01:41:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1441.6-1522_daily_bin1605 220.414 -15.3755 655344001 655603201 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 :                                   602.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            947 sec.

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

