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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1272
RA = 181.432, Dec = -26.5946
tmin = 569030401, tmax = 569289601
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='318600', job_status='RUN', time_executed='2021-09-04 23:43:17.628813', time_epoch_executed='1630824197.63' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318600

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318600/ft1_4FGL_J1205.7-2635_daily_bin1272.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318600/ft2_4FGL_J1205.7-2635_daily_bin1272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318600/ft1_4FGL_J1205.7-2635_daily_bin1272.fits outfile=/scratch/kocevski/318600/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1272.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=569030401.0 tmax=569289601.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.58
user 3.35
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318600/ft1_filtered_4FGL_J1205.7-2635_daily_bin1272.fits" evtable="EVENTS" scfile=/scratch/kocevski/318600/ft2_4FGL_J1205.7-2635_daily_bin1272.fits sctable="SC_DATA" outfile=/scratch/kocevski/318600/ltcube_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.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/318600/ft2_4FGL_J1205.7-2635_daily_bin1272.fits
.....................!
real 11.95
user 11.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318600/ft1_filtered_4FGL_J1205.7-2635_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/318600/ft2_4FGL_J1205.7-2635_daily_bin1272.fits sctable="SC_DATA" expcube=/scratch/kocevski/318600/ltcube_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.fits outfile=/scratch/kocevski/318600/expmap_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.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/318600/ltcube_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.fits
.....................!
real 189.91
user 184.50
sys 5.03

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/318600/ft1_filtered_4FGL_J1205.7-2635_daily_bin1272.fits scfile=/scratch/kocevski/318600/ft2_4FGL_J1205.7-2635_daily_bin1272.fits outfile=/scratch/kocevski/318600/cmap_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318600/ft1_filtered_4FGL_J1205.7-2635_daily_bin1272.fits scfile=/scratch/kocevski/318600/ft2_4FGL_J1205.7-2635_daily_bin1272.fits outfile=/scratch/kocevski/318600/cmap_HighResolution_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318600/ft1_filtered_4FGL_J1205.7-2635_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/318600/ft2_4FGL_J1205.7-2635_daily_bin1272.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318600/Model_4FGL_J1205.7-2635_daily_bin1272.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/318600/ft1_filtered_4FGL_J1205.7-2635_daily_bin1272.fits.....................!
real 81.61
user 80.24
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/318600/ft1_filtered_4FGL_J1205.7-2635_daily_bin1272.fits', '/scratch/kocevski/318600/ft2_4FGL_J1205.7-2635_daily_bin1272.fits', expMap='/scratch/kocevski/318600/expmap_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.fits', expCube='/scratch/kocevski/318600/ltcube_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/318600/Model_4FGL_J1205.7-2635_daily_bin1272.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/318600/ft1_filtered_4FGL_J1205.7-2635_daily_bin1272.fits
Spacecraft file(s): /scratch/kocevski/318600/ft2_4FGL_J1205.7-2635_daily_bin1272.fits
Exposure map: /scratch/kocevski/318600/expmap_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.fits
Exposure cube: /scratch/kocevski/318600/ltcube_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/318600/Model_4FGL_J1205.7-2635_daily_bin1272.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) = 10082.2579735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.672       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.7069       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5110       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    15.865       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.555       1.0000         .10000E-03   10000.    
    10 'norm      '    8.0604       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11487E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.226       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.616       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.460       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3129       1.0000         .10000E-03   10000.    
    19 'norm      '    .14222E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99663       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96592       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=   10082.25     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2360 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.672        12.561       -.10353E-06    .26030E-05
   2  Prefactor     6.7067        7.0893        .15391E-05   -.22407E-03
   3  Prefactor     .10000E-03    11.031       -.43797E-07** at limit **
   4  norm          .10000E-03    .30577        .13113E-07** at limit **
   5  Prefactor     .10000E-03    4.0904        .83936E-07** at limit **
   6  Prefactor     5.5117        3.9634       -.11458E-06   -.21700E-03
   7  Prefactor     .10000E-03    7.6080       -.53668E-07** at limit **
   8  norm          15.864        15.496        .46130E-07    .35115E-05
   9  Prefactor     14.554        12.636       -.70001E-07   -.16855E-04
  10  norm          8.0592        5.0870       -.82146E-07   -.13358E-03
  11  Prefactor     .10000E-03    2.7490       -.15482E-06** at limit **
  12  Prefactor     .10000E-03    53.592       -.40985E-05** at limit **
  13  Prefactor     .10000E-03    3.1681       -.12643E-07** at limit **
  14  Prefactor     16.220        26.162       -.58767E-06   -.32675E-04
  15  Prefactor     .10000E-03    14.963       -.13748E-06** at limit **
  16  Prefactor     23.613        24.913       -.25212E-06   -.25214E-05
  17  Prefactor     18.464        18.468        .26769E-06    .36808E-04
  18  Prefactor     4.3129        5.2946        .39683E-07   -.36803E-07
  19  norm          .10000E-03    .27092       -.30155E-07** at limit **
  20  Prefactor     .10000E-03    49.610        .35912E-05** at limit **
  21  Normalizat    .99663        .18448        .14270E-06    .49531E-04
  22  Prefactor     .96594        .89661E-01   -.13056E-06    .15469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6717
  Prefactor  = 6.70675
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.51167
  Prefactor  = 0.0001
  norm       = 15.8643
  Prefactor  = 14.5539
  norm       = 8.05925
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 16.2203
  Prefactor  = 0.0001
  Prefactor  = 23.6131
  Prefactor  = 18.4638
  Prefactor  = 4.31291
  norm       = 0.000100001
  Prefactor  = 0.000100002
  Normalizat = 0.996629
  Prefactor  = 0.965939
 **********
 **   18 **HESSE 
 **********

 FCN=   10082.25     FROM HESSE     STATUS=OK           344 CALLS     2704 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.672        12.564        .11726E-03   -1.5025    
   2  Prefactor     6.7067        7.3318        .77470E-03   -1.5190    
   3  Prefactor     .10000E-03    11.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .31183        .54198E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.1060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.5117        3.9938        .16375E-03   -1.5238    
   7  Prefactor     .10000E-03    7.6112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.864        15.499        .10056E-03   -1.4911    
   9  Prefactor     14.554        12.663        .10499E-03   -1.4945    
  10  norm          8.0592        5.1090        .14122E-03   -1.5140    
  11  Prefactor     .10000E-03    2.7774        .16184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    56.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.1815        .17455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.220        26.217        .99430E-04   -1.4902    
  15  Prefactor     .10000E-03    15.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.613        24.873        .82426E-04   -1.4736    
  17  Prefactor     18.464        18.476        .93219E-04   -1.4848    
  18  Prefactor     4.3129        5.2914        .19398E-03   -1.5293    
  19  norm          .10000E-03    4.4270        .10039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    51.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99663        .22060        .33611E-03   -.93143    
  22  Prefactor     .96594        .10762        .17059E-03   -.93874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27944e-10
