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


Performing analysis on: 4FGL_J2225.7-0457_daily_bin415
RA = 336.432, Dec = -4.9537
tmin = 346896001, tmax = 347155201
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='296906', job_status='RUN', time_executed='2021-09-28 11:14:27.303035', time_epoch_executed='1632852867.3' WHERE source_name='4FGL J2225.7-0457' and cadence='daily' and bin_id='415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/296906

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/296906/ft1_4FGL_J2225.7-0457_daily_bin415.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/296906/ft2_4FGL_J2225.7-0457_daily_bin415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/296906/ft1_4FGL_J2225.7-0457_daily_bin415.fits outfile=/scratch/kocevski/296906/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin415.fits ra=336.432 dec=-4.9537 rad=12.0 tmin=346896001.0 tmax=347155201.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.46
user 3.19
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/296906/ft2_4FGL_J2225.7-0457_daily_bin415.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/296906/ft2_4FGL_J2225.7-0457_daily_bin415.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/296906/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin415.fits evtable="EVENTS" outfile="/scratch/kocevski/296906/ft1_filtered_4FGL_J2225.7-0457_daily_bin415.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.50
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/296906/ft1_filtered_4FGL_J2225.7-0457_daily_bin415.fits" evtable="EVENTS" scfile=/scratch/kocevski/296906/ft2_4FGL_J2225.7-0457_daily_bin415.fits sctable="SC_DATA" outfile=/scratch/kocevski/296906/ltcube_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.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/296906/ft2_4FGL_J2225.7-0457_daily_bin415.fits
.....................!
real 11.74
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/296906/ft1_filtered_4FGL_J2225.7-0457_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/296906/ft2_4FGL_J2225.7-0457_daily_bin415.fits sctable="SC_DATA" expcube=/scratch/kocevski/296906/ltcube_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.fits outfile=/scratch/kocevski/296906/expmap_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.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/296906/ltcube_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.fits
.....................!
real 190.56
user 184.78
sys 5.42

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

Setting source of interest to:
4FGL J2225.7-0457 @ 336.432 -4.9537

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/296906/ft1_filtered_4FGL_J2225.7-0457_daily_bin415.fits scfile=/scratch/kocevski/296906/ft2_4FGL_J2225.7-0457_daily_bin415.fits outfile=/scratch/kocevski/296906/cmap_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.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.432 yref=-4.9537 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.36
sys 0.16

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/296906/ft1_filtered_4FGL_J2225.7-0457_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/296906/ft2_4FGL_J2225.7-0457_daily_bin415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/296906/Model_4FGL_J2225.7-0457_daily_bin415.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/296906/ft1_filtered_4FGL_J2225.7-0457_daily_bin415.fits.....................!
real 71.64
user 69.87
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/296906/ft1_filtered_4FGL_J2225.7-0457_daily_bin415.fits', '/scratch/kocevski/296906/ft2_4FGL_J2225.7-0457_daily_bin415.fits', expMap='/scratch/kocevski/296906/expmap_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.fits', expCube='/scratch/kocevski/296906/ltcube_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/296906/Model_4FGL_J2225.7-0457_daily_bin415.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2225.7-0457'

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  2.714e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/296906/ft1_filtered_4FGL_J2225.7-0457_daily_bin415.fits
Spacecraft file(s): /scratch/kocevski/296906/ft2_4FGL_J2225.7-0457_daily_bin415.fits
Exposure map: /scratch/kocevski/296906/expmap_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.fits
Exposure cube: /scratch/kocevski/296906/ltcube_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/296906/Model_4FGL_J2225.7-0457_daily_bin415.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) = 7650.58412875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10461E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4343       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1889       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7765       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2623       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.5548       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23272E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.182       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0089       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.952       1.0000         .10000E-03   10000.    
    12 'norm      '    3.4250       1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.481       1.0000         .10000E-03   10000.    
    14 'norm      '    .84324       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.8405       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .89993       1.0000         .10000E-03   10000.    
    19 'norm      '    30.611       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1687       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84780       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7650.582     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2236 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.744       -.55848E-07** at limit **
   2  Prefactor     1.4352        4.9634        .17325E-05    .13783E-04
   3  Prefactor     4.1887        7.5687        .22743E-06    .13887E-04
   4  Prefactor     5.7766        9.9592        .43155E-07    .37273E-05
   5  Prefactor     6.2617        12.164        .13293E-06    .20743E-04
   6  Prefactor     7.5544        10.507        .12280E-06    .15996E-04
   7  Prefactor     .10000E-03    3.4579       -.18425E-06** at limit **
   8  Prefactor     .10000E-03    5.0810       -.89556E-06** at limit **
   9  Prefactor     23.183        39.783        .21587E-06    .70782E-06
  10  Prefactor     1.0075        2.9615        .18215E-05    .10682E-03
  11  Prefactor     15.962        57.087        .26183E-05   -.13718E-06
  12  norm          3.4251        3.0594        .15021E-06   -.11684E-03
  13  Prefactor     41.446        53.247       -.29895E-06    .22707E-04
  14  norm          .84334        .77019       -.30240E-06   -.18155E-03
  15  Prefactor     .10000E-03    5.6942        .10672E-06** at limit **
  16  norm          .10000E-03    .26573        .93610E-07** at limit **
  17  Prefactor     9.8401        12.414        .91043E-07   -.46013E-04
  18  Prefactor     .91588        14.126        .50508E-06   -.63570E-05
  19  norm          30.610        17.217        .23362E-06   -.82085E-05
  20  Normalizat    1.1686        .18944       -.13592E-05    .15291E-03
  21  Prefactor     .84786        .11324        .42515E-06   -.29834E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.43518
  Prefactor  = 4.18871
  Prefactor  = 5.77662
  Prefactor  = 6.26174
  Prefactor  = 7.55442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.1829
  Prefactor  = 1.00746
  Prefactor  = 15.9615
  norm       = 3.42511
  Prefactor  = 41.4457
  norm       = 0.843338
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.84009
  Prefactor  = 0.915882
  norm       = 30.6096
  Normalizat = 1.16858
  Prefactor  = 0.847857
 **********
 **   18 **HESSE 
 **********

 FCN=   7650.582     FROM HESSE     STATUS=OK           335 CALLS     2571 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4352        4.9786        .16966E-02   -1.5468    
   3  Prefactor     4.1887        7.5598        .98455E-03   -1.5299    
   4  Prefactor     5.7766        9.9532        .16711E-03   -1.5227    
   5  Prefactor     6.2617        12.136        .16041E-03   -1.5207    
   6  Prefactor     7.5544        10.490        .72953E-03   -1.5158    
   7  Prefactor     .10000E-03    3.4762        .15875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    61.146        .35964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.183        39.767        .83193E-04   -1.4745    
  10  Prefactor     1.0075        2.9223        .24168E-03   -1.5507    
  11  Prefactor     15.962        56.764        .10028E-03   -1.4909    
  12  norm          3.4251        3.0412        .13490E-03   -1.5338    
  13  Prefactor     41.446        53.166        .31120E-03   -1.4420    
  14  norm          .84334        .74880        .69192E-03   -1.5524    
  15  Prefactor     .10000E-03    5.7337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .35361        .86652E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.8401        12.285        .12774E-03   -1.5080    
  18  Prefactor     .91588        14.507        .51229E-03   -1.5517    
  19  norm          30.610        17.247        .72417E-04   -1.4601    
  20  Normalizat    1.1686        .21886        .27255E-03   -.87579    
  21  Prefactor     .84786        .13249        .19912E-03   -.97988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06686e-09
