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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1548
RA = 181.432, Dec = -26.5946
tmin = 640569601, tmax = 640828801
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='319909', job_status='RUN', time_executed='2021-09-04 23:48:48.112275', time_epoch_executed='1630824528.11' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1548'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319909

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319909/ft1_4FGL_J1205.7-2635_daily_bin1548.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319909/ft2_4FGL_J1205.7-2635_daily_bin1548.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319909/ft1_4FGL_J1205.7-2635_daily_bin1548.fits outfile=/scratch/kocevski/319909/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1548.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=640569601.0 tmax=640828801.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.98
user 2.75
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319909/ft1_filtered_4FGL_J1205.7-2635_daily_bin1548.fits" evtable="EVENTS" scfile=/scratch/kocevski/319909/ft2_4FGL_J1205.7-2635_daily_bin1548.fits sctable="SC_DATA" outfile=/scratch/kocevski/319909/ltcube_640569601_640828801_4FGL_J1205.7-2635_daily_bin1548.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/319909/ft2_4FGL_J1205.7-2635_daily_bin1548.fits
.....................!
real 12.38
user 12.06
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319909/ft1_filtered_4FGL_J1205.7-2635_daily_bin1548.fits evtable="EVENTS" scfile=/scratch/kocevski/319909/ft2_4FGL_J1205.7-2635_daily_bin1548.fits sctable="SC_DATA" expcube=/scratch/kocevski/319909/ltcube_640569601_640828801_4FGL_J1205.7-2635_daily_bin1548.fits outfile=/scratch/kocevski/319909/expmap_640569601_640828801_4FGL_J1205.7-2635_daily_bin1548.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/319909/ltcube_640569601_640828801_4FGL_J1205.7-2635_daily_bin1548.fits
.....................!
real 190.88
user 185.45
sys 5.00

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/319909/ft1_filtered_4FGL_J1205.7-2635_daily_bin1548.fits scfile=/scratch/kocevski/319909/ft2_4FGL_J1205.7-2635_daily_bin1548.fits outfile=/scratch/kocevski/319909/cmap_640569601_640828801_4FGL_J1205.7-2635_daily_bin1548.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319909/ft1_filtered_4FGL_J1205.7-2635_daily_bin1548.fits scfile=/scratch/kocevski/319909/ft2_4FGL_J1205.7-2635_daily_bin1548.fits outfile=/scratch/kocevski/319909/cmap_HighResolution_640569601_640828801_4FGL_J1205.7-2635_daily_bin1548.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319909/ft1_filtered_4FGL_J1205.7-2635_daily_bin1548.fits evtable="EVENTS" scfile=/scratch/kocevski/319909/ft2_4FGL_J1205.7-2635_daily_bin1548.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319909/Model_4FGL_J1205.7-2635_daily_bin1548.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/319909/ft1_filtered_4FGL_J1205.7-2635_daily_bin1548.fits.....................!
real 28.83
user 27.43
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.032       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.0490       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    80.368       1.0000         .10000E-03   10000.    
     8 'norm      '    117.98       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .98202E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    12.413       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    337.15       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .55987E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12740E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    71.056       1.0000         .10000E-03   10000.    
    19 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15694E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.7130       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .61640       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=   1951.001     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2848 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.024        47.991       -.12696E-06   -.77281E-06
   2  Prefactor     .10000E-03    13.397        .27624E-06** at limit **
   3  Prefactor     .10000E-03    31.858        .12343E-08** at limit **
   4  norm          3.0491        2.7167        .27065E-07    .75007E-04
   5  Prefactor     .10000E-03    35.886        .15066E-05** at limit **
   6  Prefactor     .10000E-03    4.8996       -.50715E-06** at limit **
   7  Prefactor     80.274        76.470        .51039E-07    .13111E-04
   8  norm          118.01        82.731        .77672E-07    .31051E-04
   9  Prefactor     .10000E-03    344.91       -.41434E-04** at limit **
  10  norm          12.406        18.911        .17545E-05    .53766E-03
  11  Prefactor     .10000E-03    6.1525       -.17098E-05** at limit **
  12  Prefactor     336.33        265.26       -.53770E-05    .14325E-03
  13  Prefactor     .10000E-03    16.067        .22701E-06** at limit **
  14  Prefactor     .10000E-03    38.146       -.56803E-06** at limit **
  15  Prefactor     .10000E-03    737.49       -.14527E-03** at limit **
  16  Prefactor     .10001E-03    221.99       -.13909E-04** at limit **
  17  Prefactor     .10000E-03    54.457       -.37157E-07** at limit **
  18  Prefactor     71.071        70.339       -.55370E-07    .23103E-04
  19  norm          .10000E-03    4.0011        .22772E-06** at limit **
  20  Prefactor     .10001E-03    352.09       -.13930E-05** at limit **
  21  Normalizat    1.7129        .47154       -.16397E-06    .19791E-03
  22  Prefactor     .61644        .21656        .15341E-06    .26644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.0241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.04909
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.2739
  norm       = 118.006
  Prefactor  = 0.000100004
  norm       = 12.4059
  Prefactor  = 0.0001
  Prefactor  = 336.325
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 71.0711
  norm       = 0.0001
  Prefactor  = 0.000100005
  Normalizat = 1.71289
  Prefactor  = 0.616438
 **********
 **   18 **HESSE 
 **********

 FCN=   1951.001     FROM HESSE     STATUS=OK           328 CALLS     3176 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.024        47.999        .80065E-04   -1.4707    
   2  Prefactor     .10000E-03    13.438        .15790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.0491        2.7154        .65937E-04   -1.5359    
   5  Prefactor     .10000E-03    36.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.9045        .95485E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     80.274        76.525        .22400E-03   -1.3914    
   8  norm          118.01        82.800        .18523E-03   -1.3531    
   9  Prefactor     .10000E-03    352.44        .41549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.406        18.911        .11369E-03   -1.5003    
  11  Prefactor     .10000E-03    6.1611        .10701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     336.33        264.04        .11081E-03   -1.2019    
  13  Prefactor     .10000E-03    16.077        .17296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    38.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    735.86        .19042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    223.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    54.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     71.071        70.354        .47623E-04   -1.4020    
  19  norm          .10000E-03    4.1028        .17252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    352.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.7129        .55238        .31363E-03   -.71960    
  22  Prefactor     .61644        .25264        .22607E-03   -1.0690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8702e-10
