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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1599
RA = 181.432, Dec = -26.5946
tmin = 653788801, tmax = 654048001
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='952502', job_status='RUN', time_executed='2021-09-23 00:24:30.305770', time_epoch_executed='1632381870.31' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1599'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/952502

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/952502/ft1_4FGL_J1205.7-2635_daily_bin1599.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/952502/ft1_4FGL_J1205.7-2635_daily_bin1599.fits outfile=/scratch/kocevski/952502/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1599.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=653788801.0 tmax=654048001.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.88
user 3.63
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.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/952502/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1599.fits evtable="EVENTS" outfile="/scratch/kocevski/952502/ft1_filtered_4FGL_J1205.7-2635_daily_bin1599.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.53
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/952502/ft1_filtered_4FGL_J1205.7-2635_daily_bin1599.fits" evtable="EVENTS" scfile=/scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits sctable="SC_DATA" outfile=/scratch/kocevski/952502/ltcube_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.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/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits
.....................!
real 14.78
user 14.28
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/952502/ft1_filtered_4FGL_J1205.7-2635_daily_bin1599.fits evtable="EVENTS" scfile=/scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits sctable="SC_DATA" expcube=/scratch/kocevski/952502/ltcube_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.fits outfile=/scratch/kocevski/952502/expmap_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.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/952502/ltcube_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.fits
.....................!
real 193.73
user 187.48
sys 5.53

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 J1205.7-2635 @ 181.432 -26.5946

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/952502/ft1_filtered_4FGL_J1205.7-2635_daily_bin1599.fits scfile=/scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits outfile=/scratch/kocevski/952502/cmap_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.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=181.432 yref=-26.5946 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/952502/ft1_filtered_4FGL_J1205.7-2635_daily_bin1599.fits scfile=/scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits outfile=/scratch/kocevski/952502/cmap_HighResolution_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.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=181.432 yref=-26.5946 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/952502/ft1_filtered_4FGL_J1205.7-2635_daily_bin1599.fits evtable="EVENTS" scfile=/scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/952502/Model_4FGL_J1205.7-2635_daily_bin1599.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/952502/ft1_filtered_4FGL_J1205.7-2635_daily_bin1599.fits.....................!
real 62.20
user 60.54
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/952502/ft1_filtered_4FGL_J1205.7-2635_daily_bin1599.fits', '/scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits', expMap='/scratch/kocevski/952502/expmap_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.fits', expCube='/scratch/kocevski/952502/ltcube_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/952502/Model_4FGL_J1205.7-2635_daily_bin1599.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1205.7-2635'

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.173e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/952502/ft1_filtered_4FGL_J1205.7-2635_daily_bin1599.fits
Spacecraft file(s): /scratch/kocevski/952502/ft2_4FGL_J1205.7-2635_daily_bin1599.fits
Exposure map: /scratch/kocevski/952502/expmap_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.fits
Exposure cube: /scratch/kocevski/952502/ltcube_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/952502/Model_4FGL_J1205.7-2635_daily_bin1599.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) = 7095.72731549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    56.918       1.0000         .10000E-03   10000.    
     4 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .17690       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    15.849       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    72.397       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.4112       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.675       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12253E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .49631       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3570       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95495       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7095.724     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2364 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.622       -.12027E-05** at limit **
   2  Prefactor     .10000E-03    11.074       -.92665E-07** at limit **
   3  Prefactor     56.926        70.552        .82484E-05   -.54912E-04
   4  norm          .10000E-03    .54675       -.65312E-07** at limit **
   5  Prefactor     .10000E-03    5.1427        .55444E-07** at limit **
   6  Prefactor     .17956        5.9398       -.77856E-06   -.41506E-04
   7  Prefactor     .10000E-03    19.794        .57552E-05** at limit **
   8  norm          15.853        18.664       -.14456E-06    .92370E-05
   9  Prefactor     .10000E-03    4.9012       -.34938E-07** at limit **
  10  norm          .10000E-03    1.3309       -.75137E-07** at limit **
  11  Prefactor     .10000E-03    2.2928        .19131E-06** at limit **
  12  Prefactor     72.408        56.083        .83034E-05   -.10061E-03
  13  Prefactor     1.4135        20.872       -.25674E-05   -.26847E-03
  14  Prefactor     13.663        34.951       -.96919E-05    .71148E-04
  15  Prefactor     .10000E-03    6.8707       -.26457E-07** at limit **
  16  Prefactor     .10000E-03    18.944       -.50091E-05** at limit **
  17  Prefactor     .10000E-03    13.085        .33070E-06** at limit **
  18  Prefactor     .10000E-03    11.293       -.14253E-06** at limit **
  19  norm          .49695        .85103       -.19406E-06   -.16753E-02
  20  Prefactor     .10000E-03    55.205        .51629E-06** at limit **
  21  Normalizat    1.3567        .24789        .28863E-06    .12970E-03
  22  Prefactor     .95503        .11437        .92700E-07    .19530E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.926
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.179556
  Prefactor  = 0.0001
  norm       = 15.8527
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 72.4077
  Prefactor  = 1.41349
  Prefactor  = 13.6626
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.496946
  Prefactor  = 0.0001
  Normalizat = 1.35673
  Prefactor  = 0.955032
 **********
 **   18 **HESSE 
 **********

 FCN=   7095.724     FROM HESSE     STATUS=OK           338 CALLS     2702 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     56.926        69.924        .53173E-04   -1.4198    
   4  norm          .10000E-03    .55132        .60775E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.1525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17956        66.286        .37984E-02   -1.5623    
   7  Prefactor     .10000E-03    19.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.853        18.666        .10061E-03   -1.4911    
   9  Prefactor     .10000E-03    4.9108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.3381        .94901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.3035        .12445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     72.408        55.355        .47183E-04   -1.4004    
  13  Prefactor     1.4135        22.276        .36466E-03   -1.5470    
  14  Prefactor     13.663        34.915        .10831E-03   -1.4969    
  15  Prefactor     .10000E-03    6.8724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    103.40        .54362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .49695        .75400        .98013E-03   -1.5567    
  20  Prefactor     .10000E-03    55.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3567        .30449        .32907E-03   -.81888    
  22  Prefactor     .95503        .14021        .18363E-03   -.94244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93011e-08
