/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 3 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 = 7470
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1205.7-2635_daily_bin440
RA = 181.432, Dec = -26.5946
tmin = 353376001, tmax = 353635201
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='314734', job_status='RUN', time_executed='2021-09-04 23:31:03.374234', time_epoch_executed='1630823463.37' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/314734

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/314734/ft1_4FGL_J1205.7-2635_daily_bin440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/314734/ft2_4FGL_J1205.7-2635_daily_bin440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/314734/ft1_4FGL_J1205.7-2635_daily_bin440.fits outfile=/scratch/kocevski/314734/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin440.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=353376001.0 tmax=353635201.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.45
user 3.24
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/314734/ft2_4FGL_J1205.7-2635_daily_bin440.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/314734/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin440.fits evtable="EVENTS" outfile="/scratch/kocevski/314734/ft1_filtered_4FGL_J1205.7-2635_daily_bin440.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/314734/ft1_filtered_4FGL_J1205.7-2635_daily_bin440.fits" evtable="EVENTS" scfile=/scratch/kocevski/314734/ft2_4FGL_J1205.7-2635_daily_bin440.fits sctable="SC_DATA" outfile=/scratch/kocevski/314734/ltcube_353376001_353635201_4FGL_J1205.7-2635_daily_bin440.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/314734/ft2_4FGL_J1205.7-2635_daily_bin440.fits
.....................!
real 12.08
user 11.74
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/314734/ft1_filtered_4FGL_J1205.7-2635_daily_bin440.fits evtable="EVENTS" scfile=/scratch/kocevski/314734/ft2_4FGL_J1205.7-2635_daily_bin440.fits sctable="SC_DATA" expcube=/scratch/kocevski/314734/ltcube_353376001_353635201_4FGL_J1205.7-2635_daily_bin440.fits outfile=/scratch/kocevski/314734/expmap_353376001_353635201_4FGL_J1205.7-2635_daily_bin440.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/314734/ltcube_353376001_353635201_4FGL_J1205.7-2635_daily_bin440.fits
.....................!
real 190.62
user 185.12
sys 5.16

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/314734/ft1_filtered_4FGL_J1205.7-2635_daily_bin440.fits scfile=/scratch/kocevski/314734/ft2_4FGL_J1205.7-2635_daily_bin440.fits outfile=/scratch/kocevski/314734/cmap_353376001_353635201_4FGL_J1205.7-2635_daily_bin440.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.56
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/314734/ft1_filtered_4FGL_J1205.7-2635_daily_bin440.fits scfile=/scratch/kocevski/314734/ft2_4FGL_J1205.7-2635_daily_bin440.fits outfile=/scratch/kocevski/314734/cmap_HighResolution_353376001_353635201_4FGL_J1205.7-2635_daily_bin440.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/314734/ft1_filtered_4FGL_J1205.7-2635_daily_bin440.fits evtable="EVENTS" scfile=/scratch/kocevski/314734/ft2_4FGL_J1205.7-2635_daily_bin440.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/314734/Model_4FGL_J1205.7-2635_daily_bin440.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/314734/ft1_filtered_4FGL_J1205.7-2635_daily_bin440.fits.....................!
real 84.74
user 83.38
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.736       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .39383       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .35391E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9281       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    25.774       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0611       1.0000         .10000E-03   10000.    
    10 'norm      '    .12519E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .90636       1.0000         .10000E-03   10000.    
    12 'Prefactor '    46.463       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14814E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.870       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.2659       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.6792       1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.615       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3518       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79376       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=   10441.24     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2465 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.733        24.655       -.19398E-06    .68883E-05
   2  Prefactor     .10000E-03    2.2046        .21851E-10** at limit **
   3  Prefactor     .10000E-03    148.55        .77195E-05** at limit **
   4  norm          .39344        .88280       -.15055E-06   -.46973E-03
   5  Prefactor     .10002E-03    3.7756       -.40891E-06** at limit **
   6  Prefactor     2.9280        3.1429       -.18422E-06   -.84822E-05
   7  Prefactor     .10000E-03    6.7444       -.46369E-07** at limit **
   8  norm          25.774        18.734       -.27110E-06    .90939E-05
   9  Prefactor     1.0560        2.5822        .12298E-05   -.16207E-02
  10  norm          .10000E-03    1.1678       -.68054E-06** at limit **
  11  Prefactor     .90594        3.0674       -.40512E-06   -.19762E-03
  12  Prefactor     46.471        33.946        .16077E-05    .92482E-04
  13  Prefactor     .10000E-03    5.4957       -.59599E-06** at limit **
  14  Prefactor     15.867        19.806       -.58784E-07    .41200E-04
  15  Prefactor     7.2634        13.626       -.57501E-06    .23841E-04
  16  Prefactor     .10000E-03    26.793        .42749E-06** at limit **
  17  Prefactor     .10000E-03    15.948        .26172E-07** at limit **
  18  Prefactor     .10000E-03    6.7130        .22924E-06** at limit **
  19  norm          2.6790        .85396        .15703E-06    .33768E-03
  20  Prefactor     33.556        66.027       -.63963E-04   -.28623E-04
  21  Normalizat    1.3519        .17493        .10129E-05    .23421E-03
  22  Prefactor     .79376        .85787E-01    .64790E-06    .34697E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.7331
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.393442
  Prefactor  = 0.000100017
  Prefactor  = 2.92802
  Prefactor  = 0.0001
  norm       = 25.7736
  Prefactor  = 1.05601
  norm       = 0.000100002
  Prefactor  = 0.90594
  Prefactor  = 46.4712
  Prefactor  = 0.000100001
  Prefactor  = 15.8669
  Prefactor  = 7.26341
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.67904
  Prefactor  = 33.5562
  Normalizat = 1.35186
  Prefactor  = 0.793758
 **********
 **   18 **HESSE 
 **********

 FCN=   10441.24     FROM HESSE     STATUS=OK           354 CALLS     2819 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.733        24.659        .80542E-04   -1.4713    
   2  Prefactor     .10000E-03    2.2084        .14815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    152.93        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .39344        .86507        .13815E-03   -1.5583    
   5  Prefactor     .10002E-03    5.7341        .69242E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9280        3.1327        .18059E-03   -1.5366    
   7  Prefactor     .10000E-03    6.7490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          25.774        18.741        .39453E-03   -1.4692    
   9  Prefactor     1.0560        17.190        .23774E-02   -1.5502    
  10  norm          .10000E-03    5.7122        .21036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .90594        2.9781        .29451E-03   -1.5518    
  12  Prefactor     46.471        34.292        .58823E-04   -1.4344    
  13  Prefactor     .10000E-03    26.644        .46326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.867        19.363        .10054E-03   -1.4911    
  15  Prefactor     7.2634        13.596        .14880E-03   -1.5169    
  16  Prefactor     .10000E-03    26.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.7790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.6790        .85245        .51371E-04   -1.5381    
  20  Prefactor     33.556        66.109        .69115E-04   -1.4549    
  21  Normalizat    1.3519        .20953        .29049E-03   -.82031    
  22  Prefactor     .79376        .10289        .18239E-03   -.99959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88569e-08