Minuit parameter uncertainties:
  1  48.0733
  2  3.20697e-06
  3  4.64962e-05
  4  2.7155
  5  8.03867e-05
  6  9.82186e-07
  7  76.6193
  8  82.8816
  9  0.00224025
  10  18.9203
  11  4.55827e-06
  12  264.992
  13  2.80767e-06
  14  4.48713e-05
  15  0.00280397
  16  0.00289674
  17  0.000104613
  18  70.4366
  19  1.72435e-06
  20  0.00271427
  21  0.55439
  22  0.253104
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  4.558e-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:  6.164e-01  2.531e-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.713e+00  5.544e-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: 2.78e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319909/likelihoodResults_640569601_640828801_4FGL_J1205.7-2635_daily_bin1548.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) = 1951.00212795
delta logL = -0.000753383568508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1951.00137452
delta logL = 3.79156972485e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5173       1.0000          .0000       10.000    
     3 'Normalizat'    1.7129       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61645       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=   1951.001     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      252 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    75.906        .10768E-01** at limit **
   2  Index         1.9729        5.9261        .50000        .11785E-06
   3  Normalizat    1.7129        .40017E-01    .31363E-03   -.17184E-04
   4  Prefactor     .61644        .18472E-01    .22606E-03   -.20367E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.97288
  Normalizat = 1.71289
  Prefactor  = 0.616437
 **********
 **   18 **HESSE 
 **********

 FCN=   1951.001     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    624.18        .11589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9729        5.0456        .50000       -.65030    
   3  Normalizat    1.7129        .12839        .62725E-04   -.71960    
   4  Prefactor     .61644        .59272E-01    .90426E-05   -1.0690    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.41227e-11
Minuit parameter uncertainties:
  1  0.000553945
  2  1532.48
  3  0.128419
  4  0.0592783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319909': 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) = 1951.00137337
delta logL = 1.19014771371e-06

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  5.539e-04  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.973e+00  1.532e+03  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:  6.164e-01  5.928e-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.713e+00  1.284e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/319909/cmap_HighResolution_640569601_640828801_4FGL_J1205.7-2635_daily_bin1548.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-02', job_status='DONE', photon_flux_upper_limit='2.78e-07', time_completed='2021-09-04 23:55:56.643628', job_id='319909', GAL2='0.62', fit_tolerance='1e-08', EG2='1.71', EG='1.71', time_epoch_completed='1630824956.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='1.19e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1548' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:55:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 319909: <4FGL_J1205.7-2635_daily_bin1548> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1548> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:45 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:46 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:45:46 2021
Terminated at Sat Sep  4 23:55:57 2021
Results reported at Sat Sep  4 23:55:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1548 181.432 -26.5946 640569601 640828801 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 :                                   424.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             228.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            612 sec.

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