Minuit parameter uncertainties:
  1  3.30227e-05
  2  1.25481e-05
  3  70.0253
  4  5.82527e-06
  5  9.41609e-07
  6  6.90568
  7  0.000147973
  8  18.6732
  9  1.73079e-05
  10  6.54553e-06
  11  2.3475e-05
  12  55.3945
  13  11.2271
  14  34.967
  15  1.58457e-05
  16  0.000101223
  17  3.04859e-05
  18  6.17151e-06
  19  0.75401
  20  1.92013e-05
  21  0.304895
  22  0.140265
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  2.348e-05  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.550e-01  1.403e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.357e+00  3.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 9.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/952502/likelihoodResults_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.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) = 7095.72622708
delta logL = -0.00206656779756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7095.72416493
delta logL = -4.41394513473e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5203       1.0000          .0000       10.000    
     3 'Normalizat'    1.3567       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   7095.724     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      238 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10049E-03    48.871        .12486E-02** at limit **
   2  Index         2.4778        5.7330        .50000        .27052E-04
   3  Normalizat    1.3567        .28451E-01    .32907E-03    .29331E-04
   4  Prefactor     .95503        .13690E-01    .18363E-03    .27674E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100494
  Index      = 2.4778
  Normalizat = 1.35673
  Prefactor  = 0.955032
 **********
 **   18 **HESSE 
 **********

 FCN=   7095.724     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10049E-03    194.72        .24971E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4778        8.1937        .50000       -.52873    
   3  Normalizat    1.3567        .61986E-01    .13163E-04   -.81888    
   4  Prefactor     .95503        .29827E-01    .73451E-05   -.94244    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.25522e-08
Minuit parameter uncertainties:
  1  0.0196807
  2  672.052
  3  0.0619893
  4  0.0298274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/952502': 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) = 7095.72416026
delta logL = 2.59457010543e-07

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.005e-04  1.968e-02  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.478e+00  6.721e+02  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.550e-01  2.983e-02  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.357e+00  6.199e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 181.432 -26.595

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/952502/cmap_HighResolution_653788801_654048001_4FGL_J1205.7-2635_daily_bin1599.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', job_status='DONE', photon_flux_upper_limit='9.08e-08', time_completed='2021-09-23 00:36:09.070078', job_id='952502', GAL2='0.96', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1632382569.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1599' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 00:36:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 952502: <4FGL_J1205.7-2635_daily_bin1599> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1599> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep 23 00:21:56 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 00:22:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 00:22:58 2021
Terminated at Thu Sep 23 00:36:09 2021
Results reported at Thu Sep 23 00:36:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1599 181.432 -26.5946 653788801 654048001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1205.7-2635 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   699.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            853 sec.

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

