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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1230
RA = 180.173, Dec = 12.4922
tmin = 558144001, tmax = 558403201
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='253949', job_status='RUN', time_executed='2021-09-04 20:23:20.724566', time_epoch_executed='1630812200.72' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253949

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253949/ft1_4FGL_J1200.6+1229_daily_bin1230.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253949/ft1_4FGL_J1200.6+1229_daily_bin1230.fits outfile=/scratch/kocevski/253949/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1230.fits ra=180.173 dec=12.4922 rad=12.0 tmin=558144001.0 tmax=558403201.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 4.26
user 4.04
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.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/253949/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1230.fits evtable="EVENTS" outfile="/scratch/kocevski/253949/ft1_filtered_4FGL_J1200.6+1229_daily_bin1230.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253949/ft1_filtered_4FGL_J1200.6+1229_daily_bin1230.fits" evtable="EVENTS" scfile=/scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits sctable="SC_DATA" outfile=/scratch/kocevski/253949/ltcube_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.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/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits
.....................!
real 14.22
user 13.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253949/ft1_filtered_4FGL_J1200.6+1229_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits sctable="SC_DATA" expcube=/scratch/kocevski/253949/ltcube_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.fits outfile=/scratch/kocevski/253949/expmap_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.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/253949/ltcube_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.fits
.....................!
real 190.83
user 185.68
sys 4.72

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 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1200.6+1229 @ 180.173 12.4922

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/253949/ft1_filtered_4FGL_J1200.6+1229_daily_bin1230.fits scfile=/scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits outfile=/scratch/kocevski/253949/cmap_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.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=180.173 yref=12.4922 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253949/ft1_filtered_4FGL_J1200.6+1229_daily_bin1230.fits scfile=/scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits outfile=/scratch/kocevski/253949/cmap_HighResolution_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.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=180.173 yref=12.4922 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/253949/ft1_filtered_4FGL_J1200.6+1229_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253949/Model_4FGL_J1200.6+1229_daily_bin1230.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/253949/ft1_filtered_4FGL_J1200.6+1229_daily_bin1230.fits.....................!
real 42.97
user 41.54
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253949/ft1_filtered_4FGL_J1200.6+1229_daily_bin1230.fits', '/scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits', expMap='/scratch/kocevski/253949/expmap_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.fits', expCube='/scratch/kocevski/253949/ltcube_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253949/Model_4FGL_J1200.6+1229_daily_bin1230.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.6+1229'

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.077e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/253949/ft1_filtered_4FGL_J1200.6+1229_daily_bin1230.fits
Spacecraft file(s): /scratch/kocevski/253949/ft2_4FGL_J1200.6+1229_daily_bin1230.fits
Exposure map: /scratch/kocevski/253949/expmap_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.fits
Exposure cube: /scratch/kocevski/253949/ltcube_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253949/Model_4FGL_J1200.6+1229_daily_bin1230.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) = 3984.70754906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.494       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10764E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    93.675       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .48136E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    301.68       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11468E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1628       1.0000         .10000E-03   10000.    
    15 'norm      '    5.1086       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2272       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0307       1.0000         .10000E-03   10000.    
    18 'norm      '    .10269E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    44.448       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1687       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1960       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4586       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3984.703     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2564 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.521        35.645       -.57757E-04   -.53618E-04
   2  Prefactor     .10000E-03    49.278        .10454E-05** at limit **
   3  Prefactor     93.960        156.48        .17962E-03    .15159E-03
   4  Prefactor     .12675E-03    72.023       -.19188E-04** at limit **
   5  Prefactor     301.55        185.14       -.52508E-04   -.33315E-04
   6  Prefactor     .10000E-03    15.643        .53683E-06** at limit **
   7  Prefactor     .10000E-03    3.1175       -.48147E-08** at limit **
   8  Prefactor     .10000E-03    60.800       -.55493E-05** at limit **
   9  Prefactor     .10000E-03    8.8713        .63843E-07** at limit **
  10  Prefactor     .10000E-03    104.00       -.81446E-04** at limit **
  11  Prefactor     .10000E-03    95.857        .77246E-04** at limit **
  12  Prefactor     .10000E-03    6.4708        .57335E-08** at limit **
  13  Prefactor     .10000E-03    7.0481       -.10315E-08** at limit **
  14  Prefactor     7.1618        71.768        .15397E-04    .46418E-05
  15  norm          5.1075        5.2266       -.73829E-07   -.31092E-03
  16  Prefactor     1.2745        306.94       -.90173E-04   -.11281E-04
  17  norm          1.0304        .62995        .25878E-07    .25730E-03
  18  norm          .10000E-03    22.868       -.36880E-07** at limit **
  19  Prefactor     44.529        125.25        .49729E-04    .35962E-04
  20  Prefactor     3.1684        7.2460        .19178E-06   -.15175E-03
  21  Prefactor     .10000E-03    21.329        .24969E-06** at limit **
  22  Normalizat    1.1966        .32792       -.20837E-05    .55782E-03
  23  Prefactor     1.4585        .27885       -.23600E-05    .78172E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.5209
  Prefactor  = 0.000100001
  Prefactor  = 93.9604
  Prefactor  = 0.000126751
  Prefactor  = 301.552
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.1618
  norm       = 5.10752
  Prefactor  = 1.27452
  norm       = 1.03043
  norm       = 0.0001
  Prefactor  = 44.529
  Prefactor  = 3.16845
  Prefactor  = 0.0001
  Normalizat = 1.19657
  Prefactor  = 1.45849
 **********
 **   18 **HESSE 
 **********

 FCN=   3984.703     FROM HESSE     STATUS=OK           368 CALLS     2932 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.521        35.719        .11817E-03   -1.5029    
   2  Prefactor     .10000E-03    49.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     93.960        156.92        .20762E-03   -1.3766    
   4  Prefactor     .12675E-03    67.588        .13014       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     301.55        186.58        .11693E-03   -1.2217    
   6  Prefactor     .10000E-03    15.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.1250        .10885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    61.289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.9015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    103.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    96.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.5912        .15669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.3831        .32701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.1618        70.708        .14988E-03   -1.5173    
  15  norm          5.1075        5.2044        .12520E-03   -1.5256    
  16  Prefactor     1.2745        318.62        .40635E-02   -1.5482    
  17  norm          1.0304        .63199        .38041E-04   -1.5505    
  18  norm          .10000E-03    22.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     44.529        125.15        .60135E-04   -1.4372    
  20  Prefactor     3.1684        7.2244        .22768E-03   -1.5352    
  21  Prefactor     .10000E-03    21.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1966        .39765        .33841E-03   -.86709    
  23  Prefactor     1.4585        .33886        .27362E-03   -.78709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74839e-09