Minuit parameter uncertainties:
  1  12.5668
  2  7.33282
  3  5.97818e-06
  4  1.83985e-07
  5  2.14218e-06
  6  3.99403
  7  2.53726e-06
  8  15.5027
  9  12.665
  10  5.10925
  11  9.65798e-06
  12  0.000629571
  13  1.64032e-06
  14  26.2357
  15  1.35944e-05
  16  24.884
  17  18.4818
  18  5.29198
  19  0.0001196
  20  0.000656803
  21  0.220806
  22  0.107645
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  9.658e-06  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.659e-01  1.076e-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:  9.966e-01  2.208e-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: 7.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318600/likelihoodResults_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.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) = 10082.2490022
delta logL = -0.00171703614978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10082.2472881
delta logL = -2.9288839869e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5346       1.0000          .0000       10.000    
     3 'Normalizat'    .99647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96589       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=   10082.20     FROM MIGRAD    STATUS=CONVERGED    307 CALLS      459 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .19475E-02    .71477E-03** at limit **
   2  Index         8.2586        2.8367        .50000        .61574E-04
   3  Normalizat    .97643        .18484E-01    .33611E-03    .11622E-03
   4  Prefactor     .97254        .93069E-02    .17059E-03    .32471E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.25859
  Normalizat = 0.976432
  Prefactor  = 0.972535
 **********
 **   18 **HESSE 
 **********

 FCN=   10082.20     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      496 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .34507E-01    .35615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.2586        5.5902        .20783E-01    .70985    
   3  Normalizat    .97643        .52259E-01    .13445E-04   -.93824    
   4  Prefactor     .97254        .26215E-01    .34118E-04   -.93651    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.29682e-06
Minuit parameter uncertainties:
  1  8.38728e-07
  2  16.2314
  3  0.0522614
  4  0.0262156
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318600': 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) = 10082.1970601
delta logL = 0.0502250663867

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  8.387e-07  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  8.259e+00  1.623e+01  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.725e-01  2.622e-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:  9.764e-01  5.226e-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/318600/cmap_HighResolution_569030401_569289601_4FGL_J1205.7-2635_daily_bin1272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.94e-03', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2021-09-04 23:57:51.887641', job_id='318600', GAL2='0.97', fit_tolerance='1e-08', EG2='0.98', EG='1.00', time_epoch_completed='1630825071.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.02e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1272' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:57:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 318600: <4FGL_J1205.7-2635_daily_bin1272> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1272> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:41:17 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 23:41:19 2021
Terminated at Sat Sep  4 23:57:52 2021
Results reported at Sat Sep  4 23:57:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1272 181.432 -26.5946 569030401 569289601 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 :                                   870.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

