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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1614
RA = 181.432, Dec = -26.5946
tmin = 657676801, tmax = 657936001
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='326853', job_status='RUN', time_executed='2021-12-07 22:52:26.301122', time_epoch_executed='1638946346.3' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1614'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/326853

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/326853/ft1_4FGL_J1205.7-2635_daily_bin1614.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/326853/ft2_4FGL_J1205.7-2635_daily_bin1614.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/326853/ft1_4FGL_J1205.7-2635_daily_bin1614.fits outfile=/scratch/kocevski/326853/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1614.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=657676801.0 tmax=657936001.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.33
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/326853/ft2_4FGL_J1205.7-2635_daily_bin1614.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/326853/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1614.fits evtable="EVENTS" outfile="/scratch/kocevski/326853/ft1_filtered_4FGL_J1205.7-2635_daily_bin1614.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.50
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/326853/ft1_filtered_4FGL_J1205.7-2635_daily_bin1614.fits" evtable="EVENTS" scfile=/scratch/kocevski/326853/ft2_4FGL_J1205.7-2635_daily_bin1614.fits sctable="SC_DATA" outfile=/scratch/kocevski/326853/ltcube_657676801_657936001_4FGL_J1205.7-2635_daily_bin1614.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/326853/ft2_4FGL_J1205.7-2635_daily_bin1614.fits
.....................!
real 13.05
user 12.64
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/326853/ft1_filtered_4FGL_J1205.7-2635_daily_bin1614.fits evtable="EVENTS" scfile=/scratch/kocevski/326853/ft2_4FGL_J1205.7-2635_daily_bin1614.fits sctable="SC_DATA" expcube=/scratch/kocevski/326853/ltcube_657676801_657936001_4FGL_J1205.7-2635_daily_bin1614.fits outfile=/scratch/kocevski/326853/expmap_657676801_657936001_4FGL_J1205.7-2635_daily_bin1614.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/326853/ltcube_657676801_657936001_4FGL_J1205.7-2635_daily_bin1614.fits
.....................!
real 189.73
user 184.13
sys 4.98

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/326853/ft1_filtered_4FGL_J1205.7-2635_daily_bin1614.fits scfile=/scratch/kocevski/326853/ft2_4FGL_J1205.7-2635_daily_bin1614.fits outfile=/scratch/kocevski/326853/cmap_657676801_657936001_4FGL_J1205.7-2635_daily_bin1614.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/326853/ft1_filtered_4FGL_J1205.7-2635_daily_bin1614.fits scfile=/scratch/kocevski/326853/ft2_4FGL_J1205.7-2635_daily_bin1614.fits outfile=/scratch/kocevski/326853/cmap_HighResolution_657676801_657936001_4FGL_J1205.7-2635_daily_bin1614.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/326853/ft1_filtered_4FGL_J1205.7-2635_daily_bin1614.fits evtable="EVENTS" scfile=/scratch/kocevski/326853/ft2_4FGL_J1205.7-2635_daily_bin1614.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/326853/Model_4FGL_J1205.7-2635_daily_bin1614.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/326853/ft1_filtered_4FGL_J1205.7-2635_daily_bin1614.fits.....................!
real 62.87
user 61.49
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    9.1500       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.2832       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10983E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3489       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2966       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.976       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.609       1.0000         .10000E-03   10000.    
    19 'norm      '    .40849       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.7559       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87031       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=   6987.329     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2326 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.263        .11214E-05** at limit **
   2  Prefactor     9.1506        8.8556        .98444E-07   -.93502E-05
   3  Prefactor     .10000E-03    56.559        .17076E-05** at limit **
   4  norm          1.2832        1.3742        .71853E-07   -.20264E-04
   5  Prefactor     .10000E-03    6.9766        .61999E-08** at limit **
   6  Prefactor     .10000E-03    1.9730       -.27757E-07** at limit **
   7  Prefactor     .10000E-03    11.707       -.97251E-06** at limit **
   8  norm          .10000E-03    53.030        .28408E-05** at limit **
   9  Prefactor     .10000E-03    5.5104       -.81893E-07** at limit **
  10  norm          1.3500        2.6966        .21564E-06   -.92812E-04
  11  Prefactor     7.2947        6.9308        .22638E-05   -.47481E-03
  12  Prefactor     .10000E-03    16.028       -.86431E-06** at limit **
  13  Prefactor     .10000E-03    34.661       -.22191E-05** at limit **
  14  Prefactor     .10002E-03    63.856       -.64097E-05** at limit **
  15  Prefactor     .10000E-03    9.5358        .15239E-06** at limit **
  16  Prefactor     19.978        36.714       -.10009E-07    .23241E-04
  17  Prefactor     .10000E-03    15.129        .42602E-06** at limit **
  18  Prefactor     20.611        16.798        .10367E-06   -.18994E-04
  19  norm          .40883        .85121        .40172E-06    .33479E-03
  20  Prefactor     .10000E-03    42.194        .22078E-05** at limit **
  21  Normalizat    1.7557        .25902       -.10511E-05    .11507E-04
  22  Prefactor     .87030        .11790       -.24834E-06   -.26483E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 9.15059
  Prefactor  = 0.000100002
  norm       = 1.28318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100004
  Prefactor  = 0.0001
  norm       = 1.34998
  Prefactor  = 7.29471
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 19.9781
  Prefactor  = 0.0001
  Prefactor  = 20.6109
  norm       = 0.408832
  Prefactor  = 0.000100003
  Normalizat = 1.75571
  Prefactor  = 0.870298
 **********
 **   18 **HESSE 
 **********

 FCN=   6987.329     FROM HESSE     STATUS=OK           340 CALLS     2666 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1506        8.8544        .13250E-03   -1.5103    
   3  Prefactor     .10000E-03    57.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.2832        1.3686        .98139E-04   -1.5481    
   5  Prefactor     .10000E-03    6.9979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.9780        .11465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    54.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.5195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3500        2.6464        .18826E-03   -1.5476    
  11  Prefactor     7.2947        7.0972        .74243E-03   -1.5168    
  12  Prefactor     .10000E-03    16.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    35.972        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    68.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.5451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.978        36.738        .89614E-04   -1.4814    
  17  Prefactor     .10000E-03    15.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.611        16.836        .88229E-04   -1.4800    
  19  norm          .40883        .77814        .10873E-02   -1.5580    
  20  Prefactor     .10000E-03    42.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.7557        .30877        .32172E-03   -.70825    
  22  Prefactor     .87030        .14073        .20189E-03   -.97187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.84088e-10