Minuit parameter uncertainties:
  1  35.785
  2  0.000357308
  3  157.616
  4  0.0851383
  5  186.948
  6  0.000226684
  7  1.6689e-05
  8  2.47758e-05
  9  6.75928e-06
  10  0.00022651
  11  0.000859446
  12  7.2464e-06
  13  2.24163e-05
  14  45.0755
  15  5.20488
  16  40.5212
  17  0.631993
  18  4.40416e-06
  19  125.895
  20  7.22637
  21  4.74629e-05
  22  0.39866
  23  0.33938
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  2.478e-05  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  1.458e+00  3.394e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.197e+00  3.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.173 12.492
Photon Flux Upper Limit: 1.78e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.37e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253949/likelihoodResults_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.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) = 3984.70353106
delta logL = -7.76347610554e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3984.7034536
delta logL = -1.7188858692e-07

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 'Index     '    2.3336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1966       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+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=   3984.703     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      286 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    8499.5        .18142E-02** at limit **
   2  Index         2.4098        5.8005        .50000       -.14362E-04
   3  Normalizat    1.1966        .12432        .33841E-03    .85733E-04
   4  Prefactor     1.4585        .10988        .27362E-03    .10619E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 2.40984
  Normalizat = 1.19657
  Prefactor  = 1.45849
 **********
 **   18 **HESSE 
 **********

 FCN=   3984.703     FROM HESSE     STATUS=OK            29 CALLS      315 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    85.237        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4098        6.1888        .50000       -.54455    
   3  Normalizat    1.1966        .37043        .13536E-04   -.86709    
   4  Prefactor     1.4585        .32783        .54724E-04   -.78709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03496e-10
Minuit parameter uncertainties:
  1  0.00222316
  2  4.87501
  3  0.371243
  4  0.328303
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253949': 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) = 3984.70345335
delta logL = 7.43480086385e-08

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  2.223e-03  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.410e+00  4.875e+00  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  1.458e+00  3.283e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.197e+00  3.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.173 12.492

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/253949/cmap_HighResolution_558144001_558403201_4FGL_J1200.6+1229_daily_bin1230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.37e-02', job_status='DONE', photon_flux_upper_limit='1.78e-07', time_completed='2021-09-04 20:32:45.015601', job_id='253949', GAL2='1.46', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630812765.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.46', dlogl='7.43e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1230' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:32:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 253949: <4FGL_J1200.6+1229_daily_bin1230> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1230> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 20:21:11 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:21:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 20:21:13 2021
Terminated at Sat Sep  4 20:32:45 2021
Results reported at Sat Sep  4 20:32:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1230 180.173 12.4922 558144001 558403201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.6+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   560.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            694 sec.

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

