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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin458
RA = 220.561, Dec = 6.3755
tmin = 358041601, tmax = 358300801
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='712542', job_status='RUN', time_executed='2021-09-10 05:45:10.104792', time_epoch_executed='1631277910.1' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712542

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712542/ft1_4FGL_J1442.2+0622_daily_bin458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712542/ft1_4FGL_J1442.2+0622_daily_bin458.fits outfile=/scratch/kocevski/712542/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin458.fits ra=220.561 dec=6.3755 rad=12.0 tmin=358041601.0 tmax=358300801.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.26
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.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/712542/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin458.fits evtable="EVENTS" outfile="/scratch/kocevski/712542/ft1_filtered_4FGL_J1442.2+0622_daily_bin458.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712542/ft1_filtered_4FGL_J1442.2+0622_daily_bin458.fits" evtable="EVENTS" scfile=/scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits sctable="SC_DATA" outfile=/scratch/kocevski/712542/ltcube_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.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/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits
.....................!
real 11.73
user 11.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712542/ft1_filtered_4FGL_J1442.2+0622_daily_bin458.fits evtable="EVENTS" scfile=/scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits sctable="SC_DATA" expcube=/scratch/kocevski/712542/ltcube_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.fits outfile=/scratch/kocevski/712542/expmap_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.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/712542/ltcube_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.fits
.....................!
real 190.58
user 185.38
sys 4.85

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

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/712542/ft1_filtered_4FGL_J1442.2+0622_daily_bin458.fits scfile=/scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits outfile=/scratch/kocevski/712542/cmap_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.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=220.561 yref=6.3755 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712542/ft1_filtered_4FGL_J1442.2+0622_daily_bin458.fits scfile=/scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits outfile=/scratch/kocevski/712542/cmap_HighResolution_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.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=220.561 yref=6.3755 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 1.27
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/712542/ft1_filtered_4FGL_J1442.2+0622_daily_bin458.fits evtable="EVENTS" scfile=/scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712542/Model_4FGL_J1442.2+0622_daily_bin458.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/712542/ft1_filtered_4FGL_J1442.2+0622_daily_bin458.fits....................!
real 58.49
user 55.76
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712542/ft1_filtered_4FGL_J1442.2+0622_daily_bin458.fits', '/scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits', expMap='/scratch/kocevski/712542/expmap_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.fits', expCube='/scratch/kocevski/712542/ltcube_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712542/Model_4FGL_J1442.2+0622_daily_bin458.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/712542/ft1_filtered_4FGL_J1442.2+0622_daily_bin458.fits
Spacecraft file(s): /scratch/kocevski/712542/ft2_4FGL_J1442.2+0622_daily_bin458.fits
Exposure map: /scratch/kocevski/712542/expmap_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.fits
Exposure cube: /scratch/kocevski/712542/ltcube_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712542/Model_4FGL_J1442.2+0622_daily_bin458.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) = 7436.04239949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10565E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.5659       1.0000         .10000E-03   10000.    
     4 'norm      '    19.856       1.0000         .10000E-03   10000.    
     5 'Prefactor '    46.817       1.0000         .10000E-03   10000.    
     6 'norm      '    8.6212       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11640E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .12581E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.859       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.287       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .20365       1.0000         .10000E-03   10000.    
    18 'norm      '    4.3536       1.0000         .10000E-03   10000.    
    19 'norm      '    9.0818       1.0000         .10000E-03   10000.    
    20 'norm      '    .89099E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.990       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1633       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0637       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7436.016     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2558 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3562       -.15309E-07** at limit **
   2  Prefactor     .10000E-03    22.081       -.12469E-04** at limit **
   3  Prefactor     7.5654        17.622       -.22214E-05   -.14120E-04
   4  norm          19.856        12.559       -.74074E-06    .37318E-04
   5  Prefactor     46.820        27.477        .15838E-06    .30341E-04
   6  norm          8.6216        14.948       -.15559E-05   -.11377E-04
   7  Prefactor     .10000E-03    3.2219       -.79322E-07** at limit **
   8  Prefactor     .10000E-03    13.557       -.10508E-05** at limit **
   9  Prefactor     .10000E-03    35.618       -.40273E-05** at limit **
  10  Prefactor     .10000E-03    57.452       -.88396E-05** at limit **
  11  norm          .10000E-03    44.793        .22888E-04** at limit **
  12  Prefactor     22.853        22.612       -.35166E-05   -.77339E-05
  13  Prefactor     11.281        29.166       -.10761E-04   -.36247E-04
  14  Prefactor     .10000E-03    5.5637       -.12430E-06** at limit **
  15  Prefactor     .10000E-03    20.765        .11206E-04** at limit **
  16  Prefactor     .10000E-03    35.012       -.70206E-05** at limit **
  17  norm          .20377        .18886       -.53801E-07   -.15927E-03
  18  norm          4.3544        2.8248        .15245E-05   -.48923E-03
  19  norm          9.0816        7.5264       -.15802E-06    .13398E-05
  20  norm          .90115E-01    2.3878        .27874E-05   -.10184E-02
  21  Prefactor     14.897        58.391       -.19572E-03   -.14670E-04
  22  Normalizat    1.1632        .22426        .68887E-06    .19287E-03
  23  Prefactor     1.0637        .13245        .79256E-05   -.73861E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.5654
  norm       = 19.856
  Prefactor  = 46.82
  norm       = 8.62161
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100004
  Prefactor  = 22.853
  Prefactor  = 11.2806
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.203775
  norm       = 4.35443
  norm       = 9.08161
  norm       = 0.0901153
  Prefactor  = 14.897
  Normalizat = 1.16323
  Prefactor  = 1.06368
 **********
 **   18 **HESSE 
 **********

 FCN=   7436.016     FROM HESSE     STATUS=OK           374 CALLS     2932 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3588        .15429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    22.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.5654        17.622        .14580E-03   -1.5158    
   4  norm          19.856        12.562        .89884E-04   -1.4816    
   5  Prefactor     46.820        27.615        .58601E-04   -1.4338    
   6  norm          8.6216        14.941        .13652E-03   -1.5121    
   7  Prefactor     .10000E-03    3.2343        .15114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.124        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    35.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    58.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    46.011        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.853        22.618        .83778E-04   -1.4752    
  13  Prefactor     11.281        29.108        .11924E-03   -1.5036    
  14  Prefactor     .10000E-03    5.5697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    35.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .20377        .17729        .33422E-03   -1.5618    
  18  norm          4.3544        2.8083        .10847E-03   -1.5291    
  19  norm          9.0816        7.5114        .13299E-03   -1.5105    
  20  norm          .90115E-01    13.679        .25389E-02   -1.5648    
  21  Prefactor     14.897        58.479        .10345E-03   -1.4936    
  22  Normalizat    1.1632        .26823        .32099E-03   -.87747    
  23  Prefactor     1.0637        .15846        .20117E-03   -.90636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.61097e-09
