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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1420
RA = 336.414, Dec = 21.3418
tmin = 607392001, tmax = 607651201
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='293624', job_status='RUN', time_executed='2021-09-28 11:02:28.325871', time_epoch_executed='1632852148.33' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1420'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293624

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293624/ft1_4FGL_J2225.6+2120_daily_bin1420.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293624/ft1_4FGL_J2225.6+2120_daily_bin1420.fits outfile=/scratch/kocevski/293624/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1420.fits ra=336.414 dec=21.3418 rad=12.0 tmin=607392001.0 tmax=607651201.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.28
user 5.02
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.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/293624/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1420.fits evtable="EVENTS" outfile="/scratch/kocevski/293624/ft1_filtered_4FGL_J2225.6+2120_daily_bin1420.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/293624/ft1_filtered_4FGL_J2225.6+2120_daily_bin1420.fits" evtable="EVENTS" scfile=/scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits sctable="SC_DATA" outfile=/scratch/kocevski/293624/ltcube_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.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/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits
.....................!
real 12.03
user 11.68
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293624/ft1_filtered_4FGL_J2225.6+2120_daily_bin1420.fits evtable="EVENTS" scfile=/scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits sctable="SC_DATA" expcube=/scratch/kocevski/293624/ltcube_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.fits outfile=/scratch/kocevski/293624/expmap_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.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/293624/ltcube_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.fits
.....................!
real 190.22
user 185.46
sys 4.13

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

Setting source of interest to:
4FGL J2225.6+2120 @ 336.414 21.3418

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/293624/ft1_filtered_4FGL_J2225.6+2120_daily_bin1420.fits scfile=/scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits outfile=/scratch/kocevski/293624/cmap_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.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=336.414 yref=21.3418 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293624/ft1_filtered_4FGL_J2225.6+2120_daily_bin1420.fits scfile=/scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits outfile=/scratch/kocevski/293624/cmap_HighResolution_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.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=336.414 yref=21.3418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/293624/ft1_filtered_4FGL_J2225.6+2120_daily_bin1420.fits evtable="EVENTS" scfile=/scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/293624/Model_4FGL_J2225.6+2120_daily_bin1420.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/293624/ft1_filtered_4FGL_J2225.6+2120_daily_bin1420.fits.....................!
real 83.27
user 81.84
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/293624/ft1_filtered_4FGL_J2225.6+2120_daily_bin1420.fits', '/scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits', expMap='/scratch/kocevski/293624/expmap_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.fits', expCube='/scratch/kocevski/293624/ltcube_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/293624/Model_4FGL_J2225.6+2120_daily_bin1420.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2225.6+2120'

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  3.284e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
274        Index:  2.811e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/293624/ft1_filtered_4FGL_J2225.6+2120_daily_bin1420.fits
Spacecraft file(s): /scratch/kocevski/293624/ft2_4FGL_J2225.6+2120_daily_bin1420.fits
Exposure map: /scratch/kocevski/293624/expmap_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.fits
Exposure cube: /scratch/kocevski/293624/ltcube_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/293624/Model_4FGL_J2225.6+2120_daily_bin1420.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) = 8193.1698268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.0112       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0777       1.0000         .10000E-03   10000.    
     4 'norm      '    .12808       1.0000         .10000E-03   10000.    
     5 'Prefactor '    76.081       1.0000         .10000E-03   10000.    
     6 'norm      '    .38143       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.754       1.0000         .10000E-03   10000.    
     8 'norm      '    6.6318       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9713       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22082       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.179       1.0000         .10000E-03   10000.    
    14 'norm      '    .11291E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9496       1.0000         .10000E-03   10000.    
    16 'norm      '    2.3819       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.648       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .71065       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .47167       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.7275       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.741       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2800       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86324       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8192.992     FROM MIGRAD    STATUS=CONVERGED     73 CALLS     2505 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    59.994       -.24742E-03** at limit **
   2  norm          3.0108        2.7077       -.29201E-05   -.24101E-03
   3  Prefactor     7.0858        1.5285        .86148E-05   -.21985E-02
   4  norm          .12726        1.6783       -.62430E-05    .83944E-04
   5  Prefactor     76.077        1.1510       -.13352E-05    .44186E-02
   6  norm          .38101        .86936        .56242E-06    .13473E-02
   7  Prefactor     21.751        1.0247       -.72987E-06   -.12104E-03
   8  norm          6.6312        1.0170       -.11860E-05   -.21018E-02
   9  Prefactor     4.9710        1.0080        .57782E-06    .12157E-03
  10  Prefactor     .10001E-03    30.906        .14968E-03** at limit **
  11  Prefactor     .10000E-03    5.0378       -.15409E-05** at limit **
  12  Prefactor     .22081        .16515       -.87532E-07    .11816E-02
  13  Prefactor     10.179        1.0017        .17859E-06    .89036E-04
  14  norm          .10000E-03    3.1889       -.27365E-05** at limit **
  15  Prefactor     6.9498        1.0484        .19982E-05   -.10709E-03
  16  norm          2.3819        1.6368        .12047E-05    .18945E-03
  17  Prefactor     .10000E-03    17.891       -.44973E-04** at limit **
  18  Prefactor     12.647        1.0026        .17393E-06   -.53318E-04
  19  Prefactor     .68571        1.5826       -.24113E-05   -.37427E-03
  20  Prefactor     .47167        .16884       -.51144E-06   -.27606E-02
  21  Prefactor     .10000E-03    7.2916       -.89973E-07** at limit **
  22  Prefactor     2.7267        1.0236       -.68511E-07    .35216E-04
  23  Prefactor     12.735        1.4131       -.56094E-05    .25592E-02
  24  Normalizat    1.2800        .26970        .79726E-05   -.68412E-04
  25  Prefactor     .86326        .13046        .20572E-05   -.27008E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  norm       = 3.0108
  Prefactor  = 7.08581
  norm       = 0.127264
  Prefactor  = 76.0775
  norm       = 0.381009
  Prefactor  = 21.7509
  norm       = 6.63124
  Prefactor  = 4.97096
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.220809
  Prefactor  = 10.1786
  norm       = 0.0001
  Prefactor  = 6.94979
  norm       = 2.38186
  Prefactor  = 0.0001
  Prefactor  = 12.6469
  Prefactor  = 0.685709
  Prefactor  = 0.471672
  Prefactor  = 0.0001
  Prefactor  = 2.7267
  Prefactor  = 12.7348
  Normalizat = 1.27995
  Prefactor  = 0.863259
 **********
 **   18 **HESSE 
 **********

 FCN=   8192.992     FROM HESSE     STATUS=OK           499 CALLS     3004 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    60.357        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.0108        2.9188        .58473E-02   -1.5361    
   3  Prefactor     7.0858        44.647        .37697E-02   -1.5176    
   4  norm          .12726        .76942        .26016E-01   -1.5637    
   5  Prefactor     76.077        57.185        .11509E-02   -1.3961    
   6  norm          .38101        .89819        .10777E-01   -1.5585    
   7  Prefactor     21.751        16.021        .21470E-02   -1.4775    
   8  norm          6.6312        5.7661        .38956E-02   -1.5193    
   9  Prefactor     4.9710        10.219        .45093E-02   -1.5262    
  10  Prefactor     .10001E-03    31.033        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.0267        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22081        .17925        .69306E-02   -1.5614    
  13  Prefactor     10.179        10.186        .31398E-02   -1.5070    
  14  norm          .10000E-03    .54501        .35533E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.9498        18.960        .38046E-02   -1.5181    
  16  norm          2.3819        1.6527        .66354E-02   -1.5399    
  17  Prefactor     .10000E-03    17.875        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.647        11.485        .28159E-02   -1.4997    
  19  Prefactor     .68571        11.659        .12103       -1.5542    
  20  Prefactor     .47167        .17486        .47888E-02   -1.5571    
  21  Prefactor     .10000E-03    7.2704        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.7267        9.4179        .61642E-02   -1.5378    
  23  Prefactor     12.735        34.578        .28055E-02   -1.4994    
  24  Normalizat    1.2800        .23460        .76707E-01   -.84167    
  25  Prefactor     .86326        .10970        .44535E-01   -.97437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64682e-07
