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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin206
RA = 186.252, Dec = 3.5098
tmin = 292723201, tmax = 292982401
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='605429', job_status='RUN', time_executed='2021-09-05 13:45:07.389678', time_epoch_executed='1630874707.39' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='206'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/605429

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/605429/ft1_4FGL_J1225.0+0330_daily_bin206.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/605429/ft1_4FGL_J1225.0+0330_daily_bin206.fits outfile=/scratch/kocevski/605429/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin206.fits ra=186.252 dec=3.5098 rad=12.0 tmin=292723201.0 tmax=292982401.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.40
user 3.15
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.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/605429/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin206.fits evtable="EVENTS" outfile="/scratch/kocevski/605429/ft1_filtered_4FGL_J1225.0+0330_daily_bin206.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.43
user 0.25
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/605429/ft1_filtered_4FGL_J1225.0+0330_daily_bin206.fits" evtable="EVENTS" scfile=/scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits sctable="SC_DATA" outfile=/scratch/kocevski/605429/ltcube_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.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/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits
.....................!
real 9.15
user 8.81
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/605429/ft1_filtered_4FGL_J1225.0+0330_daily_bin206.fits evtable="EVENTS" scfile=/scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits sctable="SC_DATA" expcube=/scratch/kocevski/605429/ltcube_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.fits outfile=/scratch/kocevski/605429/expmap_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.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/605429/ltcube_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.fits
.....................!
real 145.89
user 141.54
sys 3.84

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

