/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 140 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 = 7394
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1200.7+2008_daily_bin61
RA = 180.187, Dec = 20.1354
tmin = 255139201, tmax = 255398401
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='255925', job_status='RUN', time_executed='2021-09-04 20:28:42.117936', time_epoch_executed='1630812522.12' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255925

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255925/ft1_4FGL_J1200.7+2008_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255925/ft1_4FGL_J1200.7+2008_daily_bin61.fits outfile=/scratch/kocevski/255925/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin61.fits ra=180.187 dec=20.1354 rad=12.0 tmin=255139201.0 tmax=255398401.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 7.55
user 7.17
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.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/255925/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin61.fits evtable="EVENTS" outfile="/scratch/kocevski/255925/ft1_filtered_4FGL_J1200.7+2008_daily_bin61.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.52
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255925/ft1_filtered_4FGL_J1200.7+2008_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/255925/ltcube_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.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/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits
.....................!
real 11.95
user 11.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255925/ft1_filtered_4FGL_J1200.7+2008_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/255925/ltcube_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.fits outfile=/scratch/kocevski/255925/expmap_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.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/255925/ltcube_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.fits
.....................!
real 190.86
user 185.30
sys 5.15

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

Setting source of interest to:
4FGL J1200.7+2008 @ 180.187 20.1354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/255925/ft1_filtered_4FGL_J1200.7+2008_daily_bin61.fits scfile=/scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits outfile=/scratch/kocevski/255925/cmap_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.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.187 yref=20.1354 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/255925/ft1_filtered_4FGL_J1200.7+2008_daily_bin61.fits scfile=/scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits outfile=/scratch/kocevski/255925/cmap_HighResolution_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.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.187 yref=20.1354 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/255925/ft1_filtered_4FGL_J1200.7+2008_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255925/Model_4FGL_J1200.7+2008_daily_bin61.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/255925/ft1_filtered_4FGL_J1200.7+2008_daily_bin61.fits.....................!
real 51.99
user 50.65
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/255925/ft1_filtered_4FGL_J1200.7+2008_daily_bin61.fits', '/scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits', expMap='/scratch/kocevski/255925/expmap_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.fits', expCube='/scratch/kocevski/255925/ltcube_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/255925/Model_4FGL_J1200.7+2008_daily_bin61.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.7+2008'

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.085e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/255925/ft1_filtered_4FGL_J1200.7+2008_daily_bin61.fits
Spacecraft file(s): /scratch/kocevski/255925/ft2_4FGL_J1200.7+2008_daily_bin61.fits
Exposure map: /scratch/kocevski/255925/expmap_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.fits
Exposure cube: /scratch/kocevski/255925/ltcube_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/255925/Model_4FGL_J1200.7+2008_daily_bin61.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) = 5207.49820107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.0136       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.065       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .54185       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.080       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3591       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10381E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19822E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.026       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3340       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .64891       1.0000         .10000E-03   10000.    
    16 'norm      '    5.3915       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4287       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9726       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2872       1.0000         .10000E-03   10000.    
    20 'norm      '    .32134       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.9488       1.0000         .10000E-03   10000.    
    23 'Prefactor '    29.331       1.0000         .10000E-03   10000.    
    24 'Prefactor '    42.732       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.3148       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .66974       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5207.483     FROM MIGRAD    STATUS=CONVERGED    643 CALLS     3594 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2582       -.30755E-06** at limit **
   2  norm          .10000E-03    4.4587       -.58834E-08** at limit **
   3  Prefactor     4.0148        12.132        .67408E-05   -.39749E-03
   4  Prefactor     .10000E-03    11.261       -.15769E-07** at limit **
   5  Prefactor     11.064        11.706        .23298E-07    .37667E-05
   6  Prefactor     .10000E-03    9.1283        .22699E-07** at limit **
   7  Prefactor     .10000E-03    13.486        .12302E-07** at limit **
   8  Prefactor     .54109        1.3490        .33802E-06    .93413E-04
   9  Prefactor     16.078        14.581        .19149E-05   -.69666E-04
  10  norm          1.3591        1.0900        .21712E-08   -.45220E-04
  11  Prefactor     .10012E-03    12.005        .95381E-06** at limit **
  12  Prefactor     .10000E-03    2.3635       -.54788E-07** at limit **
  13  Prefactor     21.973        96.112       -.18707E-04   -.18168E-03
  14  Prefactor     3.3342        3.5037       -.12611E-06   -.25893E-03
  15  Prefactor     .64835        2.5807        .95508E-06   -.20183E-03
  16  norm          5.3915        3.1247        .22953E-08   -.39846E-05
  17  Prefactor     1.4287        1.5019       -.20448E-07    .32057E-04
  18  Prefactor     5.9724        3.0975        .98283E-08   -.38355E-04
  19  Prefactor     3.2873        4.5326        .64254E-07   -.36335E-04
  20  norm          .32135        .22158        .30530E-08   -.29250E-03
  21  norm          .10000E-03    2.2835        .26398E-07** at limit **
  22  Prefactor     3.9476        10.488        .16359E-06   -.43654E-04
  23  Prefactor     29.330        15.943        .10585E-06    .20981E-04
  24  Prefactor     42.735        34.516        .37743E-06    .14474E-04
  25  Normalizat    1.3149        .19606       -.39365E-06   -.20267E-03
  26  Prefactor     .66957        .19173       -.40757E-07   -.15291E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.01477
  Prefactor  = 0.0001
  Prefactor  = 11.0645
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.541091
  Prefactor  = 16.0784
  norm       = 1.35913
  Prefactor  = 0.000100124
  Prefactor  = 0.0001
  Prefactor  = 21.9733
  Prefactor  = 3.3342
  Prefactor  = 0.648352
  norm       = 5.3915
  Prefactor  = 1.42865
  Prefactor  = 5.97245
  Prefactor  = 3.28729
  norm       = 0.321347
  norm       = 0.0001
  Prefactor  = 3.94765
  Prefactor  = 29.3297
  Prefactor  = 42.7351
  Normalizat = 1.31489
  Prefactor  = 0.669567
 **********
 **   18 **HESSE 
 **********

 FCN=   5207.483     FROM HESSE     STATUS=OK           468 CALLS     4062 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2992        .16171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.4764        .14881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0148        12.854        .10065E-02   -1.5307    
   4  Prefactor     .10000E-03    11.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.064        11.711        .12044E-03   -1.5043    
   6  Prefactor     .10000E-03    9.1493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .54109        1.1519        .12750E-02   -1.5561    
   9  Prefactor     16.078        14.558        .99880E-04   -1.4906    
  10  norm          1.3591        1.0899        .37472E-04   -1.5475    
  11  Prefactor     .10012E-03    117.67        .46038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.518        .20769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.973        116.81        .85346E-04   -1.4770    
  14  Prefactor     3.3342        3.3498        .11867E-03   -1.5343    
  15  Prefactor     .64835        2.5125        .20373E-03   -1.5547    
  16  norm          5.3915        3.1236        .92819E-04   -1.5244    
  17  Prefactor     1.4287        1.5152        .87478E-04   -1.5469    
  18  Prefactor     5.9724        3.0982        .85411E-04   -1.5219    
  19  Prefactor     3.2873        4.5173        .17438E-03   -1.5345    
  20  norm          .32135        .21957        .26817E-04   -1.5595    
  21  norm          .10000E-03    2.3064        .10639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.9476        10.438        .20300E-03   -1.5311    
  23  Prefactor     29.330        15.935        .73978E-04   -1.4624    
  24  Prefactor     42.735        34.331        .61326E-04   -1.4400    
  25  Normalizat    1.3149        .22650        .22533E-03   -.83123    
  26  Prefactor     .66957        .22232        .30480E-03   -1.0473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28629e-09