Minuit parameter uncertainties:
  1  8.85967e-06
  2  0.00019437
  3  17.6336
  4  12.5632
  5  27.6223
  6  14.9478
  7  2.2727e-05
  8  0.000281599
  9  0.000163409
  10  0.000747314
  11  0.000882262
  12  22.6261
  13  29.1443
  14  1.66761e-05
  15  0.000119877
  16  0.000169043
  17  0.177293
  18  2.80842
  19  7.51216
  20  2.21984
  21  58.7056
  22  0.268542
  23  0.158535
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  8.823e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.064e+00  1.585e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.163e+00  2.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 7.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712542/likelihoodResults_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.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) = 7436.01648551
delta logL = -0.000103611434497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7436.01638225
delta logL = -3.52443748852e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7435.106     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      318 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61947        .52265        .90712E-02   -.11761E-02
   2  alpha         5.0000        .97800        .41258    ** at limit **
   3  Normalizat    1.0595        .22766        .75478E-01   -.48217E-04
   4  Prefactor     1.0981        .13179        .39167E-01   -.12656E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.619471
  alpha      = 5
  Normalizat = 1.05951
  Prefactor  = 1.09814
 **********
 **   18 **HESSE 
 **********

 FCN=   7435.106     FROM HESSE     STATUS=OK            33 CALLS      351 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61947        .60160        .53942E-04   -1.5865    
   2  alpha         5.0000        1.0766        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0595        .26907        .33408E-03   -.91063    
   4  Prefactor     1.0981        .15732        .19826E-03   -.89526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07624e-11
Minuit parameter uncertainties:
  1  0.601602
  2  5.76615e-06
  3  0.269422
  4  0.157387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712542': 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) = 7435.10565466
delta logL = 0.910727240473

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  6.195e-01  6.016e-01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  5.000e+00  5.766e-06  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.098e+00  1.574e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.060e+00  2.694e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.94
Ra Dec: 220.561 6.375
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.81e-08 +/- 8.54e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.30e-05

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/712542/cmap_HighResolution_358041601_358300801_4FGL_J1442.2+0622_daily_bin458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-05', comment='SUCCESS', energy_flux2='1.34e-05', dlogl='9.11e-01', photon_flux2='8.81e-08', job_status='DONE', time_completed='2021-09-10 05:55:54.317762', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='7.20e-08', energy_flux_error2='1.30e-05', EG='1.16', time_epoch_completed='1631278554.32', return_code='0', job_id='712542', GAL2='1.10', EG2='1.06', return_code2='0', photon_flux_error2='8.54e-08', ts2='1.94', photon_index='2.70' WHERE bin_id='458' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:55:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 712542: <4FGL_J1442.2+0622_daily_bin458> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin458> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:33 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:41:34 2021
Terminated at Fri Sep 10 05:55:55 2021
Results reported at Fri Sep 10 05:55:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin458 220.561 6.3755 358041601 358300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   640.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             227.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