Setting source of interest to:
4FGL J1225.0+0330 @ 186.252 3.5098

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/605429/ft1_filtered_4FGL_J1225.0+0330_daily_bin206.fits scfile=/scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits outfile=/scratch/kocevski/605429/cmap_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.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=186.252 yref=3.5098 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.45
user 0.31
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/605429/ft1_filtered_4FGL_J1225.0+0330_daily_bin206.fits scfile=/scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits outfile=/scratch/kocevski/605429/cmap_HighResolution_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.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=186.252 yref=3.5098 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.45
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/605429/ft1_filtered_4FGL_J1225.0+0330_daily_bin206.fits evtable="EVENTS" scfile=/scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/605429/Model_4FGL_J1225.0+0330_daily_bin206.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/605429/ft1_filtered_4FGL_J1225.0+0330_daily_bin206.fits.....................!
real 49.15
user 47.85
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/605429/ft1_filtered_4FGL_J1225.0+0330_daily_bin206.fits', '/scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits', expMap='/scratch/kocevski/605429/expmap_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.fits', expCube='/scratch/kocevski/605429/ltcube_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/605429/Model_4FGL_J1225.0+0330_daily_bin206.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1225.0+0330'

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  8.374e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
333        alpha:  2.397e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
334         beta:  3.465e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  9.640e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/605429/ft1_filtered_4FGL_J1225.0+0330_daily_bin206.fits
Spacecraft file(s): /scratch/kocevski/605429/ft2_4FGL_J1225.0+0330_daily_bin206.fits
Exposure map: /scratch/kocevski/605429/expmap_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.fits
Exposure cube: /scratch/kocevski/605429/ltcube_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/605429/Model_4FGL_J1225.0+0330_daily_bin206.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) = 8080.12984203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.787       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.0457       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10698E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.460       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    63.420       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9542       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .14705E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.1591       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8098       1.0000         .10000E-03   10000.    
    16 'norm      '    .10169E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.1658       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.097       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2288       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.9386       1.0000         .10000E-03   10000.    
    22 'norm      '    .74380       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .39038E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.7349       1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.228       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    17.187       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0654       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .97205       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8080.109     FROM MIGRAD    STATUS=CONVERGED    770 CALLS     4015 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.797        21.842        .69203E-05   -.34079E-04
   2  Prefactor     .10000E-03    23.288        .12193E-04** at limit **
   3  Prefactor     4.0471        4.5539       -.14106E-06    .77103E-04
   4  Prefactor     .10000E-03    4.2436       -.51573E-06** at limit **
   5  Prefactor     .10000E-03    17.020       -.13429E-04** at limit **
   6  Prefactor     .10000E-03    7.1125        .38419E-06** at limit **
   7  Prefactor     12.472        38.039        .21599E-04    .27795E-04
   8  Prefactor     .10000E-03    48.348       -.59091E-05** at limit **
   9  Prefactor     63.440        38.742        .17975E-04   -.62274E-04
  10  Prefactor     4.9590        11.296       -.59666E-06   -.11426E-03
  11  Prefactor     .10000E-03    15.420        .71361E-05** at limit **
  12  Prefactor     .10000E-03    9.4367       -.24744E-06** at limit **
  13  norm          .10000E-03    1.0333        .15564E-06** at limit **
  14  norm          6.1615        3.2840       -.43386E-06   -.51883E-03
  15  Prefactor     2.8139        46.143        .12619E-04   -.54689E-04
  16  norm          .10000E-03    47.017       -.83736E-05** at limit **
  17  Prefactor     .10000E-03    60.071        .22351E-04** at limit **
  18  norm          1.1662        .50577        .10710E-06   -.15853E-02
  19  Prefactor     10.099        14.099       -.57606E-05   -.45602E-03
  20  Prefactor     3.2378        124.61        .48734E-04    .20996E-04
  21  Prefactor     8.9274        7.1549       -.10989E-06   -.30173E-03
  22  norm          .74429        1.2998        .14951E-06   -.15264E-02
  23  Prefactor     .13201        4.7580        .11672E-05   -.25256E-03
  24  Prefactor     7.7135        18.940       -.38905E-05   -.62201E-04
  25  Prefactor     10.225        13.317        .17840E-06   -.22994E-04
  26  Prefactor     .10000E-03    34.983       -.85536E-05** at limit **
  27  norm          .10000E-03    6.7193       -.18788E-06** at limit **
  28  Prefactor     17.198        12.287        .43032E-06   -.78640E-04
  29  Normalizat    1.0646        .18715       -.62538E-05   -.37512E-04
  30  Prefactor     .97242        .14380        .37135E-06   -.54467E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7973
  Prefactor  = 0.0001
  Prefactor  = 4.04706
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4721
  Prefactor  = 0.0001
  Prefactor  = 63.4396
  Prefactor  = 4.95895
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.16147
  Prefactor  = 2.81394
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.16618
  Prefactor  = 10.0994
  Prefactor  = 3.23781
  Prefactor  = 8.92739
  norm       = 0.744289
  Prefactor  = 0.132011
  Prefactor  = 7.71354
  Prefactor  = 10.2248
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.1977
  Normalizat = 1.06458
  Prefactor  = 0.972419
 **********
 **   18 **HESSE 
 **********

 FCN=   8080.109     FROM HESSE     STATUS=OK           600 CALLS     4615 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.797        21.819        .10787E-03   -1.4965    
   2  Prefactor     .10000E-03    23.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0471        4.5544        .19791E-03   -1.5306    
   4  Prefactor     .10000E-03    4.2720        .18080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.1957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.472        38.042        .11348E-03   -1.5002    
   8  Prefactor     .10000E-03    48.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     63.440        38.642        .50390E-04   -1.4113    
  10  Prefactor     4.9590        11.272        .18069E-03   -1.5263    
  11  Prefactor     .10000E-03    15.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.5922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.1444        .17672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.1615        3.2780        .10728E-03   -1.5211    
  15  Prefactor     2.8139        45.948        .24267E-03   -1.5372    
  16  norm          .10000E-03    47.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    60.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1662        .49685        .37413E-04   -1.5492    
  19  Prefactor     10.099        13.656        .12610E-03   -1.5072    
  20  Prefactor     3.2378        116.58        .22543E-03   -1.5348    
  21  Prefactor     8.9274        7.1547        .13406E-03   -1.5110    
  22  norm          .74429        1.2689        .12549E-03   -1.5535    
  23  Prefactor     .13201        6.4219        .54965E-01   -1.5635    
  24  Prefactor     7.7135        18.928        .14418E-03   -1.5152    
  25  Prefactor     10.225        13.315        .12529E-03   -1.5068    
  26  Prefactor     .10000E-03    35.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    6.7219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     17.198        12.314        .96609E-04   -1.4878    
  29  Normalizat    1.0646        .22027        .27969E-03   -.90897    
  30  Prefactor     .97242        .16972        .24052E-03   -.93655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29442e-09