Minuit parameter uncertainties:
  1  24.6691
  2  2.38417e-06
  3  0.000517318
  4  0.865094
  5  0.000624652
  6  3.13285
  7  2.88874e-06
  8  18.7456
  9  8.52373
  10  0.000225948
  11  2.97855
  12  34.3068
  13  0.000241911
  14  19.3709
  15  13.6014
  16  1.72032e-05
  17  3.3326e-05
  18  5.07046e-05
  19  0.852455
  20  66.2536
  21  0.209658
  22  0.102915
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  9.059e-01  2.979e+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:  7.938e-01  1.029e-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.352e+00  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/314734/likelihoodResults_353376001_353635201_4FGL_J1205.7-2635_daily_bin440.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) = 10441.2271622
delta logL = 0.0101592849023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10441.2266377
delta logL = 0.0106837585608

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83219       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7675       1.0000          .0000       10.000    
     3 'Normalizat'    1.3494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79439       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=   10441.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      218 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83230        23.393        .12559E-01    .12477E-02
   2  Index         2.7676        1.4566        .50000        .14969E-04
   3  Normalizat    1.3493        .17007E-01    .65717E-01    .14639E-03
   4  Prefactor     .79440        .84729E-02    .43644E-01   -.41715E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.832304
  Index      = 2.76764
  Normalizat = 1.34935
  Prefactor  = 0.794402
 **********
 **   18 **HESSE 
 **********

 FCN=   10441.23     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83230        2.7793        .25547E-03   -1.5526    
   2  Index         2.7676        1.6892        .87534E-02   -.46282    
   3  Normalizat    1.3493        .20583        .29071E-03   -.82105    
   4  Prefactor     .79440        .10203        .18232E-03   -.99935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40469e-09
Minuit parameter uncertainties:
  1  2.77973
  2  1.73216
  3  0.20596
  4  0.102059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/314734': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10441.2266377
delta logL = 0.0106837769217

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  8.323e-01  2.780e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.768e+00  1.732e+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:  7.944e-01  1.021e-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.349e+00  2.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/314734/cmap_HighResolution_353376001_353635201_4FGL_J1205.7-2635_daily_bin440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-03', job_status='DONE', photon_flux_upper_limit='7.61e-08', time_completed='2021-09-04 23:46:08.826147', job_id='314734', GAL2='0.79', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1630824368.83', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.07e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='440' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:46:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 314734: <4FGL_J1205.7-2635_daily_bin440> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin440 181.432 -26.5946 353376001 353635201 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 :                                   902.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            932 sec.

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

