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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin755
RA = 186.252, Dec = 3.5098
tmin = 435024001, tmax = 435283201
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='608351', job_status='RUN', time_executed='2021-09-05 13:52:58.331559', time_epoch_executed='1630875178.33' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/608351

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/608351/ft1_4FGL_J1225.0+0330_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/608351/ft2_4FGL_J1225.0+0330_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/608351/ft1_4FGL_J1225.0+0330_daily_bin755.fits outfile=/scratch/kocevski/608351/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin755.fits ra=186.252 dec=3.5098 rad=12.0 tmin=435024001.0 tmax=435283201.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.01
user 4.77
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/608351/ft1_filtered_4FGL_J1225.0+0330_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/608351/ft2_4FGL_J1225.0+0330_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/608351/ltcube_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.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/608351/ft2_4FGL_J1225.0+0330_daily_bin755.fits
.....................!
real 12.02
user 11.64
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/608351/ft1_filtered_4FGL_J1225.0+0330_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/608351/ft2_4FGL_J1225.0+0330_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/608351/ltcube_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.fits outfile=/scratch/kocevski/608351/expmap_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.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/608351/ltcube_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.fits
.....................!
real 192.83
user 187.55
sys 4.91

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/608351/ft1_filtered_4FGL_J1225.0+0330_daily_bin755.fits scfile=/scratch/kocevski/608351/ft2_4FGL_J1225.0+0330_daily_bin755.fits outfile=/scratch/kocevski/608351/cmap_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.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.51
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/608351/ft1_filtered_4FGL_J1225.0+0330_daily_bin755.fits scfile=/scratch/kocevski/608351/ft2_4FGL_J1225.0+0330_daily_bin755.fits outfile=/scratch/kocevski/608351/cmap_HighResolution_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.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.56
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/608351/ft1_filtered_4FGL_J1225.0+0330_daily_bin755.fits', '/scratch/kocevski/608351/ft2_4FGL_J1225.0+0330_daily_bin755.fits', expMap='/scratch/kocevski/608351/expmap_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.fits', expCube='/scratch/kocevski/608351/ltcube_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/608351/Model_4FGL_J1225.0+0330_daily_bin755.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/608351/ft1_filtered_4FGL_J1225.0+0330_daily_bin755.fits
Spacecraft file(s): /scratch/kocevski/608351/ft2_4FGL_J1225.0+0330_daily_bin755.fits
Exposure map: /scratch/kocevski/608351/expmap_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.fits
Exposure cube: /scratch/kocevski/608351/ltcube_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/608351/Model_4FGL_J1225.0+0330_daily_bin755.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) = 5534.23354958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2364       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10348E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.738       1.0000         .10000E-03   10000.    
     7 'Prefactor '    78.783       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.8892       1.0000         .10000E-03   10000.    
    10 'Prefactor '    51.962       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.8468       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5215       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.616       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.2214       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.397       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.6257       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .89865       1.0000         .10000E-03   10000.    
    24 'Prefactor '    62.108       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    65.369       1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.6776       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .95678       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1947       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=   5534.205     FROM MIGRAD    STATUS=CONVERGED    747 CALLS     3903 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.618       -.75535E-06** at limit **
   2  Prefactor     .10000E-03    54.922       -.27916E-05** at limit **
   3  Prefactor     3.2381        8.6818        .90678E-06    .22960E-03
   4  Prefactor     .10000E-03    6.0656        .56491E-07** at limit **
   5  Prefactor     .10001E-03    45.101       -.39174E-05** at limit **
   6  Prefactor     25.737        18.253        .23046E-07   -.83936E-05
   7  Prefactor     78.688        121.70        .71335E-05    .81008E-04
   8  Prefactor     .10000E-03    36.187        .11633E-05** at limit **
   9  Prefactor     6.8888        93.644       -.31147E-06    .45551E-06
  10  Prefactor     51.961        32.410       -.18784E-07    .51242E-05
  11  Prefactor     .10000E-03    39.947        .22176E-06** at limit **
  12  Prefactor     4.8460        9.6218        .97531E-06    .19129E-03
  13  norm          1.5213        1.8224       -.47439E-07    .28888E-04
  14  norm          .10000E-03    3.8117        .20575E-08** at limit **
  15  Prefactor     29.613        31.904        .65372E-07    .39086E-05
  16  norm          .10000E-03    30.859        .14130E-05** at limit **
  17  Prefactor     .10000E-03    84.978        .33488E-05** at limit **
  18  norm          2.2216        .80800       -.13305E-07    .22476E-03
  19  Prefactor     18.397        14.208        .21620E-07    .22207E-04
  20  Prefactor     .10000E-03    16.163       -.85019E-06** at limit **
  21  Prefactor     .10000E-03    5.8391        .43116E-09** at limit **
  22  norm          3.6256        2.6453        .30257E-07    .73215E-04
  23  Prefactor     .88376        10.495       -.32230E-05    .56936E-03
  24  Prefactor     62.112        49.155       -.20254E-06    .23834E-04
  25  Prefactor     .10000E-03    15.631        .78704E-06** at limit **
  26  Prefactor     65.327        115.80        .49694E-05    .56704E-04
  27  norm          .10000E-03    10.259       -.35462E-07** at limit **
  28  Prefactor     2.6794        64.871       -.43145E-05   -.35530E-04
  29  Normalizat    .95639        .26099        .48574E-06    .13177E-03
  30  Prefactor     1.1950        .20032       -.88586E-06    .13247E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.23811
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 25.7373
  Prefactor  = 78.6877
  Prefactor  = 0.0001
  Prefactor  = 6.88878
  Prefactor  = 51.9613
  Prefactor  = 0.0001
  Prefactor  = 4.84603
  norm       = 1.52134
  norm       = 0.0001
  Prefactor  = 29.6135
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.22163
  Prefactor  = 18.3967
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.6256
  Prefactor  = 0.883759
  Prefactor  = 62.1117
  Prefactor  = 0.0001
  Prefactor  = 65.3267
  norm       = 0.0001
  Prefactor  = 2.6794
  Normalizat = 0.95639
  Prefactor  = 1.19505
 **********
 **   18 **HESSE 
 **********

 FCN=   5534.205     FROM HESSE     STATUS=OK           584 CALLS     4487 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    54.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2381        8.8158        .11258E-02   -1.5348    
   4  Prefactor     .10000E-03    6.0826        .17877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    46.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.737        18.270        .78962E-04   -1.4693    
   7  Prefactor     78.688        123.38        .22623E-03   -1.3932    
   8  Prefactor     .10000E-03    36.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8888        94.063        .15286E-03   -1.5183    
  10  Prefactor     51.961        32.389        .55638E-04   -1.4265    
  11  Prefactor     .10000E-03    40.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.8460        9.6886        .91361E-03   -1.5268    
  13  norm          1.5213        1.8143        .10408E-03   -1.5461    
  14  norm          .10000E-03    3.9253        .28253E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.613        31.908        .73621E-04   -1.4619    
  16  norm          .10000E-03    30.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    84.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.2216        .80585        .36613E-04   -1.5410    
  19  Prefactor     18.397        14.209        .93378E-04   -1.4850    
  20  Prefactor     .10000E-03    16.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.8586        .17551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.6256        2.6356        .94544E-04   -1.5327    
  23  Prefactor     .88376        24.246        .34130E-02   -1.5520    
  24  Prefactor     62.112        49.082        .50916E-04   -1.4130    
  25  Prefactor     .10000E-03    15.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     65.327        110.41        .49638E-04   -1.4090    
  27  norm          .10000E-03    10.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.6794        57.708        .24903E-03   -1.5381    
  29  Normalizat    .95639        .30682        .33606E-03   -.94506    
  30  Prefactor     1.1950        .23739        .25221E-03   -.86484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.24477e-09