Minuit parameter uncertainties:
  1  3.53082e-05
  2  3.09889e-06
  3  12.8625
  4  4.91887e-06
  5  11.7135
  6  4.5832e-06
  7  2.00635e-05
  8  1.15197
  9  14.5612
  10  1.08987
  11  0.00765023
  12  5.19149e-05
  13  101.637
  14  3.34995
  15  2.51291
  16  3.12367
  17  1.51521
  18  3.09833
  19  4.51779
  20  0.219575
  21  3.23562e-07
  22  10.4428
  23  15.9372
  24  34.3473
  25  0.226668
  26  0.22261
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  5.191e-05  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  6.696e-01  2.226e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.315e+00  2.267e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.187 20.135
Photon Flux Upper Limit: 9.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255925/likelihoodResults_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.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) = 5207.48286808
delta logL = -0.000161102362654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5207.48270752
delta logL = -5.45573129784e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13380E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6295       1.0000          .0000       10.000    
     3 'Normalizat'    1.3152       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5207.483     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      258 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10149E-03    .11715        .62971E-01** at limit **
   2  Index         2.7877        8.4847        .50000       -.12310E-04
   3  Normalizat    1.3149        .13344E-02    .50966E-01    .35244E-03
   4  Prefactor     .66957        .13402E-02    .68874E-01    .31437E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101494
  Index      = 2.78765
  Normalizat = 1.31489
  Prefactor  = 0.669568
 **********
 **   18 **HESSE 
 **********

 FCN=   5207.483     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      299 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10149E-03    .58858        .29907E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7877        5.6445        .50000       -.45835    
   3  Normalizat    1.3149        .17552E-02    .22533E-03   -.83123    
   4  Prefactor     .66957        .17601E-02    .30480E-03   -1.0473    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.0356e-09
Minuit parameter uncertainties:
  1  0.00187547
  2  26.951
  3  0.00175519
  4  0.00176009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255925': 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) = 5207.48270548
delta logL = 1.49554216478e-06

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.015e-04  1.875e-03  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.788e+00  2.695e+01  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  6.696e-01  1.760e-03  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.315e+00  1.755e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.187 20.135

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/255925/cmap_HighResolution_255139201_255398401_4FGL_J1200.7+2008_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.68e-08', time_completed='2021-09-04 20:41:14.884979', job_id='255925', GAL2='0.67', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1630813274.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.50e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='61' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:41:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 255925: <4FGL_J1200.7+2008_daily_bin61> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin61> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 20:26:10 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:26:12 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:26:12 2021
Terminated at Sat Sep  4 20:41:15 2021
Results reported at Sat Sep  4 20:41:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin61 180.187 20.1354 255139201 255398401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.7+2008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   750.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            905 sec.

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