Minuit parameter uncertainties:
  1  21.8315
  2  3.81027e-05
  3  4.55477
  4  9.9242e-05
  5  3.18078e-06
  6  3.90794e-05
  7  38.1157
  8  0.000157689
  9  38.6574
  10  11.2769
  11  7.56364e-05
  12  1.75895e-05
  13  5.74026e-05
  14  3.27806
  15  22.7618
  16  0.000155181
  17  1.30168e-05
  18  0.496856
  19  13.6599
  20  38.9383
  21  7.15535
  22  1.26894
  23  1.84099
  24  18.9427
  25  13.3185
  26  4.07906e-05
  27  7.97893e-06
  28  12.3161
  29  0.220459
  30  0.169812
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  1.000e-04  1.552e-04  1.000e-04  1.000e+04 ( 1.000e-13)
333        alpha:  2.397e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
334         beta:  3.465e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  9.640e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  9.724e-01  1.698e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.065e+00  2.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.252 3.510
Photon Flux Upper Limit: 5.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/605429/likelihoodResults_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.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) = 8080.10924208
delta logL = -0.00010059451597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8079.57384776
delta logL = 0.535293717454

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1996       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .99972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0051       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8079.574     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      261 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2003        2.3076        .10365E-01    .13908E-02
   2  alpha         5.0000        3.4387        .46379    ** at limit **
   3  Normalizat    .99985        .18476        .46163E-01    .53477E-04
   4  Prefactor     1.0050        .14744        .44164E-01    .69815E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20032
  alpha      = 5
  Normalizat = 0.99985
  Prefactor  = 1.00498
 **********
 **   18 **HESSE 
 **********

 FCN=   8079.574     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2003        1.2576        .94468E-04   -1.5489    
   2  alpha         5.0000        .64226        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .99985        .21289        .28657E-03   -.93035    
   4  Prefactor     1.0050        .17133        .23683E-03   -.92564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29626e-11
Minuit parameter uncertainties:
  1  1.25762
  2  2.85584e-06
  3  0.213066
  4  0.171428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/605429': 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) = 8079.57384646
delta logL = 0.535295024228

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  1.200e+00  1.258e+00  1.000e-04  1.000e+04 ( 1.000e-13)
333        alpha:  5.000e+00  2.856e-06  0.000e+00  5.000e+00 ( 1.000e+00)
334         beta:  3.465e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  9.640e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.005e+00  1.714e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  9.998e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 186.252 3.510
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.33e-08 +/- 6.62e-08
Energy Flux (Free Index): 9.54e-06 +/- 9.99e-06

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/605429/cmap_HighResolution_292723201_292982401_4FGL_J1225.0+0330_daily_bin206.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-05', comment='SUCCESS', energy_flux2='9.54e-06', dlogl='5.35e-01', photon_flux2='6.33e-08', job_status='DONE', time_completed='2021-09-05 13:58:04.753396', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='5.03e-08', energy_flux_error2='9.99e-06', EG='1.06', time_epoch_completed='1630875484.75', return_code='0', job_id='605429', GAL2='1.00', EG2='1.00', return_code2='0', photon_flux_error2='6.62e-08', ts2='1.21', photon_index='2.40' WHERE bin_id='206' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 13:58:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 605429: <4FGL_J1225.0+0330_daily_bin206> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin206> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 13:41:51 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 13:41:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 13:41:53 2021
Terminated at Sun Sep  5 13:58:05 2021
Results reported at Sun Sep  5 13:58:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin206 186.252 3.5098 292723201 292982401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1225.0+0330 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   773.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             250.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            974 sec.

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

