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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin473
RA = 180.173, Dec = 12.4922
tmin = 361929601, tmax = 362188801
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='250722', job_status='RUN', time_executed='2021-09-04 20:14:13.866404', time_epoch_executed='1630811653.87' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250722

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250722/ft1_4FGL_J1200.6+1229_daily_bin473.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250722/ft2_4FGL_J1200.6+1229_daily_bin473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250722/ft1_4FGL_J1200.6+1229_daily_bin473.fits outfile=/scratch/kocevski/250722/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin473.fits ra=180.173 dec=12.4922 rad=12.0 tmin=361929601.0 tmax=362188801.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 5.44
user 5.19
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/250722/ft2_4FGL_J1200.6+1229_daily_bin473.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/250722/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin473.fits evtable="EVENTS" outfile="/scratch/kocevski/250722/ft1_filtered_4FGL_J1200.6+1229_daily_bin473.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250722/ft1_filtered_4FGL_J1200.6+1229_daily_bin473.fits" evtable="EVENTS" scfile=/scratch/kocevski/250722/ft2_4FGL_J1200.6+1229_daily_bin473.fits sctable="SC_DATA" outfile=/scratch/kocevski/250722/ltcube_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.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/250722/ft2_4FGL_J1200.6+1229_daily_bin473.fits
.....................!
real 11.66
user 11.33
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250722/ft1_filtered_4FGL_J1200.6+1229_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/250722/ft2_4FGL_J1200.6+1229_daily_bin473.fits sctable="SC_DATA" expcube=/scratch/kocevski/250722/ltcube_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.fits outfile=/scratch/kocevski/250722/expmap_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.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/250722/ltcube_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.fits
.....................!
real 190.03
user 184.74
sys 4.92

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/250722/ft1_filtered_4FGL_J1200.6+1229_daily_bin473.fits scfile=/scratch/kocevski/250722/ft2_4FGL_J1200.6+1229_daily_bin473.fits outfile=/scratch/kocevski/250722/cmap_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250722/ft1_filtered_4FGL_J1200.6+1229_daily_bin473.fits scfile=/scratch/kocevski/250722/ft2_4FGL_J1200.6+1229_daily_bin473.fits outfile=/scratch/kocevski/250722/cmap_HighResolution_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250722/ft1_filtered_4FGL_J1200.6+1229_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/250722/ft2_4FGL_J1200.6+1229_daily_bin473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250722/Model_4FGL_J1200.6+1229_daily_bin473.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/250722/ft1_filtered_4FGL_J1200.6+1229_daily_bin473.fits.....................!
real 59.90
user 58.53
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/250722/ft1_filtered_4FGL_J1200.6+1229_daily_bin473.fits', '/scratch/kocevski/250722/ft2_4FGL_J1200.6+1229_daily_bin473.fits', expMap='/scratch/kocevski/250722/expmap_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.fits', expCube='/scratch/kocevski/250722/ltcube_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/250722/Model_4FGL_J1200.6+1229_daily_bin473.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/250722/ft1_filtered_4FGL_J1200.6+1229_daily_bin473.fits
Spacecraft file(s): /scratch/kocevski/250722/ft2_4FGL_J1200.6+1229_daily_bin473.fits
Exposure map: /scratch/kocevski/250722/expmap_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.fits
Exposure cube: /scratch/kocevski/250722/ltcube_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/250722/Model_4FGL_J1200.6+1229_daily_bin473.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) = 6365.78612888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.678       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.9415       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11785       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.054       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    106.52       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .77688       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.308       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1584       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    81.184       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0254       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1388       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=   6365.782     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2538 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.683        13.353        .72652E-05    .24395E-03
   2  Prefactor     .10000E-03    5.3735       -.22519E-07** at limit **
   3  Prefactor     9.8768        46.873       -.11186E-03    .84764E-05
   4  Prefactor     .10000E-03    7.4510       -.14326E-05** at limit **
   5  Prefactor     .10000E-03    35.780        .37105E-05** at limit **
   6  Prefactor     .10000E-03    9.2413       -.14943E-05** at limit **
   7  Prefactor     .80117E-01    5.4744        .20070E-06   -.74009E-03
   8  Prefactor     11.055        16.751       -.38232E-05    .36227E-04
   9  Prefactor     .10000E-03    3.7755       -.76100E-07** at limit **
  10  Prefactor     106.54        101.23        .16205E-04    .41244E-04
  11  Prefactor     .10000E-03    32.596       -.11554E-04** at limit **
  12  Prefactor     .77553        2.4447       -.18795E-05   -.14715E-02
  13  Prefactor     .10000E-03    2.0809       -.15409E-06** at limit **
  14  Prefactor     .10000E-03    22.984        .46619E-05** at limit **
  15  norm          10.308        3.9784       -.46122E-06   -.78778E-04
  16  Prefactor     .10000E-03    6.8328        .74980E-06** at limit **
  17  norm          1.1584        .34169       -.76243E-07    .10904E-02
  18  norm          .10000E-03    13.777       -.83861E-06** at limit **
  19  Prefactor     81.180        82.351       -.36573E-05    .81014E-06
  20  Prefactor     .10000E-03    4.1797       -.87895E-07** at limit **
  21  Prefactor     .10000E-03    8.9415        .21075E-05** at limit **
  22  Normalizat    1.0253        .20232        .73991E-05    .26876E-05
  23  Prefactor     1.1391        .18050       -.36166E-06    .44553E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.6832
  Prefactor  = 0.0001
  Prefactor  = 9.8768
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.080117
  Prefactor  = 11.0548
  Prefactor  = 0.0001
  Prefactor  = 106.535
  Prefactor  = 0.0001
  Prefactor  = 0.775534
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.3084
  Prefactor  = 0.0001
  norm       = 1.15838
  norm       = 0.0001
  Prefactor  = 81.18
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02527
  Prefactor  = 1.13914
 **********
 **   18 **HESSE 
 **********

 FCN=   6365.782     FROM HESSE     STATUS=OK           368 CALLS     2906 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.683        13.366        .10115E-03   -1.4916    
   2  Prefactor     .10000E-03    5.3844        .18063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.8768        47.051        .12709E-03   -1.5079    
   4  Prefactor     .10000E-03    7.5024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    35.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.3082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .80117E-01    6.4058        .58538E-01   -1.5651    
   8  Prefactor     11.055        16.733        .12050E-03   -1.5043    
   9  Prefactor     .10000E-03    3.8671        .30230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     106.54        101.29        .38966E-04   -1.3640    
  11  Prefactor     .10000E-03    32.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .77553        2.4265        .21037E-03   -1.5532    
  13  Prefactor     .10000E-03    2.1183        .11211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.308        3.9797        .94479E-04   -1.5066    
  16  Prefactor     .10000E-03    6.8331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1584        .34154        .24326E-04   -1.5493    
  18  norm          .10000E-03    13.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     81.180        82.354        .44576E-04   -1.3904    
  20  Prefactor     .10000E-03    4.1972        .15930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.9447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0253        .24585        .28274E-03   -.92189    
  23  Prefactor     1.1391        .21974        .25089E-03   -.88225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45989e-09