Minuit parameter uncertainties:
  1  4.68946e-06
  2  4.98008
  3  7.56148
  4  9.95605
  5  12.1408
  6  10.4921
  7  6.82019e-06
  8  0.000252842
  9  39.8123
  10  2.92269
  11  56.9572
  12  3.04133
  13  53.2273
  14  0.748812
  15  2.39209e-06
  16  6.94826e-07
  17  12.2877
  18  7.29179
  19  17.2497
  20  0.219032
  21  0.132544
Done.

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

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  1.007e+00  2.923e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  8.479e-01  1.325e-01  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.169e+00  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 336.432 -4.954
Photon Flux Upper Limit: 8.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/296906/likelihoodResults_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.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) = 7650.46456881
delta logL = 0.117639906865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7650.45829386
delta logL = 0.123914860945

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7650.458     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      204 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79713        29.258        .12427E-01    .20255E-03
   2  Index         3.1449        3.8474        .21796        .14942E-03
   3  Normalizat    1.1548        .34455E-01    .61934E-01    .28850E-04
   4  Prefactor     .85206        .21926E-01    .44391E-01    .13886E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.797133
  Index      = 3.14489
  Normalizat = 1.15476
  Prefactor  = 0.85206
 **********
 **   18 **HESSE 
 **********

 FCN=   7650.458     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79713        2.8285        .12999E-03   -1.5529    
   2  Index         3.1449        2.0012        .11728E-01   -.38011    
   3  Normalizat    1.1548        .20882        .27394E-03   -.88013    
   4  Prefactor     .85206        .13143        .19866E-03   -.97837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39586e-09
Minuit parameter uncertainties:
  1  2.82902
  2  2.06898
  3  0.208972
  4  0.131478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/296906': 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) = 7650.45829303
delta logL = 0.123915694427

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  7.971e-01  2.829e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  3.145e+00  2.069e+00  0.000e+00  1.000e+01 (-1.000e+00)
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  8.521e-01  1.315e-01  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.155e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 336.432 -4.954

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/296906/cmap_HighResolution_346896001_347155201_4FGL_J2225.7-0457_daily_bin415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', job_status='DONE', photon_flux_upper_limit='8.27e-08', time_completed='2021-09-28 11:25:03.783286', job_id='296906', GAL2='0.85', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1632853503.78', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.24e-01', ts2='0.39', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='415' AND source_name='4FGL J2225.7-0457' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 11:25:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 296906: <4FGL_J2225.7-0457_daily_bin415> in cluster <slac> Done

Job <4FGL_J2225.7-0457_daily_bin415> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 11:10:24 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 11:10:25 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:10:25 2021
Terminated at Tue Sep 28 11:25:04 2021
Results reported at Tue Sep 28 11:25:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.7-0457_daily_bin415 336.432 -4.9537 346896001 347155201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2225.7-0457 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   636.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            880 sec.

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