Minuit parameter uncertainties:
  1  0.000197218
  2  8.85569
  3  0.000605147
  4  1.3686
  5  1.30069e-07
  6  1.47499e-06
  7  0.00015988
  8  0.000932115
  9  8.45966e-06
  10  2.64663
  11  7.09797
  12  0.000169622
  13  0.000486166
  14  0.00242535
  15  1.58137e-05
  16  36.7796
  17  8.26083e-05
  18  16.8395
  19  0.778159
  20  0.000695964
  21  0.309113
  22  0.140792
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  7.295e+00  7.098e+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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.703e-01  1.408e-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.756e+00  3.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 6.75e-08 +/- 6.56e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.85e-05

TS (Fixed Index): 1.47
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 2.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.59e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/326853/likelihoodResults_657676801_657936001_4FGL_J1205.7-2635_daily_bin1614.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) = 6986.24768356
delta logL = 1.08159992435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6986.22810225
delta logL = 1.1011812347

Fit tolerance = 1e-08

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

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

 FCN=   6986.228     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      250 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0721        17.856        .71599E-02    .21773E-02
   2  Index         4.0105        2.8749        .13274        .32953E-03
   3  Normalizat    1.6219        .83100E-01    .74955E-01   -.13515E-03
   4  Prefactor     .91135        .38067E-01    .45150E-01   -.12422E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.07213
  Index      = 4.01047
  Normalizat = 1.62189
  Prefactor  = 0.911353
 **********
 **   18 **HESSE 
 **********

 FCN=   6986.228     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      281 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0721        33.117        .66609E-04   -1.5420    
   2  Index         4.0105        6.8590        .49340E-02   -.19922    
   3  Normalizat    1.6219        .31937        .33166E-03   -.74409    
   4  Prefactor     .91135        .14973        .19774E-03   -.95746    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28577e-09
Minuit parameter uncertainties:
  1  16.5783
  2  5.03756
  3  0.319771
  4  0.149794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/326853': 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) = 6986.22810059
delta logL = 1.10118289976

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.072e+00  1.658e+01  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  4.010e+00  5.038e+00  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.114e-01  1.498e-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.622e+00  3.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 4.01 +/- 5.04
Photon Flux (Free Index): 1.77e-07 +/- 1.12e-07
Energy Flux (Free Index): 2.65e-05 +/- 2.28e-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/326853/cmap_HighResolution_657676801_657936001_4FGL_J1205.7-2635_daily_bin1614.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.59e-02', comment='SUCCESS', photon_flux='6.75e-08', energy_flux2='2.65e-05', photon_flux_error='6.56e-08', dlogl='1.10e+00', energy_flux='1.90e-05', photon_flux2='1.77e-07', job_status='DONE', time_completed='2021-12-07 23:03:39.535753', photon_index_error2='5.04', photon_index2='4.01', ts='1.47', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='2.05e-07', energy_flux_error2='2.28e-05', EG='1.76', time_epoch_completed='1638947019.54', return_code='0', job_id='326853', GAL2='0.91', EG2='1.62', return_code2='102', energy_flux_error='1.85e-05', photon_flux_error2='1.12e-07', ts2='3.91', photon_index='2.53' WHERE bin_id='1614' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 23:03:39 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 326853: <4FGL_J1205.7-2635_daily_bin1614> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1614> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec  7 22:50:20 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 22:51:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 22:51:24 2021
Terminated at Tue Dec  7 23:03:40 2021
Results reported at Tue Dec  7 23:03:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1614 181.432 -26.5946 657676801 657936001 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 :                                   672.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            800 sec.

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