Minuit parameter uncertainties:
  1  0.00134773
  2  2.91893
  3  35.6119
  4  0.625606
  5  57.2266
  6  0.898223
  7  16.0245
  8  5.76659
  9  10.2224
  10  0.000878599
  11  9.16229e-05
  12  0.179251
  13  10.1877
  14  4.65185e-06
  15  18.9767
  16  1.65276
  17  0.000164323
  18  11.4868
  19  5.65595
  20  0.174858
  21  0.000101618
  22  9.42303
  23  34.6326
  24  0.234794
  25  0.109729
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  9.162e-05  1.000e-04  1.000e+04 ( 1.000e-12)
274        Index:  2.811e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  8.633e-01  1.097e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.280e+00  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 336.414 21.342
Photon Flux Upper Limit: 9.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/293624/likelihoodResults_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.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) = 8192.9931079
delta logL = -0.000945698300711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8192.99216468
delta logL = -2.47412390308e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8044       1.0000          .0000       10.000    
     3 'Normalizat'    1.2799       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+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=   8192.992     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10051E-03    181.92        .18142E-02** at limit **
   2  Index         2.7444        6.3216        .50000        .86805E-05
   3  Normalizat    1.2800        .35465E-01    .33950E-03   -.50230E-05
   4  Prefactor     .86326        .17267E-01    .19564E-03   -.68570E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100511
  Index      = 2.74442
  Normalizat = 1.27995
  Prefactor  = 0.86326
 **********
 **   18 **HESSE 
 **********

 FCN=   8192.992     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10051E-03    666.98        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7444        7.2192        .50000       -.46801    
   3  Normalizat    1.2800        .81058E-01    .13580E-04   -.84167    
   4  Prefactor     .86326        .39468E-01    .78257E-05   -.97437    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.94567e-08
Minuit parameter uncertainties:
  1  0.0373445
  2  1902.45
  3  0.0810657
  4  0.0394691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293624': 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) = 8192.9921621
delta logL = 1.06145307655e-07

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.005e-04  3.734e-02  1.000e-04  1.000e+04 ( 1.000e-12)
274        Index:  2.744e+00  1.902e+03  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  8.633e-01  3.947e-02  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.280e+00  8.107e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 336.414 21.342

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/293624/cmap_HighResolution_607392001_607651201_4FGL_J2225.6+2120_daily_bin1420.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.35e-03', job_status='DONE', photon_flux_upper_limit='9.28e-08', time_completed='2021-09-28 11:14:56.426617', job_id='293624', GAL2='0.86', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1632852896.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1420' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 11:14:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 293624: <4FGL_J2225.6+2120_daily_bin1420> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1420> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 11:00:33 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 11:00:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 11:00:35 2021
Terminated at Tue Sep 28 11:14:56 2021
Results reported at Tue Sep 28 11:14:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1420 336.414 21.3418 607392001 607651201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2225.6+2120 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   745.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