Minuit parameter uncertainties:
  1  13.3681
  2  1.56429e-05
  3  43.1693
  4  1.08192e-05
  5  6.43491e-05
  6  0.000132539
  7  1.43204
  8  16.7402
  9  1.32233e-05
  10  101.452
  11  0.000162517
  12  2.42678
  13  8.57515e-06
  14  5.7899e-05
  15  3.9798
  16  6.54382e-06
  17  0.341536
  18  1.63592e-06
  19  82.4703
  20  1.97725e-05
  21  2.93161e-05
  22  0.246119
  23  0.219912
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.105e+01  1.674e+01  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.139e+00  2.199e-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.025e+00  2.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.77
Ra Dec: 180.173 12.492
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250722/likelihoodResults_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.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) = 6365.76875965
delta logL = 0.0129477369856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6365.76743148
delta logL = 0.0142759085857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.871       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1940       1.0000          .0000       10.000    
     3 'Normalizat'    1.0317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1356       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=   6365.767     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      274 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        17.606        .11627E-03   -.11577E-03
   2  Index         2.1941        1.1183        .13501E-01   -.37889E-04
   3  Normalizat    1.0315        .23681        .28198E-03    .64266E-04
   4  Prefactor     1.1358        .21915        .25120E-03    .81190E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8711
  Index      = 2.19405
  Normalizat = 1.03149
  Prefactor  = 1.13577
 **********
 **   18 **HESSE 
 **********

 FCN=   6365.767     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        17.464        .46508E-05   -1.5019    
   2  Index         2.1941        1.1085        .54003E-03   -.59582    
   3  Normalizat    1.0315        .23687        .11279E-04   -.91983    
   4  Prefactor     1.1358        .21931        .10048E-04   -.88331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56125e-10
Minuit parameter uncertainties:
  1  17.4715
  2  1.1222
  3  0.237108
  4  0.21948
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250722': 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) = 6365.7674312
delta logL = 0.0142761795605

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.187e+01  1.747e+01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.194e+00  1.122e+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.136e+00  2.195e-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.031e+00  2.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.77
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/250722/cmap_HighResolution_361929601_362188801_4FGL_J1200.6+1229_daily_bin473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.89e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-04 20:26:02.550297', job_id='250722', GAL2='1.14', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1630812362.55', return_code2='0', ts='0.77', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.43e-02', ts2='0.79', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='473' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:26:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 250722: <4FGL_J1200.6+1229_daily_bin473> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin473> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 20:10:45 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:10: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 20:10:46 2021
Terminated at Sat Sep  4 20:26:03 2021
Results reported at Sat Sep  4 20:26:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin473 180.173 12.4922 361929601 362188801 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 :                                   707.13 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             277.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

