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


Performing analysis on: 4FGL_J1224.4+2436_daily_bin1202
RA = 186.116, Dec = 24.6142
tmin = 550886401, tmax = 551145601
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='584391', job_status='RUN', time_executed='2021-09-05 12:38:53.556903', time_epoch_executed='1630870733.56' WHERE source_name='4FGL J1224.4+2436' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584391

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584391/ft1_4FGL_J1224.4+2436_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584391/ft1_4FGL_J1224.4+2436_daily_bin1202.fits outfile=/scratch/kocevski/584391/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin1202.fits ra=186.116 dec=24.6142 rad=12.0 tmin=550886401.0 tmax=551145601.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.80
user 3.53
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.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/584391/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/584391/ft1_filtered_4FGL_J1224.4+2436_daily_bin1202.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.54
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584391/ft1_filtered_4FGL_J1224.4+2436_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/584391/ltcube_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.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/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits
.....................!
real 12.24
user 11.71
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584391/ft1_filtered_4FGL_J1224.4+2436_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/584391/ltcube_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.fits outfile=/scratch/kocevski/584391/expmap_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.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/584391/ltcube_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.fits
.....................!
real 192.65
user 185.73
sys 3.78

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

Setting source of interest to:
4FGL J1224.4+2436 @ 186.116 24.6142

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/584391/ft1_filtered_4FGL_J1224.4+2436_daily_bin1202.fits scfile=/scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits outfile=/scratch/kocevski/584391/cmap_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.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.116 yref=24.6142 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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584391/ft1_filtered_4FGL_J1224.4+2436_daily_bin1202.fits scfile=/scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits outfile=/scratch/kocevski/584391/cmap_HighResolution_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.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.116 yref=24.6142 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/584391/ft1_filtered_4FGL_J1224.4+2436_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/584391/Model_4FGL_J1224.4+2436_daily_bin1202.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/584391/ft1_filtered_4FGL_J1224.4+2436_daily_bin1202.fits.....................!
real 43.81
user 42.24
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/584391/ft1_filtered_4FGL_J1224.4+2436_daily_bin1202.fits', '/scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits', expMap='/scratch/kocevski/584391/expmap_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.fits', expCube='/scratch/kocevski/584391/ltcube_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/584391/Model_4FGL_J1224.4+2436_daily_bin1202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/584391/ft1_filtered_4FGL_J1224.4+2436_daily_bin1202.fits
Spacecraft file(s): /scratch/kocevski/584391/ft2_4FGL_J1224.4+2436_daily_bin1202.fits
Exposure map: /scratch/kocevski/584391/expmap_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.fits
Exposure cube: /scratch/kocevski/584391/ltcube_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/584391/Model_4FGL_J1224.4+2436_daily_bin1202.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) = 4056.63301939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.081       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.509       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9171       1.0000         .10000E-03   10000.    
     4 'Prefactor '    67.803       1.0000         .10000E-03   10000.    
     5 'norm      '    6.8054       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7366       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.915       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.9253       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2528       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6159       1.0000         .10000E-03   10000.    
    15 'norm      '    .38936       1.0000         .10000E-03   10000.    
    16 'norm      '    14.036       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.372       1.0000         .10000E-03   10000.    
    18 'Prefactor '    45.746       1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.310       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .49329       1.0000         .10000E-03   10000.    
    22 'norm      '    3.3781       1.0000         .10000E-03   10000.    
    23 'norm      '    .74438E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2012       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95805       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+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=   4056.609     FROM MIGRAD    STATUS=CONVERGED   1018 CALLS     3801 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.081        40.988        .76982E-04    .39135E-05
   2  Prefactor     12.515        12.985        .11326E-03   -.13853E-04
   3  Prefactor     1.9173        2.7506        .11669E-03   -.77308E-04
   4  Prefactor     67.773        64.766        .24372E-03   -.67893E-04
   5  norm          6.8060        2.8989        .65257E-04    .32578E-04
   6  Prefactor     4.7373        4.3489        .12104E-03    .75421E-04
   7  Prefactor     18.915        64.124        .92093E-04   -.62958E-05
   8  Prefactor     .10000E-03    1.1340        .65846E-03** at limit **
   9  Prefactor     .10000E-03    .97463        .61254E-03** at limit **
  10  norm          .10000E-03    4.3647        .25661E-03** at limit **
  11  Prefactor     .10000E-03    4.7490        .13554E-02** at limit **
  12  Prefactor     4.9252        4.1790        .11179E-03    .16374E-04
  13  Prefactor     2.2527        4.8278        .17566E-03    .14821E-04
  14  Prefactor     5.6155        8.9610        .16952E-03   -.15794E-04
  15  norm          .38938        .28379        .27893E-04   -.16670E-03
  16  norm          14.035        8.2471        .10691E-03    .25521E-04
  17  Prefactor     18.378        24.068        .93442E-04    .19466E-05
  18  Prefactor     45.741        36.366        .59280E-04    .28767E-06
  19  Prefactor     22.406        176.79        .84802E-04   -.20002E-04
  20  Prefactor     .10000E-03    4.3424        .12956E-02** at limit **
  21  norm          .47483        77.032        .42148E-02   -.59660E-04
  22  norm          3.3791        6.8565        .22015E-03    .37917E-03
  23  norm          .10001E-03    63.723        .13773    ** at limit **
  24  Normalizat    1.2011        .30946        .27477E-03   -.13032E-03
  25  Prefactor     .95815        .28907        .30166E-03    .30784E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0806
  Prefactor  = 12.5147
  Prefactor  = 1.91725
  Prefactor  = 67.7734
  norm       = 6.80598
  Prefactor  = 4.7373
  Prefactor  = 18.9153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.92515
  Prefactor  = 2.25272
  Prefactor  = 5.61548
  norm       = 0.389382
  norm       = 14.0353
  Prefactor  = 18.3779
  Prefactor  = 45.7411
  Prefactor  = 22.4056
  Prefactor  = 0.0001
  norm       = 0.474826
  norm       = 3.37908
  norm       = 0.000100014
  Normalizat = 1.20109
  Prefactor  = 0.958147
 **********
 **   18 **HESSE 
 **********

 FCN=   4056.609     FROM HESSE     STATUS=OK           413 CALLS     4214 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.081        40.988        .30793E-05   -1.4667    
   2  Prefactor     12.515        12.982        .45302E-05   -1.5000    
   3  Prefactor     1.9173        2.7500        .46676E-05   -1.5431    
   4  Prefactor     67.773        64.766        .97489E-05   -1.4060    
   5  norm          6.8060        2.8987        .26103E-05   -1.5186    
   6  Prefactor     4.7373        4.3483        .48417E-05   -1.5273    
   7  Prefactor     18.915        64.134        .36837E-05   -1.4838    
   8  Prefactor     .10000E-03    1.1340        .13169E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .97464        .12251E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.3648        .51323E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.7490        .27107E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.9252        4.1785        .44715E-05   -1.5264    
  13  Prefactor     2.2527        4.8253        .70262E-05   -1.5408    
  14  Prefactor     5.6155        8.9605        .67808E-05   -1.5234    
  15  norm          .38938        .28373        .11157E-05   -1.5583    
  16  norm          14.035        8.2468        .42764E-05   -1.4959    
  17  Prefactor     18.378        24.062        .37377E-05   -1.4850    
  18  Prefactor     45.741        36.358        .23712E-05   -1.4354    
  19  Prefactor     22.406        171.41        .16960E-04   -1.4761    
  20  Prefactor     .10000E-03    4.3425        .25911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .47483        75.223        .16859E-03   -1.5570    
  22  norm          3.3791        6.8541        .88061E-05   -1.5340    
  23  norm          .10001E-03    62.554        .13948       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2011        .30908        .54955E-04   -.86569    
  25  Prefactor     .95815        .28928        .60331E-04   -.94138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14333e-09