Minuit parameter uncertainties:
  1  4.12262e-05
  2  0.000312536
  3  8.81933
  4  6.2328e-06
  5  0.00100086
  6  18.2738
  7  123.787
  8  0.000107571
  9  51.0085
  10  32.3999
  11  2.84419e-05
  12  9.69173
  13  1.8144
  14  9.68734e-07
  15  31.9261
  16  0.000119856
  17  0.00046637
  18  0.805854
  19  14.2121
  20  5.07597e-05
  21  1.37895e-05
  22  2.63572
  23  9.2616
  24  49.1142
  25  5.29403e-05
  26  110.762
  27  6.18308e-06
  28  24.8964
  29  0.307382
  30  0.237604
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  1.000e-04  1.199e-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:  1.195e+00  2.376e-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.564e-01  3.074e-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: 6.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/608351/likelihoodResults_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.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) = 5534.20515532
delta logL = -0.000153918083925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5534.20500184
delta logL = -4.39787072537e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12519E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3859       1.0000          .0000       5.0000    
     3 'Normalizat'    .95641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1951       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=   5534.205     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      201 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    31.812        .90712E-02** at limit **
   2  alpha         2.4063        3.5408        .41206       -.34107E-05
   3  Normalizat    .95639        .23618        .75938E-01    .20260E-04
   4  Prefactor     1.1951        .19672        .57037E-01    .17448E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.40631
  Normalizat = 0.956388
  Prefactor  = 1.19505
 **********
 **   18 **HESSE 
 **********

 FCN=   5534.205     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    30.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4063        3.5303        .50000       -.37486E-01
   3  Normalizat    .95639        .27760        .33606E-03   -.94506    
   4  Prefactor     1.1951        .23155        .25221E-03   -.86484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22369e-11
Minuit parameter uncertainties:
  1  3.33915e-05
  2  2.50103
  3  0.278014
  4  0.231744
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/608351': 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) = 5534.20500139
delta logL = 1.23809513752e-08

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  1.000e-04  3.339e-05  1.000e-04  1.000e+04 ( 1.000e-13)
333        alpha:  2.406e+00  2.501e+00  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.195e+00  2.317e-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.564e-01  2.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.252 3.510

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/608351/cmap_HighResolution_435024001_435283201_4FGL_J1225.0+0330_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', job_status='DONE', photon_flux_upper_limit='6.60e-08', time_completed='2021-09-05 14:06:27.473453', job_id='608351', GAL2='1.20', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630875987.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='1.24e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='755' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 14:06:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 608351: <4FGL_J1225.0+0330_daily_bin755> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin755> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep  5 13:50:47 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 13:50:48 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:50:48 2021
Terminated at Sun Sep  5 14:06:28 2021
Results reported at Sun Sep  5 14:06:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin755 186.252 3.5098 435024001 435283201 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 :                                   807.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            941 sec.

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