Minuit parameter uncertainties:
  1  41.0302
  2  12.9851
  3  2.75022
  4  64.8339
  5  2.89878
  6  4.34854
  7  64.3691
  8  1.01899e-06
  9  8.48618e-07
  10  2.98993e-05
  11  6.73996e-07
  12  4.17873
  13  4.82611
  14  8.96265
  15  0.283732
  16  8.24742
  17  24.0752
  18  36.3759
  19  124.444
  20  1.9435e-05
  21  11.9669
  22  6.85568
  23  0.00186643
  24  0.309547
  25  0.289746
Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  5.615e+00  8.963e+00  1.000e-04  1.000e+04 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.581e-01  2.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.201e+00  3.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.58
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/584391/likelihoodResults_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.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) = 4056.59902423
delta logL = 0.0101777008549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4056.59566986
delta logL = 0.0135320651716

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4056.596     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      216 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8697        239.22        .45571E-02   -.28886E-03
   2  Index         2.0721        6.0023        .21301       -.78837E-04
   3  Normalizat    1.1970        .83065E-01    .62209E-01   -.62885E-06
   4  Prefactor     .96041        .68901E-01    .68122E-01    .14143E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.86972
  Index      = 2.07212
  Normalizat = 1.19701
  Prefactor  = 0.960408
 **********
 **   18 **HESSE 
 **********

 FCN=   4056.596     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8697        9.7168        .18228E-03   -1.5267    
   2  Index         2.0721        .97513        .72800E-02   -.62559    
   3  Normalizat    1.1970        .28597        .27515E-03   -.86695    
   4  Prefactor     .96041        .28449        .30133E-03   -.94061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06064e-10
Minuit parameter uncertainties:
  1  9.71993
  2  0.984796
  3  0.286349
  4  0.284933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584391': 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) = 4056.59566985
delta logL = 0.0135320808872

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  4.870e+00  9.720e+00  1.000e-04  1.000e+04 ( 1.000e-13)
329        Index:  2.072e+00  9.848e-01  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.604e-01  2.849e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.197e+00  2.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.58
Ra Dec: 186.116 24.614

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/584391/cmap_HighResolution_550886401_551145601_4FGL_J1224.4+2436_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.88e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-05 12:50:54.861061', job_id='584391', GAL2='0.96', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630871454.86', return_code2='0', ts='0.58', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.35e-02', ts2='0.61', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1202' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 12:50:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 584391: <4FGL_J1224.4+2436_daily_bin1202> in cluster <slac> Done

Job <4FGL_J1224.4+2436_daily_bin1202> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep  5 12:35:54 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 12:35:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 12:35:55 2021
Terminated at Sun Sep  5 12:50:55 2021
Results reported at Sun Sep  5 12:50:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1224.4+2436_daily_bin1202 186.116 24.6142 550886401 551145601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1224.4+2436 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   620.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             259.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            901 sec.

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

